<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="/shM51Nl|.I_R[9=PPJd">dalembert:resultIsWin</variable>
    <variable type="" id="8-FGM6FF)6Y!:[]L7ZW0">dalembert:profit</variable>
    <variable type="" id="dO,2jA#,W(l+~Rs7@l[|">stake</variable>
    <variable type="" id="J3g++(PvQv/)qGUt#G2:">trader</variable>
    <variable type="" id="weOIq50C[S,Wr;`!|gYR">dalembert:totalProfit</variable>
    <variable type="" id="[w@pzvBAlteju[8,x#hD">dalembert:tradeAgain</variable>
    <variable type="" id="ZGpA`4foih2T_0.]xE66">dalembert:expectedProfit</variable>
    <variable type="" id="o((rBg*rL/qm;RU%PM7_">dalembert:size</variable>
    <variable type="" id="-PgUuax5KQf1zn42iCd~">dalembert:amount</variable>
    <variable type="" id="C1sj}QRP*^Ngjgv+U:yR">stake win</variable>
    <variable type="" id="R2yOKK{FmV|TULnU8.,[">dalembert:profitUnits</variable>
    <variable type="" id="%o8CQE,uNdg`rmRL:-ca">dalembert:maximumLoss</variable>
    <variable type="" id="@nr#0%ma@V~6H5D#nWB[">martingale</variable>
    <variable type="" id="Af6WwokSaL9#7sS#fHwZ">rsi</variable>
  </variables>
  <block type="procedures_defreturn" id="qq2xGirc*Byb/P/HE^]H" collapsed="true" x="0" y="0">
    <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="ZGpA`4foih2T_0.]xE66" 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="ZGpA`4foih2T_0.]xE66" 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 type="text" id=".P`a1!r=yj-[H(SJX}_m">
                    <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="%o8CQE,uNdg`rmRL:-ca" 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="%o8CQE,uNdg`rmRL:-ca" 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 type="text" id=".P`a1!r=yj-[H(SJX}_m">
                        <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="-PgUuax5KQf1zn42iCd~" 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="-PgUuax5KQf1zn42iCd~" 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 type="text" id=".P`a1!r=yj-[H(SJX}_m">
                            <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="o((rBg*rL/qm;RU%PM7_" 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="o((rBg*rL/qm;RU%PM7_" 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="R2yOKK{FmV|TULnU8.,[" 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="R2yOKK{FmV|TULnU8.,[" 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="weOIq50C[S,Wr;`!|gYR" 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="weOIq50C[S,Wr;`!|gYR" 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 type="math_number" id="!N5Q!/XB/Zq(Yh8GZNXa">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="Zb1gI0smw}o}MYn(O2z7">
            <field name="VAR" id="o((rBg*rL/qm;RU%PM7_" variabletype="">dalembert:size</field>
          </block>
        </value>
        <value name="B">
          <shadow type="math_number" id="_MIi~6{+puJoIPRIyX8S">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="dZh,rVm,Z,HL;@*{;ZGS">
            <field name="VAR" id="-PgUuax5KQf1zn42iCd~" variabletype="">dalembert:amount</field>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="0" y="0">
    <field name="MARKET_LIST">synthetic_index</field>
    <field name="SUBMARKET_LIST">jump_index</field>
    <field name="SYMBOL_LIST">JD100</field>
    <field name="TRADETYPECAT_LIST">digits</field>
    <field name="TRADETYPE_LIST">matchesdiffers</field>
    <field name="TYPE_LIST">DIGITDIFF</field>
    <field name="CANDLEINTERVAL_LIST">60</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="xuScAp;eOn*L5u{n4M^E">
        <field name="VAR" id="dO,2jA#,W(l+~Rs7@l[|" variabletype="">stake</field>
        <value name="VALUE">
          <block type="math_number" id="[c5yLi4G|uk0~Lr@m-fx">
            <field name="NUM">100</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="m,6d3TYRlb;Zb|*YaS59">
            <field name="VAR" id="C1sj}QRP*^Ngjgv+U:yR" variabletype="">stake win</field>
            <value name="VALUE">
              <block type="variables_get" id=")BEr-`LosGajs5yxBTs1">
                <field name="VAR" id="dO,2jA#,W(l+~Rs7@l[|" variabletype="">stake</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="~u:7#J%K;q97Z6g[oZlr">
                <field name="VAR" id="@nr#0%ma@V~6H5D#nWB[" variabletype="">martingale</field>
                <value name="VALUE">
                  <block type="math_number" id="ZnJYt2fIm:FlLWLQiyQU">
                    <field name="NUM">2.2</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="variables_set" id="q[-nJb1Q+|ZyLN*CgFTk">
        <field name="VAR" id="J3g++(PvQv/)qGUt#G2:" variabletype="">trader</field>
        <value name="VALUE">
          <block type="logic_null" id="(]wM.%WLpeDncY,rg[b!"></block>
        </value>
        <next>
          <block type="controls_whileUntil" id="lP:~cKbT;edyG%}^.s4n">
            <field name="MODE">UNTIL</field>
            <value name="BOOL">
              <block type="logic_compare" id="q1mM%(@GRkgnR4,pPL*_">
                <field name="OP">NEQ</field>
                <value name="A">
                  <block type="variables_get" id="/nNPB|%2iHCc(_[VlKb.">
                    <field name="VAR" id="J3g++(PvQv/)qGUt#G2:" variabletype="">trader</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_null" id="/aVN~p+T]Re#F3|.:J$T"></block>
                </value>
              </block>
            </value>
            <statement name="DO">
              <block type="timeout" id="FS{rcH_yp3.!RxPDl@o$">
                <statement name="TIMEOUTSTACK">
                  <block type="variables_set" id="9bPDo~Vh-OkG{wC9,d0E">
                    <field name="VAR" id="Af6WwokSaL9#7sS#fHwZ" variabletype="">rsi</field>
                    <value name="VALUE">
                      <block type="rsi" id="(8K*VNYnZa%@U~|K*We%">
                        <value name="INPUT">
                          <block type="ticks" id="y6pzYcEbY))L7Tt2]}FK"></block>
                        </value>
                        <value name="PERIOD">
                          <shadow type="math_number" id=";loPb(EYw/6axK$Zs-(q">
                            <field name="NUM">14</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="controls_if" id="R]W]1V2+3C3AwM(j.%lO">
                        <mutation elseif="1" else="1"></mutation>
                        <value name="IF0">
                          <block type="logic_compare" id="[iSlfKb(RR(EJ*BeDD57">
                            <field name="OP">LTE</field>
                            <value name="A">
                              <block type="variables_get" id="CQv*-c%v2%jF_JU2kZ8X">
                                <field name="VAR" id="Af6WwokSaL9#7sS#fHwZ" variabletype="">rsi</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="%l}+V|rbrJPg-e.k=Moq">
                                <field name="NUM">50</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="ft]d7}FHLYi9k-t12/jz">
                            <field name="VAR" id="J3g++(PvQv/)qGUt#G2:" variabletype="">trader</field>
                            <value name="VALUE">
                              <block type="text" id="C0!6d1n8GWO44(6^{.LJ">
                                <field name="TEXT">put</field>
                              </block>
                            </value>
                            <next>
                              <block type="notify" id="@7*[(DRt|x1_G/h}vJ1K">
                                <field name="NOTIFICATION_TYPE">success</field>
                                <field name="NOTIFICATION_SOUND">announcement</field>
                                <value name="MESSAGE">
                                  <shadow type="text" id="Tp0gNwf;2-|~2Gjy$4T!">
                                    <field name="TEXT">abc</field>
                                  </shadow>
                                  <block type="text_join" id="x0(#$LG0}BSlmhWZ=9L0">
                                    <mutation items="5"></mutation>
                                    <value name="ADD0">
                                      <block type="variables_get" id="7GO`1o4Od[(!SOo}!8gU">
                                        <field name="VAR" id="J3g++(PvQv/)qGUt#G2:" variabletype="">trader</field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="text" id="})#3*[UJQIf+-qH9$oqL">
                                        <field name="TEXT">   </field>
                                      </block>
                                    </value>
                                    <value name="ADD2">
                                      <block type="variables_get" id="6/7~gund)m9ih.V5AT#0">
                                        <field name="VAR" id="Af6WwokSaL9#7sS#fHwZ" variabletype="">rsi</field>
                                      </block>
                                    </value>
                                    <value name="ADD3">
                                      <block type="text" id="ky!Tt)%({iMg#emUcu|u">
                                        <field name="TEXT">✅</field>
                                      </block>
                                    </value>
                                    <value name="ADD4">
                                      <block type="text" id="TFG-0|KeEx-cBQ[Z[[xt">
                                        <field name="TEXT"> ⇶ </field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
                                    <field name="DURATIONTYPE_LIST">t</field>
                                    <value name="DURATION">
                                      <shadow type="math_number" id="A@GT=a+lSV@i.:!ut=_4">
                                        <field name="NUM">2</field>
                                      </shadow>
                                    </value>
                                    <value name="AMOUNT">
                                      <shadow type="math_number" id="ml)25~7^q}3I9}vjf:%K">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="variables_get" id="Jm8ViTvwR8%[vfF$5IFB">
                                        <field name="VAR" id="dO,2jA#,W(l+~Rs7@l[|" variabletype="">stake</field>
                                      </block>
                                    </value>
                                    <value name="PREDICTION">
                                      <shadow type="math_number" id="Azx}6?8VuidVo9,$;([a">
                                        <field name="NUM">6</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <value name="IF1">
                          <block type="logic_compare" id="[/L?JV+3rUM*lQq1h5a1">
                            <field name="OP">GTE</field>
                            <value name="A">
                              <block type="variables_get" id="~M%0#4Y{*n-Q8o%_L]=p">
                                <field name="VAR" id="Af6WwokSaL9#7sS#fHwZ" variabletype="">rsi</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="-R`eYhEl_ZcnA/0gZ3I-">
                                <field name="NUM">50</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO1">
                          <block type="variables_set" id="PyGGor8yp9]KVyQb^Sdo">
                            <field name="VAR" id="J3g++(PvQv/)qGUt#G2:" variabletype="">trader</field>
                            <value name="VALUE">
                              <block type="text" id="dTI;`I[!UC8F/[fsV7.~">
                                <field name="TEXT">call</field>
                              </block>
                            </value>
                            <next>
                              <block type="notify" id="_{za8=9p78/b2HO!%?`v">
                                <field name="NOTIFICATION_TYPE">success</field>
                                <field name="NOTIFICATION_SOUND">announcement</field>
                                <value name="MESSAGE">
                                  <shadow type="text" id="Tp0gNwf;2-|~2Gjy$4T!">
                                    <field name="TEXT">abc</field>
                                  </shadow>
                                  <block type="text_join" id="(qn03C}|4uA@D-2jGZJK">
                                    <mutation items="5"></mutation>
                                    <value name="ADD0">
                                      <block type="variables_get" id="9,}GEb(VMjT/}Z2ti!yR">
                                        <field name="VAR" id="J3g++(PvQv/)qGUt#G2:" variabletype="">trader</field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="text" id="b#!{78@Z4[lkf96`t)Xf">
                                        <field name="TEXT">   </field>
                                      </block>
                                    </value>
                                    <value name="ADD2">
                                      <block type="variables_get" id="$H:_kEYVpkx9s?q#sejR">
                                        <field name="VAR" id="Af6WwokSaL9#7sS#fHwZ" variabletype="">rsi</field>
                                      </block>
                                    </value>
                                    <value name="ADD3">
                                      <block type="text" id="n2O85a@v+6S1#yhpNRZc">
                                        <field name="TEXT">✅</field>
                                      </block>
                                    </value>
                                    <value name="ADD4">
                                      <block type="text" id="G:vZSg4Btll:[`JJ2l$C">
                                        <field name="TEXT"> ⇶ </field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="tradeOptions" id=")0B!YCQMGMKm8;/U_INm">
                                    <field name="DURATIONTYPE_LIST">t</field>
                                    <value name="DURATION">
                                      <shadow type="math_number" id="1V]1},)5AR3(qkV{)bI!">
                                        <field name="NUM">1</field>
                                      </shadow>
                                    </value>
                                    <value name="AMOUNT">
                                      <shadow type="math_number" id="ml)25~7^q}3I9}vjf:%K">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="variables_get" id="f+B6~=KdR2#TKced:Zxv">
                                        <field name="VAR" id="dO,2jA#,W(l+~Rs7@l[|" variabletype="">stake</field>
                                      </block>
                                    </value>
                                    <value name="PREDICTION">
                                      <shadow type="math_number" id="|yt0sI+;--M,d]lX)yv_">
                                        <field name="NUM">0</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="notify" id="7+|Yozk]z@_j?F4HgR,c">
                            <field name="NOTIFICATION_TYPE">warn</field>
                            <field name="NOTIFICATION_SOUND">silent</field>
                            <value name="MESSAGE">
                              <shadow type="text" id="Tp0gNwf;2-|~2Gjy$4T!">
                                <field name="TEXT">abc</field>
                              </shadow>
                              <block type="text_join" id="h)Z?mTf`Q~S2}1G(o9eM">
                                <mutation items="5"></mutation>
                                <value name="ADD0">
                                  <block type="variables_get" id="}^$@B3Su]wUt}8Bu6U,8">
                                    <field name="VAR" id="J3g++(PvQv/)qGUt#G2:" variabletype="">trader</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="text" id=",x_oBqqQi+$j;dGt|AHD">
                                    <field name="TEXT">   </field>
                                  </block>
                                </value>
                                <value name="ADD2">
                                  <block type="variables_get" id="N!(mN^:$4qB^FMM)mqur">
                                    <field name="VAR" id="Af6WwokSaL9#7sS#fHwZ" variabletype="">rsi</field>
                                  </block>
                                </value>
                                <value name="ADD3">
                                  <block type="text" id="wA`ZXUFZIS^f#9kW[Hvb">
                                    <field name="TEXT">❌</field>
                                  </block>
                                </value>
                                <value name="ADD4">
                                  <block type="text" id="uH?5Fh;PYglwHzQq)G=z">
                                    <field name="TEXT"> ⇶ </field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <value name="SECONDS">
                  <shadow type="math_number" id="q]nO/?ULCJ~Pjm%DJMpb">
                    <field name="NUM">1</field>
                  </shadow>
                </value>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="yNTO_g~CmG;eLIF(#(Fq" collapsed="true" x="0" y="53">
    <mutation>
      <arg name="dalembert:resultIsWin" varid="/shM51Nl|.I_R[9=PPJd"></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="/shM51Nl|.I_R[9=PPJd" variabletype="">dalembert:resultIsWin</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="!=lcrD.j^lG@TEIG!Wt+">
            <field name="VAR" id="R2yOKK{FmV|TULnU8.,[" 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 type="math_number" id="ZI-r}kzT8Y=p.GdTq7lH">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="X7ro_Db;}l{v^YAzQBbu">
                    <field name="VAR" id="R2yOKK{FmV|TULnU8.,[" variabletype="">dalembert:profitUnits</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="{Y2dS`Z1{(w6k%yQoR~m">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="^KQ1@hKbpC)EO-!1Vkh(">
                    <field name="VAR" id="o((rBg*rL/qm;RU%PM7_" 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="o((rBg*rL/qm;RU%PM7_" 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="o((rBg*rL/qm;RU%PM7_" 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 type="math_number" id="yo:WX(YXv,7m)@[dD*T6">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="%:^P@RJGx^xUN2aftCd@">
                            <field name="VAR" id="o((rBg*rL/qm;RU%PM7_" 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="R2yOKK{FmV|TULnU8.,[" 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="R2yOKK{FmV|TULnU8.,[" 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 type="math_number" id="ZI-r}kzT8Y=p.GdTq7lH">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="uI[tG5Ijf_[ihid2hC0t">
                    <field name="VAR" id="R2yOKK{FmV|TULnU8.,[" variabletype="">dalembert:profitUnits</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="{Y2dS`Z1{(w6k%yQoR~m">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id=":yC#6A!Y3xuMNiwm-fdB">
                    <field name="VAR" id="o((rBg*rL/qm;RU%PM7_" variabletype="">dalembert:size</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="?QPU}PR2doaiC^[4f2(d">
                <field name="VAR" id="o((rBg*rL/qm;RU%PM7_" 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 type="math_number" id="yo:WX(YXv,7m)@[dD*T6">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="variables_get" id="cp=ul.-FT,41`IF2Gzix">
                        <field name="VAR" id="o((rBg*rL/qm;RU%PM7_" 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="106">
    <mutation>
      <arg name="dalembert:profit" varid="8-FGM6FF)6Y!:[]L7ZW0"></arg>
      <arg name="dalembert:resultIsWin" varid="/shM51Nl|.I_R[9=PPJd"></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="weOIq50C[S,Wr;`!|gYR" variabletype="">dalembert:totalProfit</field>
        <value name="DELTA">
          <shadow type="math_number" id="[)Nh?MH}TXeN]0n(Q?PP">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="Kj+o2HPe^1#-J*pl.VD9">
            <field name="VAR" id="8-FGM6FF)6Y!:[]L7ZW0" variabletype="">dalembert:profit</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="=``}2YqGE51x5XO#O{A6">
            <field name="VAR" id="weOIq50C[S,Wr;`!|gYR" 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 type="math_number" id="Y445k*N9Y{3k^0nU:f/a">
                    <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 type="math_number" id="NxI4W6P)%aS~YX^5:fm(">
                        <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 type="math_number" id="1IiDMd{pA4I8#Jv5:v)F">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="djyZC:DVv!8AFfC.FoYS">
                            <field name="VAR" id="weOIq50C[S,Wr;`!|gYR" variabletype="">dalembert:totalProfit</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="QPp6Ex`FL}B)uWsSrQ*o">
                            <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 type="math_number" id=";(PBMt(9fPe84P0`MRRO">
                    <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="/shM51Nl|.I_R[9=PPJd" 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="8-FGM6FF)6Y!:[]L7ZW0" 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 type="math_number" id="GleSn`9j7Cm7/dqg}FIA">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="variables_get" id="`]%tyAnT!{u4,M%!D1bd">
                                <field name="VAR" id="8-FGM6FF)6Y!:[]L7ZW0" 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="/shM51Nl|.I_R[9=PPJd" 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="weOIq50C[S,Wr;`!|gYR" variabletype="">dalembert:totalProfit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="ix3Jwr;,l7NS%LeIjciS">
                            <field name="VAR" id="[w@pzvBAlteju[8,x#hD" 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="weOIq50C[S,Wr;`!|gYR" variabletype="">dalembert:totalProfit</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="ca~g-NW_y(msxA`ID6uw">
                                        <field name="VAR" id="ZGpA`4foih2T_0.]xE66" 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="weOIq50C[S,Wr;`!|gYR" 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 type="math_number" id="#4N:bIe?FzTA#rOZjMqo">
                                                <field name="NUM">9</field>
                                              </shadow>
                                              <block type="variables_get" id="OovN9^AB=zF:sTh-=oGq">
                                                <field name="VAR" id="%o8CQE,uNdg`rmRL:-ca" 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="[w@pzvBAlteju[8,x#hD" 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 type="text" id="kqlrIk.GO.^}hI,PoUV)">
                                            <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 type="math_number" id="pi;;Fh3#fMUD2s`W_UJZ">
                                                    <field name="NUM">9</field>
                                                  </shadow>
                                                  <block type="variables_get" id="=b`joCv5,]G3N=_{)2ND">
                                                    <field name="VAR" id="weOIq50C[S,Wr;`!|gYR" 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 type="text" id="kqlrIk.GO.^}hI,PoUV)">
                                        <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="weOIq50C[S,Wr;`!|gYR" 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="[w@pzvBAlteju[8,x#hD" variabletype="">dalembert:tradeAgain</field>
      </block>
    </value>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="0" y="1448">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="`iV]Aa(5rR.bo$+[PU+.">
        <value name="IF0">
          <block type="logic_compare" id="Cl^8fziSiGjv8SApSk+L">
            <field name="OP">GTE</field>
            <value name="A">
              <block type="variables_get" id="30t-ddcbEhT6$g96n6~8">
                <field name="VAR" id="Af6WwokSaL9#7sS#fHwZ" variabletype="">rsi</field>
              </block>
            </value>
            <value name="B">
              <block type="math_number" id="}kzk)Bwjz^)h,!SxMyCr">
                <field name="NUM">50</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="Ejc`jv(aKLVYJkrlKPu5">
            <field name="PURCHASE_LIST">DIGITDIFF</field>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="|RQCb#ei?ag~R_r5r!.N">
            <value name="IF0">
              <block type="logic_compare" id="8M?1XI5L(Cvu5fQj^sEV">
                <field name="OP">LTE</field>
                <value name="A">
                  <block type="variables_get" id="p.`p}rvWQ}it*?tXv)1U">
                    <field name="VAR" id="Af6WwokSaL9#7sS#fHwZ" variabletype="">rsi</field>
                  </block>
                </value>
                <value name="B">
                  <block type="math_number" id="Xsb{xd{Ecn^cX7;7|LH,">
                    <field name="NUM">50</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="purchase" id="#TH-YJiKRFIXUTFE/]PF">
                <field name="PURCHASE_LIST">DIGITDIFF</field>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="0" y="1704">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="^17].~Y6J0|e*u)FVO+2">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="kgD*ICZDw-%]aRC8N:pE">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="(uMO5l0QJ{)o4K+Dxh%e">
            <field name="VAR" id="dO,2jA#,W(l+~Rs7@l[|" variabletype="">stake</field>
            <value name="VALUE">
              <block type="variables_get" id="]6Z;gXn5d3x~)/zv4z!s">
                <field name="VAR" id="C1sj}QRP*^Ngjgv+U:yR" variabletype="">stake win</field>
              </block>
            </value>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id="`P~MJ5nJeI/htNOKM@Fi">
            <field name="VAR" id="dO,2jA#,W(l+~Rs7@l[|" variabletype="">stake</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="9$JeIeRw-raa:bq^dk=3">
                <field name="OP">MULTIPLY</field>
                <value name="A">
                  <shadow type="math_number" id="7JAR..:`H61~}3S78l(+">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="gGZ}2N]W~6*-C:W)PICl">
                    <field name="VAR" id="dO,2jA#,W(l+~Rs7@l[|" variabletype="">stake</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="]%JRNhP|B31(aijJ*%l]">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="RB*J(6%W.yGnESY;MZnC">
                    <field name="VAR" id="@nr#0%ma@V~6H5D#nWB[" variabletype="">martingale</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
        </next>
      </block>
    </statement>
  </block>
  <block type="during_purchase" id="(4;NieXd}j|Bn!c-YiC|" x="0" y="1950">
    <statement name="DURING_PURCHASE_STACK">
      <block type="controls_if" id="8?eYKAW%VczmRXQ-ou3r">
        <value name="IF0">
          <block type="check_sell" id="M=:_KpEeRAJY_}XTU^8~"></block>
        </value>
      </block>
    </statement>
  </block>
</xml>