﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="/JKYD|F07/5MfAUQowwc">dalembert:resultIsWin</variable>
    <variable type="" id="$lnBAB@Lfq^9eu2)/^8}">dalembert:profit</variable>
    <variable type="" id="cUDS,=lya8bCgM`XeE3i">martingale:resultIsWin</variable>
    <variable type="" id="l(Y]huD;af;t;hZBb,n[">martingale:profit</variable>
    <variable type="" id="6VMb!Wa;d^^CJyYMvsmZ">oscarsGrind:resultIsWin</variable>
    <variable type="" id="#rF%YDWm-fq`{~/pDf=9">oscarsGrind:profit</variable>
    <variable type="" id="ZzQh.z$5(-v,@d,Btw}F">dalembert:totalProfit</variable>
    <variable type="" id="y8H*.XirltY:h%4fJ)QT">dalembert:tradeAgain</variable>
    <variable type="" id="t-_yo67-)hp)2FP@qwC{">martingale:totalProfit</variable>
    <variable type="" id="C~_/+nw1yA/!.=MYn?|s">martingale:tradeAgain</variable>
    <variable type="" id="ul2!42MP,iLg#eY]+.x1">oscarsGrind:totalProfit</variable>
    <variable type="" id="jEkquq9@LmITG:w?g{$Q">oscarsGrind:tradeAgain</variable>
    <variable type="" id="VzZ^|rR],0VTD?~)6?i7">dalembert:expectedProfit</variable>
    <variable type="" id="Pl?(h^e7+)u/F6H|RXAb">dalembert:size</variable>
    <variable type="" id=".r+Z}_J{3wEo7`9.v.dk">dalembert:amount</variable>
    <variable type="" id="WA%tuUb[q)$T]rUyuBJp">dalembert:profitUnits</variable>
    <variable type="" id="{EOnJ@?wtE6*F~0Go,S/">martingale:expectedProfit</variable>
    <variable type="" id="T3dl*!w9Ba1XrA(wW06;">martingale:size</variable>
    <variable type="" id="x)$^6MWP?5tKe~NG^jEz">martingale:amount</variable>
    <variable type="" id="r@g?@W|;hbK+oo)5*0vl">oscarsGrind:expectedProfit</variable>
    <variable type="" id="uR0o:+P(i:f%N5X|#ZCB">oscarsGrind:size</variable>
    <variable type="" id="YhH][;n=|_]5*8;m7vkd">oscarsGrind:amount</variable>
    <variable type="" id=";LFH|UrN7|9Qf*gO:0QI">oscarsGrind:profitUnits</variable>
    <variable type="" id="tN%2}BSzag/Av;1xCiml">dalembert:maximumLoss</variable>
    <variable type="" id="c|yWv(4iu=+SL,LdC*mk">martingale:maximumLoss</variable>
    <variable type="" id="I25nViy4?%:U=,*t1O_f">oscarsGrind:maximumLoss</variable>
    <variable type="" id="B0nO]KnMUm%Sb1B*2G2=">BOT Name</variable>
  </variables>
  <block type="trade" id="73vWdDagX-YhN)CtN.3D" x="0" y="0">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_100</field>
    <field name="TRADETYPECAT_LIST">callput</field>
    <field name="TRADETYPE_LIST">risefall</field>
    <field name="TYPE_LIST">both</field>
    <field name="CANDLEINTERVAL_LIST">60</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="controls_if" id="t_.,0xwONqhd~|*@T?24">
        <value name="IF0">
          <block type="logic_compare" id="oU}|m@.=f-Dk;8hnT39B">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="VE6SxNR8qb2K}szLi@os">
                <field name="VAR" id="B0nO]KnMUm%Sb1B*2G2=" variabletype="">BOT Name</field>
              </block>
            </value>
            <value name="B">
              <block type="text" id="aq{O~iwqD.L$xWFSQPf@">
                <field name="TEXT">Bot - MACD - Normal_test</field>
              </block>
            </value>
          </block>
        </value>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="mjn7hOJliYyi^mg|*k/T">
        <field name="DURATIONTYPE_LIST">m</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <block type="math_number" id="|tIC~6lHx]cKt9rf1jFk">
            <field name="NUM">1</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="procedures_callreturn" id="dwkz]w4z[TA!U1]]4ECt">
            <mutation name="Martingale Trade Amount"></mutation>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="tOc)]Xd=cAm0aiy+-8(8" x="0" y="462">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="j3oXwp)78GuSvE8#y/-Z">
        <value name="IF0">
          <block type="logic_compare" id="IkPM]pR5drY@k1#:~W7(">
            <field name="OP">LT</field>
            <value name="A">
              <block type="macda" id="kU`%?EvrOLoel+1^usdy">
                <field name="MACDFIELDS_LIST">2</field>
                <value name="INPUT">
                  <block type="ticks" id="HD,k`BTULy,}B,`]r`Jq"></block>
                </value>
                <value name="FAST_EMA_PERIOD">
                  <block type="math_number" id="vd(;.+t7O[zn4r;_cyQy">
                    <field name="NUM">12</field>
                  </block>
                </value>
                <value name="SLOW_EMA_PERIOD">
                  <block type="math_number" id="F@SP0v!sYghvW#LvFYvr">
                    <field name="NUM">26</field>
                  </block>
                </value>
                <value name="SMA_PERIOD">
                  <block type="math_number" id="?]=[m9{49@rF;$+qwVXo">
                    <field name="NUM">9</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="macda" id="UFH7r=XpmReD4q.cbDWR">
                <field name="MACDFIELDS_LIST">1</field>
                <value name="INPUT">
                  <block type="ticks" id="v/Kv_$li~:#]z-FfL2eG"></block>
                </value>
                <value name="FAST_EMA_PERIOD">
                  <block type="math_number" id="6^l#GW5R*mn7l7pAi!0y">
                    <field name="NUM">12</field>
                  </block>
                </value>
                <value name="SLOW_EMA_PERIOD">
                  <block type="math_number" id=",Rq;^#.]AXa.#g]xw-2-">
                    <field name="NUM">26</field>
                  </block>
                </value>
                <value name="SMA_PERIOD">
                  <block type="math_number" id="((57a[PJ[AVnlRux^6T{">
                    <field name="NUM">9</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="m$^30rnU5!G[6u?6O[:-">
            <field name="PURCHASE_LIST">CALL</field>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="TW3LTMLK@CZAM[rc;~qE">
            <value name="IF0">
              <block type="logic_compare" id="GLfe]?M`x.HoBWP#v7Br">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="macda" id="e~zwR$Hx}M$X5|J%xT})">
                    <field name="MACDFIELDS_LIST">2</field>
                    <value name="INPUT">
                      <block type="ticks" id="@i:Sbc$Z%vuw[AFXk.bK"></block>
                    </value>
                    <value name="FAST_EMA_PERIOD">
                      <block type="math_number" id="N9i4f_x@aXSHSwBX0g!m">
                        <field name="NUM">12</field>
                      </block>
                    </value>
                    <value name="SLOW_EMA_PERIOD">
                      <block type="math_number" id=",4Z+|Q-P7a8w4#XvuJej">
                        <field name="NUM">26</field>
                      </block>
                    </value>
                    <value name="SMA_PERIOD">
                      <block type="math_number" id="aA!JRJNvWwzQD*(f6I1.">
                        <field name="NUM">9</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="macda" id="=6W^`jpT;hrxh(f!09%%">
                    <field name="MACDFIELDS_LIST">1</field>
                    <value name="INPUT">
                      <block type="ticks" id="3?PU*lS1y@g2Ph*t3fS)"></block>
                    </value>
                    <value name="FAST_EMA_PERIOD">
                      <block type="math_number" id="rfED1sxfkd`a%xEYPnCR">
                        <field name="NUM">12</field>
                      </block>
                    </value>
                    <value name="SLOW_EMA_PERIOD">
                      <block type="math_number" id="9n7c$iG9Y%VqoU^DGh^T">
                        <field name="NUM">26</field>
                      </block>
                    </value>
                    <value name="SMA_PERIOD">
                      <block type="math_number" id="*OM~YOP)dp@Qk#%Os,)/">
                        <field name="NUM">9</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="purchase" id="~vMt4:wc3op[a@[K/9?`">
                <field name="PURCHASE_LIST">PUT</field>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="loader" id="9VBKAu]k3ui$6e92%@2]" x="0" y="938">
    <field name="URL">https://gist.githubusercontent.com/aminmarashi/0feb52b5802519cd4157b612d9bd3471/raw/dalembert.xml</field>
  </block>
  <block type="loader" id="{3(k7IY)[Ep{]qj`@Lxc" x="0" y="993">
    <field name="URL">https://gist.githubusercontent.com/aminmarashi/0feb52b5802519cd4157b612d9bd3471/raw/martingale.xml</field>
  </block>
  <block type="loader" id="0}M1y1~OPjV0-J~8]lQ0" x="0" y="1048">
    <field name="URL">https://gist.githubusercontent.com/aminmarashi/0feb52b5802519cd4157b612d9bd3471/raw/oscars_grind.xml</field>
  </block>
  <block type="procedures_defreturn" id="qq2xGirc*Byb/P/HE^]H" collapsed="true" x="0" y="1103">
    <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="VzZ^|rR],0VTD?~)6?i7" 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="VzZ^|rR],0VTD?~)6?i7" 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="tN%2}BSzag/Av;1xCiml" 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="tN%2}BSzag/Av;1xCiml" 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=".r+Z}_J{3wEo7`9.v.dk" 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=".r+Z}_J{3wEo7`9.v.dk" 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="Pl?(h^e7+)u/F6H|RXAb" 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="Pl?(h^e7+)u/F6H|RXAb" 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="WA%tuUb[q)$T]rUyuBJp" 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="WA%tuUb[q)$T]rUyuBJp" 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="ZzQh.z$5(-v,@d,Btw}F" 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="ZzQh.z$5(-v,@d,Btw}F" 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="Pl?(h^e7+)u/F6H|RXAb" 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=".r+Z}_J{3wEo7`9.v.dk" variabletype="">dalembert:amount</field>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defnoreturn" id="yNTO_g~CmG;eLIF(#(Fq" collapsed="true" x="0" y="1156">
    <mutation>
      <arg name="dalembert:resultIsWin" varid="/JKYD|F07/5MfAUQowwc"></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="/JKYD|F07/5MfAUQowwc" variabletype="">dalembert:resultIsWin</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="!=lcrD.j^lG@TEIG!Wt+">
            <field name="VAR" id="WA%tuUb[q)$T]rUyuBJp" 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="WA%tuUb[q)$T]rUyuBJp" 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="Pl?(h^e7+)u/F6H|RXAb" 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="Pl?(h^e7+)u/F6H|RXAb" 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="Pl?(h^e7+)u/F6H|RXAb" 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="Pl?(h^e7+)u/F6H|RXAb" 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="WA%tuUb[q)$T]rUyuBJp" 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="WA%tuUb[q)$T]rUyuBJp" 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="WA%tuUb[q)$T]rUyuBJp" 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="Pl?(h^e7+)u/F6H|RXAb" variabletype="">dalembert:size</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="?QPU}PR2doaiC^[4f2(d">
                <field name="VAR" id="Pl?(h^e7+)u/F6H|RXAb" 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="Pl?(h^e7+)u/F6H|RXAb" 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="1209">
    <mutation>
      <arg name="dalembert:profit" varid="$lnBAB@Lfq^9eu2)/^8}"></arg>
      <arg name="dalembert:resultIsWin" varid="/JKYD|F07/5MfAUQowwc"></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="ZzQh.z$5(-v,@d,Btw}F" 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="$lnBAB@Lfq^9eu2)/^8}" variabletype="">dalembert:profit</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="=``}2YqGE51x5XO#O{A6">
            <field name="VAR" id="ZzQh.z$5(-v,@d,Btw}F" 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="ZzQh.z$5(-v,@d,Btw}F" 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="/JKYD|F07/5MfAUQowwc" 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="$lnBAB@Lfq^9eu2)/^8}" 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="$lnBAB@Lfq^9eu2)/^8}" 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="/JKYD|F07/5MfAUQowwc" 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="ZzQh.z$5(-v,@d,Btw}F" variabletype="">dalembert:totalProfit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="ix3Jwr;,l7NS%LeIjciS">
                            <field name="VAR" id="y8H*.XirltY:h%4fJ)QT" 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="ZzQh.z$5(-v,@d,Btw}F" variabletype="">dalembert:totalProfit</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="ca~g-NW_y(msxA`ID6uw">
                                        <field name="VAR" id="VzZ^|rR],0VTD?~)6?i7" 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="ZzQh.z$5(-v,@d,Btw}F" 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="tN%2}BSzag/Av;1xCiml" 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="y8H*.XirltY:h%4fJ)QT" 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="ZzQh.z$5(-v,@d,Btw}F" 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="ZzQh.z$5(-v,@d,Btw}F" 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="y8H*.XirltY:h%4fJ)QT" variabletype="">dalembert:tradeAgain</field>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="0dENP)I({3z9-,sZ`=t)" collapsed="true" x="0" y="1262">
    <field name="NAME">Martingale Trade Amount</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="controls_if" id="x3nz$Ku91m|(|S`(z/7B">
        <value name="IF0">
          <block type="logic_compare" id=";o6`}gmSHfm|?OC|ciD?">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="Z8eDC/j%=9[d7.jx7s-O">
                <field name="VAR" id="{EOnJ@?wtE6*F~0Go,S/" variabletype="">martingale:expectedProfit</field>
              </block>
            </value>
            <value name="B">
              <block type="logic_null" id="cP8h;wtBiJ)wwmM;o0Ji"></block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="9J`|y0ZUrn^Pw6:W~QaE">
            <field name="VAR" id="{EOnJ@?wtE6*F~0Go,S/" variabletype="">martingale:expectedProfit</field>
            <value name="VALUE">
              <block type="text_prompt_ext" id="#@@Wr9dT3G)5Hx#?}ziA">
                <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="k?Ex*zb3h=:`F}%a`65-">
                    <field name="TEXT">Expected Profit</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="-PZ{F}.#~97{cVLWCf$r">
            <value name="IF0">
              <block type="logic_compare" id="QzU3^xi6(:ZIPIk/BlW3">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="@7??kNma_f)LAqd@noq%">
                    <field name="VAR" id="c|yWv(4iu=+SL,LdC*mk" variabletype="">martingale:maximumLoss</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_null" id="ns8pi,B0QTA.8}1p..-L"></block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="+@j/-j7/v-I=5M$,%p~9">
                <field name="VAR" id="c|yWv(4iu=+SL,LdC*mk" variabletype="">martingale:maximumLoss</field>
                <value name="VALUE">
                  <block type="text_prompt_ext" id="YSS7QB{5{R4LA-I7E*Q`">
                    <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="|w$D5m11{ScQ0Sjw$P?~">
                        <field name="TEXT">Maximum Loss Amount</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="ECbif,eLH:`SLJc#L3Q.">
                <value name="IF0">
                  <block type="logic_compare" id="D;_g9lZL63w1Ia=Za{L?">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="]4Rx.fDm=CXhcD7eljUH">
                        <field name="VAR" id="x)$^6MWP?5tKe~NG^jEz" variabletype="">martingale:amount</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_null" id="a@dF|x)IcjI]*.3,=bib"></block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="mz_n|%kwsyQs5T2vv`GL">
                    <field name="VAR" id="x)$^6MWP?5tKe~NG^jEz" variabletype="">martingale:amount</field>
                    <value name="VALUE">
                      <block type="text_prompt_ext" id="-re6=/XC|cP/0%[;%sqL">
                        <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="YVtn2Q$Pvs(Pe:rNt$YF">
                            <field name="TEXT">Trade Amount</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="KP:^l0JdKps=7cl:2lQ`">
                    <value name="IF0">
                      <block type="logic_compare" id="BF@G0;ZsTEnNYIzKIhFF">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="Q,g~@E[PqHgj6(6Rnvdm">
                            <field name="VAR" id="T3dl*!w9Ba1XrA(wW06;" variabletype="">martingale:size</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_null" id="vLpd7f}C+EpF7GC{%hgI"></block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="/`yGJGfzdfq9oxRM]{Bw">
                        <field name="VAR" id="T3dl*!w9Ba1XrA(wW06;" variabletype="">martingale:size</field>
                        <value name="VALUE">
                          <block type="math_number" id="V^QkcFsonsJWZ0pgI8IU">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="Z0(p@+m$mi#p0Y_.NJUF">
                        <value name="IF0">
                          <block type="logic_compare" id="J~OI[r4h9[*DQ?#cQq0]">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id="*~e,KWeEynS3fvwbbgYx">
                                <field name="VAR" id="t-_yo67-)hp)2FP@qwC{" variabletype="">martingale:totalProfit</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_null" id="OB_Oq(st8itp-j_2a$eS"></block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="CoIopw:a`60ii6d(#F2R">
                            <field name="VAR" id="t-_yo67-)hp)2FP@qwC{" variabletype="">martingale:totalProfit</field>
                            <value name="VALUE">
                              <block type="math_number" id="IeZ+CG:FM|%_bFzgzC/r">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block type="math_arithmetic" id="!BlRd)C:TXj@_wErj#qz">
        <field name="OP">MULTIPLY</field>
        <value name="A">
          <shadow type="math_number" id="F/^.gR-k|dBg*ZMQ,E?v">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="4;YLe/OL#s08%Fg6}T[#">
            <field name="VAR" id="T3dl*!w9Ba1XrA(wW06;" variabletype="">martingale:size</field>
          </block>
        </value>
        <value name="B">
          <shadow type="math_number" id="v*eC4j=U!K8B76C5kQ*U">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="]6BmBNR~M:1|pttC(CT_">
            <field name="VAR" id="x)$^6MWP?5tKe~NG^jEz" variabletype="">martingale:amount</field>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defnoreturn" id="TY/(qs?1mzi0doraNq_[" collapsed="true" x="0" y="1315">
    <mutation>
      <arg name="martingale:resultIsWin" varid="cUDS,=lya8bCgM`XeE3i"></arg>
    </mutation>
    <field name="NAME">Martingale Core Functionality</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="controls_if" id="wcQS%xc8=!!#P52Kt:1x">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="variables_get" id="Ux6#j.H]qNdbCf#nOi3r">
            <field name="VAR" id="cUDS,=lya8bCgM`XeE3i" variabletype="">martingale:resultIsWin</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id=",*SKPEhPmhmsq#tq`G*9">
            <field name="VAR" id="T3dl*!w9Ba1XrA(wW06;" variabletype="">martingale:size</field>
            <value name="VALUE">
              <block type="math_number" id="tNP@,EBgjET40TC9jh05">
                <field name="NUM">1</field>
              </block>
            </value>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id="t-K_E*m(aYDGloWhgc%=">
            <field name="VAR" id="T3dl*!w9Ba1XrA(wW06;" variabletype="">martingale:size</field>
            <value name="VALUE">
              <block type="math_arithmetic" id=";x;#^I=T5+dN,Zu?u9%y">
                <field name="OP">MULTIPLY</field>
                <value name="A">
                  <shadow type="math_number" id="QujpfOq.d^A8_SMe`uvh">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="!7jq#O^~DP+j~efJv=eV">
                    <field name="VAR" id="T3dl*!w9Ba1XrA(wW06;" variabletype="">martingale:size</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="%6%m1;%94AYq9a7`g[u!">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_number" id="f4;y.Q47WJBWSp4}1|_k">
                    <field name="NUM">2</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="*DBCyt)yEJ8l(RndrGJ`" collapsed="true" x="0" y="1368">
    <mutation>
      <arg name="martingale:profit" varid="l(Y]huD;af;t;hZBb,n["></arg>
      <arg name="martingale:resultIsWin" varid="cUDS,=lya8bCgM`XeE3i"></arg>
    </mutation>
    <field name="NAME">Martingale Trade Again After Purchase</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="math_change" id="6|ZN+Wkyy}UyL~?6z=ux">
        <field name="VAR" id="t-_yo67-)hp)2FP@qwC{" variabletype="">martingale: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="R-vD8@;?9`X5jHzxm/rn">
            <field name="VAR" id="l(Y]huD;af;t;hZBb,n[" variabletype="">martingale:profit</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="tG}Juze$46)=Z.MR8IC0">
            <field name="VAR" id="t-_yo67-)hp)2FP@qwC{" variabletype="">martingale:totalProfit</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="kCpc9@Fp)V`OsMU+@ER`">
                <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="py]oRr,dl5LHQn2nGE20">
                    <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=")tB/Dh2hhnU.+EDd~g)-">
                        <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="8Q.S.fYaGL=T:4[tzh*?">
                            <field name="VAR" id="t-_yo67-)hp)2FP@qwC{" variabletype="">martingale: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="D]YE6RY@Tw^[5_oPHSfL">
                            <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="*=}UBlY38~wFo]y$AUME">
                    <field name="NUM">100</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="5KFo!jX4/:fF7|O8_:AM">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="variables_get" id="L[N5wU8U4Fj~q=JK3e*3">
                    <field name="VAR" id="cUDS,=lya8bCgM`XeE3i" variabletype="">martingale:resultIsWin</field>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="notify" id="X!yLWFo.pnsN2p8.mhku">
                    <field name="NOTIFICATION_TYPE">success</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <block type="text_join" id="o|T}XF*xV|s^O[[T5-y_">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id=")A^KesPc24S7[#WdiUpC">
                            <field name="TEXT">Won:</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id="RgAIb=eB,f|Iou[N!-8I">
                            <field name="VAR" id="l(Y]huD;af;t;hZBb,n[" variabletype="">martingale:profit</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="notify" id="_i^CFKP~e49;_EKp{u/`">
                    <field name="NOTIFICATION_TYPE">warn</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <block type="text_join" id="u^Z8+w=IkvP+)w3`*lGO">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="xoNPU9oIK8J)B^%vr%^~">
                            <field name="TEXT">Lost: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="math_single" id="~h0K!.E)*v-|,9vGuFn1">
                            <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="tj[WVE=J+4/Z:KIQ:g}v">
                                <field name="VAR" id="l(Y]huD;af;t;hZBb,n[" variabletype="">martingale:profit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="procedures_callnoreturn" id="RHC~X)8#c;n3tE`]u1*.">
                    <mutation name="Martingale Core Functionality">
                      <arg name="martingale:resultIsWin"></arg>
                    </mutation>
                    <value name="ARG0">
                      <block type="variables_get" id="[|xwly3+qnsyH8X40V0H">
                        <field name="VAR" id="cUDS,=lya8bCgM`XeE3i" variabletype="">martingale:resultIsWin</field>
                      </block>
                    </value>
                    <next>
                      <block type="notify" id="S5O)~,T8uIzxTppy~A]d">
                        <field name="NOTIFICATION_TYPE">info</field>
                        <field name="NOTIFICATION_SOUND">silent</field>
                        <value name="MESSAGE">
                          <block type="text_join" id="o9Yi%u0A{(KCb[/5Za~L">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="oF~D^Z#l!InaaUshoad(">
                                <field name="TEXT">Total Profit: </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="variables_get" id="Upv7qQ,JL4et9-ax]~)%">
                                <field name="VAR" id="t-_yo67-)hp)2FP@qwC{" variabletype="">martingale:totalProfit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="nJ(Z,VbVkjZ_YXf1WQrR">
                            <field name="VAR" id="C~_/+nw1yA/!.=MYn?|s" variabletype="">martingale:tradeAgain</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="/G#9KrnQE(L!)GQ6Lk-R">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                            <next>
                              <block type="controls_if" id="df[_bIr^,P?x/4r$av:m">
                                <mutation else="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_compare" id="3@]4ca}2!pK;bDckxp=W">
                                    <field name="OP">LT</field>
                                    <value name="A">
                                      <block type="variables_get" id=";9o{%XD]QQhxI?(NZ,G#">
                                        <field name="VAR" id="t-_yo67-)hp)2FP@qwC{" variabletype="">martingale:totalProfit</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="=bav72b7W`,I?Gut-$])">
                                        <field name="VAR" id="{EOnJ@?wtE6*F~0Go,S/" variabletype="">martingale:expectedProfit</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="controls_if" id="r}ohSIyE@(dd^T:[Cqs/">
                                    <mutation else="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="YX0RwP:RX%Ze|ZN~Eyt}">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="variables_get" id="{5B9P/S!2:6f#nN8$X+M">
                                            <field name="VAR" id="t-_yo67-)hp)2FP@qwC{" variabletype="">martingale:totalProfit</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_single" id="1O=J_b14-CJzk2,U|-9Y">
                                            <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="GE;2P7^4^VdfCkZRUR^:">
                                                <field name="VAR" id="c|yWv(4iu=+SL,LdC*mk" variabletype="">martingale:maximumLoss</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="variables_set" id="h.uEw{A(D|ZY/it2Ls$K">
                                        <field name="VAR" id="C~_/+nw1yA/!.=MYn?|s" variabletype="">martingale:tradeAgain</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="%m{[5ropG/Q|H?b@Q)9t">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <statement name="ELSE">
                                      <block type="text_print" id="#32K*Q3Xg!ot*YVIg2%o">
                                        <value name="TEXT">
                                          <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                                            <field name="TEXT">abc</field>
                                          </shadow>
                                          <block type="text_join" id=".nYMg3C^E+d;8RZscJpL">
                                            <mutation items="2"></mutation>
                                            <value name="ADD0">
                                              <block type="text" id="#:cGta4.OzyaNkX{O[C`">
                                                <field name="TEXT">Maximum Loss Occurred! Total Loss: </field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="math_single" id="8B?;w+`PU?TMyX{Z!le`">
                                                <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="M:t3|eTi0T~BcKoS90ju">
                                                    <field name="VAR" id="t-_yo67-)hp)2FP@qwC{" variabletype="">martingale:totalProfit</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                                <statement name="ELSE">
                                  <block type="text_print" id="9H0Osr(Az=OeWc^9eoZ7">
                                    <value name="TEXT">
                                      <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                                        <field name="TEXT">abc</field>
                                      </shadow>
                                      <block type="text_join" id="Vj:J{/|G{c+0gu;s]h-K">
                                        <mutation items="2"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id="Q(H_E@7^UL/)Se1PF0{h">
                                            <field name="TEXT">Expected Profit Made! Total Profit: </field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="variables_get" id="VxN?pE.R}.HDO@vP(T#7">
                                            <field name="VAR" id="t-_yo67-)hp)2FP@qwC{" variabletype="">martingale: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="xPuc6a7CKIDc!0XvYfWo">
        <field name="VAR" id="C~_/+nw1yA/!.=MYn?|s" variabletype="">martingale:tradeAgain</field>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="#nN{11nGdR,}}@IFTMt-" collapsed="true" x="0" y="1421">
    <field name="NAME">Oscar's Grind Trade Amount</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="controls_if" id="x8IfK!:^rm_jO=!+IpWr">
        <value name="IF0">
          <block type="logic_compare" id="6;cz=|E*Dtg)R|srHDzQ">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="~9zc),O_FA,9b5XG#OJ^">
                <field name="VAR" id="r@g?@W|;hbK+oo)5*0vl" variabletype="">oscarsGrind:expectedProfit</field>
              </block>
            </value>
            <value name="B">
              <block type="logic_null" id="o^wpzMw4FGhCAPx`N)_%"></block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="]=^j%Wmf[}YHNU~:Nj;m">
            <field name="VAR" id="r@g?@W|;hbK+oo)5*0vl" variabletype="">oscarsGrind:expectedProfit</field>
            <value name="VALUE">
              <block type="text_prompt_ext" id=")f]kyGSR:@#.Qfli/{m5">
                <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="_.v4v:%;Hmk^)gfchk,)">
                    <field name="TEXT">Expected Profit</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="MYjNniy8RNvTJYL:T/2}">
            <value name="IF0">
              <block type="logic_compare" id="5vVCWl-yG`#hN2v[6=69">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="TNb]](iR11E-nO^3O@;s">
                    <field name="VAR" id="I25nViy4?%:U=,*t1O_f" variabletype="">oscarsGrind:maximumLoss</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_null" id="bh~4Z;yO07pmk)bF#~Z1"></block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="(ZF)(cgaK?0VdL!dL1p9">
                <field name="VAR" id="I25nViy4?%:U=,*t1O_f" variabletype="">oscarsGrind:maximumLoss</field>
                <value name="VALUE">
                  <block type="text_prompt_ext" id=".8/k:F65/J2=_2X$qHKp">
                    <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="E]O0:Q;j6@13UwdS9#OK">
                        <field name="TEXT">Maximum Loss Amount</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="n:n)XCZ]vn)RfSn{`r](">
                <value name="IF0">
                  <block type="logic_compare" id="GX@(sb*|0V-b:b:fdn1s">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="HnZS;)jjvqzo0/2!Q9X[">
                        <field name="VAR" id="YhH][;n=|_]5*8;m7vkd" variabletype="">oscarsGrind:amount</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_null" id="X3CU)_K8iP(!hL2kIKzh"></block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="Zid#JNis,^9?AgnwAqRC">
                    <field name="VAR" id="YhH][;n=|_]5*8;m7vkd" variabletype="">oscarsGrind:amount</field>
                    <value name="VALUE">
                      <block type="text_prompt_ext" id="wUvxWKf@n0JxRPUk:;Ik">
                        <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="tjs5vyJ:e!~_CL7.tK7}">
                            <field name="TEXT">Trade Amount</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="~n=b]7sN%v1#hfD7Z$@O">
                    <value name="IF0">
                      <block type="logic_compare" id="K6]=*tNxc{nJbsG`4[mW">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="s/mi%u-lC9Iz7[a:bdqP">
                            <field name="VAR" id="uR0o:+P(i:f%N5X|#ZCB" variabletype="">oscarsGrind:size</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_null" id="~F##m/,NV9!fINBY{:JS"></block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="K?RyvH6dpT_{6gtn|via">
                        <field name="VAR" id="uR0o:+P(i:f%N5X|#ZCB" variabletype="">oscarsGrind:size</field>
                        <value name="VALUE">
                          <block type="math_number" id="]{HY,c#]LSz_oq{+N@N+">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id=":8^c.4l::(x5{8t!KQM{">
                        <value name="IF0">
                          <block type="logic_compare" id="wMeno57x5n`oR~G`rNTK">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id="nbWg-,QbFPt*_S%xyEs:">
                                <field name="VAR" id=";LFH|UrN7|9Qf*gO:0QI" variabletype="">oscarsGrind:profitUnits</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_null" id="r)N.{.@r!I5$9G}k#FfC"></block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="DTP4U}[Oup+R=nfDoelI">
                            <field name="VAR" id=";LFH|UrN7|9Qf*gO:0QI" variabletype="">oscarsGrind:profitUnits</field>
                            <value name="VALUE">
                              <block type="math_number" id="S./Zua|bYh9FO,e^oxvp">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <next>
                          <block type="controls_if" id="abEi`7ka+L$3J@44jp4r">
                            <value name="IF0">
                              <block type="logic_compare" id="v|+)`)cz,s{}CaDr(FV~">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="variables_get" id="R75IOgM4Uje*kl8;t9IV">
                                    <field name="VAR" id="ul2!42MP,iLg#eY]+.x1" variabletype="">oscarsGrind:totalProfit</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_null" id="1TM#3Wyq6@6xW5DN[j|-"></block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="71#O7x}CG3JO|;=2o[uj">
                                <field name="VAR" id="ul2!42MP,iLg#eY]+.x1" variabletype="">oscarsGrind:totalProfit</field>
                                <value name="VALUE">
                                  <block type="math_number" id="IMM$DTmz*+51[cmzI|#+">
                                    <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="X).f0sylj_Wj(}ZN3=-I">
        <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="ffd*a2i2;8+idI9a!+E(">
            <field name="VAR" id="uR0o:+P(i:f%N5X|#ZCB" variabletype="">oscarsGrind: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="#*PS~%ygU9tjbi*!D3._">
            <field name="VAR" id="YhH][;n=|_]5*8;m7vkd" variabletype="">oscarsGrind:amount</field>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defnoreturn" id=")N,Ra0V=sm?]c,ve%6`r" collapsed="true" x="0" y="1474">
    <mutation>
      <arg name="oscarsGrind:resultIsWin" varid="6VMb!Wa;d^^CJyYMvsmZ"></arg>
    </mutation>
    <field name="NAME">Oscar's Grind Core Functionality</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="controls_if" id="]B{31{/[mTQH?tl(Qa6.">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="variables_get" id="6g,N{P7oI~8Ag#fNvD3{">
            <field name="VAR" id="6VMb!Wa;d^^CJyYMvsmZ" variabletype="">oscarsGrind:resultIsWin</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="G=2Vn,Hjuvkb1m8r,cQ]">
            <field name="VAR" id=";LFH|UrN7|9Qf*gO:0QI" variabletype="">oscarsGrind:profitUnits</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="-`r@+_Tq,I8p]hHo+jis">
                <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=";UOd6FI%/#3`UilqCcI~">
                    <field name="VAR" id=";LFH|UrN7|9Qf*gO:0QI" variabletype="">oscarsGrind: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="SL].0nV_Q^F9po~,oI8b">
                    <field name="VAR" id="uR0o:+P(i:f%N5X|#ZCB" variabletype="">oscarsGrind:size</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="hFjP)+L{rd,uPP.;Su5(">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="GOU`{,E#y,|.2G94L5`m">
                    <field name="OP">LTE</field>
                    <value name="A">
                      <block type="variables_get" id="=GsYqRX]!cM-HZCE{u/I">
                        <field name="VAR" id=";LFH|UrN7|9Qf*gO:0QI" variabletype="">oscarsGrind:profitUnits</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="%4(ZLfkx5C2i:z)U(t19">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="controls_if" id="%R^Y5n#F0uS5bjKTR`YS">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="GgIB]ot0k))~xZ*}@|iX">
                        <field name="OP">GT</field>
                        <value name="A">
                          <block type="math_arithmetic" id="q^*gs=a2yo9@Y9+@5:mL">
                            <field name="OP">ADD</field>
                            <value name="A">
                              <shadow type="math_number" id="sohh*eS%efio;1ayg;?`">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="variables_get" id="jnW/xc?wk+*Q!63?{=^P">
                                <field name="VAR" id="uR0o:+P(i:f%N5X|#ZCB" variabletype="">oscarsGrind:size</field>
                              </block>
                            </value>
                            <value name="B">
                              <shadow type="math_number" id="`t?Ry!jpRKOF]!ZJ%OS)">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="variables_get" id="*v[73li^sM#wwLAit/-2">
                                <field name="VAR" id=";LFH|UrN7|9Qf*gO:0QI" variabletype="">oscarsGrind:profitUnits</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="Y#!kB9@}af?CQkK!=DwH">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="XhPaSj%SsXBqvM392tqJ">
                        <field name="VAR" id="uR0o:+P(i:f%N5X|#ZCB" variabletype="">oscarsGrind:size</field>
                        <value name="VALUE">
                          <block type="math_arithmetic" id="Yd^m-Qf0^1SjK*R_VaED">
                            <field name="OP">MINUS</field>
                            <value name="A">
                              <shadow type="math_number" id="Qmfsb!.+j7%)CW=+PZsu">
                                <field name="NUM">1</field>
                              </shadow>
                            </value>
                            <value name="B">
                              <shadow type="math_number" id="(Hvo[b1GMG;v[HG7[Jg-">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="variables_get" id="Mhw;c[3pqxZ4gHqrr8#4">
                                <field name="VAR" id=";LFH|UrN7|9Qf*gO:0QI" variabletype="">oscarsGrind:profitUnits</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="variables_set" id="[b+U{M4Y2AJ=njU^`7ru">
                        <field name="VAR" id="uR0o:+P(i:f%N5X|#ZCB" variabletype="">oscarsGrind:size</field>
                        <value name="VALUE">
                          <block type="math_arithmetic" id="GLy^hHZGXmicVl}/g_(t">
                            <field name="OP">ADD</field>
                            <value name="A">
                              <shadow type="math_number" id="evfUWhPROHbWi0naLt1L">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="variables_get" id="{U41a8~qlwKgiU*LMYw4">
                                <field name="VAR" id="uR0o:+P(i:f%N5X|#ZCB" variabletype="">oscarsGrind:size</field>
                              </block>
                            </value>
                            <value name="B">
                              <shadow type="math_number" id="(Hvo[b1GMG;v[HG7[Jg-">
                                <field name="NUM">1</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="variables_set" id="efnoV(LqVcb0)GiZb`v[">
                    <field name="VAR" id=";LFH|UrN7|9Qf*gO:0QI" variabletype="">oscarsGrind:profitUnits</field>
                    <value name="VALUE">
                      <block type="math_number" id="m;vB:n9I@8-^{h`qf(b7">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="vaR[|HIKB[iABlR:8yZI">
                        <field name="VAR" id="uR0o:+P(i:f%N5X|#ZCB" variabletype="">oscarsGrind:size</field>
                        <value name="VALUE">
                          <block type="math_number" id="@92amY/G3f%dz-n4^c5*">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                        <next>
                          <block type="notify" id="/%2QzTCjH8|5E50]a?wV">
                            <field name="NOTIFICATION_TYPE">success</field>
                            <field name="NOTIFICATION_SOUND">silent</field>
                            <value name="MESSAGE">
                              <block type="text" id="-cL[u;/?nKO.iGOSm_p=">
                                <field name="TEXT">One Oscar's Grind session finished successfully.</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id="BeTk7Nt4|Q-BEd5G{Y2M">
            <field name="VAR" id=";LFH|UrN7|9Qf*gO:0QI" variabletype="">oscarsGrind:profitUnits</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="S79=0FUtBb/GRp?TEanB">
                <field name="OP">MINUS</field>
                <value name="A">
                  <shadow type="math_number" id="-|vHu48UtYqh3:OT_CZA">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="WY{Z{fse1w8NacCakJT(">
                    <field name="VAR" id=";LFH|UrN7|9Qf*gO:0QI" variabletype="">oscarsGrind:profitUnits</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="{xO.TqYE@w2I)oVPo*zh">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="gb/uKZ!4tY4R@fK(]ON|">
                    <field name="VAR" id="uR0o:+P(i:f%N5X|#ZCB" variabletype="">oscarsGrind:size</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="}[OKJS,1s[M(_QchE!j4" collapsed="true" x="0" y="1527">
    <mutation>
      <arg name="oscarsGrind:profit" varid="#rF%YDWm-fq`{~/pDf=9"></arg>
      <arg name="oscarsGrind:resultIsWin" varid="6VMb!Wa;d^^CJyYMvsmZ"></arg>
    </mutation>
    <field name="NAME">Oscar's Grind Trade Again After Purchase</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="math_change" id="P?|)RK]i:TUytBMpOIj.">
        <field name="VAR" id="ul2!42MP,iLg#eY]+.x1" variabletype="">oscarsGrind: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="p`7yH1`SXpM#IC_}u+g#">
            <field name="VAR" id="#rF%YDWm-fq`{~/pDf=9" variabletype="">oscarsGrind:profit</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="O$t+Yv{DZCEE(rGb8S4y">
            <field name="VAR" id="ul2!42MP,iLg#eY]+.x1" variabletype="">oscarsGrind:totalProfit</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="Iq=hLQ)Ra/(s,A4eXor]">
                <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="e`l?xu*%OYN7m[^Ahutk">
                    <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="q+,0X1RD,e$Ayb$HLlCa">
                        <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="}+68p{JmM[y/Aus-$%0e">
                            <field name="VAR" id="ul2!42MP,iLg#eY]+.x1" variabletype="">oscarsGrind: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="E[Fuh7{C7P-GWgOUBcky">
                            <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=";ZslaO*i83Hcd0H}DlNy">
                    <field name="NUM">100</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="$I,ciMf?H-_N!+w,6))C">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="variables_get" id="-.3Lxp-rg**A.q$[{%7U">
                    <field name="VAR" id="6VMb!Wa;d^^CJyYMvsmZ" variabletype="">oscarsGrind:resultIsWin</field>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="notify" id=";g2IspIVsn+nksXO9T9q">
                    <field name="NOTIFICATION_TYPE">success</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <block type="text_join" id="(4IgwBDj7Y{Bsk.Zz8_l">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id=".}!OpI[2fQwG~G@Oz,Y5">
                            <field name="TEXT">Won:</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id="=cV|e`4FT]{.1z+QH]Q?">
                            <field name="VAR" id="#rF%YDWm-fq`{~/pDf=9" variabletype="">oscarsGrind:profit</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="notify" id="whjJ=BhGY:bnFMCG-q,g">
                    <field name="NOTIFICATION_TYPE">warn</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <block type="text_join" id="NCAaV11]beqplyeBPTvv">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="sa:cdR[KxXV~Y9rsn39C">
                            <field name="TEXT">Lost: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="math_single" id="e,]]@ct!qqQhp4Ki+1IW">
                            <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="iif|L^+amEwINi7hEH=a">
                                <field name="VAR" id="#rF%YDWm-fq`{~/pDf=9" variabletype="">oscarsGrind:profit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="procedures_callnoreturn" id="}KL%y8v~$MVsq158$*Z;">
                    <mutation name="Oscar's Grind Core Functionality">
                      <arg name="oscarsGrind:resultIsWin"></arg>
                    </mutation>
                    <value name="ARG0">
                      <block type="variables_get" id="P`95#OYR|P:)v3h(/HUU">
                        <field name="VAR" id="6VMb!Wa;d^^CJyYMvsmZ" variabletype="">oscarsGrind:resultIsWin</field>
                      </block>
                    </value>
                    <next>
                      <block type="notify" id="Ha4U:ThR^AI,kK;cyFF9">
                        <field name="NOTIFICATION_TYPE">info</field>
                        <field name="NOTIFICATION_SOUND">silent</field>
                        <value name="MESSAGE">
                          <block type="text_join" id="ha$r,NRVci0RTg|ot?^(">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="$C8=ejhQ7e=eS7M9pdsS">
                                <field name="TEXT">Total Profit: </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="variables_get" id="|ndk4Up1p2:GW_e_|Pb-">
                                <field name="VAR" id="ul2!42MP,iLg#eY]+.x1" variabletype="">oscarsGrind:totalProfit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="__#:`erLh|3mX:WDu@2|">
                            <field name="VAR" id="jEkquq9@LmITG:w?g{$Q" variabletype="">oscarsGrind:tradeAgain</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="E72*c4u(rTH3Q5y+MT^%">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                            <next>
                              <block type="controls_if" id="W5H65l7j92lK-cvYt1Cf">
                                <mutation else="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_compare" id="Dp+Dtw_HzdLw;T)?2Dc@">
                                    <field name="OP">LT</field>
                                    <value name="A">
                                      <block type="variables_get" id="kT-BAmHkEcl*k)q6zLoy">
                                        <field name="VAR" id="ul2!42MP,iLg#eY]+.x1" variabletype="">oscarsGrind:totalProfit</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="TDw}]1d0g}JSIA`yt?KN">
                                        <field name="VAR" id="r@g?@W|;hbK+oo)5*0vl" variabletype="">oscarsGrind:expectedProfit</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="controls_if" id="UJ;RojiSo6~Z/fmE`cgV">
                                    <mutation else="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="}[R^X{U:})ds3N-MJ:q4">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="variables_get" id="sLVF_/sfZsCksD)f_Vj9">
                                            <field name="VAR" id="ul2!42MP,iLg#eY]+.x1" variabletype="">oscarsGrind:totalProfit</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_single" id="@jJ{nu2)^x$4Ao.;*;0R">
                                            <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="GM=T#Ne7XA+D?nc,kRN%">
                                                <field name="VAR" id="I25nViy4?%:U=,*t1O_f" variabletype="">oscarsGrind:maximumLoss</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="variables_set" id="?6*f5-%QC(ccXwAVWvka">
                                        <field name="VAR" id="jEkquq9@LmITG:w?g{$Q" variabletype="">oscarsGrind:tradeAgain</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="6WTd5`],=|QW5I~mho.~">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <statement name="ELSE">
                                      <block type="text_print" id="TVTdm^pCd$WAs^VH-{`.">
                                        <value name="TEXT">
                                          <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                                            <field name="TEXT">abc</field>
                                          </shadow>
                                          <block type="text_join" id="SCwERBtHbSMUkurD6!@G">
                                            <mutation items="2"></mutation>
                                            <value name="ADD0">
                                              <block type="text" id="lRe|88lnc-$(OPbES%EH">
                                                <field name="TEXT">Maximum Loss Occurred! Total Loss: </field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="math_single" id="cn_c*{PqQ4MhLFHTH=|[">
                                                <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="N66!dp8wrYu5Iv(0*SRl">
                                                    <field name="VAR" id="ul2!42MP,iLg#eY]+.x1" variabletype="">oscarsGrind:totalProfit</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                                <statement name="ELSE">
                                  <block type="text_print" id="PAfXf/YR3AI|Ync5+rDj">
                                    <value name="TEXT">
                                      <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                                        <field name="TEXT">abc</field>
                                      </shadow>
                                      <block type="text_join" id="bboOu:^e5txK!$`gD{z]">
                                        <mutation items="2"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id="X^Zvg79hyLvYLL=y.B2U">
                                            <field name="TEXT">Expected Profit Made! Total Profit: </field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="variables_get" id="q`jzK@.,7I~9n@;6Pf+B">
                                            <field name="VAR" id="ul2!42MP,iLg#eY]+.x1" variabletype="">oscarsGrind: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="rQ:#5xLK1XSCp5MW:X)M">
        <field name="VAR" id="jEkquq9@LmITG:w?g{$Q" variabletype="">oscarsGrind:tradeAgain</field>
      </block>
    </value>
  </block>
  <block type="after_purchase" id="]|jqrexe1(h~O8M)wH,j" x="0" y="1580">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="Tj46PSu#U(w,4q,1XKXB">
        <value name="IF0">
          <block type="procedures_callreturn" id="ff00KkZE0IHODAxbR%gg">
            <mutation name="Martingale Trade Again After Purchase">
              <arg name="martingale:profit"></arg>
              <arg name="martingale:resultIsWin"></arg>
            </mutation>
            <value name="ARG0">
              <block type="read_details" id="VelMlpT(]A_90jt{Q`i?">
                <field name="DETAIL_INDEX">4</field>
              </block>
            </value>
            <value name="ARG1">
              <block type="contract_check_result" id="w5@ON.c.z%B}=q%nJiL|">
                <field name="CHECK_RESULT">win</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="trade_again" id="EZO23q7@j0uddd^Ks`bj"></block>
        </statement>
      </block>
    </statement>
  </block>
</xml>