﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="#83fb7V(b3zAjlyY9)o3">stake</variable>
    <variable type="" id=";,]!?M_M6qN4m]v2pYm;">total</variable>
    <variable type="" id="jH+vo[R2FG;ir}8%s^m[">martingale</variable>
    <variable type="" id="c$q1[^!~kmI$)]x.vlPW">higher</variable>
    <variable type="" id="+8v!MX;V)n2o{npY?^I[">barrier</variable>
    <variable type="" id="BZ7r^lA{1(h}MAFI2nci">steps</variable>
    <variable type="" id="^dKV@V;xFMaG77)::()h">targetProfit</variable>
    <variable type="" id="RoZ~_g;@/SKTMc(:ted*">stopLoss</variable>
    <variable type="" id="TNn0e@nMcuNO/,E*WGc|">initialStake</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="7" y="-142">
    <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">higherlower</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="`S?$Dj%X@@y5g@]j[(8^">
        <field name="VAR" id="#83fb7V(b3zAjlyY9)o3" variabletype="">stake</field>
        <value name="VALUE">
          <block type="math_number" id="vW@ADQo:?mpIY($8|#_)">
            <field name="NUM">0.35</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="[b5g+zeab(wdaX:HL2ri">
            <field name="VAR" id="jH+vo[R2FG;ir}8%s^m[" variabletype="">martingale</field>
            <value name="VALUE">
              <block type="math_number" id="?Ce?.y](~5E9cP(Yrz2K">
                <field name="NUM">1.7</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id=")K6zUm?K~|R6Kf%{x,-[">
                <field name="VAR" id="+8v!MX;V)n2o{npY?^I[" variabletype="">barrier</field>
                <value name="VALUE">
                  <block type="math_number" id="*2p4cKB*MV?oj`N=pdiW">
                    <field name="NUM">1</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="mPCjB$8nk{{3*,l5l3lA">
                    <field name="VAR" id="^dKV@V;xFMaG77)::()h" variabletype="">targetProfit</field>
                    <value name="VALUE">
                      <block type="math_number" id="SQ|nU[@l}dM-#AmadIVd">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="4*SIRJ6dFi5_H/1JMr6?">
                        <field name="VAR" id="RoZ~_g;@/SKTMc(:ted*" variabletype="">stopLoss</field>
                        <value name="VALUE">
                          <block type="math_number" id="WuT+fNYP2TC.r~#iu^1I">
                            <field name="NUM">50</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="D-%A*|P/m$07yf2Y/XCf" collapsed="true">
                            <field name="VAR" id="TNn0e@nMcuNO/,E*WGc|" variabletype="">initialStake</field>
                            <value name="VALUE">
                              <block type="variables_get" id="Jeu58H[IWa;Y_%5~u-pO">
                                <field name="VAR" id="#83fb7V(b3zAjlyY9)o3" variabletype="">stake</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="controls_if" id="P=~0oD,ikN(kHN2yY/re">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="variables_get" id="T)kaljm|?9l9Q%CcXd}O">
            <field name="VAR" id="c$q1[^!~kmI$)]x.vlPW" variabletype="">higher</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
            <field name="DURATIONTYPE_LIST">t</field>
            <field name="CURRENCY_LIST">USD</field>
            <field name="BARRIEROFFSETTYPE_LIST">+</field>
            <value name="DURATION">
              <shadow type="math_number" id="O*@58sDc=!cOO}*b2vf9">
                <field name="NUM">5</field>
              </shadow>
            </value>
            <value name="AMOUNT">
              <shadow type="math_number" id="ml)25~7^q}3I9}vjf:%K">
                <field name="NUM">1</field>
              </shadow>
              <block type="variables_get" id="Axd7A7?VVMOT56?1|Qvw">
                <field name="VAR" id="#83fb7V(b3zAjlyY9)o3" variabletype="">stake</field>
              </block>
            </value>
            <value name="BARRIEROFFSET">
              <block type="variables_get" id="h,t0X2o~]zAOkVcsY-3l">
                <field name="VAR" id="+8v!MX;V)n2o{npY?^I[" variabletype="">barrier</field>
              </block>
            </value>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="tradeOptions" id="(!fQyJE8HnywG([Ko/IT">
            <field name="DURATIONTYPE_LIST">t</field>
            <field name="CURRENCY_LIST">USD</field>
            <field name="BARRIEROFFSETTYPE_LIST">-</field>
            <value name="DURATION">
              <shadow type="math_number" id="+z:hr~sH+?PT65dSnZo}">
                <field name="NUM">5</field>
              </shadow>
            </value>
            <value name="AMOUNT">
              <shadow type="math_number" id="ml)25~7^q}3I9}vjf:%K">
                <field name="NUM">1</field>
              </shadow>
              <block type="variables_get" id="#wn-bg]Zfz4cN8d@ok8_">
                <field name="VAR" id="#83fb7V(b3zAjlyY9)o3" variabletype="">stake</field>
              </block>
            </value>
            <value name="BARRIEROFFSET">
              <block type="variables_get" id="{SI+RT|%$p%Tr2$Cgwn_">
                <field name="VAR" id="+8v!MX;V)n2o{npY?^I[" variabletype="">barrier</field>
              </block>
            </value>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="640" y="394">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="DYjK0(v2I{VysIs{P)c`">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="variables_get" id="rYRtXFl*{RP+[2iO.hX]">
            <field name="VAR" id="c$q1[^!~kmI$)]x.vlPW" variabletype="">higher</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
            <field name="PURCHASE_LIST">CALL</field>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="purchase" id="oE,RuV293[9z}#~-e`A8">
            <field name="PURCHASE_LIST">PUT</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="0" y="651">
    <statement name="AFTERPURCHASE_STACK">
      <block type="math_change" id="xNC7mD{g.W#WNol$MxAd">
        <field name="VAR" id=";,]!?M_M6qN4m]v2pYm;" variabletype="">total</field>
        <value name="DELTA">
          <shadow type="math_number" id="O!EX,53Hw{BUZS5.m#80">
            <field name="NUM">1</field>
          </shadow>
          <block type="read_details" id="UhO!KhkH5$71wQAM0S;B">
            <field name="DETAIL_INDEX">4</field>
          </block>
        </value>
        <next>
          <block type="controls_if" id="SbmG8:~_{q1j,as|`):q">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="contract_check_result" id="_UDUd_61cefZ#Myj*}^R">
                <field name="CHECK_RESULT">win</field>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="Z_:yJQl^/BK/H#oAQq#P">
                <field name="VAR" id="BZ7r^lA{1(h}MAFI2nci" variabletype="">steps</field>
                <value name="VALUE">
                  <block type="math_number" id="X:l2|1AQ}R@zu1[gI2CQ">
                    <field name="NUM">0</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="0-mT=g,jfurB?w=JTs0j">
                    <field name="VAR" id="#83fb7V(b3zAjlyY9)o3" variabletype="">stake</field>
                    <value name="VALUE">
                      <block type="variables_get" id="9qI9J0mHdpci+5^nfB9L">
                        <field name="VAR" id="TNn0e@nMcuNO/,E*WGc|" variabletype="">initialStake</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="variables_set" id=".+]7(Oo0_uY;)JY+}+IK">
                <field name="VAR" id="c$q1[^!~kmI$)]x.vlPW" variabletype="">higher</field>
                <value name="VALUE">
                  <block type="logic_ternary" id="Z#+-@UK9?P0YjiK}|KFn">
                    <value name="IF">
                      <block type="variables_get" id="5MrnkSIc*aIRGr@E-Ci#">
                        <field name="VAR" id="c$q1[^!~kmI$)]x.vlPW" variabletype="">higher</field>
                      </block>
                    </value>
                    <value name="THEN">
                      <block type="logic_boolean" id="4hOBeUCo=E*h*RJ]L|o/">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                    <value name="ELSE">
                      <block type="logic_boolean" id="VX`2IR,M@3S{EeNbYRD4">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="math_change" id="ssfQvBgt;c)X2vG+wi6D">
                    <field name="VAR" id="BZ7r^lA{1(h}MAFI2nci" variabletype="">steps</field>
                    <value name="DELTA">
                      <shadow type="math_number" id="%x/e$EN:{eL$.n+_mHCN">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="controls_if" id="F+]fOPYPjsd)`|I{4FAs">
                        <value name="IF0">
                          <block type="logic_compare" id="OFHifB:w?4H+MA-c}T=d">
                            <field name="OP">GT</field>
                            <value name="A">
                              <block type="variables_get" id="PfKmH29_Bb~3ab6bl!tf">
                                <field name="VAR" id="BZ7r^lA{1(h}MAFI2nci" variabletype="">steps</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="U)NL_5PtVDI0LCeE9.7M">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="urIT`!:CmSd,!5BYECo#">
                            <field name="VAR" id="#83fb7V(b3zAjlyY9)o3" variabletype="">stake</field>
                            <value name="VALUE">
                              <block type="math_arithmetic" id="3|^,Ka#Hv]Fj-5#~sTU]">
                                <field name="OP">MULTIPLY</field>
                                <value name="A">
                                  <shadow type="math_number" id="DPT]O)i4@x%@$zdvOyo^">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="variables_get" id="cZ:_=4{_Dcgown+#k+Rd">
                                    <field name="VAR" id="#83fb7V(b3zAjlyY9)o3" variabletype="">stake</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number" id="RBiuncw$d7hX)bNziv+?">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="variables_get" id="R(I?$6L/KE87{)@ci@z*">
                                    <field name="VAR" id="jH+vo[R2FG;ir}8%s^m[" variabletype="">martingale</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="tJ|)8:H}uV/[,I:!j-3/">
                <mutation elseif="1" else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="I1Hha}P+!j|jQpO6kZiy">
                    <field name="OP">GTE</field>
                    <value name="A">
                      <block type="variables_get" id="+}EL=3~,.b#Nd;#-c.JK">
                        <field name="VAR" id=";,]!?M_M6qN4m]v2pYm;" variabletype="">total</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="UJP@1F(ivyrfPl_g,5uS">
                        <field name="VAR" id="^dKV@V;xFMaG77)::()h" variabletype="">targetProfit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="text_print" id="y4.u5A~;HsLh$SofCdvg">
                    <value name="TEXT">
                      <shadow type="text" id="h7N7!p4mW)J|c1}.#Ef!">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="6H):[lIK|r8t7SxMYHwf">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="?`SA]Ogm}x;=bOo}:f5;">
                            <field name="TEXT">Target Profit: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id="#:^|o-MyLtY{9G8e=@+A">
                            <field name="VAR" id=";,]!?M_M6qN4m]v2pYm;" variabletype="">total</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <value name="IF1">
                  <block type="logic_compare" id="7X+?l)gv`dfGf;Xw|5S_">
                    <field name="OP">LTE</field>
                    <value name="A">
                      <block type="variables_get" id="CqR^f5ot5*Q;Zg~JzqSu">
                        <field name="VAR" id=";,]!?M_M6qN4m]v2pYm;" variabletype="">total</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_single" id="_s(w#%@;4qYMHKpjXi#.">
                        <field name="OP">NEG</field>
                        <value name="NUM">
                          <shadow type="math_number" id="M;xl8@,jogb]=j_)F4W0">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="math_single" id="Dtfosp}pQfw74%9jJkYj">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow type="math_number" id="vqt(CuIfa4v+E*Lu?M9A">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="variables_get" id="KkSM`q#Lj0;T+u2M){;W">
                                <field name="VAR" id="RoZ~_g;@/SKTMc(:ted*" variabletype="">stopLoss</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO1">
                  <block type="text_print" id="C/@Kq.N1fWyf$D9ZOt;0">
                    <value name="TEXT">
                      <shadow type="text" id="h7N7!p4mW)J|c1}.#Ef!">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="fEo~em%df|F6sWaNQc{d">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="b][}Akg6[39plfP;06~i">
                            <field name="TEXT">Stop Loss: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id=",BMMw9)t9rje,GqzPL)6">
                            <field name="VAR" id=";,]!?M_M6qN4m]v2pYm;" variabletype="">total</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="notify" id="1h8$SEKB+~7T1CG#-+m#">
                    <field name="NOTIFICATION_TYPE">success</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <shadow type="text" id="py3:~m!Y#Ig+nI~/|oB9">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="[@eA}`]voRHXicW7{#*Q">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="qKgVqhF(m_n^jOhL)NU/">
                            <field name="TEXT">Total Profit: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id="6lR.E:mlQx=,}SD721Y*">
                            <field name="VAR" id=";,]!?M_M6qN4m]v2pYm;" variabletype="">total</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
                    </next>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>