<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="gJuRv0?Q@c$))!Q.wS:;">stake</variable>
    <variable type="" id="RW{Kcp7iN{.CK*Y;Ye3X">barrier</variable>
    <variable type="" id="2w[oM9|:wRa8lPZrCnwC">losses</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="31" y="-119">
    <field name="MARKET_LIST">synthetic_index</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_10</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">TRUE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="SI|$~hODsM:LuoG,Xxs]">
        <field name="VAR" id="gJuRv0?Q@c$))!Q.wS:;" variabletype="">stake</field>
        <value name="VALUE">
          <block type="math_number" id="NlBI2#G~Ek[qHmBGTj4l">
            <field name="NUM">1</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="70sM+AKoDFhs7!.ayBUs">
            <field name="VAR" id="RW{Kcp7iN{.CK*Y;Ye3X" variabletype="">barrier</field>
            <value name="VALUE">
              <block type="math_number" id="AtW|O!Wh!)`57Fs=we-H">
                <field name="NUM">0.2</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="T4AYk!JIPVxE-8l;Q)k`">
                <field name="VAR" id="2w[oM9|:wRa8lPZrCnwC" variabletype="">losses</field>
                <value name="VALUE">
                  <block type="math_number" id=",t7(Xg|Vq?(PcFZX$uJe">
                    <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>
        <field name="BARRIEROFFSETTYPE_LIST">-</field>
        <field name="SECONDBARRIEROFFSETTYPE_LIST">-</field>
        <value name="DURATION">
          <shadow type="math_number" id="qRfi9~(!d:u-_M0Af9|M">
            <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="]}NH}I`oVrVfk9min.0p">
            <field name="VAR" id="gJuRv0?Q@c$))!Q.wS:;" variabletype="">stake</field>
          </block>
        </value>
        <value name="BARRIEROFFSET">
          <shadow type="math_number" id="X/hlKuTutC8qp!^M;o$u">
            <field name="NUM">0.2</field>
          </shadow>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="24" y="375">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
        <field name="PURCHASE_LIST">PUT</field>
      </block>
    </statement>
  </block>
  <block type="during_purchase" id="(4;NieXd}j|Bn!c-YiC|" x="24" y="523">
    <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>
        <statement name="DO0">
          <block type="controls_if" id="#a#kamFtWHfb(%!dAc[k">
            <value name="IF0">
              <block type="logic_compare" id="V:HFxIomJ,=kPGhrb,yH">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="sell_price" id="KU^4!!rPYks{Es8`Y4]]"></block>
                </value>
                <value name="B">
                  <block type="math_number" id="|IN@U~2F0eA^Hafd:dkr">
                    <field name="NUM">0.8</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="sell_at_market" id="mDn?,UXxXfaHL3{!3pkl"></block>
            </statement>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="25" y="727">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="Gc1}UjY!-)!^oGy8Vdqa">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="JGAxqA/atpE.!GS0ewV|">
            <field name="CHECK_RESULT">loss</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="math_change" id="Vd*f_s#{*,`V(|ww3`S~">
            <field name="VAR" id="2w[oM9|:wRa8lPZrCnwC" variabletype="">losses</field>
            <value name="DELTA">
              <shadow type="math_number" id="tY7+IIr?KPaBZ9.{!xi:">
                <field name="NUM">1</field>
              </shadow>
            </value>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id=",$;rGANGNE+Y[/ok4EGB">
            <field name="VAR" id="2w[oM9|:wRa8lPZrCnwC" variabletype="">losses</field>
            <value name="VALUE">
              <block type="math_number" id="AsIx~0pP^QptN*azB/Co">
                <field name="NUM">0</field>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="u^GJ_EX=/gTNGD{dIho|">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="S6,kKOf`%9)_u]pQ`mdV">
                <field name="OP">GTE</field>
                <value name="A">
                  <block type="variables_get" id=":[[J`4AjgMeW4Q@loi%u">
                    <field name="VAR" id="2w[oM9|:wRa8lPZrCnwC" variabletype="">losses</field>
                  </block>
                </value>
                <value name="B">
                  <block type="math_number" id="$iQ22q(NeD4_iv#{$s16">
                    <field name="NUM">3</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="notify" id="{R;7o=2=;H6[.hDvvH.k">
                <field name="NOTIFICATION_TYPE">info</field>
                <field name="NOTIFICATION_SOUND">silent</field>
                <value name="MESSAGE">
                  <shadow type="text" id="rFL5zgW-m7)i)33U$fkZ">
                    <field name="TEXT">Have a kitkat</field>
                  </shadow>
                </value>
                <next>
                  <block type="timeout" id="z]Yo.~Uui:v:Dac_OHL{">
                    <statement name="TIMEOUTSTACK">
                      <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
                    </statement>
                    <value name="SECONDS">
                      <shadow type="math_number" id=":uLyLerGeNqf*9./%4*A">
                        <field name="NUM">300</field>
                      </shadow>
                    </value>
                  </block>
                </next>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="trade_again" id="+4).GUa9S+9?9vpC4^z("></block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>