﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="H`C*Anu/U!p`KadSscA-">a</variable>
    <variable type="" id="YC~WTUy^h}t+S..@]b9g">e</variable>
    <variable type="" id="+JH5u9?]5@U6b/@+l89_">b</variable>
    <variable type="" id="~j40|Ve[[pw%uv{}7$dZ">f</variable>
    <variable type="" id="ypoT{JWr[7~)g}sk|%oK">c</variable>
    <variable type="" id="CTBnX;.wV}U.s-;O(=w-">g</variable>
    <variable type="" id="|n4DW9/Z!gYUx`~HA{)t">d</variable>
    <variable type="" id="zE~lo*Wfwl^ogICRAX6(">h</variable>
  </variables>
  <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="P;1GxT|qfULp1tLi.rhE">
        <field name="VAR" id="H`C*Anu/U!p`KadSscA-" variabletype="">a</field>
        <value name="VALUE">
          <block type="math_number" id="xxyppW._smIhMXty(xRs">
            <field name="NUM">1</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="$NzKY@l#;f*dnpYabo^U">
            <field name="VAR" id="+JH5u9?]5@U6b/@+l89_" variabletype="">b</field>
            <value name="VALUE">
              <block type="math_number" id="HR=WqakC27[P+a4W7*jp">
                <field name="NUM">2.1</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="|Ut$5^pUrV3Rq)[Rjo61">
                <field name="VAR" id="ypoT{JWr[7~)g}sk|%oK" variabletype="">c</field>
                <value name="VALUE">
                  <block type="math_number" id="t%S77hL[YD6[L-2)}yXc">
                    <field name="NUM">3</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="kIx+t2vU80iws$(JH{|(">
                    <field name="VAR" id="|n4DW9/Z!gYUx`~HA{)t" variabletype="">d</field>
                    <value name="VALUE">
                      <block type="variables_get" id="j~Z$(%I{WPrjv(kwdjGf">
                        <field name="VAR" id="H`C*Anu/U!p`KadSscA-" variabletype="">a</field>
                      </block>
                    </value>
                  </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="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="RRV?9)CJYV-(+]%6|Nc5">
            <field name="VAR" id="H`C*Anu/U!p`KadSscA-" variabletype="">a</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="0" y="518">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id="t,Sh(()Th=@J:0@y9yA;" collapsed="true">
        <field name="VAR" id="YC~WTUy^h}t+S..@]b9g" variabletype="">e</field>
        <value name="VALUE">
          <block type="ema" id="vwU~-o}}EXmF^sDab!;Q">
            <value name="INPUT">
              <block type="ticks" id="DzQWVmgG,},eg`12NJ_S"></block>
            </value>
            <value name="PERIOD">
              <shadow type="math_number" id="H)3JY%ng%-w9c*E_VJ1i">
                <field name="NUM">9</field>
              </shadow>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="%LrgHm5Wh5m7(}#E_IrK" collapsed="true">
            <field name="VAR" id="~j40|Ve[[pw%uv{}7$dZ" variabletype="">f</field>
            <value name="VALUE">
              <block type="lists_getIndex" id="AvSv@_nr];(+op?vRZQ4">
                <mutation statement="false" at="false"></mutation>
                <field name="MODE">GET</field>
                <field name="WHERE">LAST</field>
                <value name="VALUE">
                  <block type="macda" id="U55O7Iy2KP~2Ye1t^/#D">
                    <field name="MACDFIELDS_LIST">0</field>
                    <value name="INPUT">
                      <block type="ticks" id="g0F3F2oOmtNE*XbkgSrk"></block>
                    </value>
                    <value name="FAST_EMA_PERIOD">
                      <shadow type="math_number" id=")Z:V!jKH|[VuSg6(m+#(">
                        <field name="NUM">12</field>
                      </shadow>
                    </value>
                    <value name="SLOW_EMA_PERIOD">
                      <shadow type="math_number" id="(ZZ9Gzq#~2e7P5TwVyrV">
                        <field name="NUM">26</field>
                      </shadow>
                    </value>
                    <value name="SMA_PERIOD">
                      <shadow type="math_number" id="e:%Q;V/}{goXpg;Bm9K4">
                        <field name="NUM">9</field>
                      </shadow>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="u3/jcBs$B(9n`G=}!hLW" collapsed="true">
                <field name="VAR" id="CTBnX;.wV}U.s-;O(=w-" variabletype="">g</field>
                <value name="VALUE">
                  <block type="sma" id="f0-XDx.th!X~}9KjbY!F">
                    <value name="INPUT">
                      <block type="ticks" id="OtpBLZo~wrEDkh]1+FNt"></block>
                    </value>
                    <value name="PERIOD">
                      <shadow type="math_number" id="9E9fncT`E5H[9q$BPHVb">
                        <field name="NUM">9</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="F9sTN4lxKSd~We9b1r1h" collapsed="true">
                    <field name="VAR" id="zE~lo*Wfwl^ogICRAX6(" variabletype="">h</field>
                    <value name="VALUE">
                      <block type="rsi" id="`UndpN5U={:JJ2P?9rPi">
                        <value name="INPUT">
                          <block type="ticks" id="%:M1*!Ztoq{M@Yssf]%c"></block>
                        </value>
                        <value name="PERIOD">
                          <shadow type="math_number" id="eQ,FLny[BA`ug8:nZSt,">
                            <field name="NUM">14</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="controls_if" id="q]1}p)sg-ff9`=f,0fO|">
                        <mutation elseif="1"></mutation>
                        <value name="IF0">
                          <block type="logic_operation" id="B|n607g(j?$D=r-P^lND" inline="false" collapsed="true">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="logic_compare" id="FjEDS/E*{[sG$jB4IjBX">
                                <field name="OP">GT</field>
                                <value name="A">
                                  <block type="variables_get" id="#3Z^e|1-eBPi*0zM_Dm{">
                                    <field name="VAR" id="YC~WTUy^h}t+S..@]b9g" variabletype="">e</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="variables_get" id="+l=JUrEm8REG?TZYfU|O">
                                    <field name="VAR" id="CTBnX;.wV}U.s-;O(=w-" variabletype="">g</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_operation" id="9Z1]H9X}+4M@.[JjTWxM" inline="false">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_compare" id="idOHL;9$`n]N{vOaQWOz">
                                    <field name="OP">GT</field>
                                    <value name="A">
                                      <block type="variables_get" id="?q{BG:j;q0fm4o$6x)db">
                                        <field name="VAR" id="zE~lo*Wfwl^ogICRAX6(" variabletype="">h</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="L2!ihq)etDfnK;(T2*tU">
                                        <field name="NUM">60</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_operation" id="kxd]Dp+-@*V4:Lm6j%Af" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="o7GnhgbmY;._WrqbDqT{">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="variables_get" id="GFE`R0zp1-waYD7LxvrR">
                                            <field name="VAR" id="~j40|Ve[[pw%uv{}7$dZ" variabletype="">f</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="%6dR=+r*qagovC;6=x?X">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="M(qs]eD.f~*E?2~8ice0">
                                        <field name="OP">LT</field>
                                        <value name="A">
                                          <block type="variables_get" id="=%3FoyhN(vk*1@le?,|.">
                                            <field name="VAR" id="YC~WTUy^h}t+S..@]b9g" variabletype="">e</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="tick" id="G~AWL}DIgQY*$k%Q=j^:"></block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
                            <field name="PURCHASE_LIST">CALL</field>
                          </block>
                        </statement>
                        <value name="IF1">
                          <block type="logic_operation" id="~x29V[!jiV6po-UhEjZ5" inline="false" collapsed="true">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="logic_compare" id="m|kdv^=U-.:Y+d}hb_@E">
                                <field name="OP">LT</field>
                                <value name="A">
                                  <block type="variables_get" id="cvDpnkvVVEG_sT,i,kX1">
                                    <field name="VAR" id="YC~WTUy^h}t+S..@]b9g" variabletype="">e</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="variables_get" id="txmLaZYKW.AI9sqZA0SG">
                                    <field name="VAR" id="CTBnX;.wV}U.s-;O(=w-" variabletype="">g</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_operation" id="bf;2aI_G2zYkj?tX}-0m" inline="false">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_compare" id="A}Y@%]WZz~dVIl8V;n.w">
                                    <field name="OP">LT</field>
                                    <value name="A">
                                      <block type="variables_get" id="cy99EoEPBzz;bu{ciZfz">
                                        <field name="VAR" id="zE~lo*Wfwl^ogICRAX6(" variabletype="">h</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id=",rI)Yxq^~c1+]o7YCrkq">
                                        <field name="NUM">40</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_operation" id=")-^$41?.,DhPxXKsRaQ(" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id=";c0!8(%aa0i!Yvt8EL.a">
                                        <field name="OP">LT</field>
                                        <value name="A">
                                          <block type="variables_get" id="ymF_7_5fPUfI({}=VItZ">
                                            <field name="VAR" id="~j40|Ve[[pw%uv{}7$dZ" variabletype="">f</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="lpU*O|r!r9[_{W2=vtiZ">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id=").~{Z=ek0/12_wqqNjJE">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="variables_get" id="O`l3P~OiY,?@nZ7~|ua+">
                                            <field name="VAR" id="YC~WTUy^h}t+S..@]b9g" variabletype="">e</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="tick" id="Ao[anF2:h?oYr!!4T}JI"></block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO1">
                          <block type="purchase" id="Tx,xW0fJ59p22nE#r!g~">
                            <field name="PURCHASE_LIST">PUT</field>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" collapsed="true" x="0" y="832">
    <statement name="AFTERPURCHASE_STACK">
      <block type="variables_set" id="A8#*LSg*#S*_kM,%Ex5I">
        <field name="VAR" id="H`C*Anu/U!p`KadSscA-" variabletype="">a</field>
        <value name="VALUE">
          <block type="logic_ternary" id="T[w:~MqWg2.wE+Vzi?uL">
            <value name="IF">
              <block type="contract_check_result" id="l^.nETu-{:VLp!2Z_1ca">
                <field name="CHECK_RESULT">win</field>
              </block>
            </value>
            <value name="THEN">
              <block type="variables_get" id="X}VQjQJuI1:zuDn|Y6eo">
                <field name="VAR" id="|n4DW9/Z!gYUx`~HA{)t" variabletype="">d</field>
              </block>
            </value>
            <value name="ELSE">
              <block type="math_arithmetic" id="X9G.9QKsQ=_i~$JG(ZCh">
                <field name="OP">MULTIPLY</field>
                <value name="A">
                  <shadow type="math_number" id="Le3_v6i1I,yuhsQ6V?`*">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="Jpv.d89=7NR{Aj=Rdb@N">
                    <field name="VAR" id="H`C*Anu/U!p`KadSscA-" variabletype="">a</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="]d-VZ:z[lDaD[8K3kU9E">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="]^A=q(yDIw9y^mhJ`$I@">
                    <field name="VAR" id="+JH5u9?]5@U6b/@+l89_" variabletype="">b</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="controls_if" id="=FPqo{hHPHEYR!S8xh}1">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="7NHDn3iy1oS_5vhPDi/@">
                <field name="OP">LT</field>
                <value name="A">
                  <block type="total_profit" id="J?$IA}xTx~mg5LDlJRim"></block>
                </value>
                <value name="B">
                  <block type="variables_get" id="682A?7;L5m%q%-#Vz/eX">
                    <field name="VAR" id="ypoT{JWr[7~)g}sk|%oK" variabletype="">c</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
            </statement>
            <statement name="ELSE">
              <block type="text_print" id="Lhn!mfP5(.=xa,f,.%Ce">
                <value name="TEXT">
                  <shadow type="text" id="]ttR3U+qTGU;65}hIF2V">
                    <field name="TEXT">end</field>
                  </shadow>
                </value>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>