<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="/[Gih?Iv4qe.~`YP%m`}">::stake</variable>
    <variable type="" id="Q_TQ:!g@%;69nn.QwFUu">::martingale</variable>
    <variable type="" id="E_ebQS?}]NGd#r|BC8:k">::targetprofit</variable>
    <variable type="" id=")T@q-SWqd`C{kV/W`O?M">::stoploss</variable>
    <variable type="" id=";7P~:AG$Ej$!oxaeSO@F">total</variable>
    <variable type="" id="L*fYE%sK_[kYr^@pjJ`u">stake</variable>
    <variable type="" id="8A5uVg%J?tf|ovhu=$,m">steps</variable>
    <variable type="" id="6NaG.l7tftNJz*bU8+/_">initial</variable>
    <variable type="" id="QIl]!]{5SSH;FC/4jUHX">targetprofit</variable>
    <variable type="" id=")akE$:H:kcaV6o:%ic5I">directions</variable>
    <variable type="" id="IhLr_7[7JVCZFg_~J`51">stoploss</variable>
    <variable type="" id="Z(g@eDMe6AF9hpVUD^SR">martingale</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" 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">digits</field>
    <field name="TRADETYPE_LIST">evenodd</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="procedures_callnoreturn" id="FO3=?n}H[195QV;7B.$c">
        <mutation name="Config">
          <arg name="::stake"></arg>
          <arg name="::martingale"></arg>
          <arg name="::targetprofit"></arg>
          <arg name="::stoploss"></arg>
        </mutation>
        <value name="ARG0">
          <block type="math_number" id="4w!,d*6!AX6wYx^9!Yu_">
            <field name="NUM">0.35</field>
          </block>
        </value>
        <value name="ARG1">
          <block type="math_number" id="9}z7O|6T4S~!!cN%[tQk">
            <field name="NUM">2.2</field>
          </block>
        </value>
        <value name="ARG2">
          <block type="math_number" id="j`18PbaWwDN0ZU;uO%%B">
            <field name="NUM">10000</field>
          </block>
        </value>
        <value name="ARG3">
          <block type="math_number" id="N=A=$@Z#A}MzIX|#-Yzj">
            <field name="NUM">100000</field>
          </block>
        </value>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <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>
        <field name="SECONDBARRIEROFFSETTYPE_LIST">-</field>
        <value name="DURATION">
          <shadow type="math_number" id="O*@58sDc=!cOO}*b2vf9">
            <field name="NUM">2</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="Fw)hyS!0i%X?.2XId#V@">
            <field name="VAR" id="L*fYE%sK_[kYr^@pjJ`u" variabletype="">stake</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="0" y="524">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="?1S.3do?(_w/jSsG^U}#">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="Qyo={YHeRah6w!e,7}lC">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="lists_getIndex" id="uy}N{.bp)1#(9Q/S|BOo">
                <mutation statement="false" at="true"></mutation>
                <field name="MODE">GET</field>
                <field name="WHERE">FROM_START</field>
                <value name="VALUE">
                  <block type="variables_get" id="Pj)y57T^EK4OsuhcB-bZ">
                    <field name="VAR" id=")akE$:H:kcaV6o:%ic5I" variabletype="">directions</field>
                  </block>
                </value>
                <value name="AT">
                  <block type="variables_get" id="m^wD(ik$1uwVZR4C4#~Z">
                    <field name="VAR" id="8A5uVg%J?tf|ovhu=$,m" variabletype="">steps</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="text" id="3%^K%ZlICEny^H8L#B*2">
                <field name="TEXT">c</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
            <field name="PURCHASE_LIST">DIGITEVEN</field>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="purchase" id="|/X_3jnnGm@U5]$zwx*X">
            <field name="PURCHASE_LIST">DIGITODD</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="0" y="751">
    <statement name="AFTERPURCHASE_STACK">
      <block type="math_change" id="P[[^j|$8+o*oMzQ+N0`m" collapsed="true">
        <field name="VAR" id=";7P~:AG$Ej$!oxaeSO@F" variabletype="">total</field>
        <value name="DELTA">
          <shadow type="math_number" id="DF.H^oxY0uTk{:k$mErV">
            <field name="NUM">1</field>
          </shadow>
          <block type="read_details" id="hq/N)3iiSK(XBSk9WFSU">
            <field name="DETAIL_INDEX">4</field>
          </block>
        </value>
        <next>
          <block type="math_change" id="5XjaTMs!1qk%SC)EJM@U" collapsed="true">
            <field name="VAR" id="8A5uVg%J?tf|ovhu=$,m" variabletype="">steps</field>
            <value name="DELTA">
              <shadow type="math_number" id="UgO8tVxtVn-_/^P5l0g*">
                <field name="NUM">1</field>
              </shadow>
            </value>
            <next>
              <block type="variables_set" id="WCLIzv9MB1%dEYJ?EJMO" collapsed="true">
                <field name="VAR" id="8A5uVg%J?tf|ovhu=$,m" variabletype="">steps</field>
                <value name="VALUE">
                  <block type="logic_ternary" id="pJHegsf|52?o;.fy::/$">
                    <value name="IF">
                      <block type="logic_compare" id="^S7H}d|tG~Y6kP=9o`@W">
                        <field name="OP">GT</field>
                        <value name="A">
                          <block type="variables_get" id="6G)1,=1ON%!dH2_Rc,;V">
                            <field name="VAR" id="8A5uVg%J?tf|ovhu=$,m" variabletype="">steps</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="lists_length" id="rBSpKqjc;{6kbk$^Xo2m">
                            <value name="VALUE">
                              <block type="variables_get" id="]2[(q1i#jnC*GH(u1ilS">
                                <field name="VAR" id=")akE$:H:kcaV6o:%ic5I" variabletype="">directions</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="THEN">
                      <block type="math_number" id="0i:D+xdIPe2rWgQa[*RF">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                    <value name="ELSE">
                      <block type="variables_get" id="bQO]#s(-5_loe[6an|[D">
                        <field name="VAR" id="8A5uVg%J?tf|ovhu=$,m" variabletype="">steps</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="tf54]QYA]DX[GxRFS-J(" collapsed="true">
                    <field name="VAR" id="L*fYE%sK_[kYr^@pjJ`u" variabletype="">stake</field>
                    <value name="VALUE">
                      <block type="logic_ternary" id="a5U{$FFqOhF]AoAEhz.-">
                        <value name="IF">
                          <block type="contract_check_result" id="uoN~lwb9|`4l6$VpyN{Q">
                            <field name="CHECK_RESULT">win</field>
                          </block>
                        </value>
                        <value name="THEN">
                          <block type="variables_get" id="*FZu.mGEl~_uoy,0#%1U">
                            <field name="VAR" id="6NaG.l7tftNJz*bU8+/_" variabletype="">initial</field>
                          </block>
                        </value>
                        <value name="ELSE">
                          <block type="math_arithmetic" id="O0EYj^[]E0HE2;vSD0vM">
                            <field name="OP">MULTIPLY</field>
                            <value name="A">
                              <shadow type="math_number" id=",g43|V{$^%0w4s5;UZ|[">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="variables_get" id="xiexcZ)Xcl4[oW{-+xu:">
                                <field name="VAR" id="L*fYE%sK_[kYr^@pjJ`u" variabletype="">stake</field>
                              </block>
                            </value>
                            <value name="B">
                              <shadow type="math_number" id="(ewq8%}wk?rA%LSg3{/5">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="variables_get" id="fOc;i9g,,qP.AD^txk6]">
                                <field name="VAR" id="Z(g@eDMe6AF9hpVUD^SR" variabletype="">martingale</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="controls_if" id="R)j0{A-Y]#P.6TFnhh)f" collapsed="true">
                        <mutation else="1"></mutation>
                        <value name="IF0">
                          <block type="logic_operation" id="h.zgx4z2mwpMZ)KQ|^s[" inline="false">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="logic_compare" id="l,{+ue*LyL%M:p?0S6}z">
                                <field name="OP">LT</field>
                                <value name="A">
                                  <block type="variables_get" id="MTEMg%6C!E+qH2jJgJhT">
                                    <field name="VAR" id=";7P~:AG$Ej$!oxaeSO@F" variabletype="">total</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="variables_get" id="74-a^KZ[t}.$PK0#%e.=">
                                    <field name="VAR" id="QIl]!]{5SSH;FC/4jUHX" variabletype="">targetprofit</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id="h5M7kw8CP=?=)}j071*a">
                                <field name="OP">GT</field>
                                <value name="A">
                                  <block type="variables_get" id="AOV3#0ti+#Dw=jbb8.8(">
                                    <field name="VAR" id=";7P~:AG$Ej$!oxaeSO@F" variabletype="">total</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_single" id="Qy;MZNH/*Pj}V!smy;Vr">
                                    <field name="OP">NEG</field>
                                    <value name="NUM">
                                      <shadow type="math_number" id="F:5UeT!RwXcj69LZ~+^,">
                                        <field name="NUM">9</field>
                                      </shadow>
                                      <block type="math_single" id="NOHt#F{)eb)]*THF=j;V">
                                        <field name="OP">ABS</field>
                                        <value name="NUM">
                                          <shadow type="math_number" id="{aHazB02k][]}_7fSy=E">
                                            <field name="NUM">9</field>
                                          </shadow>
                                          <block type="variables_get" id="#.t3fqD;2|=.4~Wq*_J.">
                                            <field name="VAR" id="IhLr_7[7JVCZFg_~J`51" variabletype="">stoploss</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="timeout" id="|m]3`Zx1$-j4{%livnt4">
                            <statement name="TIMEOUTSTACK">
                              <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
                            </statement>
                            <value name="SECONDS">
                              <shadow type="math_number" id="1;YL2505!HlM1+R`|eE.">
                                <field name="NUM">4</field>
                              </shadow>
                            </value>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="text_print" id="p/2}q8}wfhIDq)7CEB0r">
                            <value name="TEXT">
                              <shadow type="text" id="@#v9AUpNE^=xZ(V3t)hC">
                                <field name="TEXT">abc</field>
                              </shadow>
                              <block type="text_join" id="6;R}9,l[+eY~_v=m,Q1w">
                                <mutation items="2"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="|yKvn)UEue4Ty1`!|x%(">
                                    <field name="TEXT">Total: </field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="variables_get" id="LI#JE:PE(Rd+jx9wWMY^">
                                    <field name="VAR" id=";7P~:AG$Ej$!oxaeSO@F" variabletype="">total</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="B[=EAwo,po+1~$Wg37xd" x="0" y="959">
    <mutation>
      <arg name="::stake" varid="/[Gih?Iv4qe.~`YP%m`}"></arg>
      <arg name="::martingale" varid="Q_TQ:!g@%;69nn.QwFUu"></arg>
      <arg name="::targetprofit" varid="E_ebQS?}]NGd#r|BC8:k"></arg>
      <arg name="::stoploss" varid=")T@q-SWqd`C{kV/W`O?M"></arg>
    </mutation>
    <field name="NAME">Config</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="T7nPzrSMyk|]p$L+6o1N">
        <field name="VAR" id="L*fYE%sK_[kYr^@pjJ`u" variabletype="">stake</field>
        <value name="VALUE">
          <block type="variables_get" id="U[p)a%.:iJ!mGh96|wfX">
            <field name="VAR" id="/[Gih?Iv4qe.~`YP%m`}" variabletype="">::stake</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="pp_-@t+UObb1AIx^nos^">
            <field name="VAR" id="6NaG.l7tftNJz*bU8+/_" variabletype="">initial</field>
            <value name="VALUE">
              <block type="variables_get" id="Mb=EovtZb(~.qW@[iat9">
                <field name="VAR" id="/[Gih?Iv4qe.~`YP%m`}" variabletype="">::stake</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="0s=PC/L/`:e?@(S!oIia">
                <field name="VAR" id="QIl]!]{5SSH;FC/4jUHX" variabletype="">targetprofit</field>
                <value name="VALUE">
                  <block type="variables_get" id="bXTE1rHN?RLXnzjc:~7{">
                    <field name="VAR" id="E_ebQS?}]NGd#r|BC8:k" variabletype="">::targetprofit</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id=".V`j;YQi]l7nNNvR1.;8">
                    <field name="VAR" id="IhLr_7[7JVCZFg_~J`51" variabletype="">stoploss</field>
                    <value name="VALUE">
                      <block type="variables_get" id="}c7Q7XkIo4/t?wns;%Qx">
                        <field name="VAR" id=")T@q-SWqd`C{kV/W`O?M" variabletype="">::stoploss</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="0y+`qW32i([Z4oa1_o#Y">
                        <field name="VAR" id="Z(g@eDMe6AF9hpVUD^SR" variabletype="">martingale</field>
                        <value name="VALUE">
                          <block type="variables_get" id="vsj|R*_%Hn)nw9HJ@#5?">
                            <field name="VAR" id="Q_TQ:!g@%;69nn.QwFUu" variabletype="">::martingale</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="aQvm.kLA{H0xfO]P,2Sw">
                            <field name="VAR" id="8A5uVg%J?tf|ovhu=$,m" variabletype="">steps</field>
                            <value name="VALUE">
                              <block type="math_number" id="o):E1PvM!hZ_r/;;~V~f">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="RG)/_y7M33#=Yz7JK10D" collapsed="true">
                                <field name="VAR" id=")akE$:H:kcaV6o:%ic5I" variabletype="">directions</field>
                                <value name="VALUE">
                                  <block type="lists_split" id="6G3|OR!qWtGtJ+*}^d5p">
                                    <mutation mode="SPLIT"></mutation>
                                    <field name="MODE">SPLIT</field>
                                    <value name="INPUT">
                                      <block type="text" id="`MFg4ffOTBt1mJhXyTRj">
                                        <field name="TEXT">c,c,p,p</field>
                                      </block>
                                    </value>
                                    <value name="DELIM">
                                      <shadow type="text" id="1]V8/GZb_jof(iw88A?4">
                                        <field name="TEXT">,</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>