<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="Din]:dQ^5Mr!XBPuw7MY">target</variable>
    <variable type="" id="um;!c:m?8Fko57!oM#/2">idx</variable>
    <variable type="" id="T2!E3Fil,-90R384qa/G">initBet</variable>
    <variable type="" id="hLr!L;2#ZY54N(;c1$lA">ticks</variable>
    <variable type="" id="`8vAXGK[%eeRM9ql`*_K">betAmt</variable>
    <variable type="" id="=3heUF]SK|Fv4[5fK~WY">seq</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="52" y="324">
    <field name="MARKET_LIST">synthetic_index</field>
    <field name="SUBMARKET_LIST">random_daily</field>
    <field name="SYMBOL_LIST">RDBEAR</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">TRUE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="8)8|UO=jjKfM14=%I#{s">
        <field name="VAR" id="Din]:dQ^5Mr!XBPuw7MY" variabletype="">target</field>
        <value name="VALUE">
          <block type="math_number" id="]+%.$yY*?6vNF^JfTTsr">
            <field name="NUM">10</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="f[]~=,L@8~%m,C|4FCML">
            <field name="VAR" id="T2!E3Fil,-90R384qa/G" variabletype="">initBet</field>
            <value name="VALUE">
              <block type="math_number" id="=gHnu~xB14aP2/|!,S=L">
                <field name="NUM">5</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id=";xTiJ*N%)jeO,J.._5k1">
                <field name="VAR" id="`8vAXGK[%eeRM9ql`*_K" variabletype="">betAmt</field>
                <value name="VALUE">
                  <block type="variables_get" id="mP4b_p]cda0VX52X6`H4">
                    <field name="VAR" id="T2!E3Fil,-90R384qa/G" variabletype="">initBet</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="%23_3XNFXY@S$m[aj;:{">
                    <field name="VAR" id="hLr!L;2#ZY54N(;c1$lA" variabletype="">ticks</field>
                    <value name="VALUE">
                      <block type="math_number" id=".6k8/K]d2w[{!/aGb?~k">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="PSvPQ:_3oKvvA)XUGWJd">
                        <field name="VAR" id="um;!c:m?8Fko57!oM#/2" variabletype="">idx</field>
                        <value name="VALUE">
                          <block type="math_number" id="?b](bN(g#oTi:B,~xNM]">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="L+n-v,ho#u?=fsI|o!E:">
                            <field name="VAR" id="=3heUF]SK|Fv4[5fK~WY" variabletype="">seq</field>
                            <value name="VALUE">
                              <block type="lists_split" id="{B@zrm]AATO$JmY:lY!w">
                                <mutation mode="SPLIT"></mutation>
                                <field name="MODE">SPLIT</field>
                                <value name="INPUT">
                                  <block type="text" id="%nP/P,2NgKPid}7|?#P)">
                                    <field name="TEXT">C,P,C,C,P,P</field>
                                  </block>
                                </value>
                                <value name="DELIM">
                                  <shadow type="text" id="r,O9bB,fd:Tx@_:R]t$^">
                                    <field name="TEXT">c</field>
                                  </shadow>
                                </value>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="BARRIEROFFSETTYPE_LIST">+</field>
        <field name="SECONDBARRIEROFFSETTYPE_LIST">-</field>
        <value name="DURATION">
          <shadow type="math_number" id="80LX$o4xb+DPEl?K@[b+">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="D-kOc-S.}U0A{vK8C=7A">
            <field name="VAR" id="hLr!L;2#ZY54N(;c1$lA" variabletype="">ticks</field>
          </block>
        </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="Vr`rZfqv1dXCbG.z)kY:">
            <field name="VAR" id="`8vAXGK[%eeRM9ql`*_K" variabletype="">betAmt</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="during_purchase" id="(4;NieXd}j|Bn!c-YiC|" collapsed="true" x="177" y="489">
    <statement name="DURING_PURCHASE_STACK">
      <block type="controls_if" id="8?eYKAW%VczmRXQ-ou3r">
        <value name="IF0">
          <block type="check_sell" id="M=:_KpEeRAJY_}XTU^8~"></block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" collapsed="true" x="173" y="490">
    <statement name="AFTERPURCHASE_STACK">
      <block type="math_change" id="KFV*u^^dTQw^eteG*CNx">
        <field name="VAR" id="um;!c:m?8Fko57!oM#/2" variabletype="">idx</field>
        <value name="DELTA">
          <shadow type="math_number" id=",O;k8pCNwp!;RQp(?q.i">
            <field name="NUM">1</field>
          </shadow>
          <block type="math_number" id="6jVa)Vw4Es1eHzAjj=^!">
            <field name="NUM">1</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="-;WAfNdO.+J8#lP{@_v`">
            <field name="VAR" id="um;!c:m?8Fko57!oM#/2" variabletype="">idx</field>
            <value name="VALUE">
              <block type="logic_ternary" id="Uc0%Rr]cyAf$D(cwk=g{">
                <value name="IF">
                  <block type="logic_compare" id=")}yU28qI*#sha6*m,8?H">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="variables_get" id="V2wc3jgGAb6OvL|A$?-u">
                        <field name="VAR" id="um;!c:m?8Fko57!oM#/2" variabletype="">idx</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="lists_length" id="1.%KsZbMS+)Z2Yja([3_">
                        <value name="VALUE">
                          <block type="variables_get" id="O!HF{L,(?mc}v]pktEr_">
                            <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="wq}_FhVxXa1qgdBuq0K#">
                    <field name="NUM">1</field>
                  </block>
                </value>
                <value name="ELSE">
                  <block type="variables_get" id="VX,+`NN!~2DFTVrDT/DB">
                    <field name="VAR" id="um;!c:m?8Fko57!oM#/2" variabletype="">idx</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="g.()B,*?Q/hMfGfcH7Vz">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="contract_check_result" id="]U(cT0sQm4odMS:P[EKS">
                    <field name="CHECK_RESULT">win</field>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="#.=)AIBXxA0g`eE`ZK`#">
                    <field name="VAR" id="`8vAXGK[%eeRM9ql`*_K" variabletype="">betAmt</field>
                    <value name="VALUE">
                      <block type="variables_get" id="}r6N22m*3p{ob8]c:Kd%">
                        <field name="VAR" id="T2!E3Fil,-90R384qa/G" variabletype="">initBet</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="variables_set" id="K50M6}UnP`AM_sha47Xb">
                    <field name="VAR" id="`8vAXGK[%eeRM9ql`*_K" variabletype="">betAmt</field>
                    <value name="VALUE">
                      <block type="math_arithmetic" id="4TF__D-;^Iv_I0Es/mfI">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow type="math_number" id="n%eV4XZghF(ZdF56B=I{">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="fs*a~j5~QogtTcMmiAFR">
                            <field name="VAR" id="`8vAXGK[%eeRM9ql`*_K" variabletype="">betAmt</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="5{gK[,tNvG$`X?/_GM-L">
                            <field name="NUM">0</field>
                          </shadow>
                          <block type="math_number" id=")r.|jh#bv}2r6xO.5b6b">
                            <field name="NUM">2.2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="ait~YBq!x`KE)6}~!PaH">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="$a3]*#X7Xm(108pl{:O~">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="total_profit" id="wamXCN+0WB)!a+WI9^YN"></block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="i[3zn*]VrdWih`4U[FTM">
                            <field name="VAR" id="Din]:dQ^5Mr!XBPuw7MY" variabletype="">target</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="timeout" id="g[??/$z.gRbDcgoH-e`m">
                        <statement name="TIMEOUTSTACK">
                          <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
                        </statement>
                        <value name="SECONDS">
                          <shadow type="math_number" id="]a$A=JrC%nH~2X7U!(o!">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="lFPG24u%ENvp7-2l]XBP">
                            <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="tyOT~o/%(@e]_/[Vc7|Y">
                        <value name="TEXT">
                          <shadow type="text" id="-Musr1hePn2@/fbN47$I">
                            <field name="TEXT">MIKE G❤️💚🧡 version 2</field>
                          </shadow>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="trade_again" id="q,LeaFQW71I-37:QO@J2"></block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" collapsed="true" x="171" y="491">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id=")/k%nYt9*c]Dd)L+_d3,">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="TSsfa#za^@EG6~@*9g]J">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="lists_getIndex" id="XI:?z4.7`R|IW3NkfTwh">
                <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="Q+hQUIFvMwP,Ue2[otr(">
                    <field name="VAR" id="=3heUF]SK|Fv4[5fK~WY" variabletype="">seq</field>
                  </block>
                </value>
                <value name="AT">
                  <block type="variables_get" id="OCuQ|?JJlC2h#HY=#SkX">
                    <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@1;UCYbe#J=x,K|`LG">
                <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="?c(%Z_Rmo2S}Y$C.}lz{">
            <field name="PURCHASE_LIST">DIGITEVEN</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
</xml>