<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="?^27,*(^pAie=S=e]MF%">martingale:profit</variable>
    <variable type="" id="`=KyXio0t7#)a7ewul()">martingale:resultIsWin</variable>
    <variable type="" id="i*j,5/RUctPN)jp9/FYC">martingale:totalProfit</variable>
    <variable type="" id="K/KD$k2xbA?{-Tooy5fg">martingale:tradeAgain</variable>
    <variable type="" id="wJ#9VZx~j,}X(b00nt(%">pattern</variable>
    <variable type="" id="QVgmz@/y~j*FU~^xzA{Q">martingale:expectedProfit</variable>
    <variable type="" id=";:xeYF6WeSuF:TVh8b3x">martingale:size</variable>
    <variable type="" id="_R#c5s;%q+4NtI)2)MC^">martingale:amount</variable>
    <variable type="" id="P0JVcK!@E!gy::?QV@;^">tick4</variable>
    <variable type="" id="z+BgrJTJ%4go+knUnMe^">martingale:maximumLoss</variable>
    <variable type="" id="j%Yu.)j[z%#8t*tK{{9{">tick3</variable>
    <variable type="" id="mUU;4vD5EQ]t/4`RYyXe">tick2</variable>
    <variable type="" id="4]OMOa$~ZaX`kd4@99x7">martingale:multiplierSize</variable>
    <variable type="" id="pk|m3+UR(Z`_=RZQMwTs">tick1</variable>
  </variables>
  <block type="trade" id="73vWdDagX-YhN)CtN.3D" x="-81" y="-63">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_25</field>
    <field name="TRADETYPECAT_LIST">reset</field>
    <field name="TRADETYPE_LIST">reset</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="notify" id="7?7W3Y)X%PON99L|W~jC">
        <field name="NOTIFICATION_TYPE">success</field>
        <field name="NOTIFICATION_SOUND">silent</field>
        <value name="MESSAGE">
          <shadow type="text" id="ynIoL5HY(Z(7m?v!d-}{">
            <field name="TEXT">abc</field>
          </shadow>
          <block type="text_join" id="2;S9nX=Nd{/?I5P#yapU">
            <mutation items="1"></mutation>
            <value name="ADD0">
              <block type="text" id="NO1+4aLJk{*@],I);lln">
                <field name="TEXT">Canal Mr.Jonny Investimentos e Estratégias</field>
              </block>
            </value>
          </block>
        </value>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="4Fd||~mq9nU5@vfudp^Z">
        <field name="DURATIONTYPE_LIST">s</field>
        <field name="CURRENCY_LIST">USD</field>
        <field name="BARRIEROFFSETTYPE_LIST">+</field>
        <field name="SECONDBARRIEROFFSETTYPE_LIST">-</field>
        <value name="DURATION">
          <block type="math_number" id="0p-bjjEuB1k(LNWLaiS]">
            <field name="NUM">30</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="procedures_callreturn" id="!u{3VlFd}x~LAr|BMM7G">
            <mutation name="Traditional Martingale System Stake Amount"></mutation>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="qq2xGirc*Byb/P/HE^]H" x="794" y="-25">
    <field name="NAME">Traditional Martingale System Stake 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="QVgmz@/y~j*FU~^xzA{Q" variabletype="">martingale: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="QVgmz@/y~j*FU~^xzA{Q" variabletype="">martingale:expectedProfit</field>
            <value name="VALUE">
              <block type="math_number" id="Jq[8v(peJ~G8:d2M0HPE">
                <field name="NUM">3</field>
              </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="z+BgrJTJ%4go+knUnMe^" variabletype="">martingale: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="z+BgrJTJ%4go+knUnMe^" variabletype="">martingale:maximumLoss</field>
                <value name="VALUE">
                  <block type="math_number" id="pEwOkq.VNXK[QcU;Z^t`">
                    <field name="NUM">50</field>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="^CEM+~9aQ2uhnXtkL`kv">
                <value name="IF0">
                  <block type="logic_compare" id="wL4k~{ia}[/ON_+z47RO">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="WjGS@!}HI|kFH{rJqavk">
                        <field name="VAR" id="_R#c5s;%q+4NtI)2)MC^" variabletype="">martingale:amount</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_null" id="qTK#~^WMVK;Wyz1LJ/@d"></block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="ZxKDnNw2?MsznEZQtR6`">
                    <field name="VAR" id="_R#c5s;%q+4NtI)2)MC^" variabletype="">martingale:amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="GVL;8~i-of6yOk=ysyY*">
                        <field name="NUM">0.35</field>
                      </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=";:xeYF6WeSuF:TVh8b3x" variabletype="">martingale: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="i6f6Qwj?2nLE;^KlN:Z@">
                        <field name="VAR" id="4]OMOa$~ZaX`kd4@99x7" variabletype="">martingale:multiplierSize</field>
                        <value name="VALUE">
                          <block type="math_number" id="kpO7X;[Qm[FzLV]v+6er">
                            <field name="NUM">2.5</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="^xOi2|SaRE2S4sk8(u74">
                            <field name="VAR" id=";:xeYF6WeSuF:TVh8b3x" variabletype="">martingale:size</field>
                            <value name="VALUE">
                              <block type="math_number" id="V^QkcFsonsJWZ0pgI8IU">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </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="i*j,5/RUctPN)jp9/FYC" variabletype="">martingale: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="i*j,5/RUctPN)jp9/FYC" variabletype="">martingale: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>
    </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=";:xeYF6WeSuF:TVh8b3x" 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="_R#c5s;%q+4NtI)2)MC^" variabletype="">martingale:amount</field>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="during_purchase" id="(4;NieXd}j|Bn!c-YiC|" x="-75" y="331">
    <statement name="DURING_PURCHASE_STACK">
      <block type="controls_if" id="8?eYKAW%VczmRXQ-ou3r">
        <value name="IF0">
          <block type="check_sell" id="M=:_KpEeRAJY_}XTU^8~"></block>
        </value>
      </block>
    </statement>
  </block>
  <block type="text" id="FzPz*)E`N9Y.0MDM/GTS" disabled="true" x="37" y="393">
    <field name="TEXT">Canal Mr.Jonny Investimentos e Estrategias</field>
  </block>
  <block type="before_purchase" id="(p@?`#|e-f5q^Z^Lo4/6" x="-74" y="451">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="DX2I1HbkNU!ZO,sTDN51">
        <mutation elseif="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="0,v0p}WQ8dsdH7[De64I">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="Yv!tzjb0EeqAO~!q;u#A">
                <field name="VAR" id="wJ#9VZx~j,}X(b00nt(%" variabletype="">pattern</field>
              </block>
            </value>
            <value name="B">
              <block type="math_number" id="}yZ/=XpAwU6xQG8McXiL">
                <field name="NUM">221</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="|D=m(B(kCnWu$y`eeljQ">
            <field name="PURCHASE_LIST">RESETCALL</field>
          </block>
        </statement>
        <value name="IF1">
          <block type="logic_compare" id="!NcgQrj$vo3L=Ai5kSnt">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id=":RCc|?J6^aTB+Q)67g]S">
                <field name="VAR" id="wJ#9VZx~j,}X(b00nt(%" variabletype="">pattern</field>
              </block>
            </value>
            <value name="B">
              <block type="math_number" id="AT(,W)!K;nTOW|poA!U^">
                <field name="NUM">112</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO1">
          <block type="purchase" id="PGIcl@_wAKyvi14TQ:H!">
            <field name="PURCHASE_LIST">RESETPUT</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="text" id="t`]u6LV-}Jt?rllU8w^n" disabled="true" x="-56" y="678">
    <field name="TEXT">RESET BOT GRINGO</field>
  </block>
  <block type="tick_analysis" id="oT1dE_lK*mMAK|(W=c)#" collapsed="true" x="-14" y="865">
    <statement name="TICKANALYSIS_STACK">
      <block type="controls_if" id="#QjH{:@tfjddJ*y:SW*F">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="%;/@qnv,8#!QZvI@y)%6">
            <field name="OP">GT</field>
            <value name="A">
              <block type="tick" id="L#0aWB!,-?XBR1zWtE1["></block>
            </value>
            <value name="B">
              <block type="lists_getIndex" id="n;zlGQj^.]CpI$]e%WSa">
                <mutation statement="false" at="true"></mutation>
                <field name="MODE">GET</field>
                <field name="WHERE">FROM_END</field>
                <value name="VALUE">
                  <block type="ticks" id="Hf${+l#$X*KQon,$87j1"></block>
                </value>
                <value name="AT">
                  <block type="math_number" id="h~*GCMOF9#9w4GlG,MJx">
                    <field name="NUM">2</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="kU.F86MenaOB{`1h1V]x">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="qmL3Exk*3sp7Lw6R)5RM">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="rxd{We6E:`;8]~|99A6i">
                    <field name="TEXT">NAIK</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="(c#YTN5039jC%]ttpn~`">
            <field name="NOTIFICATION_TYPE">error</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="D}iVA,034(y8v`@D{B+K">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="`GS^h%SqQ[W-)AX-H-!E">
                    <field name="TEXT">TURUN</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="_b//g0Q,2OW8MbY^`J3E" collapsed="true" x="81" y="872">
    <mutation>
      <arg name="martingale:profit" varid="?^27,*(^pAie=S=e]MF%"></arg>
      <arg name="martingale:resultIsWin" varid="`=KyXio0t7#)a7ewul()"></arg>
    </mutation>
    <field name="NAME">Traditional Martingale System Trade Again</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="i*j,5/RUctPN)jp9/FYC" 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="Kj+o2HPe^1#-J*pl.VD9">
            <field name="VAR" id="?^27,*(^pAie=S=e]MF%" variabletype="">martingale:profit</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="=``}2YqGE51x5XO#O{A6">
            <field name="VAR" id="i*j,5/RUctPN)jp9/FYC" variabletype="">martingale: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="i*j,5/RUctPN)jp9/FYC" 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="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="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="`=KyXio0t7#)a7ewul()" 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="?^27,*(^pAie=S=e]MF%" 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">loss :</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="?^27,*(^pAie=S=e]MF%" 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="Traditional Martingale System Core Functionality">
                      <arg name="martingale:resultIsWin"></arg>
                    </mutation>
                    <value name="ARG0">
                      <block type="variables_get" id="[|xwly3+qnsyH8X40V0H">
                        <field name="VAR" id="`=KyXio0t7#)a7ewul()" variabletype="">martingale: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">profit : </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="variables_get" id="Kc?RVUrXujr{1X[%y1sW">
                                <field name="VAR" id="i*j,5/RUctPN)jp9/FYC" variabletype="">martingale:totalProfit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="ix3Jwr;,l7NS%LeIjciS">
                            <field name="VAR" id="K/KD$k2xbA?{-Tooy5fg" variabletype="">martingale: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="i*j,5/RUctPN)jp9/FYC" variabletype="">martingale:totalProfit</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="ca~g-NW_y(msxA`ID6uw">
                                        <field name="VAR" id="QVgmz@/y~j*FU~^xzA{Q" variabletype="">martingale: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="i*j,5/RUctPN)jp9/FYC" variabletype="">martingale: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="z+BgrJTJ%4go+knUnMe^" variabletype="">martingale: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="K/KD$k2xbA?{-Tooy5fg" variabletype="">martingale: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">oh..sorry</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="i*j,5/RUctPN)jp9/FYC" variabletype="">martingale: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">achieved</field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="variables_get" id="CxB@:}TG^Od;=yysk/#C">
                                            <field name="VAR" id="i*j,5/RUctPN)jp9/FYC" 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="zEXck3l4zHs1m9JF0^g.">
        <field name="VAR" id="K/KD$k2xbA?{-Tooy5fg" variabletype="">martingale:tradeAgain</field>
      </block>
    </value>
  </block>
  <block type="tick_analysis" id="z`0eHF@oG@4l_9MD:cz-" collapsed="true" x="72" y="876">
    <statement name="TICKANALYSIS_STACK">
      <block type="variables_set" id="fsL!e6]EK@ggpx9v-O*[">
        <field name="VAR" id="wJ#9VZx~j,}X(b00nt(%" variabletype="">pattern</field>
        <value name="VALUE">
          <block type="math_number" id="|:Rp$1k]]kZt.1!MSLY`">
            <field name="NUM">0</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="dS=s*#{*oWZa:RKqO]cT">
            <field name="VAR" id="P0JVcK!@E!gy::?QV@;^" variabletype="">tick4</field>
            <value name="VALUE">
              <block type="variables_get" id="Q,?`eez^BGXWtZiUEc,W">
                <field name="VAR" id="j%Yu.)j[z%#8t*tK{{9{" variabletype="">tick3</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="$xS@dVN)F.$0R@Me:lw.">
                <field name="VAR" id="j%Yu.)j[z%#8t*tK{{9{" variabletype="">tick3</field>
                <value name="VALUE">
                  <block type="variables_get" id="rU-:zS84DucxpLN]^6-3">
                    <field name="VAR" id="mUU;4vD5EQ]t/4`RYyXe" variabletype="">tick2</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="(wxeVNbGwd*|OvU7of-F">
                    <field name="VAR" id="mUU;4vD5EQ]t/4`RYyXe" variabletype="">tick2</field>
                    <value name="VALUE">
                      <block type="variables_get" id="L1vd-(*6xTEd6:_;!k)a">
                        <field name="VAR" id="pk|m3+UR(Z`_=RZQMwTs" variabletype="">tick1</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="=o]dnNb!RE|reFMx%6SJ">
                        <field name="VAR" id="pk|m3+UR(Z`_=RZQMwTs" variabletype="">tick1</field>
                        <value name="VALUE">
                          <block type="tick" id="Z|/EJEKgj/|BAVdEoa/w"></block>
                        </value>
                        <next>
                          <block type="controls_if" id="AmZFX!wc3K~%0N!u~{P,">
                            <mutation elseif="1"></mutation>
                            <value name="IF0">
                              <block type="logic_compare" id="YC?@XGhp$FO*NQ)U;}G5">
                                <field name="OP">GT</field>
                                <value name="A">
                                  <block type="variables_get" id="b_FU]%r[YHv?}?)bU(rD">
                                    <field name="VAR" id="pk|m3+UR(Z`_=RZQMwTs" variabletype="">tick1</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="variables_get" id="H9{ud$8A[(:1P8WkVhI3">
                                    <field name="VAR" id="mUU;4vD5EQ]t/4`RYyXe" variabletype="">tick2</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="math_change" id="`Y;|#Rf-3iCBF7H_S/y{">
                                <field name="VAR" id="wJ#9VZx~j,}X(b00nt(%" variabletype="">pattern</field>
                                <value name="DELTA">
                                  <shadow type="math_number" id=".^1ix7/ckiVQaw71n@4(">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="math_number" id=",,9g1TXTzSB-QtQ%UT:W">
                                    <field name="NUM">1</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <value name="IF1">
                              <block type="logic_compare" id="d%F(ZWm`;N}XINn[0RYB">
                                <field name="OP">LT</field>
                                <value name="A">
                                  <block type="variables_get" id="M:z6ov1hv4Z8wqD=KW,^">
                                    <field name="VAR" id="pk|m3+UR(Z`_=RZQMwTs" variabletype="">tick1</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="variables_get" id="drGncwgt$_j+~qQ[=#D`">
                                    <field name="VAR" id="mUU;4vD5EQ]t/4`RYyXe" variabletype="">tick2</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO1">
                              <block type="math_change" id="#*n1q8-1KxYt_n(H,39:">
                                <field name="VAR" id="wJ#9VZx~j,}X(b00nt(%" variabletype="">pattern</field>
                                <value name="DELTA">
                                  <shadow type="math_number" id=".^1ix7/ckiVQaw71n@4(">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="math_number" id=")jO[FdD~~IE,Q;Xc6fva">
                                    <field name="NUM">2</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <next>
                              <block type="controls_if" id=")u#P{=8Z;$dN**p3kd=j">
                                <mutation elseif="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_compare" id="+Viw_Vs^F9p3bmRec|{J">
                                    <field name="OP">GT</field>
                                    <value name="A">
                                      <block type="variables_get" id="Bj.!J2l3Aet%g4KJvfY7">
                                        <field name="VAR" id="mUU;4vD5EQ]t/4`RYyXe" variabletype="">tick2</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="_i0URMaK|Y[xba[!r32a">
                                        <field name="VAR" id="j%Yu.)j[z%#8t*tK{{9{" variabletype="">tick3</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="math_change" id="G.d=Xx_a,Lcpufy^jNwi">
                                    <field name="VAR" id="wJ#9VZx~j,}X(b00nt(%" variabletype="">pattern</field>
                                    <value name="DELTA">
                                      <shadow type="math_number" id=".^1ix7/ckiVQaw71n@4(">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="math_number" id="F-Xt53M1erYsvwKJd6Z)">
                                        <field name="NUM">10</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                                <value name="IF1">
                                  <block type="logic_compare" id="X3!PmXbALq=Rn4Uyvc^@">
                                    <field name="OP">LT</field>
                                    <value name="A">
                                      <block type="variables_get" id="PiLe+FWxV}UTbli?|MQo">
                                        <field name="VAR" id="mUU;4vD5EQ]t/4`RYyXe" variabletype="">tick2</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="K!pexc_Wf0/EjKoW4tA|">
                                        <field name="VAR" id="j%Yu.)j[z%#8t*tK{{9{" variabletype="">tick3</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO1">
                                  <block type="math_change" id="W}M[:OsKQZbR?rI_Kte5">
                                    <field name="VAR" id="wJ#9VZx~j,}X(b00nt(%" variabletype="">pattern</field>
                                    <value name="DELTA">
                                      <shadow type="math_number" id=".^1ix7/ckiVQaw71n@4(">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="math_number" id="4_5Eo-T1%g~%#}Rr_;fs">
                                        <field name="NUM">20</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                                <next>
                                  <block type="controls_if" id="(_(1^{gL|r%X,/Ip/3W]">
                                    <mutation elseif="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="vU9{YEr`Fqj-ayr4WZ*4">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="variables_get" id="$[_luC{U]qpG%D0dgsXl">
                                            <field name="VAR" id="j%Yu.)j[z%#8t*tK{{9{" variabletype="">tick3</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="#1t15EKW}`R}wj3t9=0/">
                                            <field name="VAR" id="P0JVcK!@E!gy::?QV@;^" variabletype="">tick4</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="math_change" id="BhdQ05n22/e|r1I1.|{g">
                                        <field name="VAR" id="wJ#9VZx~j,}X(b00nt(%" variabletype="">pattern</field>
                                        <value name="DELTA">
                                          <shadow type="math_number" id=".^1ix7/ckiVQaw71n@4(">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="math_number" id="w$`eKOhHg4x)iFV)!QZ*">
                                            <field name="NUM">100</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <value name="IF1">
                                      <block type="logic_compare" id="YCG(7.t#lLe:KBB)6G8Z">
                                        <field name="OP">LT</field>
                                        <value name="A">
                                          <block type="variables_get" id="vERKh;S{^N=/e,0^2_24">
                                            <field name="VAR" id="j%Yu.)j[z%#8t*tK{{9{" variabletype="">tick3</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="]iYVeDlW1dS~/2*?Ihms">
                                            <field name="VAR" id="P0JVcK!@E!gy::?QV@;^" variabletype="">tick4</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO1">
                                      <block type="math_change" id="ERm@fn]OMk8|Af9uVG^0">
                                        <field name="VAR" id="wJ#9VZx~j,}X(b00nt(%" variabletype="">pattern</field>
                                        <value name="DELTA">
                                          <shadow type="math_number" id=".^1ix7/ckiVQaw71n@4(">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="math_number" id="h!rOCx;Z[PjDJLn)k8h.">
                                            <field name="NUM">200</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="notify" id="TSUysK0[Y!k;cWCOGvyu">
                                        <field name="NOTIFICATION_TYPE">info</field>
                                        <field name="NOTIFICATION_SOUND">silent</field>
                                        <value name="MESSAGE">
                                          <block type="variables_get" id="i~zA]}7G`W}X!?+{#LXd">
                                            <field name="VAR" id="wJ#9VZx~j,}X(b00nt(%" variabletype="">pattern</field>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="TY/(qs?1mzi0doraNq_[" x="999" y="1147">
    <mutation>
      <arg name="martingale:resultIsWin" varid="`=KyXio0t7#)a7ewul()"></arg>
    </mutation>
    <field name="NAME">Traditional Martingale System 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="P]*Fp7~p#Lj1S#`(3rAr">
            <field name="VAR" id="`=KyXio0t7#)a7ewul()" variabletype="">martingale:resultIsWin</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id=",*SKPEhPmhmsq#tq`G*9">
            <field name="VAR" id=";:xeYF6WeSuF:TVh8b3x" 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=";:xeYF6WeSuF:TVh8b3x" 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=";:xeYF6WeSuF:TVh8b3x" 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="variables_get" id="bBj-mlXoO%KT)k(p0Rkq">
                    <field name="VAR" id="4]OMOa$~ZaX`kd4@99x7" variabletype="">martingale:multiplierSize</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="Vt,CkLeK8E?%BmnB`~M)" x="242" y="1298">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="=KbO,-HqtVsGwXTFQu;A">
        <value name="IF0">
          <block type="procedures_callreturn" id="#:Mg|GlkP@A6U0TvjHaG">
            <mutation name="Traditional Martingale System Trade Again">
              <arg name="martingale:profit"></arg>
              <arg name="martingale:resultIsWin"></arg>
            </mutation>
            <value name="ARG0">
              <block type="read_details" id="(E,!25pd^Ev`yMmr[z*_">
                <field name="DETAIL_INDEX">4</field>
              </block>
            </value>
            <value name="ARG1">
              <block type="contract_check_result" id="^ShXafO+N,gqVXtl^w)e">
                <field name="CHECK_RESULT">win</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="trade_again" id="wK(XN;iOhw^@0?^z74gG"></block>
        </statement>
      </block>
    </statement>
  </block>
</xml>