﻿<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">forex</field>
    <field name="SUBMARKET_LIST">smart_fx</field>
    <field name="SYMBOL_LIST">WLDAUD</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">TRUE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="dyZV*+tc*@[acK!jCEH`">
        <field name="VAR">Win Amount</field>
        <value name="VALUE">
          <block type="math_number" id="NRTi#47*ai}{!#QMJ=+v">
            <field name="NUM">0.5</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="jE=TS?ooJFBN4f.wswuf">
            <field name="VAR">Initial Amount</field>
            <value name="VALUE">
              <block type="math_number" id="1llhm%F3?N*?$ch%_wwO">
                <field name="NUM">0.5</field>
              </block>
            </value>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="o-)(M@$c-;-t+xl?OXe)">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <block type="math_number" id="qZA2:m/?e5iM4VyHzF9N">
            <field name="NUM">5</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="variables_get" id="7nzOAJqEn6)+OAYI30hM">
            <field name="VAR">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="wl$.^dAY4UF$YcNi}kYt" x="0" y="384">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="//2Uqe]sQz[CrP@{A$;_">
        <value name="IF0">
          <block type="logic_operation" id="5J#8m4JL3ipNIV5f`p8M" inline="false">
            <field name="OP">AND</field>
            <value name="A">
              <block type="logic_compare" id="2T]MzNL98u_:X!WyA6h$">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="lists_getIndex" id="p13P]Tt15~-U`#VNAh]i">
                    <mutation statement="false" at="true"></mutation>
                    <field name="MODE">GET</field>
                    <field name="WHERE">FROM_END</field>
                    <value name="VALUE">
                      <block type="ticks" id=")%4kdB{B#CfcEXW%sfsx"></block>
                    </value>
                    <value name="AT">
                      <block type="math_number" id="P3@_4Z2~I:iAW|cL9#23">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="lists_getIndex" id="b{O(OjTL9}:#r4:L[P)m">
                    <mutation statement="false" at="true"></mutation>
                    <field name="MODE">GET</field>
                    <field name="WHERE">FROM_END</field>
                    <value name="VALUE">
                      <block type="ticks" id="dumr:%^N9I45MdN~_*rd"></block>
                    </value>
                    <value name="AT">
                      <block type="math_number" id="ZcHFig@4O6W/5VnKp,z9">
                        <field name="NUM">2</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_compare" id="ZVW4(|/~8`jzIBM4=}{0">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="lists_getIndex" id="lI%#K;ZGjLg7=Kv5llNX">
                    <mutation statement="false" at="true"></mutation>
                    <field name="MODE">GET</field>
                    <field name="WHERE">FROM_END</field>
                    <value name="VALUE">
                      <block type="ticks" id="wsuq`ven;3,-6p+]hJVu"></block>
                    </value>
                    <value name="AT">
                      <block type="math_number" id="rnBC(Eg.?3g}}iR=v`9W">
                        <field name="NUM">2</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="lists_getIndex" id="{K^0`O51=79DcUCsTJ@)">
                    <mutation statement="false" at="true"></mutation>
                    <field name="MODE">GET</field>
                    <field name="WHERE">FROM_END</field>
                    <value name="VALUE">
                      <block type="ticks" id="~Hrj]ie|P[._X{t9]J{%"></block>
                    </value>
                    <value name="AT">
                      <block type="math_number" id="7VJzi1!p_SH2%uirT`Hk">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="3!24rwTT/b1~zdP6kijv">
            <field name="PURCHASE_LIST">PUT</field>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="`Sahg3Ktd4egR]4~{TG/">
            <value name="IF0">
              <block type="logic_operation" id="PlTn!z;0p*g%%)PX+29Q" inline="false">
                <field name="OP">AND</field>
                <value name="A">
                  <block type="logic_compare" id="/NH?q_^#j(~6uB17/M5e">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="lists_getIndex" id="2c2KvSdQoLgiy5vRw[X0">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="ticks" id="5X%l)Bmh1eGz[YSi6EsP"></block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="W)a%Qj3pq?pHK6]8kq:y">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="lists_getIndex" id="90m(lwWdc]#NN=!|phQ7">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="ticks" id="rL8n|2@jX=LTOVCL$~.X"></block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="3E,?jh6Pfu86$7d];{r_">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_compare" id="F8D#Se$GfWwM`1OOOc]X">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="lists_getIndex" id="7emIFd}Db}If(w4-36v*">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="ticks" id="sRU@v%Y.594WNoAF}+JB"></block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="JSA[TRRjh%8)K1pS:9Zi">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="lists_getIndex" id="Ap+7|vU7qdAVosq.96}9">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="ticks" id="CL33ZNX/jugp8I}O-NRD"></block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="R31gm+dIL/BRtmF%+q`d">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="purchase" id="Kc`-#xoF}+)m85(A@Qlc">
                <field name="PURCHASE_LIST">CALL</field>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="0" y="908">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="`B9]s{TClp1*uKm8h0[O">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="rEzKK;#|elm3%hwm89id">
            <field name="CHECK_RESULT">loss</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="math_change" id="1C4WFTY/S0tnMJrhdZWc">
            <field name="VAR">Initial Amount</field>
            <value name="DELTA">
              <shadow id="N=Vo^MVz~/^(xt7Ag@8E" type="math_number">
                <field name="NUM">1</field>
              </shadow>
              <block type="math_arithmetic" id="idr?Ro2Yu1zb76kabZ8A">
                <field name="OP">MULTIPLY</field>
                <value name="A">
                  <shadow id="ka8n8|Dugz,q5FkUjs`7" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_single" id="=ZI54~1A=UG8{:?zh=Et">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow id="GleSn`9j7Cm7/dqg}FIA" type="math_number">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="read_details" id="f)dcUCmRqtT5{gWv{M1/">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <shadow id="{JXdZCp2%s=sfO@yN:n}" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_number" id="T[[@{_(1?qAlRsCm_OF9">
                    <field name="NUM">1.1</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id="V]BvK^j3{r9r*fd8LJ/%">
            <field name="VAR">Initial Amount</field>
            <value name="VALUE">
              <block type="variables_get" id="mn{z|e[zGDrFVZ/,aEF}">
                <field name="VAR">Win Amount</field>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
        </next>
      </block>
    </statement>
  </block>
</xml>