﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <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">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="B1I/=DuKue)Pl0/^,-F(">
        <field name="VAR">initialStake</field>
        <value name="VALUE">
          <block type="math_number" id="0bx05l2Ap{[3W#ia8lv)">
            <field name="NUM">1</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="UE*OMMHGDS@o_|yk@u(D">
            <field name="VAR">stake</field>
            <value name="VALUE">
              <block type="math_number" id="M]Y1Zk`u!7df?7r?Tuiz">
                <field name="NUM">1</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="^m$]846+4F[h*R(~no9e">
                <field name="VAR">wins</field>
                <value name="VALUE">
                  <block type="math_number" id="0.9IV+m`Ys2}7v0;D3/5">
                    <field name="NUM">0</field>
                  </block>
                </value>
              </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="CURRENCY_LIST">USD</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=")`6g;%V{u%9Dzo@B,)(o">
            <field name="VAR">stake</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="0" y="358">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
        <field name="PURCHASE_LIST">CALL</field>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="0" y="448">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="0oT^p+[{Pz:`Gu7i4AF?">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="6)]LFxgFg!5E3%)M_]!0">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="math_change" id="pZ#,FJk#9aN@=9o((_dG">
            <field name="VAR">wins</field>
            <value name="DELTA">
              <shadow type="math_number" id="q)T`ItHnfw0_ZN3T*q2I">
                <field name="NUM">1</field>
              </shadow>
            </value>
            <next>
              <block type="controls_if" id="]]wpOZ2Jq$5J0di!%zEq">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="M!l00=bq%b%Q4@~Q~l?w">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="uZ)}k*h450[)9DiZ:5j;">
                        <field name="VAR">wins</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="$~$Koft/79b@lmece,hk">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="Pamp45hxoRpT+|`q]ko`">
                    <field name="VAR">wins</field>
                    <value name="VALUE">
                      <block type="math_number" id="5,bOu5oYn(fO4/Z_71)k">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="_qUb(l!9P?*^](_W1#kF">
                        <field name="VAR">stake</field>
                        <value name="VALUE">
                          <block type="variables_get" id="5IGmiVAE^A_Qws*Uv)C0">
                            <field name="VAR">initialStake</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="variables_set" id="Y`tjWmY%CT9hvONlN~$?">
                    <field name="VAR">stake</field>
                    <value name="VALUE">
                      <block type="math_arithmetic" id="mbN*/oqBzGMVVbP$#dG@">
                        <field name="OP">ADD</field>
                        <value name="A">
                          <shadow type="math_number" id="ayKuDjnQ[Z3i#36Q/~Pl">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="s|E`,@qi{Y7Ma)Jy9y=p">
                            <field name="VAR">stake</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="fn!ci4T1CL58+z+zwTFf">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="read_details" id="?b`@N#V*(F@B-^|16xVO">
                            <field name="DETAIL_INDEX">4</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id="H-!XkruT_:Vu|niP_J7?">
            <field name="VAR">stake</field>
            <value name="VALUE">
              <block type="variables_get" id="#:~rDS.?$OL1bc4KV{6t">
                <field name="VAR">initialStake</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="azB*4M64`?xu}Pv9fqEW">
                <field name="VAR">wins</field>
                <value name="VALUE">
                  <block type="math_number" id="Yn^)OEgclTClts7D.8+W">
                    <field name="NUM">0</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
        </next>
      </block>
    </statement>
  </block>
</xml>