<xml xmlns="http://www.w3.org/1999/xhtml" is_dbot="true" collection="false">
  <variables>
    <variable type="" id="Din]:dQ^5Mr!XBPuw7MY" islocal="false" iscloud="false">target</variable>
    <variable type="" id="um;!c:m?8Fko57!oM#/2" islocal="false" iscloud="false">idx</variable>
    <variable type="" id="hLr!L;2#ZY54N(;c1$lA" islocal="false" iscloud="false">ticks</variable>
    <variable type="" id="`8vAXGK[%eeRM9ql`*_K" islocal="false" iscloud="false">betAmt</variable>
    <variable type="" id="T2!E3Fil,-90R384qa/G" islocal="false" iscloud="false">initBet</variable>
    <variable type="" id="=3heUF]SK|Fv4[5fK~WY" islocal="false" iscloud="false">seq</variable>
  </variables>
  <block type="trade_definition" id="+5x0rMx{f@*dNwO[z)Nf" x="0" y="0">
    <statement name="TRADE_OPTIONS">
      <block type="trade_definition_market" id="f4x0O4j`kCsbhbicEtha" deletable="false" movable="false">
        <field name="MARKET_LIST">synthetic_index</field>
        <field name="SUBMARKET_LIST">random_index</field>
        <field name="SYMBOL_LIST">R_100</field>
        <next>
          <block type="trade_definition_tradetype" id=":.ccX.y;#(h;,/5O2s8s" deletable="false" movable="false">
            <field name="TRADETYPECAT_LIST">callput</field>
            <field name="TRADETYPE_LIST">callput</field>
            <next>
              <block type="trade_definition_contracttype" id="iz[R4C^h0hSCl$+0g|{V" deletable="false" movable="false">
                <field name="TYPE_LIST">both</field>
                <next>
                  <block type="trade_definition_candleinterval" id="oj-SL(-gh$1!R:2z$/j(" deletable="false" movable="false">
                    <field name="CANDLEINTERVAL_LIST">60</field>
                    <next>
                      <block type="trade_definition_restartbuysell" id="JCXAs6v9m%mlT^Cl^MW." deletable="false" movable="false">
                        <field name="TIME_MACHINE_ENABLED">FALSE</field>
                        <next>
                          <block type="trade_definition_restartonerror" id="2.cJrDrw;J!nbKp%3Gnw" deletable="false" movable="false">
                            <field name="RESTARTONERROR">TRUE</field>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="|f$KnnxFUFb%}2z{HfkC">
        <field name="VAR" id="Din]:dQ^5Mr!XBPuw7MY" variabletype="">target</field>
        <value name="VALUE">
          <block type="math_number" id="`cG=SW)ci4v?5|;Dgp%.">
            <field name="NUM">5</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="9|FToSN*(zdSylYx$hAe">
            <field name="VAR" id="T2!E3Fil,-90R384qa/G" variabletype="">initBet</field>
            <value name="VALUE">
              <block type="math_number" id="9-F|-xkpaRx^M;7seIjQ">
                <field name="NUM">0.35</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="32.+mi+fz}X4{tv;Bd4L">
                <field name="VAR" id="`8vAXGK[%eeRM9ql`*_K" variabletype="">betAmt</field>
                <value name="VALUE">
                  <block type="variables_get" id="x#?zoj!Gq;1xw(ER}dz1">
                    <field name="VAR" id="T2!E3Fil,-90R384qa/G" variabletype="">initBet</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="m`=,iy;:aLsJ;V66OK%g">
                    <field name="VAR" id="hLr!L;2#ZY54N(;c1$lA" variabletype="">ticks</field>
                    <value name="VALUE">
                      <block type="math_number" id="egH/3[mHwkRcQ3lz3JC?">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="Hd3_13UeWmr`QxwJ9zkl">
                        <field name="VAR" id="um;!c:m?8Fko57!oM#/2" variabletype="">idx</field>
                        <value name="VALUE">
                          <block type="math_number" id=")W.rruf+hSzi/$WmKZMM">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="jNS}ijwqynMhp$zxYCkt">
                            <field name="VAR" id="=3heUF]SK|Fv4[5fK~WY" variabletype="">seq</field>
                            <value name="VALUE">
                              <block type="lists_split" id="OOf6SVf]NtSM$P~5nO!3">
                                <mutation mode="SPLIT"></mutation>
                                <field name="MODE">SPLIT</field>
                                <value name="INPUT">
                                  <block type="text" id="Uc-1]AV9`ocgv5pmcU{%">
                                    <field name="TEXT">C,P,C,C,P,P</field>
                                  </block>
                                </value>
                                <value name="DELIM">
                                  <shadow type="text" id="_n.a}7`S`B_iU--*d|,L">
                                    <field name="TEXT">,</field>
                                  </shadow>
                                </value>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="trade_definition_tradeoptions" id="6eYawlKzu}@HzPbHjF=V">
        <mutation has_first_barrier="false" has_second_barrier="false" has_prediction="false"></mutation>
        <field name="DURATIONTYPE_LIST">t</field>
        <value name="DURATION">
          <shadow type="math_number" id="8eECeW!)v%/[V_t|IY`E">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="UUO)w+d,3{y_:|/ePM,C">
            <field name="VAR" id="hLr!L;2#ZY54N(;c1$lA" variabletype="">ticks</field>
          </block>
        </value>
        <value name="AMOUNT">
          <shadow type="math_number" id="dZFKb)[yeYcfyhE}@#1f">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id=")P~bK-(_czDVS{~O^N_x">
            <field name="VAR" id="`8vAXGK[%eeRM9ql`*_K" variabletype="">betAmt</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="during_purchase" id="oYnVc!?B?yz7P7R.P6A+" collapsed="true" x="796" y="0">
    <statement name="DURING_PURCHASE_STACK">
      <block type="controls_if" id="4AEo=kb2#*g.:,7R^e)D">
        <value name="IF0">
          <block type="check_sell" id="L7*k`SyF@K}r3MQ7ZBMt"></block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id=":ur.FO#Q5t`FNC%`sNio" collapsed="true" x="796" y="96">
    <statement name="AFTERPURCHASE_STACK">
      <block type="math_change" id="#UPVW`NsUeU#MVej9paB">
        <field name="VAR" id="um;!c:m?8Fko57!oM#/2" variabletype="">idx</field>
        <value name="DELTA">
          <shadow type="math_number" id="9rdV]]-o,81w;Wdy;9dD">
            <field name="NUM">1</field>
          </shadow>
        </value>
        <next>
          <block type="variables_set" id="8I]GT3U-PqlNQR=Ca(A8">
            <field name="VAR" id="um;!c:m?8Fko57!oM#/2" variabletype="">idx</field>
            <value name="VALUE">
              <block type="logic_ternary" id="FprW6|oh?)f2H}+/Ngss">
                <value name="IF">
                  <block type="logic_compare" id="Ii:1oOCz`)TZ3TKZe;/U">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="variables_get" id="?Hkf24rIHA-KDNG5mr,P">
                        <field name="VAR" id="um;!c:m?8Fko57!oM#/2" variabletype="">idx</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="lists_length" id="+RU!(V8|rVL9XjrV[y7+">
                        <value name="VALUE">
                          <block type="variables_get" id="-4ZzY,-U=:5CLS%8akMv">
                            <field name="VAR" id="=3heUF]SK|Fv4[5fK~WY" variabletype="">seq</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="THEN">
                  <block type="math_number" id="mH(hXvg5V*!Nk8(j3WR7">
                    <field name="NUM">1</field>
                  </block>
                </value>
                <value name="ELSE">
                  <block type="variables_get" id="r[Re,lswxdS/6[_;u^|A">
                    <field name="VAR" id="um;!c:m?8Fko57!oM#/2" variabletype="">idx</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="O]#84kaF2aPQsO?RA+)!">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="contract_check_result" id="+J[eNa]Ra@06D.70X=4n">
                    <field name="CHECK_RESULT">win</field>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="G(j8W(!lLjRlKr|Mpv{u">
                    <field name="VAR" id="`8vAXGK[%eeRM9ql`*_K" variabletype="">betAmt</field>
                    <value name="VALUE">
                      <block type="variables_get" id="t@e0hE(h0NVx^ksMO)8z">
                        <field name="VAR" id="T2!E3Fil,-90R384qa/G" variabletype="">initBet</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="variables_set" id="}a?l_4Op2P9H.CGi0cn:">
                    <field name="VAR" id="`8vAXGK[%eeRM9ql`*_K" variabletype="">betAmt</field>
                    <value name="VALUE">
                      <block type="math_arithmetic" id="9-zpVLnrWu04Mq5!FIY@">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow type="math_number" id=":lQm|*`!V.o-*v=N_=uM">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="=,lsr^Wc`n/ugb`u#adS">
                            <field name="VAR" id="`8vAXGK[%eeRM9ql`*_K" variabletype="">betAmt</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="I,ichnhajtMN?ngQN`-Y">
                            <field name="NUM">2.25</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="8%EOg{usa_Q:f*Wh!,a,">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="3wg=R|@c2e+cOm{MJvHN">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="total_profit" id="QLof$h.lb[tK/4kHi`;f"></block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="Ygk0|@)MKC7*yb}zmww}">
                            <field name="VAR" id="Din]:dQ^5Mr!XBPuw7MY" variabletype="">target</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="timeout" id="U~[U!am9STfK$,DyQ/Q=">
                        <statement name="TIMEOUTSTACK">
                          <block type="trade_again" id=".YSyRBb7m+Kpgwf~w.yK"></block>
                        </statement>
                        <value name="SECONDS">
                          <shadow type="math_number" id="@u!,Qmfn(r^Xc3jMs,eQ">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="cvNg`UVY.ehl=btezpGw">
                            <field name="VAR" id="hLr!L;2#ZY54N(;c1$lA" variabletype="">ticks</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="text_print" id="l(nbzVpu~bu;9w6t;f4g">
                        <value name="TEXT">
                          <shadow type="text" id="?e^?#0BdXa/c5pa/JF;N">
                            <field name="TEXT">💸💸💸 Success 💸💸💸</field>
                          </shadow>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="NmDg8kBs[*6LfUO~nk*5" collapsed="true" x="0" y="848">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id=":zw(eyRcMk5Mol[x)q,h">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="DPfF:**GRKnd`suEi?~L">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="lists_getIndex" id="D*Zk8ejw@V3_1zaA4DT5">
                <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="o$5V`TopXPC72_Inu-ks">
                    <field name="VAR" id="=3heUF]SK|Fv4[5fK~WY" variabletype="">seq</field>
                  </block>
                </value>
                <value name="AT">
                  <block type="variables_get" id="dK=ZXM^!17rP-:9iA!.k">
                    <field name="VAR" id="um;!c:m?8Fko57!oM#/2" variabletype="">idx</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="text" id="|E[uZAT#X}49ocCqOP8v">
                <field name="TEXT">C</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="%^M@:V@3a$-0(a?o-W7{">
            <field name="PURCHASE_LIST">CALL</field>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="purchase" id="ET=0+*~y,2Hwg}|}AImm">
            <field name="PURCHASE_LIST">PUT</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
</xml>