<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="ai)DC_drwGH]=4S|KBn~">dalembert:resultIsWin</variable>
    <variable type="" id="{+X%~YCCo$SWk*rr1.i4">dalembert:profit</variable>
    <variable type="" id="ltetHZ|urWouqLe![2ba">_candles</variable>
    <variable type="" id="l_#DpH]`~3j~!81b{GmT">_length</variable>
    <variable type="" id="cMexqyu0M_/pB{7p`+9(">_channel(K/D/Both)</variable>
    <variable type="" id=";^hW?=itbb~Eg3B+sLU:">_smoothK</variable>
    <variable type="" id="N^=AJ)!oE#$(cv{HGzVT">_smoothD</variable>
    <variable type="" id="o2qB.DU}t=7N[^|.?K8{">dalembert:totalProfit</variable>
    <variable type="" id="^U[H9jox9B%]bd#VL^B}">dalembert:tradeAgain</variable>
    <variable type="" id="~;oZOr%Mtge-EzRwBlem">CurrentClose</variable>
    <variable type="" id="=Wrux.ps`;ws_T3-g@qg">S:list</variable>
    <variable type="" id="0YH`Ip6f^7lJs{3IH?|`">stoch k</variable>
    <variable type="" id="PhCBp,QbI|~xu@VO}}*W">dalembert:expectedProfit</variable>
    <variable type="" id="pS2U_(gKq{Z20YPNaI:l">dalembert:size</variable>
    <variable type="" id="diBq#X@#gUH!-%O4`EGG">dalembert:amount</variable>
    <variable type="" id="#Q);s2ymwHU^@Wd{K;yZ">dalembert:profitUnits</variable>
    <variable type="" id="tA$${Bu)F~P(g5%!EJ=[">LowestLow</variable>
    <variable type="" id="kWLO@a%|(2VAgtURts{S">S:Klist</variable>
    <variable type="" id="}ZA0{U=85b5(_DCmYNs/">S:D</variable>
    <variable type="" id="V}GzE7v#OSaI3_$%4Dfq">stochd</variable>
    <variable type="" id=";=Ss./#o$bq5SWl(_?dW">dalembert:maximumLoss</variable>
    <variable type="" id="tzUbcI?|w(H+{N_NFr26">HighestHigh</variable>
    <variable type="" id="O+T:A7%yHExrcxp0Y(X%">i</variable>
    <variable type="" id="=|aW+E{A0k0|DPKuMrkK">S:K</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="0" y="0">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_10</field>
    <field name="TRADETYPECAT_LIST">callput</field>
    <field name="TRADETYPE_LIST">risefall</field>
    <field name="TYPE_LIST">both</field>
    <field name="CANDLEINTERVAL_LIST">180</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
        <field name="DURATIONTYPE_LIST">s</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <shadow type="math_number" id="O*@58sDc=!cOO}*b2vf9">
            <field name="NUM">140</field>
          </shadow>
        </value>
        <value name="AMOUNT">
          <shadow id="ml)25~7^q}3I9}vjf:%K" type="math_number">
            <field name="NUM">1</field>
          </shadow>
          <block type="procedures_callreturn" id="M9M#$KP[ug6_XyfbF_`^">
            <mutation name="D'Alembert Trade Amount"></mutation>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="qq2xGirc*Byb/P/HE^]H" collapsed="true" x="0" y="403">
    <field name="NAME">D'Alembert Trade Amount</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="controls_if" id="n4tz9*`uW5vI{Y(mwC)L">
        <value name="IF0">
          <block type="logic_compare" id="3qWA5gevZ|UpE{.gFl4n">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="nXPxXCq9p:hf1Xx:`D_{">
                <field name="VAR" id="PhCBp,QbI|~xu@VO}}*W" variabletype="">dalembert:expectedProfit</field>
              </block>
            </value>
            <value name="B">
              <block type="logic_null" id="Tp8pr^]@7PA~eGl`XK?b"></block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="p8_@*8We560p~d]XEj-I">
            <field name="VAR" id="PhCBp,QbI|~xu@VO}}*W" variabletype="">dalembert:expectedProfit</field>
            <value name="VALUE">
              <block type="text_prompt_ext" id="%r0#U,KXY;)S1-I},GCs">
                <mutation type="NUMBER"></mutation>
                <field name="TYPE">NUMBER</field>
                <value name="TEXT">
                  <shadow id=".P`a1!r=yj-[H(SJX}_m" type="text">
                    <field name="TEXT">abc</field>
                  </shadow>
                  <block type="text" id="AlB(yFhIT1/FZu-ZEpqQ">
                    <field name="TEXT">Expected Profit</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="qa:)sj8|A!lxwG*|YaO]">
            <value name="IF0">
              <block type="logic_compare" id="fo(G)bKdQhx,?aEY[Yl}">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="`Geg[{!:(HTr6q)A];`0">
                    <field name="VAR" id=";=Ss./#o$bq5SWl(_?dW" variabletype="">dalembert:maximumLoss</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_null" id="!X8^fykpJtsH#Il8+Wh9"></block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="t3Gw#E]HVqIM/6J-t-2Y">
                <field name="VAR" id=";=Ss./#o$bq5SWl(_?dW" variabletype="">dalembert:maximumLoss</field>
                <value name="VALUE">
                  <block type="text_prompt_ext" id="K[Cz2)F(1ny#Zw!j7j!V">
                    <mutation type="NUMBER"></mutation>
                    <field name="TYPE">NUMBER</field>
                    <value name="TEXT">
                      <shadow id=".P`a1!r=yj-[H(SJX}_m" type="text">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text" id="dfNPxr:VpC%uF[yz%xk[">
                        <field name="TEXT">Maximum Loss Amount</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="^CEM+~9aQ2uhnXtkL`kv">
                <value name="IF0">
                  <block type="logic_compare" id="wL4k~{ia}[/ON_+z47RO">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="WjGS@!}HI|kFH{rJqavk">
                        <field name="VAR" id="diBq#X@#gUH!-%O4`EGG" variabletype="">dalembert:amount</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_null" id="qTK#~^WMVK;Wyz1LJ/@d"></block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="ZxKDnNw2?MsznEZQtR6`">
                    <field name="VAR" id="diBq#X@#gUH!-%O4`EGG" variabletype="">dalembert:amount</field>
                    <value name="VALUE">
                      <block type="text_prompt_ext" id="^4peSz1pJ=`,CaD#@6Jd">
                        <mutation type="NUMBER"></mutation>
                        <field name="TYPE">NUMBER</field>
                        <value name="TEXT">
                          <shadow id=".P`a1!r=yj-[H(SJX}_m" type="text">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text" id="=6eX{Eblptb4BBlz7?U[">
                            <field name="TEXT">Trade Amount</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="kC@O!Xl:KO^G_(uzKTzH">
                    <value name="IF0">
                      <block type="logic_compare" id="@|K%}q0X`VebpuZQ=EV*">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="(xdUld=/ZoI`Y#*TZfMw">
                            <field name="VAR" id="pS2U_(gKq{Z20YPNaI:l" variabletype="">dalembert:size</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_null" id="CA@kQ}mQ:c8NW0=5Ed[."></block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="^xOi2|SaRE2S4sk8(u74">
                        <field name="VAR" id="pS2U_(gKq{Z20YPNaI:l" variabletype="">dalembert:size</field>
                        <value name="VALUE">
                          <block type="math_number" id="v]w4MInl_BA/~uV5yCK3">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="h,Nbdz7YuKUY`Gfbpf|m">
                        <value name="IF0">
                          <block type="logic_compare" id="sb^6?GtDqE1.gRR,o^6w">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id="Af?3G/kU#Zr*:F:)!TXF">
                                <field name="VAR" id="#Q);s2ymwHU^@Wd{K;yZ" variabletype="">dalembert:profitUnits</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_null" id="bQQ+#eD?`3tP=4tI@B9S"></block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="lw``#pLseumYH8FC2--~">
                            <field name="VAR" id="#Q);s2ymwHU^@Wd{K;yZ" variabletype="">dalembert:profitUnits</field>
                            <value name="VALUE">
                              <block type="math_number" id="pOIB*s(LL2r5s}F#_Fs1">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <next>
                          <block type="controls_if" id="fwmgCgdRdN{)3S|t|fn7">
                            <value name="IF0">
                              <block type="logic_compare" id="pj:P)Py2NsbQ8@=5Y9D=">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="variables_get" id="5A]k/?)Q#Xi4G,Wpd;Pz">
                                    <field name="VAR" id="o2qB.DU}t=7N[^|.?K8{" variabletype="">dalembert:totalProfit</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_null" id=";,X}K#n`DxM#4`t;d~Cc"></block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="MmEFyqc*]VjjlJZzlNt[">
                                <field name="VAR" id="o2qB.DU}t=7N[^|.?K8{" variabletype="">dalembert:totalProfit</field>
                                <value name="VALUE">
                                  <block type="math_number" id="DcgRnz]nVdJyT*eH=v!;">
                                    <field name="NUM">0</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block type="math_arithmetic" id="9oY.1lAF`%[xoFKW!Vak">
        <field name="OP">MULTIPLY</field>
        <value name="A">
          <shadow id="!N5Q!/XB/Zq(Yh8GZNXa" type="math_number">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="Zb1gI0smw}o}MYn(O2z7">
            <field name="VAR" id="pS2U_(gKq{Z20YPNaI:l" variabletype="">dalembert:size</field>
          </block>
        </value>
        <value name="B">
          <shadow id="_MIi~6{+puJoIPRIyX8S" type="math_number">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="dZh,rVm,Z,HL;@*{;ZGS">
            <field name="VAR" id="diBq#X@#gUH!-%O4`EGG" variabletype="">dalembert:amount</field>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defnoreturn" id="yNTO_g~CmG;eLIF(#(Fq" collapsed="true" x="0" y="456">
    <mutation>
      <arg name="dalembert:resultIsWin" varid="ai)DC_drwGH]=4S|KBn~"></arg>
    </mutation>
    <field name="NAME">D'Alembert Core Functionality</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="controls_if" id="du_v/n9L4`|ArT@vt^u(">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="variables_get" id="P]*Fp7~p#Lj1S#`(3rAr">
            <field name="VAR" id="ai)DC_drwGH]=4S|KBn~" variabletype="">dalembert:resultIsWin</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="!=lcrD.j^lG@TEIG!Wt+">
            <field name="VAR" id="#Q);s2ymwHU^@Wd{K;yZ" variabletype="">dalembert:profitUnits</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="TdC9Atw|9KH;~yI[5d-{">
                <field name="OP">ADD</field>
                <value name="A">
                  <shadow id="ZI-r}kzT8Y=p.GdTq7lH" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="X7ro_Db;}l{v^YAzQBbu">
                    <field name="VAR" id="#Q);s2ymwHU^@Wd{K;yZ" variabletype="">dalembert:profitUnits</field>
                  </block>
                </value>
                <value name="B">
                  <shadow id="{Y2dS`Z1{(w6k%yQoR~m" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="^KQ1@hKbpC)EO-!1Vkh(">
                    <field name="VAR" id="pS2U_(gKq{Z20YPNaI:l" variabletype="">dalembert:size</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="T+LMuBa?y@W4es3Z}sjZ">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="~dgK]Iz*%C46;r+~8#}!">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="variables_get" id="W2eGOw^LKa45XEtku6}W">
                        <field name="VAR" id="pS2U_(gKq{Z20YPNaI:l" variabletype="">dalembert:size</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="#s1ADC9}k|_{6N3I*+|Y">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="LUJS=P2(!/IWCRY:IsTl">
                    <field name="VAR" id="pS2U_(gKq{Z20YPNaI:l" variabletype="">dalembert:size</field>
                    <value name="VALUE">
                      <block type="math_arithmetic" id="7#hL./MNVEX(Gb#D`~EC">
                        <field name="OP">MINUS</field>
                        <value name="A">
                          <shadow id="yo:WX(YXv,7m)@[dD*T6" type="math_number">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="%:^P@RJGx^xUN2aftCd@">
                            <field name="VAR" id="pS2U_(gKq{Z20YPNaI:l" variabletype="">dalembert:size</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="xWP@Cne~D[-/%I4}kMHm">
                            <field name="NUM">1</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="variables_set" id="}HweP{]-KGldbObsN5ja">
                    <field name="VAR" id="#Q);s2ymwHU^@Wd{K;yZ" variabletype="">dalembert:profitUnits</field>
                    <value name="VALUE">
                      <block type="math_number" id="F_|2V`E6ObE80k~?NztP">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="notify" id="#sbO?-oLMKqQZk(C3=v?">
                        <field name="NOTIFICATION_TYPE">success</field>
                        <field name="NOTIFICATION_SOUND">silent</field>
                        <value name="MESSAGE">
                          <block type="text" id="N0Ms_cA_dls{(fg4o]rE">
                            <field name="TEXT">One DAlembert session finished successfully.</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id="/-d0;K+{pd79q%;p^o6!">
            <field name="VAR" id="#Q);s2ymwHU^@Wd{K;yZ" variabletype="">dalembert:profitUnits</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="^1(jnI}%J5*f^qdE~e%!">
                <field name="OP">MINUS</field>
                <value name="A">
                  <shadow id="ZI-r}kzT8Y=p.GdTq7lH" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="uI[tG5Ijf_[ihid2hC0t">
                    <field name="VAR" id="#Q);s2ymwHU^@Wd{K;yZ" variabletype="">dalembert:profitUnits</field>
                  </block>
                </value>
                <value name="B">
                  <shadow id="{Y2dS`Z1{(w6k%yQoR~m" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id=":yC#6A!Y3xuMNiwm-fdB">
                    <field name="VAR" id="pS2U_(gKq{Z20YPNaI:l" variabletype="">dalembert:size</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="?QPU}PR2doaiC^[4f2(d">
                <field name="VAR" id="pS2U_(gKq{Z20YPNaI:l" variabletype="">dalembert:size</field>
                <value name="VALUE">
                  <block type="math_arithmetic" id="{p%YL?+Yk3!+=*tM_dR/">
                    <field name="OP">ADD</field>
                    <value name="A">
                      <shadow id="yo:WX(YXv,7m)@[dD*T6" type="math_number">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="variables_get" id="cp=ul.-FT,41`IF2Gzix">
                        <field name="VAR" id="pS2U_(gKq{Z20YPNaI:l" variabletype="">dalembert:size</field>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="X@amaJRGiwc^;5j.8f4T">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="_b//g0Q,2OW8MbY^`J3E" collapsed="true" x="0" y="509">
    <mutation>
      <arg name="dalembert:profit" varid="{+X%~YCCo$SWk*rr1.i4"></arg>
      <arg name="dalembert:resultIsWin" varid="ai)DC_drwGH]=4S|KBn~"></arg>
    </mutation>
    <field name="NAME">D'Alembert Trade Again After Purchase</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="math_change" id="5ph^#sJ_|cnLn{}e(%Z{">
        <field name="VAR" id="o2qB.DU}t=7N[^|.?K8{" variabletype="">dalembert:totalProfit</field>
        <value name="DELTA">
          <shadow id="[)Nh?MH}TXeN]0n(Q?PP" type="math_number">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="Kj+o2HPe^1#-J*pl.VD9">
            <field name="VAR" id="{+X%~YCCo$SWk*rr1.i4" variabletype="">dalembert:profit</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="=``}2YqGE51x5XO#O{A6">
            <field name="VAR" id="o2qB.DU}t=7N[^|.?K8{" variabletype="">dalembert:totalProfit</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="m9HUE{JvBzON.?`k.p0L">
                <field name="OP">DIVIDE</field>
                <value name="A">
                  <shadow id="Y445k*N9Y{3k^0nU:f/a" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_round" id="eOhznKTK*Yn[R~s!l7p;">
                    <field name="OP">ROUND</field>
                    <value name="NUM">
                      <shadow id="NxI4W6P)%aS~YX^5:fm(" type="math_number">
                        <field name="NUM">3.1</field>
                      </shadow>
                      <block type="math_arithmetic" id="a52-x:2(jo3fN-]co/k]">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow id="1IiDMd{pA4I8#Jv5:v)F" type="math_number">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="djyZC:DVv!8AFfC.FoYS">
                            <field name="VAR" id="o2qB.DU}t=7N[^|.?K8{" variabletype="">dalembert:totalProfit</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow id="QPp6Ex`FL}B)uWsSrQ*o" type="math_number">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="math_number" id="qdaI}RV~2ic%D1==.15s">
                            <field name="NUM">100</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <shadow id=";(PBMt(9fPe84P0`MRRO" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_number" id=";)+n7kB.._k3n:rt!GvJ">
                    <field name="NUM">100</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="P/L5q|aftSE^KsctnA}E">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="variables_get" id="IE(_]mU,GAeY}*bDjQY@">
                    <field name="VAR" id="ai)DC_drwGH]=4S|KBn~" variabletype="">dalembert:resultIsWin</field>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="notify" id="Y+/B?@*,K~?KRM!)/fmK">
                    <field name="NOTIFICATION_TYPE">success</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <block type="text_join" id="4{*#BHVCa/!8W=WM7Kz8">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="I-e_UTV7xCYiDFI})Q=(">
                            <field name="TEXT">Won:</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id="k4nklyFK@UB@/FR9Lp|s">
                            <field name="VAR" id="{+X%~YCCo$SWk*rr1.i4" variabletype="">dalembert:profit</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="notify" id=",llDyR^DXy%PU^4]}f./">
                    <field name="NOTIFICATION_TYPE">warn</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <block type="text_join" id="/HOAuftQSV1A*1Bigv8-">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="gF}3UoFAC]sxWV/nw%ei">
                            <field name="TEXT">Lost: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="math_single" id="1SW+cz/lMmWY)ms^lqaZ">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow id="GleSn`9j7Cm7/dqg}FIA" type="math_number">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="variables_get" id="`]%tyAnT!{u4,M%!D1bd">
                                <field name="VAR" id="{+X%~YCCo$SWk*rr1.i4" variabletype="">dalembert:profit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="procedures_callnoreturn" id="sDq[vcSX3kB!@W09lkSI">
                    <mutation name="D'Alembert Core Functionality">
                      <arg name="dalembert:resultIsWin"></arg>
                    </mutation>
                    <value name="ARG0">
                      <block type="variables_get" id=",gx.@YSp(M2f-koK!twT">
                        <field name="VAR" id="ai)DC_drwGH]=4S|KBn~" variabletype="">dalembert:resultIsWin</field>
                      </block>
                    </value>
                    <next>
                      <block type="notify" id="Cvi8%t{p9/_xm#+X]om(">
                        <field name="NOTIFICATION_TYPE">info</field>
                        <field name="NOTIFICATION_SOUND">silent</field>
                        <value name="MESSAGE">
                          <block type="text_join" id="BJCQ#/4O0}z[^DR9GgkO">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="ijsv9!fxO*BB:8yHR`f|">
                                <field name="TEXT">Total Profit: </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="variables_get" id="Kc?RVUrXujr{1X[%y1sW">
                                <field name="VAR" id="o2qB.DU}t=7N[^|.?K8{" variabletype="">dalembert:totalProfit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="ix3Jwr;,l7NS%LeIjciS">
                            <field name="VAR" id="^U[H9jox9B%]bd#VL^B}" variabletype="">dalembert:tradeAgain</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="Z;.teZof4syfkPW!mqo,">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                            <next>
                              <block type="controls_if" id="]Kv}Tw=x^zr6@I@D@S4q">
                                <mutation else="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_compare" id=")|LQhZk*#Wi64TgP!Xa^">
                                    <field name="OP">LT</field>
                                    <value name="A">
                                      <block type="variables_get" id="JIN._QaycDvYwCfcJGCM">
                                        <field name="VAR" id="o2qB.DU}t=7N[^|.?K8{" variabletype="">dalembert:totalProfit</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="ca~g-NW_y(msxA`ID6uw">
                                        <field name="VAR" id="PhCBp,QbI|~xu@VO}}*W" variabletype="">dalembert:expectedProfit</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="controls_if" id="fVNi_Cv-~iB/uc)2U.3u">
                                    <mutation else="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="+`bh%N2o{Y5P*([/ypeU">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="variables_get" id="J~+vmLG#*!wX@7rgH_a9">
                                            <field name="VAR" id="o2qB.DU}t=7N[^|.?K8{" variabletype="">dalembert:totalProfit</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_single" id="ETDn1dh]F.b#8{zcD@+|">
                                            <field name="OP">NEG</field>
                                            <value name="NUM">
                                              <shadow id="#4N:bIe?FzTA#rOZjMqo" type="math_number">
                                                <field name="NUM">9</field>
                                              </shadow>
                                              <block type="variables_get" id="OovN9^AB=zF:sTh-=oGq">
                                                <field name="VAR" id=";=Ss./#o$bq5SWl(_?dW" variabletype="">dalembert:maximumLoss</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="variables_set" id="y%eZ%16)YFB?;J!WT-/1">
                                        <field name="VAR" id="^U[H9jox9B%]bd#VL^B}" variabletype="">dalembert:tradeAgain</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="qt?z|=[ordjkFsa{CxlK">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <statement name="ELSE">
                                      <block type="text_print" id="(!.##DU]KjPhy^tQC6YF">
                                        <value name="TEXT">
                                          <shadow id="kqlrIk.GO.^}hI,PoUV)" type="text">
                                            <field name="TEXT">abc</field>
                                          </shadow>
                                          <block type="text_join" id="oX?Ia)5gqDMl[H*da_9g">
                                            <mutation items="2"></mutation>
                                            <value name="ADD0">
                                              <block type="text" id="ox|AU:{^KZm`Bk=piPeZ">
                                                <field name="TEXT">Maximum Loss Occurred! Total Loss: </field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="math_single" id="bc,1cQ})F_fQN*9Fird^">
                                                <field name="OP">NEG</field>
                                                <value name="NUM">
                                                  <shadow id="pi;;Fh3#fMUD2s`W_UJZ" type="math_number">
                                                    <field name="NUM">9</field>
                                                  </shadow>
                                                  <block type="variables_get" id="=b`joCv5,]G3N=_{)2ND">
                                                    <field name="VAR" id="o2qB.DU}t=7N[^|.?K8{" variabletype="">dalembert:totalProfit</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                                <statement name="ELSE">
                                  <block type="text_print" id="RqQw_^5^@PdBOSiPMkW7">
                                    <value name="TEXT">
                                      <shadow id="kqlrIk.GO.^}hI,PoUV)" type="text">
                                        <field name="TEXT">abc</field>
                                      </shadow>
                                      <block type="text_join" id="uNhAtc%n?rJat;igy.i;">
                                        <mutation items="2"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id="+Fd!Q%aw=bq2)~qEmqt=">
                                            <field name="TEXT">Expected Profit Made! Total Profit: </field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="variables_get" id="CxB@:}TG^Od;=yysk/#C">
                                            <field name="VAR" id="o2qB.DU}t=7N[^|.?K8{" variabletype="">dalembert:totalProfit</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block type="variables_get" id="zEXck3l4zHs1m9JF0^g.">
        <field name="VAR" id="^U[H9jox9B%]bd#VL^B}" variabletype="">dalembert:tradeAgain</field>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="i^(y#`N{kRd9@]M-|!;e" collapsed="true" x="0" y="562">
    <mutation>
      <arg name="_candles" varid="ltetHZ|urWouqLe![2ba"></arg>
      <arg name="_length" varid="l_#DpH]`~3j~!81b{GmT"></arg>
    </mutation>
    <field name="NAME">ExMachina::GetStochK</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="HuItQI)Dh[EYC!HWgt+X">
        <field name="VAR" id="~;oZOr%Mtge-EzRwBlem" variabletype="">CurrentClose</field>
        <value name="VALUE">
          <block type="read_ohlc_obj" id="m7JAb?=-O;ToYh8:A8/e">
            <field name="OHLCFIELD_LIST">close</field>
            <value name="OHLCOBJ">
              <block type="lists_getIndex" id="ZME;^X.xSFyaej2S*$do">
                <mutation statement="false" at="false"></mutation>
                <field name="MODE">GET</field>
                <field name="WHERE">LAST</field>
                <value name="VALUE">
                  <block type="variables_get" id="Ycv~CTL;l,y-gi]vdx}4">
                    <field name="VAR" id="ltetHZ|urWouqLe![2ba" variabletype="">_candles</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="_mKZ|YX[=gk/wfa3EvsE">
            <field name="VAR" id="tA$${Bu)F~P(g5%!EJ=[" variabletype="">LowestLow</field>
            <value name="VALUE">
              <block type="math_on_list" id="DKg!YC$cV3IMdeLpq,kU">
                <mutation op="MIN"></mutation>
                <field name="OP">MIN</field>
                <value name="LIST">
                  <block type="lists_getSublist" id="OGRoZbUR1_2n%-9{d9!@">
                    <mutation at1="true" at2="false"></mutation>
                    <field name="WHERE1">FROM_END</field>
                    <field name="WHERE2">LAST</field>
                    <value name="LIST">
                      <block type="ohlc_values_in_list" id="|S]mAcV-%meu($zTHBtC">
                        <field name="OHLCFIELD_LIST">low</field>
                        <value name="OHLCLIST">
                          <block type="variables_get" id="uL@QGRRDZ9%?T)5_!}-b">
                            <field name="VAR" id="ltetHZ|urWouqLe![2ba" variabletype="">_candles</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="AT1">
                      <block type="variables_get" id="uDOzJbP}:UcUh(s%GZ(7">
                        <field name="VAR" id="l_#DpH]`~3j~!81b{GmT" variabletype="">_length</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="rWB0[y7^y?r;{ZG#/#|Y">
                <field name="VAR" id="tzUbcI?|w(H+{N_NFr26" variabletype="">HighestHigh</field>
                <value name="VALUE">
                  <block type="math_on_list" id="IR2?=)zLjoX-3y%B02e{">
                    <mutation op="MAX"></mutation>
                    <field name="OP">MAX</field>
                    <value name="LIST">
                      <block type="lists_getSublist" id="+tjk-4kmv=/)52a9EH$,">
                        <mutation at1="true" at2="false"></mutation>
                        <field name="WHERE1">FROM_END</field>
                        <field name="WHERE2">LAST</field>
                        <value name="LIST">
                          <block type="ohlc_values_in_list" id="sR~Zipi?,/oqrj]?E!/^">
                            <field name="OHLCFIELD_LIST">high</field>
                            <value name="OHLCLIST">
                              <block type="variables_get" id="rm?ww^a0w;Ov8]1-8_|}">
                                <field name="VAR" id="ltetHZ|urWouqLe![2ba" variabletype="">_candles</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="AT1">
                          <block type="variables_get" id="Ggg`dq2^Pl}eO:Xfk+L*">
                            <field name="VAR" id="l_#DpH]`~3j~!81b{GmT" variabletype="">_length</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block type="math_arithmetic" id="tTtsu7heY*C:$aklGy3T">
        <field name="OP">MULTIPLY</field>
        <value name="A">
          <shadow type="math_number" id="m2Bldv1bWq,j02|^I;zC">
            <field name="NUM">100</field>
          </shadow>
        </value>
        <value name="B">
          <shadow id="Kw*!DL,6tC)Z@X[XXEW-" type="math_number">
            <field name="NUM">1</field>
          </shadow>
          <block type="math_arithmetic" id="39?zp,@Xh(biUoTnIc8]">
            <field name="OP">DIVIDE</field>
            <value name="A">
              <shadow id=";tVx4i7^OYc}Dj0ou0Fu" type="math_number">
                <field name="NUM">1</field>
              </shadow>
              <block type="math_arithmetic" id=",mQucf{NiFTY{v|[jF5Q">
                <field name="OP">MINUS</field>
                <value name="A">
                  <shadow id="eF-sorj8E/$Uv1D0/d$Y" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="Gb,vrCs^U6/kxej:8ndd">
                    <field name="VAR" id="~;oZOr%Mtge-EzRwBlem" variabletype="">CurrentClose</field>
                  </block>
                </value>
                <value name="B">
                  <shadow id="VJ6GD/B.QU$ZWA!9VjZu" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="nqwpVbqYtH9S%6d?hYq#">
                    <field name="VAR" id="tA$${Bu)F~P(g5%!EJ=[" variabletype="">LowestLow</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <shadow id="Q13ng:W0Mz,q5O(dwRA," type="math_number">
                <field name="NUM">1</field>
              </shadow>
              <block type="math_arithmetic" id="]FDfiMLH~HlD_Tu(?lB4">
                <field name="OP">MINUS</field>
                <value name="A">
                  <shadow id="eN`!}0R`LdLA,wW^9q]P" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="@(CXdH2Pc$rt0gQ^9q{_">
                    <field name="VAR" id="tzUbcI?|w(H+{N_NFr26" variabletype="">HighestHigh</field>
                  </block>
                </value>
                <value name="B">
                  <shadow id="sVcDKs=Tx:=t$P.Cu~Bo" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="Ni1A!;$`#IKWA{h/AD3J">
                    <field name="VAR" id="tA$${Bu)F~P(g5%!EJ=[" variabletype="">LowestLow</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="}dV0zCj2^,^s%*%{[4g(" collapsed="true" x="0" y="615">
    <mutation>
      <arg name="_candles" varid="ltetHZ|urWouqLe![2ba"></arg>
      <arg name="_channel(K/D/Both)" varid="cMexqyu0M_/pB{7p`+9("></arg>
      <arg name="_length" varid="l_#DpH]`~3j~!81b{GmT"></arg>
      <arg name="_smoothK" varid=";^hW?=itbb~Eg3B+sLU:"></arg>
      <arg name="_smoothD" varid="N^=AJ)!oE#$(cv{HGzVT"></arg>
    </mutation>
    <field name="NAME">ExMachina::GetStochKD</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="Dw*mkmtlRn/kY~=#Hzly">
        <field name="VAR" id="=Wrux.ps`;ws_T3-g@qg" variabletype="">S:list</field>
        <value name="VALUE">
          <block type="lists_create_with" id=";MBi/5(EU%w]yYz?,4cU">
            <mutation items="0"></mutation>
          </block>
        </value>
        <next>
          <block type="variables_set" id="}x^oC)ybfO8I))NQSp#I">
            <field name="VAR" id="kWLO@a%|(2VAgtURts{S" variabletype="">S:Klist</field>
            <value name="VALUE">
              <block type="lists_create_with" id="v8:Oo?sg6TvjP[5jXyyX">
                <mutation items="0"></mutation>
              </block>
            </value>
            <next>
              <block type="controls_for" id="y8[Ix7r(DINL+[UTU~TO">
                <field name="VAR" id="O+T:A7%yHExrcxp0Y(X%" variabletype="">i</field>
                <value name="FROM">
                  <block type="math_number" id="{|u-SKS;Z,M]Q!Qo(`~-">
                    <field name="NUM">1</field>
                  </block>
                </value>
                <value name="TO">
                  <block type="math_arithmetic" id="R(`mfrTxG(-p[GN=_HO1">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow id="LQ[5Y{LD4k6;7gi194d(" type="math_number">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_arithmetic" id="CLW.X9H{^RKUx;{hFFD(">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow id="|MQ2WpcdH)2yxiI(8pp." type="math_number">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="M3Yp}xk)L*:%Jx%TTcw9">
                            <field name="VAR" id="N^=AJ)!oE#$(cv{HGzVT" variabletype="">_smoothD</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow id="}^#-5nlInRRG(UP:No{e" type="math_number">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="n24|+%_JV)kZ}T6oDV[d">
                            <field name="VAR" id=";^hW?=itbb~Eg3B+sLU:" variabletype="">_smoothK</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="T?PuYQZn2-k}dze;nQ#6">
                        <field name="NUM">2</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <value name="BY">
                  <block type="math_number" id="+0TVOTn~E63sT]QKE2SE">
                    <field name="NUM">1</field>
                  </block>
                </value>
                <statement name="DO">
                  <block type="lists_setIndex" id="$FzHvsI,,5n%uC0h:#ff">
                    <mutation at="false"></mutation>
                    <field name="MODE">INSERT</field>
                    <field name="WHERE">FIRST</field>
                    <value name="LIST">
                      <block type="variables_get" id="m{^VJ8]2X#iF|udpx$!H">
                        <field name="VAR" id="=Wrux.ps`;ws_T3-g@qg" variabletype="">S:list</field>
                      </block>
                    </value>
                    <value name="TO">
                      <block type="procedures_callreturn" id="n7gLy[uK0A!3:e3eO9mB">
                        <mutation name="ExMachina::GetStochK">
                          <arg name="_candles"></arg>
                          <arg name="_length"></arg>
                        </mutation>
                        <value name="ARG0">
                          <block type="lists_getSublist" id="n4IxiGu+BS[g(qG04%q#">
                            <mutation at1="false" at2="true"></mutation>
                            <field name="WHERE1">FIRST</field>
                            <field name="WHERE2">FROM_END</field>
                            <value name="LIST">
                              <block type="variables_get" id="A=kn,?YjRs0lTqEr9}gd">
                                <field name="VAR" id="ltetHZ|urWouqLe![2ba" variabletype="">_candles</field>
                              </block>
                            </value>
                            <value name="AT2">
                              <block type="variables_get" id="%-|+(0:3v0(`:)HCg@p|">
                                <field name="VAR" id="O+T:A7%yHExrcxp0Y(X%" variabletype="">i</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="ARG1">
                          <block type="variables_get" id="BTcB2|@x$3+eB,io(oo@">
                            <field name="VAR" id="l_#DpH]`~3j~!81b{GmT" variabletype="">_length</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_for" id="NvrlzJUdZ*2rd()5K2RF">
                    <field name="VAR" id="O+T:A7%yHExrcxp0Y(X%" variabletype="">i</field>
                    <value name="FROM">
                      <block type="math_number" id="w@x^s!3JR(dqvf?+N`k^">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                    <value name="TO">
                      <block type="math_arithmetic" id="Bn8+Q;AAbAZp%G0bum9q">
                        <field name="OP">DIVIDE</field>
                        <value name="A">
                          <shadow id="OS(!I,+m=+C/o.qP+hsm" type="math_number">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="lists_length" id="SBE45:L~@M5rM7kulW^L">
                            <value name="VALUE">
                              <block type="variables_get" id="_xmMEPJ9!tXQ@VZB_Mk=">
                                <field name="VAR" id="=Wrux.ps`;ws_T3-g@qg" variabletype="">S:list</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="Ex$eISk4$wF*}:d+xJs%">
                            <field name="NUM">2</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <value name="BY">
                      <block type="math_number" id="d}VzQ)JgrP@ATqv8^1?,">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                    <statement name="DO">
                      <block type="lists_setIndex" id="t=?hM?cV:;HzqORN)OS*">
                        <mutation at="false"></mutation>
                        <field name="MODE">INSERT</field>
                        <field name="WHERE">FIRST</field>
                        <value name="LIST">
                          <block type="variables_get" id="rvG0IdewTt.wRY4=amZ;">
                            <field name="VAR" id="kWLO@a%|(2VAgtURts{S" variabletype="">S:Klist</field>
                          </block>
                        </value>
                        <value name="TO">
                          <block type="sma" id="JkDx^~B_mQ/u_UZww=NZ">
                            <value name="INPUT">
                              <block type="lists_getSublist" id="E-$8aSG;5,[UnbS]nYB5">
                                <mutation at1="true" at2="true"></mutation>
                                <field name="WHERE1">FROM_END</field>
                                <field name="WHERE2">FROM_END</field>
                                <value name="LIST">
                                  <block type="variables_get" id="::fFk~6=vA6;z)Tbx^ul">
                                    <field name="VAR" id="=Wrux.ps`;ws_T3-g@qg" variabletype="">S:list</field>
                                  </block>
                                </value>
                                <value name="AT1">
                                  <block type="math_arithmetic" id="Lke^6bJDG*P8.VVSM(wA">
                                    <field name="OP">MINUS</field>
                                    <value name="A">
                                      <shadow id=",c2$!d1dC_@QYv,LY%2h" type="math_number">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="math_arithmetic" id="A9u7kbX~9QD~FFA~i@r|">
                                        <field name="OP">ADD</field>
                                        <value name="A">
                                          <shadow id="ehy/jyy@iQ+RCbeMC1Ey" type="math_number">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id="Z|L4Td9896JA8:*BhDa8">
                                            <field name="VAR" id=";^hW?=itbb~Eg3B+sLU:" variabletype="">_smoothK</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow id="[AH-:B]o1|yYqm#=,w8D" type="math_number">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id="gQu+!}C.h!._-]l6}hXi">
                                            <field name="VAR" id="O+T:A7%yHExrcxp0Y(X%" variabletype="">i</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <shadow type="math_number" id="R8O~u1tG`w[d1Rc)v-mz">
                                        <field name="NUM">1</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                                <value name="AT2">
                                  <block type="variables_get" id="D.n(a2I%b?6)Xm9Ukt07">
                                    <field name="VAR" id="O+T:A7%yHExrcxp0Y(X%" variabletype="">i</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="PERIOD">
                              <shadow id="tO,9dxnq*LR+/Z_M!l0$" type="math_number">
                                <field name="NUM">10</field>
                              </shadow>
                              <block type="variables_get" id="ELX%zx-uIY9-l`KDl5QH">
                                <field name="VAR" id=";^hW?=itbb~Eg3B+sLU:" variabletype="">_smoothK</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="variables_set" id="@AlS@CClKD`dENz7%T-7">
                        <field name="VAR" id="=|aW+E{A0k0|DPKuMrkK" variabletype="">S:K</field>
                        <value name="VALUE">
                          <block type="sma" id="KyHGh%67j#DHZ}M5i(T|">
                            <value name="INPUT">
                              <block type="variables_get" id="g(Cja$$19{w}(Z+`elC:">
                                <field name="VAR" id="=Wrux.ps`;ws_T3-g@qg" variabletype="">S:list</field>
                              </block>
                            </value>
                            <value name="PERIOD">
                              <shadow id="0*u;$9XgjY*!*eBuy0ic" type="math_number">
                                <field name="NUM">3</field>
                              </shadow>
                              <block type="variables_get" id="V.TF]8m^_CG/#iqDdh6p">
                                <field name="VAR" id=";^hW?=itbb~Eg3B+sLU:" variabletype="">_smoothK</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="@:W^=Q[]1qq)jJeNpQ*X">
                            <field name="VAR" id="}ZA0{U=85b5(_DCmYNs/" variabletype="">S:D</field>
                            <value name="VALUE">
                              <block type="sma" id="Sx,FBI=aMRK$D7M){{qN">
                                <value name="INPUT">
                                  <block type="variables_get" id="I#jwvNT.L-z)x[L:)4r;">
                                    <field name="VAR" id="kWLO@a%|(2VAgtURts{S" variabletype="">S:Klist</field>
                                  </block>
                                </value>
                                <value name="PERIOD">
                                  <shadow id="0*u;$9XgjY*!*eBuy0ic" type="math_number">
                                    <field name="NUM">3</field>
                                  </shadow>
                                  <block type="variables_get" id="gw5@!Jkix:|ETHz8UH|l">
                                    <field name="VAR" id="N^=AJ)!oE#$(cv{HGzVT" variabletype="">_smoothD</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block type="logic_ternary" id="kia7_u4AUYEH6?bs{e%Z">
        <value name="IF">
          <block type="logic_compare" id="~3Q`A;+zuqwHzwx{jhq$">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="^8lHq(S(3^mfA1=;!#58">
                <field name="VAR" id="cMexqyu0M_/pB{7p`+9(" variabletype="">_channel(K/D/Both)</field>
              </block>
            </value>
            <value name="B">
              <block type="text" id="Vl21#r?G![-c9_Myjv}K">
                <field name="TEXT">D</field>
              </block>
            </value>
          </block>
        </value>
        <value name="THEN">
          <block type="variables_get" id="#KHYf[pDMCx0VoYkV6F$">
            <field name="VAR" id="}ZA0{U=85b5(_DCmYNs/" variabletype="">S:D</field>
          </block>
        </value>
        <value name="ELSE">
          <block type="logic_ternary" id="W%oVGjWlAkmmWdx/+V%A">
            <value name="IF">
              <block type="logic_compare" id="EAP6w#z*OHkEK|WvoTQ]">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="$j)ryC%:AS^^C)B8VWe:">
                    <field name="VAR" id="cMexqyu0M_/pB{7p`+9(" variabletype="">_channel(K/D/Both)</field>
                  </block>
                </value>
                <value name="B">
                  <block type="text" id="ZP-l79c8P(NRed61H*Ek">
                    <field name="TEXT">K</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="THEN">
              <block type="variables_get" id="~xH(Qs@aogj]eF[OEi6/">
                <field name="VAR" id="=|aW+E{A0k0|DPKuMrkK" variabletype="">S:K</field>
              </block>
            </value>
            <value name="ELSE">
              <block type="lists_create_with" id="Q~xoDZ%J!.Im9.0=Cr^,">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="variables_get" id="P:soDorI#)~O$Xx6J9dY">
                    <field name="VAR" id="=|aW+E{A0k0|DPKuMrkK" variabletype="">S:K</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="variables_get" id="_lgVusBS`YiRdo`,Gh)0">
                    <field name="VAR" id="}ZA0{U=85b5(_DCmYNs/" variabletype="">S:D</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="0" y="668">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id="Z*WN:t++Jqpe}M.04R0q">
        <field name="VAR" id="0YH`Ip6f^7lJs{3IH?|`" variabletype="">stoch k</field>
        <value name="VALUE">
          <block type="procedures_callreturn" id="wu8x~A,1J4VLnHYEx*p{">
            <mutation name="ExMachina::GetStochKD">
              <arg name="_candles"></arg>
              <arg name="_channel(K/D/Both)"></arg>
              <arg name="_length"></arg>
              <arg name="_smoothK"></arg>
              <arg name="_smoothD"></arg>
            </mutation>
            <value name="ARG0">
              <block type="ohlc" id="|v$8eY@Zq4juM{/%fFTU">
                <field name="CANDLEINTERVAL_LIST">default</field>
              </block>
            </value>
            <value name="ARG1">
              <block type="text" id="|#SS@fPt!`Hv?~ba^79u">
                <field name="TEXT">K</field>
              </block>
            </value>
            <value name="ARG2">
              <block type="math_number" id="Olt@,@UZYB~e+L?+1ENO">
                <field name="NUM">14</field>
              </block>
            </value>
            <value name="ARG3">
              <block type="math_number" id="E))Z:Q$pI:O[[w~/!A,:">
                <field name="NUM">1</field>
              </block>
            </value>
            <value name="ARG4">
              <block type="math_number" id="x0ogSHCu:a%iJOiOR5Kp">
                <field name="NUM">3</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="DN]sGqM!KUrcD}lk,|?d">
            <field name="VAR" id="V}GzE7v#OSaI3_$%4Dfq" variabletype="">stochd</field>
            <value name="VALUE">
              <block type="procedures_callreturn" id=")GNn*Sd+FI?*`zp3v(vG">
                <mutation name="ExMachina::GetStochKD">
                  <arg name="_candles"></arg>
                  <arg name="_channel(K/D/Both)"></arg>
                  <arg name="_length"></arg>
                  <arg name="_smoothK"></arg>
                  <arg name="_smoothD"></arg>
                </mutation>
                <value name="ARG0">
                  <block type="ohlc" id="tzYIT4M+1k+tvB7j|umM">
                    <field name="CANDLEINTERVAL_LIST">default</field>
                  </block>
                </value>
                <value name="ARG1">
                  <block type="text" id="tDNt2*=k~n:F8OkT/Ds5">
                    <field name="TEXT">D</field>
                  </block>
                </value>
                <value name="ARG2">
                  <block type="math_number" id="1smFtHFc2!svgAWFrxhp">
                    <field name="NUM">14</field>
                  </block>
                </value>
                <value name="ARG3">
                  <block type="math_number" id="R,[kp|T_N1b3n6rg9Yd0">
                    <field name="NUM">1</field>
                  </block>
                </value>
                <value name="ARG4">
                  <block type="math_number" id="[;kPhH9EnQ+WBAno5E!v">
                    <field name="NUM">3</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="}OAxv);V4*CSmCF55KTA">
                <value name="IF0">
                  <block type="logic_operation" id="w@7$GhUzq9ezy?L_G9UO">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="logic_compare" id="$5r;SLd_zCD!L,$%c76D">
                        <field name="OP">GT</field>
                        <value name="A">
                          <block type="math_modulo" id="c~cS}-6x8nPxT`zJd,6H">
                            <value name="DIVIDEND">
                              <shadow id="*(88x@#;r[QS}+.}5}cZ" type="math_number">
                                <field name="NUM">64</field>
                              </shadow>
                              <block type="epoch" id="SWtptXG}Da]Yj:Kc91g+"></block>
                            </value>
                            <value name="DIVISOR">
                              <shadow type="math_number" id="rPfGSoV0XLd1%P4b^Phy">
                                <field name="NUM">180</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="X~683^9ART]!Js27f/A8">
                            <field name="NUM">20</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="6}.07+pm]Ov-IESPRw45">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="math_modulo" id="CZQ7A]9daja?7m7hIQ!}">
                            <value name="DIVIDEND">
                              <shadow id="*(88x@#;r[QS}+.}5}cZ" type="math_number">
                                <field name="NUM">64</field>
                              </shadow>
                              <block type="epoch" id="71xNUAa3}bUR%T]fe?[n"></block>
                            </value>
                            <value name="DIVISOR">
                              <shadow type="math_number" id="q(6z~K%uf3;pVg?#wJqr">
                                <field name="NUM">180</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="PX3P0Yt3#KcM((Rmp/J9">
                            <field name="NUM">25</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="controls_if" id="8?eYKAW%VczmRXQ-ou3r">
                    <mutation elseif="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="mg;h2(kC!e`K](wspz3L">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="variables_get" id="U7vV/=%3Thl):siVcXuV">
                            <field name="VAR" id="0YH`Ip6f^7lJs{3IH?|`" variabletype="">stoch k</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="Kimr_Z$h@uI{woTX7Z+*">
                            <field name="VAR" id="V}GzE7v#OSaI3_$%4Dfq" variabletype="">stochd</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="controls_if" id="1nJi^s8MJ[Jc@6^$.LG]">
                        <value name="IF0">
                          <block type="logic_compare" id="xV4:-{)eh6*}vq*Wa-B%">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="is_candle_black" id="X[GMZ95F1OQv:?elnK@r">
                                <value name="OHLCOBJ">
                                  <block type="get_ohlc" id="sW*bI`KpcD,S,xopKeAa">
                                    <field name="CANDLEINTERVAL_LIST">default</field>
                                    <value name="CANDLEINDEX">
                                      <shadow type="math_number" id="0{xkJT#WYM49{:J)Kwk)">
                                        <field name="NUM">1</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id="!V|h.K{tW1^p8D4w*`-|">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="purchase" id="`xX)H^B6VKq.peNREG~3">
                            <field name="PURCHASE_LIST">PUT</field>
                          </block>
                        </statement>
                      </block>
                    </statement>
                    <value name="IF1">
                      <block type="logic_compare" id="oKv4tVjR|u=^!7~8i)Z]">
                        <field name="OP">GT</field>
                        <value name="A">
                          <block type="variables_get" id="GRdNLm`Uc};G$Iu)jUq(">
                            <field name="VAR" id="0YH`Ip6f^7lJs{3IH?|`" variabletype="">stoch k</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="t@Ok#~ruIX_/ZAA7+Pmu">
                            <field name="VAR" id="V}GzE7v#OSaI3_$%4Dfq" variabletype="">stochd</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO1">
                      <block type="controls_if" id=",ekmLS+k0ET5Ot5%(A8Z">
                        <value name="IF0">
                          <block type="logic_compare" id="6?_#s*CBC%%1dIzGvFa*">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="is_candle_black" id="tdU2G|Kl3fC3]T5})^G;">
                                <value name="OHLCOBJ">
                                  <block type="get_ohlc" id="@T}};{NE6.t:}*6}Oh8^">
                                    <field name="CANDLEINTERVAL_LIST">default</field>
                                    <value name="CANDLEINDEX">
                                      <shadow type="math_number" id="l|*xUuHsuB^nW)S)xUTP">
                                        <field name="NUM">1</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id="#]QgrvA(YBQS#wZLp4T6">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
                            <field name="PURCHASE_LIST">CALL</field>
                          </block>
                        </statement>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="0" y="1484">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="8rg~ljQLJ.*v{J}a:5S8">
        <value name="IF0">
          <block type="procedures_callreturn" id="`C6}l8E?x~f!~in8wX_`">
            <mutation name="D'Alembert Trade Again After Purchase">
              <arg name="dalembert:profit"></arg>
              <arg name="dalembert:resultIsWin"></arg>
            </mutation>
            <value name="ARG0">
              <block type="read_details" id="TKz].LsISp*qSTpbCyqc">
                <field name="DETAIL_INDEX">4</field>
              </block>
            </value>
            <value name="ARG1">
              <block type="contract_check_result" id="6pN8ndn)(UzXPxYz0C/b">
                <field name="CHECK_RESULT">win</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
        </statement>
      </block>
    </statement>
  </block>
</xml>