﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="NefgF$P6h[Ytz!ysYGci">dalembert:resultIsWin</variable>
    <variable type="" id="RLHA@JHQTX.+?mUp#5Dz">dalembert:profit</variable>
    <variable type="" id="/aDCe5+%NydGt??U1Pmj">martingale:resultIsWin</variable>
    <variable type="" id="W2!G7^;DGddvIrvVn_V|">martingale:profit</variable>
    <variable type="" id="a45ZpnWV{W=`}@uKBKbV">oscarsGrind:resultIsWin</variable>
    <variable type="" id="A1am:FJOnyHc3J:17O9O">oscarsGrind:profit</variable>
    <variable type="" id="!sfdtTJ]QOPU`b5K=|!B">dalembert:totalProfit</variable>
    <variable type="" id="e^i6+7Mnqsy1oX9Ec_Jb">dalembert:tradeAgain</variable>
    <variable type="" id="b}tuzm[1(^yDf`8WF4MA">martingale:totalProfit</variable>
    <variable type="" id=":x=B]IL-5[.xYCA|~A+U">martingale:tradeAgain</variable>
    <variable type="" id="w;p~5,dH.4T[.feT3m$U">oscarsGrind:totalProfit</variable>
    <variable type="" id="`o~@L_5_G!WNce|/~j`Y">oscarsGrind:tradeAgain</variable>
    <variable type="" id="3Lm1+.9`[HGDT1].w8?S">dalembert:expectedProfit</variable>
    <variable type="" id=":?@*~TIgvxx++KLI?FiH">dalembert:size</variable>
    <variable type="" id="a0PaWqT47q|bg%6-+Pv1">dalembert:amount</variable>
    <variable type="" id="~5I{1hvuc9w@0MPr3$i!">dalembert:profitUnits</variable>
    <variable type="" id="zv,QAqdl9-}ft8B?VUIS">martingale:expectedProfit</variable>
    <variable type="" id=".j|%kBCBMVN1dSQ$g4%w">martingale:size</variable>
    <variable type="" id="=M8k|R-F~!,hsE1vh%w+">martingale:amount</variable>
    <variable type="" id="v*wt]T$f,G1XJfQl)GV(">oscarsGrind:expectedProfit</variable>
    <variable type="" id="-b0.l#%IcAU?{B=iZrLU">oscarsGrind:size</variable>
    <variable type="" id="}%Zic;Sg`b*,gy.eXbP}">oscarsGrind:amount</variable>
    <variable type="" id="DAf3McNwesj9My75QfN;">oscarsGrind:profitUnits</variable>
    <variable type="" id=".hgY%PC?+P+D-*uJ=d*3">dalembert:maximumLoss</variable>
    <variable type="" id="%lge#U+mGqq8hE-Bqx+3">martingale:maximumLoss</variable>
    <variable type="" id="q22[h^Wo+KsP}80|SSC[">oscarsGrind:maximumLoss</variable>
    <variable type="" id="5PvQhAUs8J*o=5C86fFy">BOT Name</variable>
  </variables>
  <block type="loader" id="9VBKAu]k3ui$6e92%@2]" x="0" y="0">
    <field name="URL">https://gist.githubusercontent.com/aminmarashi/0feb52b5802519cd4157b612d9bd3471/raw/dalembert.xml</field>
  </block>
  <block type="loader" id="0}M1y1~OPjV0-J~8]lQ0" x="0" y="55">
    <field name="URL">https://gist.githubusercontent.com/aminmarashi/0feb52b5802519cd4157b612d9bd3471/raw/oscars_grind.xml</field>
  </block>
  <block type="loader" id="{3(k7IY)[Ep{]qj`@Lxc" x="0" y="110">
    <field name="URL">https://gist.githubusercontent.com/aminmarashi/0feb52b5802519cd4157b612d9bd3471/raw/martingale.xml</field>
  </block>
  <block type="procedures_defreturn" id="qq2xGirc*Byb/P/HE^]H" collapsed="true" x="0" y="165">
    <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="3Lm1+.9`[HGDT1].w8?S" 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="3Lm1+.9`[HGDT1].w8?S" 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=".hgY%PC?+P+D-*uJ=d*3" 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=".hgY%PC?+P+D-*uJ=d*3" 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="a0PaWqT47q|bg%6-+Pv1" 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="a0PaWqT47q|bg%6-+Pv1" 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=":?@*~TIgvxx++KLI?FiH" 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=":?@*~TIgvxx++KLI?FiH" 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="~5I{1hvuc9w@0MPr3$i!" 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="~5I{1hvuc9w@0MPr3$i!" 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="!sfdtTJ]QOPU`b5K=|!B" 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="!sfdtTJ]QOPU`b5K=|!B" 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=":?@*~TIgvxx++KLI?FiH" 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="a0PaWqT47q|bg%6-+Pv1" variabletype="">dalembert:amount</field>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defnoreturn" id="yNTO_g~CmG;eLIF(#(Fq" collapsed="true" x="0" y="218">
    <mutation>
      <arg name="dalembert:resultIsWin" varid="NefgF$P6h[Ytz!ysYGci"></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="NefgF$P6h[Ytz!ysYGci" variabletype="">dalembert:resultIsWin</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="!=lcrD.j^lG@TEIG!Wt+">
            <field name="VAR" id="~5I{1hvuc9w@0MPr3$i!" 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="~5I{1hvuc9w@0MPr3$i!" 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=":?@*~TIgvxx++KLI?FiH" 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=":?@*~TIgvxx++KLI?FiH" 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=":?@*~TIgvxx++KLI?FiH" 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=":?@*~TIgvxx++KLI?FiH" 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="~5I{1hvuc9w@0MPr3$i!" 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="~5I{1hvuc9w@0MPr3$i!" 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="~5I{1hvuc9w@0MPr3$i!" 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=":?@*~TIgvxx++KLI?FiH" variabletype="">dalembert:size</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="?QPU}PR2doaiC^[4f2(d">
                <field name="VAR" id=":?@*~TIgvxx++KLI?FiH" 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=":?@*~TIgvxx++KLI?FiH" 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="271">
    <mutation>
      <arg name="dalembert:profit" varid="RLHA@JHQTX.+?mUp#5Dz"></arg>
      <arg name="dalembert:resultIsWin" varid="NefgF$P6h[Ytz!ysYGci"></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="!sfdtTJ]QOPU`b5K=|!B" 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="RLHA@JHQTX.+?mUp#5Dz" variabletype="">dalembert:profit</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="=``}2YqGE51x5XO#O{A6">
            <field name="VAR" id="!sfdtTJ]QOPU`b5K=|!B" 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="!sfdtTJ]QOPU`b5K=|!B" 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="NefgF$P6h[Ytz!ysYGci" 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="RLHA@JHQTX.+?mUp#5Dz" 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="RLHA@JHQTX.+?mUp#5Dz" 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="NefgF$P6h[Ytz!ysYGci" 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="!sfdtTJ]QOPU`b5K=|!B" variabletype="">dalembert:totalProfit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="ix3Jwr;,l7NS%LeIjciS">
                            <field name="VAR" id="e^i6+7Mnqsy1oX9Ec_Jb" 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="!sfdtTJ]QOPU`b5K=|!B" variabletype="">dalembert:totalProfit</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="ca~g-NW_y(msxA`ID6uw">
                                        <field name="VAR" id="3Lm1+.9`[HGDT1].w8?S" 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="!sfdtTJ]QOPU`b5K=|!B" 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=".hgY%PC?+P+D-*uJ=d*3" 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="e^i6+7Mnqsy1oX9Ec_Jb" 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="!sfdtTJ]QOPU`b5K=|!B" 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="!sfdtTJ]QOPU`b5K=|!B" 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="e^i6+7Mnqsy1oX9Ec_Jb" variabletype="">dalembert:tradeAgain</field>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="mc==?~K{Pk@/%JFBDY,c" collapsed="true" x="0" y="324">
    <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="z%1_d8%a[e)8^$}dDV+,">
        <value name="IF0">
          <block type="logic_compare" id="RMYwf7$sd-_(pkSqf:n*">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id=",ZwOb,KC~oz.HT?q7mUI">
                <field name="VAR" id="zv,QAqdl9-}ft8B?VUIS" variabletype="">martingale:expectedProfit</field>
              </block>
            </value>
            <value name="B">
              <block type="logic_null" id="UBNy#GUIL$^uv.`BCIR8"></block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="XEt6tU)mLauH(CBS#Iu$">
            <field name="VAR" id="zv,QAqdl9-}ft8B?VUIS" variabletype="">martingale:expectedProfit</field>
            <value name="VALUE">
              <block type="text_prompt_ext" id="Ggdg5k[TlAjqRz}%g_3v">
                <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="x=8hxm6b+B+HJ;?GgYXn">
                    <field name="TEXT">Expected Profit</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="/S7K5hGxkPD9uvk,B+e#">
            <value name="IF0">
              <block type="logic_compare" id="FMEZFrL1mo}AO25nWvw`">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="sDWa-d7.GKNH|Bc:c%)_">
                    <field name="VAR" id="%lge#U+mGqq8hE-Bqx+3" variabletype="">martingale:maximumLoss</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_null" id="S_K;ErCG7}YY5ulXLeVC"></block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="L,_q_nizzN[Bh4~c/zZ_">
                <field name="VAR" id="%lge#U+mGqq8hE-Bqx+3" variabletype="">martingale:maximumLoss</field>
                <value name="VALUE">
                  <block type="text_prompt_ext" id="V34x`GsZ:fUN5iM{YKlA">
                    <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="hyTY1J?QD}Ju#k$O`_`3">
                        <field name="TEXT">Maximum Loss Amount</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="m#L?E^!#K)!7[LEJK%+X">
                <value name="IF0">
                  <block type="logic_compare" id="R=+B{,C4]CHUzvwCl1qX">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="1M^GO!SFyO}DB/@d8BRR">
                        <field name="VAR" id="=M8k|R-F~!,hsE1vh%w+" variabletype="">martingale:amount</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_null" id="7n5#|Y^I!/{,r`4n6+@x"></block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="p1vfR/:@}`sL0|3*`_rC">
                    <field name="VAR" id="=M8k|R-F~!,hsE1vh%w+" variabletype="">martingale:amount</field>
                    <value name="VALUE">
                      <block type="text_prompt_ext" id="1-XmchO[2BX/{://^8ZL">
                        <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="j8OK6O+CVMIfHrv4{dpF">
                            <field name="TEXT">Trade Amount</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="DH1_D4AvjYo0)fw]hC~g">
                    <value name="IF0">
                      <block type="logic_compare" id="`$kh/U];(.}.a+RJs(pN">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="9F0fD?k}7Rd]cmUcF-Q0">
                            <field name="VAR" id=".j|%kBCBMVN1dSQ$g4%w" variabletype="">martingale:size</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_null" id="?,fs-TV@;h^3*3]g=iY-"></block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="0!zkMO~Bh?LWw0LJ`PBD">
                        <field name="VAR" id=".j|%kBCBMVN1dSQ$g4%w" 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="%+eKHAG*-@D=Suj5aAUB">
                        <value name="IF0">
                          <block type="logic_compare" id="seRFP9?6X-,_q:=fHO1_">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id="|V4Wxx7#)Jo^=N(Y5-?z">
                                <field name="VAR" id="b}tuzm[1(^yDf`8WF4MA" variabletype="">martingale:totalProfit</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_null" id="C|M#^Sj6a0Gzd+RS-^,a"></block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="H@Vc]fG/V3#L_K]foF^l">
                            <field name="VAR" id="b}tuzm[1(^yDf`8WF4MA" variabletype="">martingale:totalProfit</field>
                            <value name="VALUE">
                              <block type="math_number" id="3St`Xfu}w8-5Do?`e*E!">
                                <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=".j|%kBCBMVN1dSQ$g4%w" 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="=M8k|R-F~!,hsE1vh%w+" variabletype="">martingale:amount</field>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defnoreturn" id="TY/(qs?1mzi0doraNq_[" collapsed="true" x="0" y="377">
    <mutation>
      <arg name="martingale:resultIsWin" varid="/aDCe5+%NydGt??U1Pmj"></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="g@x5a?0+v-}JL?DjuQ#.">
            <field name="VAR" id="/aDCe5+%NydGt??U1Pmj" variabletype="">martingale:resultIsWin</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id=",*SKPEhPmhmsq#tq`G*9">
            <field name="VAR" id=".j|%kBCBMVN1dSQ$g4%w" 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=".j|%kBCBMVN1dSQ$g4%w" 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=".j|%kBCBMVN1dSQ$g4%w" 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="@Wyn!l?YDI.0+b*8Ga8K" collapsed="true" x="0" y="430">
    <mutation>
      <arg name="martingale:profit" varid="W2!G7^;DGddvIrvVn_V|"></arg>
      <arg name="martingale:resultIsWin" varid="/aDCe5+%NydGt??U1Pmj"></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="Y#Bt5n.+PoYKg6gsF`CR">
        <field name="VAR" id="b}tuzm[1(^yDf`8WF4MA" 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="`)x;O1=a~{[uh!dvT@ot">
            <field name="VAR" id="W2!G7^;DGddvIrvVn_V|" variabletype="">martingale:profit</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="Rve(bSqE}LSXJ]s;==#h">
            <field name="VAR" id="b}tuzm[1(^yDf`8WF4MA" variabletype="">martingale:totalProfit</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="CkJvytA3i%y:Tgm-]%+W">
                <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="-~p!DVS=jO%eIfvC0qz%">
                    <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="~NB8T9rDIM^L2A*oDw2c">
                        <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="lwE^6t7~3NnD9L+2VtYY">
                            <field name="VAR" id="b}tuzm[1(^yDf`8WF4MA" 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="W_0$doa+XUnq:S[I?IE`">
                            <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="|N4Hb%V3W@@?s_6d.mTJ">
                    <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="/aDCe5+%NydGt??U1Pmj" 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="W2!G7^;DGddvIrvVn_V|" 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="W2!G7^;DGddvIrvVn_V|" 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="/aDCe5+%NydGt??U1Pmj" variabletype="">martingale:resultIsWin</field>
                      </block>
                    </value>
                    <next>
                      <block type="notify" id="Exit:luy2Ba;tt~UkFc|">
                        <field name="NOTIFICATION_TYPE">info</field>
                        <field name="NOTIFICATION_SOUND">silent</field>
                        <value name="MESSAGE">
                          <block type="text_join" id="T}s;UZp_;^Vc]3rEP1kI">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="wfaDBjdtn|@|;LfoiD,$">
                                <field name="TEXT">Total Profit: </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="variables_get" id="n2ZAgw^9%I7~F2QHXLf9">
                                <field name="VAR" id="b}tuzm[1(^yDf`8WF4MA" variabletype="">martingale:totalProfit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="ez8$v^K:5Cu[Q+oG|;uR">
                            <field name="VAR" id=":x=B]IL-5[.xYCA|~A+U" variabletype="">martingale:tradeAgain</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id=".9S$Qv7u]-#vs8IQ1^%2">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                            <next>
                              <block type="controls_if" id="_^B$9`K$zE2dDS/MIDh}">
                                <mutation else="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_compare" id="xCvjQb{~YBJH!am6`TiT">
                                    <field name="OP">LT</field>
                                    <value name="A">
                                      <block type="variables_get" id="G@98T^Lbr,]w;*omhv+I">
                                        <field name="VAR" id="b}tuzm[1(^yDf`8WF4MA" variabletype="">martingale:totalProfit</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id=":/~$bx`wxF#M^3}T:ths">
                                        <field name="VAR" id="zv,QAqdl9-}ft8B?VUIS" variabletype="">martingale:expectedProfit</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="controls_if" id=".97Gy!D7[hTIkg?nlZwb">
                                    <mutation else="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="r%tFRMV:$GWZKf|NY1(.">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="variables_get" id="-Fab~wCzLJVT`XQxe0D@">
                                            <field name="VAR" id="b}tuzm[1(^yDf`8WF4MA" variabletype="">martingale:totalProfit</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_single" id=":z95S^#eh?n:Cs9XyYWA">
                                            <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="fK#!:AA~*/qt6@D=H0Pj">
                                                <field name="VAR" id="%lge#U+mGqq8hE-Bqx+3" variabletype="">martingale:maximumLoss</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="variables_set" id="Jkp@[hJ4V8UgA[,+Za%k">
                                        <field name="VAR" id=":x=B]IL-5[.xYCA|~A+U" variabletype="">martingale:tradeAgain</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="mVi1MJrR~vx#u*Z/a3_g">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <statement name="ELSE">
                                      <block type="text_print" id="ILm+0ssqMp(#5{#R0$a)">
                                        <value name="TEXT">
                                          <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                                            <field name="TEXT">abc</field>
                                          </shadow>
                                          <block type="text_join" id="i(GOMKvd)x(?58EUO($!">
                                            <mutation items="2"></mutation>
                                            <value name="ADD0">
                                              <block type="text" id="panJm6.r[@v/2kZQ;P::">
                                                <field name="TEXT">Maximum Loss Occurred! Total Loss: </field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="math_single" id="j!Wia((5c5SjT^*mLQ5/">
                                                <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="H7!LyK:`K1u)#tlZ,)zb">
                                                    <field name="VAR" id="b}tuzm[1(^yDf`8WF4MA" variabletype="">martingale:totalProfit</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                                <statement name="ELSE">
                                  <block type="text_print" id="Ej#RO`uRe[K0RocwmvCW">
                                    <value name="TEXT">
                                      <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                                        <field name="TEXT">abc</field>
                                      </shadow>
                                      <block type="text_join" id="I!k0g:6|zXB(;78qjFVw">
                                        <mutation items="2"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id="3B1-1JTK(-9M/Y#JwVPN">
                                            <field name="TEXT">Expected Profit Made! Total Profit: </field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="variables_get" id=")Vf$PQxF|NVxx}cB~^z%">
                                            <field name="VAR" id="b}tuzm[1(^yDf`8WF4MA" 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="I$.k|r`@sbQz7.~fi;1_">
        <field name="VAR" id=":x=B]IL-5[.xYCA|~A+U" variabletype="">martingale:tradeAgain</field>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="C{#QXZGX.FnN/2*,e~[A" collapsed="true" x="0" y="483">
    <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="Fua{Ci)}_wY#JYgv!i35">
        <value name="IF0">
          <block type="logic_compare" id="C,CK(d)s?i*VRp^`DKSv">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="izQhZnQQc3{ie6IsXX?|">
                <field name="VAR" id="v*wt]T$f,G1XJfQl)GV(" variabletype="">oscarsGrind:expectedProfit</field>
              </block>
            </value>
            <value name="B">
              <block type="logic_null" id="c79xzY./Y%JSH}B49[|="></block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="ljeHW3Q07448!VhZxIsq">
            <field name="VAR" id="v*wt]T$f,G1XJfQl)GV(" variabletype="">oscarsGrind:expectedProfit</field>
            <value name="VALUE">
              <block type="text_prompt_ext" id=":?mmB:M;;x@,PclIc49/">
                <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="bYT}P__ReF383A#B,:$l">
                    <field name="TEXT">Expected Profit</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="FWxA(pA~]cm[$8PNub)~">
            <value name="IF0">
              <block type="logic_compare" id=":t%vq,=LvD{MS0SU{Pk]">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="@5m*YA,=BW.R?u9l|k}L">
                    <field name="VAR" id="q22[h^Wo+KsP}80|SSC[" variabletype="">oscarsGrind:maximumLoss</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_null" id="RP+W?W1x)|jqQ2w$T^fW"></block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id=";Mw`^jD-2fW.2fi1;G!A">
                <field name="VAR" id="q22[h^Wo+KsP}80|SSC[" variabletype="">oscarsGrind:maximumLoss</field>
                <value name="VALUE">
                  <block type="text_prompt_ext" id="dO|U~+|bW:G[;$MZ.@1-">
                    <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="EK9;[eeMe7E]mhw3:nOB">
                        <field name="TEXT">Maximum Loss Amount</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="){mLY#cW!nEDVKTCihW9">
                <value name="IF0">
                  <block type="logic_compare" id=".B{C.uh|u@jil)/kv)#Y">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="t#94UEVa]x@PSfs6+:Eq">
                        <field name="VAR" id="}%Zic;Sg`b*,gy.eXbP}" variabletype="">oscarsGrind:amount</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_null" id=")Q]C]0_hd%pyBqFzIxh9"></block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="OVNRM~)l.EAbz#jw@Z,J">
                    <field name="VAR" id="}%Zic;Sg`b*,gy.eXbP}" variabletype="">oscarsGrind:amount</field>
                    <value name="VALUE">
                      <block type="text_prompt_ext" id="Zk4eJ]:}KS8n]3@_Q,GB">
                        <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="d$p]pq(UUHaTq(+g4e*r">
                            <field name="TEXT">Trade Amount</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="ECb_M8jDV-57fgR^9ZA8">
                    <value name="IF0">
                      <block type="logic_compare" id="K.3%1nH$/wz~~sy/=:U{">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="^*[gb6943)lI+Tomw~@t">
                            <field name="VAR" id="-b0.l#%IcAU?{B=iZrLU" variabletype="">oscarsGrind:size</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_null" id="V}B)=+m{g#Fd_@1obvxy"></block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="P:]h1ij@~PGB}g$DGxd9">
                        <field name="VAR" id="-b0.l#%IcAU?{B=iZrLU" variabletype="">oscarsGrind:size</field>
                        <value name="VALUE">
                          <block type="math_number" id="Q/Qlb(*{ul6CK`uq=@`^">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="d*c_Y7+B`}GFZ4Qct)d]">
                        <value name="IF0">
                          <block type="logic_compare" id="6gi2[t8.?;l%3j^Xpx@V">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id="Rbnurr3-hN~p$r@2:t*~">
                                <field name="VAR" id="DAf3McNwesj9My75QfN;" variabletype="">oscarsGrind:profitUnits</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_null" id="_2}MqXri^UrB:w3hxa,7"></block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="Y_xueytL6Z{GJdb{I]+a">
                            <field name="VAR" id="DAf3McNwesj9My75QfN;" variabletype="">oscarsGrind:profitUnits</field>
                            <value name="VALUE">
                              <block type="math_number" id="O[3,WG|=e,S[x:C:l}W/">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <next>
                          <block type="controls_if" id="CAX|f8D%QkKeFw|+HWH0">
                            <value name="IF0">
                              <block type="logic_compare" id="Z5m{UZ!2*u7SQ,/Z0;eH">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="variables_get" id="{=@t5Uhp]R@K)BU4E.Ft">
                                    <field name="VAR" id="w;p~5,dH.4T[.feT3m$U" variabletype="">oscarsGrind:totalProfit</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_null" id="_nZY3K]XG|C*E;Evtg#m"></block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="jXo{]Yb~0vd5hmH9SH|x">
                                <field name="VAR" id="w;p~5,dH.4T[.feT3m$U" variabletype="">oscarsGrind:totalProfit</field>
                                <value name="VALUE">
                                  <block type="math_number" id="|ed3]YW[mL88pXa-+p2%">
                                    <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="Ox6PNeo,6Q]aD3O=cD;w">
        <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="$Mp%;.-!goV@0PI%^Ygc">
            <field name="VAR" id="-b0.l#%IcAU?{B=iZrLU" 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="(Ob}XtRmc7Psv%[X@J0@">
            <field name="VAR" id="}%Zic;Sg`b*,gy.eXbP}" variabletype="">oscarsGrind:amount</field>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defnoreturn" id="k)d8VFw_R{E@@ad$9~sI" collapsed="true" x="0" y="536">
    <mutation>
      <arg name="oscarsGrind:resultIsWin" varid="a45ZpnWV{W=`}@uKBKbV"></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=",[*rKYx^3FP8HiyKo~1@">
            <field name="VAR" id="a45ZpnWV{W=`}@uKBKbV" variabletype="">oscarsGrind:resultIsWin</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="G=2Vn,Hjuvkb1m8r,cQ]">
            <field name="VAR" id="DAf3McNwesj9My75QfN;" 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="DAf3McNwesj9My75QfN;" 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="-b0.l#%IcAU?{B=iZrLU" 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="DAf3McNwesj9My75QfN;" 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="-b0.l#%IcAU?{B=iZrLU" 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="DAf3McNwesj9My75QfN;" 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="-b0.l#%IcAU?{B=iZrLU" 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="DAf3McNwesj9My75QfN;" 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="-b0.l#%IcAU?{B=iZrLU" 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="-b0.l#%IcAU?{B=iZrLU" 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="5e(p;Qtuz~%IaW7.OLEk">
                    <field name="VAR" id="DAf3McNwesj9My75QfN;" variabletype="">oscarsGrind:profitUnits</field>
                    <value name="VALUE">
                      <block type="math_number" id="dbIFh,+7?x,Lh:dxQp1;">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="vaR[|HIKB[iABlR:8yZI">
                        <field name="VAR" id="-b0.l#%IcAU?{B=iZrLU" 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="2he@@If0rMDZ,(g5R]O*">
                            <field name="NOTIFICATION_TYPE">success</field>
                            <field name="NOTIFICATION_SOUND">silent</field>
                            <value name="MESSAGE">
                              <block type="text" id="$CL2U]9t[~,=T,Esh~*T">
                                <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="DAf3McNwesj9My75QfN;" 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="DAf3McNwesj9My75QfN;" 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="-b0.l#%IcAU?{B=iZrLU" variabletype="">oscarsGrind:size</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="%RjWzZ+,dsfXeMrs4$M_" collapsed="true" x="0" y="589">
    <mutation>
      <arg name="oscarsGrind:profit" varid="A1am:FJOnyHc3J:17O9O"></arg>
      <arg name="oscarsGrind:resultIsWin" varid="a45ZpnWV{W=`}@uKBKbV"></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="~}Fk_8}7U[W|7f$Xlxo|">
        <field name="VAR" id="w;p~5,dH.4T[.feT3m$U" 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="`$H;U#:dWC1e:H9b@dpj">
            <field name="VAR" id="A1am:FJOnyHc3J:17O9O" variabletype="">oscarsGrind:profit</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="FJqNE1Wb9c!6*=cHvp5:">
            <field name="VAR" id="w;p~5,dH.4T[.feT3m$U" variabletype="">oscarsGrind:totalProfit</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="tIBCGtcSa1j#HP+6N7VU">
                <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="^ywNKd!ly0*U`lI%GO{j">
                    <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="|29?o|uqCCF@2(M9hKTv">
                        <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="zP`azJ?cJi;c7;ve9^yz">
                            <field name="VAR" id="w;p~5,dH.4T[.feT3m$U" 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="wxT5?d4?~EANan:qkHKn">
                            <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="2~*Im~AZxtp[U{eeJblF">
                    <field name="NUM">100</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="Q|n=oUEh7MG2U_?}+uVL">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="variables_get" id="V_mBV0;atH/:Cl!BX)pY">
                    <field name="VAR" id="a45ZpnWV{W=`}@uKBKbV" variabletype="">oscarsGrind:resultIsWin</field>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="notify" id="GmxLN(G/`kGE/iOYj`~*">
                    <field name="NOTIFICATION_TYPE">success</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <block type="text_join" id="{NIYJ:LXSR[Yo15h}xa,">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id=":3T[gG/;M(g|dIKU5p{j">
                            <field name="TEXT">Won:</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id="Gz6UA;}7?AJ`EPbr)cw]">
                            <field name="VAR" id="A1am:FJOnyHc3J:17O9O" variabletype="">oscarsGrind:profit</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="notify" id="(38})YD)O9hkThUtDFQp">
                    <field name="NOTIFICATION_TYPE">warn</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <block type="text_join" id="zPVQn_9E~}up|:AJ|-@F">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="~T=Dx/R3!pxKkja9}N]:">
                            <field name="TEXT">Lost: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="math_single" id="b#b5r;ncORsi63ZGh:N*">
                            <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="796_fH1mYEcd|}QQabDt">
                                <field name="VAR" id="A1am:FJOnyHc3J:17O9O" variabletype="">oscarsGrind:profit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="procedures_callnoreturn" id="qjHRfHJkl{:fq+4FdKGl">
                    <mutation name="Oscar's Grind Core Functionality">
                      <arg name="oscarsGrind:resultIsWin"></arg>
                    </mutation>
                    <value name="ARG0">
                      <block type="variables_get" id="kRm(M1PP..q3@qs}4kL!">
                        <field name="VAR" id="a45ZpnWV{W=`}@uKBKbV" variabletype="">oscarsGrind:resultIsWin</field>
                      </block>
                    </value>
                    <next>
                      <block type="notify" id=",@??g9rUTKhtTk+^Iq#p">
                        <field name="NOTIFICATION_TYPE">info</field>
                        <field name="NOTIFICATION_SOUND">silent</field>
                        <value name="MESSAGE">
                          <block type="text_join" id="gjo]iJx8fDIJZvb`M-DN">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="kj_V$(9m@0xbjI3%Mwh4">
                                <field name="TEXT">Total Profit: </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="variables_get" id="eiD8/?kq{a,kxp)tJ`gl">
                                <field name="VAR" id="w;p~5,dH.4T[.feT3m$U" variabletype="">oscarsGrind:totalProfit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="]v~I0PJnnIc!FMm!EgmO">
                            <field name="VAR" id="`o~@L_5_G!WNce|/~j`Y" variabletype="">oscarsGrind:tradeAgain</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="}YtjS3j=~qBuiL.,-GvR">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                            <next>
                              <block type="controls_if" id="[$f#4:Lo6D24eM47G[A;">
                                <mutation else="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_compare" id="}-w(s`a-{aB-VLe:K@(R">
                                    <field name="OP">LT</field>
                                    <value name="A">
                                      <block type="variables_get" id="a6I-%A{e|[aiNUg/GmB(">
                                        <field name="VAR" id="w;p~5,dH.4T[.feT3m$U" variabletype="">oscarsGrind:totalProfit</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="-Z`}a.78`jQ%[VF(@@6w">
                                        <field name="VAR" id="v*wt]T$f,G1XJfQl)GV(" variabletype="">oscarsGrind:expectedProfit</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="controls_if" id="_~X6R-d_LY;sb:M-pXT/">
                                    <mutation else="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="uzyVZK2HQQ2Y(kJ9Rh[h">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="variables_get" id="]3`).F_gW6(njFjE+Khm">
                                            <field name="VAR" id="w;p~5,dH.4T[.feT3m$U" variabletype="">oscarsGrind:totalProfit</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_single" id="j9zSjBEOen[sX-[q[vfK">
                                            <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="BTC,Qe^/ffr{cuN`+cw{">
                                                <field name="VAR" id="q22[h^Wo+KsP}80|SSC[" variabletype="">oscarsGrind:maximumLoss</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="variables_set" id="m_ljUJ,-GHj[f1XwD#J5">
                                        <field name="VAR" id="`o~@L_5_G!WNce|/~j`Y" variabletype="">oscarsGrind:tradeAgain</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="xwf8o=FqRw4m/ieAU|x]">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <statement name="ELSE">
                                      <block type="text_print" id="t.r6^M`e~,KC1I3OrO,n">
                                        <value name="TEXT">
                                          <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                                            <field name="TEXT">abc</field>
                                          </shadow>
                                          <block type="text_join" id="c[HDf7T}dsUH|%(iDF{3">
                                            <mutation items="2"></mutation>
                                            <value name="ADD0">
                                              <block type="text" id="DryNV*gAc_tM).lQ7uud">
                                                <field name="TEXT">Maximum Loss Occurred! Total Loss: </field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="math_single" id="b70Ro4bk6,Fxl0aU$3s0">
                                                <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="@q67WqCI,=Jt2-9?nVzT">
                                                    <field name="VAR" id="w;p~5,dH.4T[.feT3m$U" variabletype="">oscarsGrind:totalProfit</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                                <statement name="ELSE">
                                  <block type="text_print" id=",~{p|dJalO{LgvxxRf{]">
                                    <value name="TEXT">
                                      <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                                        <field name="TEXT">abc</field>
                                      </shadow>
                                      <block type="text_join" id="Cjxo|#I:)HGXJt@4N*(]">
                                        <mutation items="2"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id="Y}0$64wJPVz@Dz5rDWL;">
                                            <field name="TEXT">Expected Profit Made! Total Profit: </field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="variables_get" id="rnzve2i_-][dYZF=A~v{">
                                            <field name="VAR" id="w;p~5,dH.4T[.feT3m$U" 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="JaLL+fHrB^`u3/(.cYt^">
        <field name="VAR" id="`o~@L_5_G!WNce|/~j`Y" variabletype="">oscarsGrind:tradeAgain</field>
      </block>
    </value>
  </block>
  <block type="trade" id="73vWdDagX-YhN)CtN.3D" x="0" y="642">
    <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="-TV_*ROX[!X+ea+0X;@%">
        <value name="IF0">
          <block type="logic_compare" id="MvlQx9H{dAbd)ZT)sxod">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="LdBKCQ1%q7OQJfP5OVaB">
                <field name="VAR" id="5PvQhAUs8J*o=5C86fFy" variabletype="">BOT Name</field>
              </block>
            </value>
            <value name="B">
              <block type="text" id="t(rs;.Buw120nf2|!{b5">
                <field name="TEXT">Bot- Bollinger Bands - Normal</field>
              </block>
            </value>
          </block>
        </value>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="~356t@1`I)?C!ZVfR-Na">
        <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="1045">
    <statement name="BEFOREPURCHASE_STACK">
      <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="tick" id="h[bh.s]b(odG6@k].j]f"></block>
            </value>
            <value name="B">
              <block type="bb" id="*Ti5@R*k@6`B95)k~r}L">
                <field name="BBRESULT_LIST">1</field>
                <value name="INPUT">
                  <block type="ticks" id="-jDW~M~!4Kdm#tt{S|PR"></block>
                </value>
                <value name="PERIOD">
                  <block type="math_number" id="zY/#?F/-2D|S{rT^34$e">
                    <field name="NUM">20</field>
                  </block>
                </value>
                <value name="UPMULTIPLIER">
                  <block type="math_number" id="lfn,cl=MjDf}NzHaF/?+">
                    <field name="NUM">2</field>
                  </block>
                </value>
                <value name="DOWNMULTIPLIER">
                  <block type="math_number" id="Yxo0^d{iJs.IZ;aODj^R">
                    <field name="NUM">2</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>
        <next>
          <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="tick" id="Ne.WQs((Lb9HW`2Raem6"></block>
                </value>
                <value name="B">
                  <block type="bb" id="syn`HanP}dxGwdIzSNx+">
                    <field name="BBRESULT_LIST">2</field>
                    <value name="INPUT">
                      <block type="ticks" id="|D?eJd,^K$.@/QdxzT}v"></block>
                    </value>
                    <value name="PERIOD">
                      <block type="math_number" id="J3hdO-Fg}u9=ZJ1svZkh">
                        <field name="NUM">20</field>
                      </block>
                    </value>
                    <value name="UPMULTIPLIER">
                      <block type="math_number" id="vOuRCclQjOujmS?+jU7b">
                        <field name="NUM">2</field>
                      </block>
                    </value>
                    <value name="DOWNMULTIPLIER">
                      <block type="math_number" id="#~jiJ%*T)bnL0Xa-%=OZ">
                        <field name="NUM">2</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>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="]|jqrexe1(h~O8M)wH,j" x="0" y="1521">
    <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>