<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="xtb2zheFP^O0;HG#.Slo">martingale:resultIsWin</variable>
    <variable type="" id="8KF-}rU?#7mMP@OMD~W/">martingale:profit</variable>
    <variable type="" id="67$EZVv8)enUOVv]d!Cd">RSI_MAX</variable>
    <variable type="" id="b/]TV`%Q]-/3GCB1jGrp">RSI</variable>
    <variable type="" id="p~)aJK,{drs!D|E2aS:/">martingale:totalProfit</variable>
    <variable type="" id="DZI$B6)wiaaejHzud`Z`">martingale:tradeAgain</variable>
    <variable type="" id="V@lk`j1q!WwIIG:A,#q#">RSI_MIN</variable>
    <variable type="" id="Z+d[5-U0sNNZMBySsRZi">martingale:expectedProfit</variable>
    <variable type="" id="ZY!Nl;|egLiL?OrVl`g^">martingale:size</variable>
    <variable type="" id="~{]taV9PGf~Y}.]cjg`4">martingale:amount</variable>
    <variable type="" id="6.auVLKFmbS*fj@2sHK+">LOST_MAX_LAST</variable>
    <variable type="" id="q9B3^Cyb}p%6N4xc;ZAM">martingale:maximumLoss</variable>
    <variable type="" id="smH}+A)Y236{a_[@mD@v">LOST_MAX</variable>
    <variable type="" id=".)1/mG=[b1MTe3X|#mDu">ESTRATEGIA</variable>
    <variable type="" id="W78*}.lntlD-@-~I@J`3">UP_DOWN</variable>
  </variables>
  <block type="trade" id="73vWdDagX-YhN)CtN.3D" x="0" y="0">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_100</field>
    <field name="TRADETYPECAT_LIST">callput</field>
    <field name="TRADETYPE_LIST">risefall</field>
    <field name="TYPE_LIST">both</field>
    <field name="CANDLEINTERVAL_LIST">60</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="U49^X@IPGHKty@k!tC).">
        <field name="VAR" id="67$EZVv8)enUOVv]d!Cd" variabletype="">RSI_MAX</field>
        <value name="VALUE">
          <block type="math_number" id="YAx2l!LzPCq})9iG#lp;">
            <field name="NUM">0</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="8FNMpDIs.+5Pt$VL@M:s">
            <field name="VAR" id="V@lk`j1q!WwIIG:A,#q#" variabletype="">RSI_MIN</field>
            <value name="VALUE">
              <block type="math_number" id="X-(_,J,@B%PHCY|mt3X]">
                <field name="NUM">100</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="#2)TjfNB:ZB)Njqnyt%h">
                <field name="VAR" id="6.auVLKFmbS*fj@2sHK+" variabletype="">LOST_MAX_LAST</field>
                <value name="VALUE">
                  <block type="math_number" id="(PA+^yMipeS[f0X%mKGP">
                    <field name="NUM">5</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="rjtt4=ZKk#_QWOZ5e`R#">
                    <field name="VAR" id="smH}+A)Y236{a_[@mD@v" variabletype="">LOST_MAX</field>
                    <value name="VALUE">
                      <block type="math_number" id="HVR7dQ%xG%4)t})]-~A8">
                        <field name="NUM">5</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="yD%qRjVo!n(yAX$t;7nj">
                        <field name="VAR" id=".)1/mG=[b1MTe3X|#mDu" variabletype="">ESTRATEGIA</field>
                        <value name="VALUE">
                          <block type="text" id="e[(cx;yE#Izw/Zri^7GY">
                            <field name="TEXT">TENDENCIA</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="8SH(lgTJ*b,:TACiVzO,">
        <field name="DURATIONTYPE_LIST">t</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">5</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="math_number" id="x~f.nB.(Lt70QuV9yFR9">
            <field name="NUM">0.35</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="qq2xGirc*Byb/P/HE^]H" x="0" y="547">
    <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="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="Z+d[5-U0sNNZMBySsRZi" 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="Z+d[5-U0sNNZMBySsRZi" variabletype="">martingale: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="q9B3^Cyb}p%6N4xc;ZAM" 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="q9B3^Cyb}p%6N4xc;ZAM" variabletype="">martingale: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="~{]taV9PGf~Y}.]cjg`4" 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="~{]taV9PGf~Y}.]cjg`4" variabletype="">martingale: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="ZY!Nl;|egLiL?OrVl`g^" 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="^xOi2|SaRE2S4sk8(u74">
                        <field name="VAR" id="ZY!Nl;|egLiL?OrVl`g^" 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="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="p~)aJK,{drs!D|E2aS:/" 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="p~)aJK,{drs!D|E2aS:/" 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="ZY!Nl;|egLiL?OrVl`g^" 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="~{]taV9PGf~Y}.]cjg`4" variabletype="">martingale:amount</field>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defnoreturn" id="TY/(qs?1mzi0doraNq_[" collapsed="true" x="0" y="1120">
    <mutation>
      <arg name="martingale:resultIsWin" varid="xtb2zheFP^O0;HG#.Slo"></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="P]*Fp7~p#Lj1S#`(3rAr">
            <field name="VAR" id="xtb2zheFP^O0;HG#.Slo" variabletype="">martingale:resultIsWin</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id=",*SKPEhPmhmsq#tq`G*9">
            <field name="VAR" id="ZY!Nl;|egLiL?OrVl`g^" 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="ZY!Nl;|egLiL?OrVl`g^" 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="ZY!Nl;|egLiL?OrVl`g^" 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="_b//g0Q,2OW8MbY^`J3E" collapsed="true" x="0" y="1173">
    <mutation>
      <arg name="martingale:profit" varid="8KF-}rU?#7mMP@OMD~W/"></arg>
      <arg name="martingale:resultIsWin" varid="xtb2zheFP^O0;HG#.Slo"></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="5ph^#sJ_|cnLn{}e(%Z{">
        <field name="VAR" id="p~)aJK,{drs!D|E2aS:/" 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="8KF-}rU?#7mMP@OMD~W/" variabletype="">martingale:profit</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="=``}2YqGE51x5XO#O{A6">
            <field name="VAR" id="p~)aJK,{drs!D|E2aS:/" 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="p~)aJK,{drs!D|E2aS:/" 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="xtb2zheFP^O0;HG#.Slo" 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="8KF-}rU?#7mMP@OMD~W/" 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="8KF-}rU?#7mMP@OMD~W/" 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="xtb2zheFP^O0;HG#.Slo" 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">Total Profit: </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="variables_get" id="Kc?RVUrXujr{1X[%y1sW">
                                <field name="VAR" id="p~)aJK,{drs!D|E2aS:/" variabletype="">martingale:totalProfit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="ix3Jwr;,l7NS%LeIjciS">
                            <field name="VAR" id="DZI$B6)wiaaejHzud`Z`" 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="p~)aJK,{drs!D|E2aS:/" variabletype="">martingale:totalProfit</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="ca~g-NW_y(msxA`ID6uw">
                                        <field name="VAR" id="Z+d[5-U0sNNZMBySsRZi" 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="p~)aJK,{drs!D|E2aS:/" 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="q9B3^Cyb}p%6N4xc;ZAM" 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="DZI$B6)wiaaejHzud`Z`" 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">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="p~)aJK,{drs!D|E2aS:/" 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">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="p~)aJK,{drs!D|E2aS:/" 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="DZI$B6)wiaaejHzud`Z`" variabletype="">martingale:tradeAgain</field>
      </block>
    </value>
  </block>
  <block type="before_purchase" id="tOc)]Xd=cAm0aiy+-8(8" x="0" y="1226">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id=",k3e|97Q#zy~St|},FIw">
        <field name="VAR" id="b/]TV`%Q]-/3GCB1jGrp" variabletype="">RSI</field>
        <value name="VALUE">
          <block type="rsi" id="L`@9^C8dP8t_eY~kc`z@">
            <value name="INPUT">
              <block type="ohlc_values" id="zfL;*8=+xY4c;D.a+BNG">
                <field name="OHLCFIELD_LIST">close</field>
                <field name="CANDLEINTERVAL_LIST">default</field>
              </block>
            </value>
            <value name="PERIOD">
              <block type="math_number" id="M`iwUevPD`7AM;@a_lxL">
                <field name="NUM">14</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="controls_if" id="u*UZGZW8~$oj}gN3#vNT">
            <value name="IF0">
              <block type="logic_compare" id="X)};r*Pb}2t=b^I}eC}r">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="variables_get" id="GwpeyM:@ZG$}Tb4W=Euu">
                    <field name="VAR" id="b/]TV`%Q]-/3GCB1jGrp" variabletype="">RSI</field>
                  </block>
                </value>
                <value name="B">
                  <block type="variables_get" id="8v(SZ2v_|ZuoIkf2~o3U">
                    <field name="VAR" id="67$EZVv8)enUOVv]d!Cd" variabletype="">RSI_MAX</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="QY+A]vxBvuOU*~G:YIIy">
                <field name="VAR" id="67$EZVv8)enUOVv]d!Cd" variabletype="">RSI_MAX</field>
                <value name="VALUE">
                  <block type="variables_get" id="!YFwZ$:*Q{O+Pk8P[oNA">
                    <field name="VAR" id="b/]TV`%Q]-/3GCB1jGrp" variabletype="">RSI</field>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="r367;PZJ632dkJ7l;_Cw">
                <value name="IF0">
                  <block type="logic_compare" id="5wdlJ@m;hATfNib[wvm/">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="variables_get" id="N`OV/I?iv7hIJ#W~G)pX">
                        <field name="VAR" id="b/]TV`%Q]-/3GCB1jGrp" variabletype="">RSI</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="C-GhMr@Zv#|GkpV20u#Y">
                        <field name="VAR" id="V@lk`j1q!WwIIG:A,#q#" variabletype="">RSI_MIN</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="90I;l^9}$4rAtdGY:w]c">
                    <field name="VAR" id="V@lk`j1q!WwIIG:A,#q#" variabletype="">RSI_MIN</field>
                    <value name="VALUE">
                      <block type="variables_get" id="7DSD6xSQ~cOmtRSgR{X1">
                        <field name="VAR" id="b/]TV`%Q]-/3GCB1jGrp" variabletype="">RSI</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="notify" id="4j*WE#o_NNx~IV15b)c!">
                    <field name="NOTIFICATION_TYPE">info</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <block type="text_join" id="Swd-H|7RNv8joS-*cj@@">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="xc4ms#,Qcg5cG*$ZhgUR">
                            <field name="TEXT">Estrategia:</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id="D$A1n,+gyJN}Zg`a`htg">
                            <field name="VAR" id=".)1/mG=[b1MTe3X|#mDu" variabletype="">ESTRATEGIA</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="notify" id="d6hoYghe$|5gGM!Uw4^E">
                        <field name="NOTIFICATION_TYPE">info</field>
                        <field name="NOTIFICATION_SOUND">silent</field>
                        <value name="MESSAGE">
                          <block type="text_join" id="0}QaY20UMMh`;6uUyJJV">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="rycoAM.71-1g2W0KNs9N">
                                <field name="TEXT">RSI: </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="variables_get" id="@6r^:%J(M%u/C:m.1,np">
                                <field name="VAR" id="b/]TV`%Q]-/3GCB1jGrp" variabletype="">RSI</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="notify" id="Iy8380lK`fUF(om%c_+~">
                            <field name="NOTIFICATION_TYPE">success</field>
                            <field name="NOTIFICATION_SOUND">silent</field>
                            <value name="MESSAGE">
                              <block type="text_join" id=")/8W9)La+#y48Ml!U_O-">
                                <mutation items="2"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="Lu.i6w#l=l=hlu.)mRZs">
                                    <field name="TEXT">RSI_MAX: </field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="variables_get" id="btV(*i,{EBS]irTT!=xI">
                                    <field name="VAR" id="67$EZVv8)enUOVv]d!Cd" variabletype="">RSI_MAX</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="notify" id="F^P5l4aH0yk{T32_NB{_">
                                <field name="NOTIFICATION_TYPE">error</field>
                                <field name="NOTIFICATION_SOUND">silent</field>
                                <value name="MESSAGE">
                                  <block type="text_join" id="QdJHHetXJI7ndwSR4{T_">
                                    <mutation items="2"></mutation>
                                    <value name="ADD0">
                                      <block type="text" id="nY5@#6^@Z(d2V%(NBQwy">
                                        <field name="TEXT">RSI_MIN: </field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="variables_get" id="b#@!(yCt4P8,E{Nl)O{B">
                                        <field name="VAR" id="V@lk`j1q!WwIIG:A,#q#" variabletype="">RSI_MIN</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="notify" id="Okq`Z6xI~nT?O!cCKv)t">
                                    <field name="NOTIFICATION_TYPE">warn</field>
                                    <field name="NOTIFICATION_SOUND">silent</field>
                                    <value name="MESSAGE">
                                      <block type="text_join" id="rKk@PtVd[]M+3iD8NDPu">
                                        <mutation items="2"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id="F*@5lw{B(-Cpy@k/swoV">
                                            <field name="TEXT">LOST_MAX:</field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="variables_get" id="|ec-wk0O?}!f~BB036[y">
                                            <field name="VAR" id="smH}+A)Y236{a_[@mD@v" variabletype="">LOST_MAX</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="controls_if" id="OR/7e8}uBnt!z_N{@C[b">
                                        <mutation elseif="1" else="1"></mutation>
                                        <value name="IF0">
                                          <block type="logic_compare" id="mWTRy5OIQd%fjt5Q=74r">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="variables_get" id="lJ?uJ-JC6/GcOHeoZ?DJ">
                                                <field name="VAR" id=".)1/mG=[b1MTe3X|#mDu" variabletype="">ESTRATEGIA</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="text" id="SMJP`vH1^vAbU${{p@7v">
                                                <field name="TEXT">RSI</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="controls_if" id="s{kS1BqXYXkG~l9wQ|Ed">
                                            <mutation else="1"></mutation>
                                            <value name="IF0">
                                              <block type="logic_compare" id="}[99+Ny4yVf;!J=sZqZK">
                                                <field name="OP">GTE</field>
                                                <value name="A">
                                                  <block type="variables_get" id="ul@Ju8.3^:D(c;@fpL8Y">
                                                    <field name="VAR" id="b/]TV`%Q]-/3GCB1jGrp" variabletype="">RSI</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="variables_get" id="p:QWN;Joe|C:$dxAa|q0">
                                                    <field name="VAR" id="67$EZVv8)enUOVv]d!Cd" variabletype="">RSI_MAX</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="purchase" id="Q;`vp48|v7pG%t@W6`uQ">
                                                <field name="PURCHASE_LIST">PUT</field>
                                              </block>
                                            </statement>
                                            <statement name="ELSE">
                                              <block type="controls_if" id=".w6#:3YN02iJYEn~*zeO">
                                                <value name="IF0">
                                                  <block type="logic_compare" id="J8fPxAVJ=pJRsvb2*/,2">
                                                    <field name="OP">LTE</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="j/)Z{xC~w:%S~.$tPFcW">
                                                        <field name="VAR" id="b/]TV`%Q]-/3GCB1jGrp" variabletype="">RSI</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="variables_get" id="w/Z|qUt=o^Q1ACAkf1j,">
                                                        <field name="VAR" id="V@lk`j1q!WwIIG:A,#q#" variabletype="">RSI_MIN</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="purchase" id=")5}r:1X[+$9M7t|Yj`#$">
                                                    <field name="PURCHASE_LIST">CALL</field>
                                                  </block>
                                                </statement>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                        <value name="IF1">
                                          <block type="logic_compare" id="![h(Qt6Nj?K%:|ocg/TH">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="variables_get" id="{.N-I`aQ[7HIcCry.)z?">
                                                <field name="VAR" id=".)1/mG=[b1MTe3X|#mDu" variabletype="">ESTRATEGIA</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="text" id="ZjtMMEymfeN[%[KX0+vl">
                                                <field name="TEXT">TENDENCIA</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO1">
                                          <block type="controls_if" id="i^y1-),y7~|#4?F~nZ_|">
                                            <mutation else="1"></mutation>
                                            <value name="IF0">
                                              <block type="logic_compare" id="!WkMU~7t-BaX/6mu`-0^">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="variables_get" id="nFY.TxN+a_J`Np?^d:2c">
                                                    <field name="VAR" id="W78*}.lntlD-@-~I@J`3" variabletype="">UP_DOWN</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="text" id="+b{$akN|O+G6jWK%I;^P">
                                                    <field name="TEXT">UP</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="purchase" id="iEC?XKkjr/}y*U+60I,N">
                                                <field name="PURCHASE_LIST">CALL</field>
                                              </block>
                                            </statement>
                                            <statement name="ELSE">
                                              <block type="purchase" id="@5$RB6|F?Ws{|s)a6(3k">
                                                <field name="PURCHASE_LIST">PUT</field>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                        <statement name="ELSE">
                                          <block type="controls_if" id="|LS?zQ5rX5$8=-5^!0!a">
                                            <mutation else="1"></mutation>
                                            <value name="IF0">
                                              <block type="logic_compare" id="E:zwvRtvW62L*!?-@?6I">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="variables_get" id="jx[c`r_~`XrtEq_A,GNZ">
                                                    <field name="VAR" id="W78*}.lntlD-@-~I@J`3" variabletype="">UP_DOWN</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="text" id="2)`5e[cW3db1c,$;2*ze">
                                                    <field name="TEXT">UP</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="purchase" id="I=;5DIr@oq0=*K,R%tKb">
                                                <field name="PURCHASE_LIST">PUT</field>
                                              </block>
                                            </statement>
                                            <statement name="ELSE">
                                              <block type="purchase" id="vN#vWYcC:/TcIja[mU[$">
                                                <field name="PURCHASE_LIST">CALL</field>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                        <next>
                                          <block type="variables_set" id="zz|aW3F3{dp_i{0@{Fhm">
                                            <field name="VAR" id="V@lk`j1q!WwIIG:A,#q#" variabletype="">RSI_MIN</field>
                                            <value name="VALUE">
                                              <block type="math_arithmetic" id="$^lmksKi-lIsZWYDDy`W">
                                                <field name="OP">ADD</field>
                                                <value name="A">
                                                  <shadow type="math_number" id="Y$=Lg+0xm0a2/A).=KZ#">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="variables_get" id="I|3Zlv?9OTUin$?^h9-7">
                                                    <field name="VAR" id="V@lk`j1q!WwIIG:A,#q#" variabletype="">RSI_MIN</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <shadow type="math_number" id="hH2{,f,AN2}s|@{}w+l.">
                                                    <field name="NUM">0.1</field>
                                                  </shadow>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="BNDow*G/$)36jCP2w##m">
                                                <field name="VAR" id="67$EZVv8)enUOVv]d!Cd" variabletype="">RSI_MAX</field>
                                                <value name="VALUE">
                                                  <block type="math_arithmetic" id=";S|]9U3Bm*oY)pD3cGKB">
                                                    <field name="OP">MINUS</field>
                                                    <value name="A">
                                                      <shadow type="math_number" id="Y$=Lg+0xm0a2/A).=KZ#">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="variables_get" id="weYrvn=xR+CUr~F[^Lz5">
                                                        <field name="VAR" id="67$EZVv8)enUOVv]d!Cd" variabletype="">RSI_MAX</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <shadow type="math_number" id="xR=};SA(^gV|l+9M^-Zt">
                                                        <field name="NUM">0.1</field>
                                                      </shadow>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="Vt,CkLeK8E?%BmnB`~M)" x="0" y="2588">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="77OBGUl!VF6.]JG)(mq|">
        <value name="IF0">
          <block type="contract_check_result" id="Z!P8r8f7r6jhvKb/P2RY">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="controls_if" id="sI2KvTx:|#0|`=92ky^9">
            <mutation elseif="1" else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="%.U!fG;%Ol9m3rW)zK?~">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="D!@rDnxy0K2RVp;^7$$I">
                    <field name="VAR" id=".)1/mG=[b1MTe3X|#mDu" variabletype="">ESTRATEGIA</field>
                  </block>
                </value>
                <value name="B">
                  <block type="text" id="X7{C}7`@-[ddwj6Y=1|/">
                    <field name="TEXT">RSI</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="controls_if" id="0jtD6JZt`UdW5#0O.J~$">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="e]@a~Uzm1BGsW?WqcK6-">
                    <field name="OP">NEQ</field>
                    <value name="A">
                      <block type="variables_get" id="Trb?*|}wA5sxh*j4!b@o">
                        <field name="VAR" id="W78*}.lntlD-@-~I@J`3" variabletype="">UP_DOWN</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="text" id="Q{.CG@h4},m*,tku89bf">
                        <field name="TEXT">UP</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="M{cVTrhheG*zOirnbq][">
                    <field name="VAR" id="W78*}.lntlD-@-~I@J`3" variabletype="">UP_DOWN</field>
                    <value name="VALUE">
                      <block type="text" id="rk_wmn)^f|v`GkC_-/7T">
                        <field name="TEXT">UP</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="variables_set" id="spI%;cMgCkR}xjZ)S$X$">
                    <field name="VAR" id="W78*}.lntlD-@-~I@J`3" variabletype="">UP_DOWN</field>
                    <value name="VALUE">
                      <block type="text" id="6h-$_]eM;(J[S?]:S=+F">
                        <field name="TEXT">DOWN</field>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </statement>
            <value name="IF1">
              <block type="logic_compare" id="mTE|Ff?0vsc*Z5|5~Lxc">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="5Iee!z{tFQe(Mlpsq94K">
                    <field name="VAR" id=".)1/mG=[b1MTe3X|#mDu" variabletype="">ESTRATEGIA</field>
                  </block>
                </value>
                <value name="B">
                  <block type="text" id="zxM_Pm%/yas68Z=i(/zA">
                    <field name="TEXT">TENDENCIA</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO1">
              <block type="controls_if" id="@V^]p;xp2FZ#-`1w%yab">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="jBjDC0Ux{4;K$ji=l22I">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id=".n`/02U3.7+E(6SQJh(+">
                        <field name="VAR" id="W78*}.lntlD-@-~I@J`3" variabletype="">UP_DOWN</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="text" id="@:jjB-!3NhtK#)fUHBVq">
                        <field name="TEXT">UP</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="#c][8cBMKHz(aF-WWcU[">
                    <field name="VAR" id="W78*}.lntlD-@-~I@J`3" variabletype="">UP_DOWN</field>
                    <value name="VALUE">
                      <block type="text" id="}6aQ]vo7I2~YC0kf8L]t">
                        <field name="TEXT">UP</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="variables_set" id="qvepsZGiv-l]1,I-D}#x">
                    <field name="VAR" id="W78*}.lntlD-@-~I@J`3" variabletype="">UP_DOWN</field>
                    <value name="VALUE">
                      <block type="text" id="zze4$w4V`45+/@!HpK%j">
                        <field name="TEXT">DOWN</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="variables_set" id="X_2$O33GFPoq*YVX,.`b">
                    <field name="VAR" id="6.auVLKFmbS*fj@2sHK+" variabletype="">LOST_MAX_LAST</field>
                    <value name="VALUE">
                      <block type="math_number" id="K2HpEwAegm+/p,srop--">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="controls_if" id="e8{`1l8;qW*^7;ExsyKJ">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="?pe}^0f91m]QOc|gQxC$">
                    <field name="OP">NEQ</field>
                    <value name="A">
                      <block type="variables_get" id="$LTn([Fk0Cx6ve:C;+8U">
                        <field name="VAR" id="W78*}.lntlD-@-~I@J`3" variabletype="">UP_DOWN</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="text" id="T$L5/k;]K0Uwg{oX[RtK">
                        <field name="TEXT">UP</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="E7g!PkAZWPwfs$*HjxCY">
                    <field name="VAR" id="W78*}.lntlD-@-~I@J`3" variabletype="">UP_DOWN</field>
                    <value name="VALUE">
                      <block type="text" id="*`K])(BnD-xzH]9;9Tm%">
                        <field name="TEXT">UP</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="variables_set" id=")geTwI)J3kkV,U.)Z^Sq">
                    <field name="VAR" id="W78*}.lntlD-@-~I@J`3" variabletype="">UP_DOWN</field>
                    <value name="VALUE">
                      <block type="text" id="NKVilqCfm+5^txEP+_^L">
                        <field name="TEXT">DOWN</field>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="@6w_!NzrD(Lsn-z?=`GB">
            <value name="IF0">
              <block type="contract_check_result" id="zm87}U/~V5eGvDdVk0rN">
                <field name="CHECK_RESULT">loss</field>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="T`nH,`h%4`Obj`TCG0uw">
                <field name="VAR" id="6.auVLKFmbS*fj@2sHK+" variabletype="">LOST_MAX_LAST</field>
                <value name="VALUE">
                  <block type="math_arithmetic" id="t(@Zja5TStCX$44Msz?}">
                    <field name="OP">ADD</field>
                    <value name="A">
                      <shadow type="math_number" id="Y$=Lg+0xm0a2/A).=KZ#">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="variables_get" id="]U!`X_w,5=+i7N6g|4jG">
                        <field name="VAR" id="6.auVLKFmbS*fj@2sHK+" variabletype="">LOST_MAX_LAST</field>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="G@-~{.7VG;U-*fk;@{_@">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="*S0Hk7wOF6i)5`hqE};h">
                    <value name="IF0">
                      <block type="logic_compare" id="ZYIxLL;m%8ML0d]Ct83n">
                        <field name="OP">GT</field>
                        <value name="A">
                          <block type="variables_get" id=":2,Ki.GH-fE_|)#${lme">
                            <field name="VAR" id="6.auVLKFmbS*fj@2sHK+" variabletype="">LOST_MAX_LAST</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="%U=K`VHP:h0))O!o/+0L">
                            <field name="VAR" id="smH}+A)Y236{a_[@mD@v" variabletype="">LOST_MAX</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="+lDOWjSF?%Y$n*~pXIci">
                        <field name="VAR" id="smH}+A)Y236{a_[@mD@v" variabletype="">LOST_MAX</field>
                        <value name="VALUE">
                          <block type="variables_get" id="ywRdYj!|41az.2fS-|.$">
                            <field name="VAR" id="6.auVLKFmbS*fj@2sHK+" variabletype="">LOST_MAX_LAST</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="Zno:mO!kX$E-![Z*u|}W">
                        <mutation else="1"></mutation>
                        <value name="IF0">
                          <block type="logic_compare" id="~fksIXq06[br4iPOE4{H">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id="RpCEu3[B:?nbI~ak|kOf">
                                <field name="VAR" id=".)1/mG=[b1MTe3X|#mDu" variabletype="">ESTRATEGIA</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="text" id="oOFH^cg)y.p{i1v,e*b:">
                                <field name="TEXT">RSI</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="controls_if" id="B#c~VQS9p`N65kR43el)">
                            <mutation else="1"></mutation>
                            <value name="IF0">
                              <block type="logic_compare" id="_|X`S!N2!+._!oDj1v:K">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="variables_get" id="u$F1oJo`Co]AYELm_)@9">
                                    <field name="VAR" id="W78*}.lntlD-@-~I@J`3" variabletype="">UP_DOWN</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id="F46XX{xd[e0]pI=jYIE7">
                                    <field name="TEXT">UP</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="r?nC8J4)t4`1{;/1S@D%">
                                <field name="VAR" id="W78*}.lntlD-@-~I@J`3" variabletype="">UP_DOWN</field>
                                <value name="VALUE">
                                  <block type="text" id="_`S0MFv!ber}6Qt(_.{{">
                                    <field name="TEXT">UP</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <statement name="ELSE">
                              <block type="variables_set" id="drOs:WC!Cm_=NjBvjR^S">
                                <field name="VAR" id="W78*}.lntlD-@-~I@J`3" variabletype="">UP_DOWN</field>
                                <value name="VALUE">
                                  <block type="text" id="nAegYr+.9~H-m`..E5B_">
                                    <field name="TEXT">DOWN</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="controls_if" id="bK41)qm7f1Drf2u-)$=[">
                            <mutation else="1"></mutation>
                            <value name="IF0">
                              <block type="logic_compare" id="zc4sA5t+V-z:nl](iyS=">
                                <field name="OP">NEQ</field>
                                <value name="A">
                                  <block type="variables_get" id="%%/Ud(zsod:{wZ!]|1@H">
                                    <field name="VAR" id="W78*}.lntlD-@-~I@J`3" variabletype="">UP_DOWN</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id="l5~H/FC^2Pt^-G}q],cp">
                                    <field name="TEXT">UP</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="kpr5vY)|M)aPr#;ScG]e">
                                <field name="VAR" id="W78*}.lntlD-@-~I@J`3" variabletype="">UP_DOWN</field>
                                <value name="VALUE">
                                  <block type="text" id="AhAyrS,kk_mTEM7ClW1~">
                                    <field name="TEXT">UP</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <statement name="ELSE">
                              <block type="variables_set" id="Lx|0(XQF[bD25cP}r6fZ">
                                <field name="VAR" id="W78*}.lntlD-@-~I@J`3" variabletype="">UP_DOWN</field>
                                <value name="VALUE">
                                  <block type="text" id="XyNO8oBGF*)%IU%/nXfP">
                                    <field name="TEXT">DOWN</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                          </block>
                        </statement>
                        <next>
                          <block type="controls_if" id="}`mp(@E0ut!*_mAv=?2#">
                            <mutation elseif="1" else="1"></mutation>
                            <value name="IF0">
                              <block type="logic_compare" id="Egd}!{9${Hi,R;mt*mIX">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="variables_get" id="?L`q,KzQ]IX~Xo_8k6,y">
                                    <field name="VAR" id=".)1/mG=[b1MTe3X|#mDu" variabletype="">ESTRATEGIA</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id=".0ew=LsvExnrsAxvd$z,">
                                    <field name="TEXT">TENDENCIA</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="ySfwv{#HdjF]i(^92qif">
                                <field name="VAR" id=".)1/mG=[b1MTe3X|#mDu" variabletype="">ESTRATEGIA</field>
                                <value name="VALUE">
                                  <block type="text" id="XQblXWgSz%I4N)MT#XY`">
                                    <field name="TEXT">RSI</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <value name="IF1">
                              <block type="logic_compare" id="^7I8s@I8,qmX~a!b):lN">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="variables_get" id="D!D^:yLBpDHn|c/*mwy]">
                                    <field name="VAR" id=".)1/mG=[b1MTe3X|#mDu" variabletype="">ESTRATEGIA</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id="p(`Ukg`5h);I3qxCpV.Q">
                                    <field name="TEXT">RSI</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO1">
                              <block type="variables_set" id="m|N2S1SGg-Em-MsA2ek,">
                                <field name="VAR" id=".)1/mG=[b1MTe3X|#mDu" variabletype="">ESTRATEGIA</field>
                                <value name="VALUE">
                                  <block type="text" id="m4PZ+2xX1r^rU9}s59##">
                                    <field name="TEXT">INVERTIDA</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <statement name="ELSE">
                              <block type="variables_set" id="9Jmt`2)O|_yLV!Pv}s7o">
                                <field name="VAR" id=".)1/mG=[b1MTe3X|#mDu" variabletype="">ESTRATEGIA</field>
                                <value name="VALUE">
                                  <block type="text" id="7{b1_WJ)@J397R)w~HIu">
                                    <field name="TEXT">TENDENCIA</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="#=yO.C1rn7n]Zw*%E1AI">
                <statement name="DO0">
                  <block type="trade_again" id="75pm)W(P#O~lD+G,KU0p"></block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>