﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="7:if=a#,-Ppj#V{:vl_t">stake</variable>
    <variable type="" id="FzNI24YX^rV6?7-el;Sj">losses</variable>
    <variable type="" id="^l`WvQ_4[vkxS`y!V;4e">total</variable>
    <variable type="" id="]//wcGl)OQzBxP#-}McQ">targetProfit</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="G@LwuS=Wf!u?Mp2[TCuR">
        <field name="VAR" id="7:if=a#,-Ppj#V{:vl_t" variabletype="">stake</field>
        <value name="VALUE">
          <block type="math_number" id="(T91`EGwKp/$xp}G{b?F">
            <field name="NUM">0.35</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id=")3mV58WmCg(Zgt12.fln">
            <field name="VAR" id="FzNI24YX^rV6?7-el;Sj" variabletype="">losses</field>
            <value name="VALUE">
              <block type="math_number" id="%lr5,r.}~CE5M.BZI4Ep">
                <field name="NUM">0</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="A4-x]H@n^|)|4{MNQ*]N">
                <field name="VAR" id="]//wcGl)OQzBxP#-}McQ" variabletype="">targetProfit</field>
                <value name="VALUE">
                  <block type="math_number" id="_XCym*pPGyxjWZ}v=?7c">
                    <field name="NUM">5</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">0.35</field>
          </shadow>
          <block type="variables_get" id="5|qWsiZg56tb?M/wOEQ@">
            <field name="VAR" id="7:if=a#,-Ppj#V{:vl_t" variabletype="">stake</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="0" y="483">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="wr8z)aV5-Q$.pe8KHf3?">
        <mutation elseif="1"></mutation>
        <value name="IF0">
          <block type="logic_operation" id="?oYGH|4!qy%pROq3fzSz" inline="false">
            <field name="OP">AND</field>
            <value name="A">
              <block type="logic_compare" id="(2A(%nWa)+aK*Wh50x-9" collapsed="true">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="rsi" id="6Twfk$#M]7{O;VOM{D$s">
                    <value name="INPUT">
                      <block type="ticks" id="?07DAnIS84:vh~~eh/+x"></block>
                    </value>
                    <value name="PERIOD">
                      <shadow type="math_number" id="/+E44w[IkA@%G~%XG|w;">
                        <field name="NUM">2</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="math_number" id="i]l2vsY[SC5[:4T/w4B^">
                    <field name="NUM">70</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_operation" id="E,u,iW#o?v6X.LEab1B4" inline="false" collapsed="true">
                <field name="OP">AND</field>
                <value name="A">
                  <block type="logic_compare" id="#@z#jbZEobn[_[/RyVk|" inline="false">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="lists_getIndex" id="0Pu0I*m_UoO/V?x#=8kz" inline="false">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="macda" id=")?te4.o#38bz+L0$-)k`">
                            <field name="MACDFIELDS_LIST">1</field>
                            <value name="INPUT">
                              <block type="ticks" id="o0)Ov/7XaUx5pqfsHP;p"></block>
                            </value>
                            <value name="FAST_EMA_PERIOD">
                              <shadow type="math_number" id="AA_PX_hv#]yECY8bo^_0">
                                <field name="NUM">3</field>
                              </shadow>
                            </value>
                            <value name="SLOW_EMA_PERIOD">
                              <shadow type="math_number" id="PZ#37r4%#fBtY*=q[K.f">
                                <field name="NUM">5</field>
                              </shadow>
                            </value>
                            <value name="SMA_PERIOD">
                              <shadow type="math_number" id="xIkH^sh?qU2R|qj@E~BR">
                                <field name="NUM">3</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="[o_K/v55RxH7MgE%brY)">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="lists_getIndex" id="v2aF)RQ$Gt{Hoio|CMLh" inline="false">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="macda" id=";{GWQK%[8ccdI.4JU?Z{">
                            <field name="MACDFIELDS_LIST">2</field>
                            <value name="INPUT">
                              <block type="ticks" id="t.Jn`p|Iz7~ubvmUXqe#"></block>
                            </value>
                            <value name="FAST_EMA_PERIOD">
                              <shadow type="math_number" id="NL4Qa=wh)}6x5l@}^2K(">
                                <field name="NUM">3</field>
                              </shadow>
                            </value>
                            <value name="SLOW_EMA_PERIOD">
                              <shadow type="math_number" id="oj]JAani5jz$H=u8qx!0">
                                <field name="NUM">5</field>
                              </shadow>
                            </value>
                            <value name="SMA_PERIOD">
                              <shadow type="math_number" id="b3.fc#:NA!!l)!1bcI]~">
                                <field name="NUM">3</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="BN!w`rNHR+mZl^UNfU^U">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_compare" id="l1W5=7np48HdV{0~zJ/7" inline="false">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="lists_getIndex" id="g}i5z)Wp9*nzjnDEoRFb" inline="false">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="macda" id="t^sr4g+=h`x@0o-~-p3m">
                            <field name="MACDFIELDS_LIST">1</field>
                            <value name="INPUT">
                              <block type="ticks" id="jRY06D13SkZ/7~bsJGrU"></block>
                            </value>
                            <value name="FAST_EMA_PERIOD">
                              <shadow type="math_number" id="h2ip0~Vj^gBt~8],5SKY">
                                <field name="NUM">3</field>
                              </shadow>
                            </value>
                            <value name="SLOW_EMA_PERIOD">
                              <shadow type="math_number" id=")mF|XFK=9ZRg2r_DE5*r">
                                <field name="NUM">5</field>
                              </shadow>
                            </value>
                            <value name="SMA_PERIOD">
                              <shadow type="math_number" id="WR=gxnS[:E_VY[j:gub$">
                                <field name="NUM">3</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="lR_WZbG+6lxVg}zIBmAc">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="lists_getIndex" id="cMtX9]Q|Dq~dC@pTd([*" inline="false">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="macda" id="%R6ZDOjwMW[Izbu^8z-$">
                            <field name="MACDFIELDS_LIST">2</field>
                            <value name="INPUT">
                              <block type="ticks" id="OTKZ89dB.@.gt_^hF_/b"></block>
                            </value>
                            <value name="FAST_EMA_PERIOD">
                              <shadow type="math_number" id="vLWp,~F@7ZzZR;l0xWeP">
                                <field name="NUM">3</field>
                              </shadow>
                            </value>
                            <value name="SLOW_EMA_PERIOD">
                              <shadow type="math_number" id="gChBTeH*S)G.fC#@Q}Q=">
                                <field name="NUM">5</field>
                              </shadow>
                            </value>
                            <value name="SMA_PERIOD">
                              <shadow type="math_number" id="4Wk^-An].B9K$1{a,u1P">
                                <field name="NUM">3</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="9dk}K6h^Lkz~LT`:.J2%">
                            <field name="NUM">1</field>
                          </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="/,I$oyyBJC%cc{bm#du1" inline="false">
            <field name="OP">AND</field>
            <value name="A">
              <block type="logic_compare" id="v]?7}^eGzPYv0bRsmWQ=" collapsed="true">
                <field name="OP">LT</field>
                <value name="A">
                  <block type="rsi" id="e/V{DzpxGpU9;hE8TxBd">
                    <value name="INPUT">
                      <block type="ticks" id="Hz6C+VeTOYi82O:osy]N"></block>
                    </value>
                    <value name="PERIOD">
                      <shadow type="math_number" id="$]iM_`_VmH8|v]?$9+0/">
                        <field name="NUM">2</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="math_number" id="}/r!9]y]eSTfoYMJTUl7">
                    <field name="NUM">30</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_operation" id="[XI3Nc]Q{p$GT4%/E.wU" inline="false" collapsed="true">
                <field name="OP">AND</field>
                <value name="A">
                  <block type="logic_compare" id="Fs-%?({H4Y]j(FG2IQ*;" inline="false">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="lists_getIndex" id="%0yIQGe`w1?_]0-jrt$}" inline="false">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="macda" id="j1z57lZ__YBN!Mph,g)[">
                            <field name="MACDFIELDS_LIST">1</field>
                            <value name="INPUT">
                              <block type="ticks" id="CojvToeX:Tsq}~cOb5Am"></block>
                            </value>
                            <value name="FAST_EMA_PERIOD">
                              <shadow type="math_number" id="MYaAHV8|TYtF|9JKNC4,">
                                <field name="NUM">3</field>
                              </shadow>
                            </value>
                            <value name="SLOW_EMA_PERIOD">
                              <shadow type="math_number" id="C,UH@LG0TXK34W`3~RJ5">
                                <field name="NUM">5</field>
                              </shadow>
                            </value>
                            <value name="SMA_PERIOD">
                              <shadow type="math_number" id="ZI@Q[)S+V/3zQWjznQ^q">
                                <field name="NUM">3</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="2*^mds3h`Pu0z)i4DXds">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="lists_getIndex" id="B%=M]^``c6|b%m.T=3C+" inline="false">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="macda" id="DRIwz4r@:sG^^,`_12GZ">
                            <field name="MACDFIELDS_LIST">2</field>
                            <value name="INPUT">
                              <block type="ticks" id="3AkhI,[EM[vtOj,3.GLO"></block>
                            </value>
                            <value name="FAST_EMA_PERIOD">
                              <shadow type="math_number" id="U-M|^9g{gOb$H[p?skr%">
                                <field name="NUM">3</field>
                              </shadow>
                            </value>
                            <value name="SLOW_EMA_PERIOD">
                              <shadow type="math_number" id="@s6?0(CwHxEQ(aT(!_?H">
                                <field name="NUM">5</field>
                              </shadow>
                            </value>
                            <value name="SMA_PERIOD">
                              <shadow type="math_number" id="8sK)Vp8d(ucQtn8mYjE(">
                                <field name="NUM">3</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="%8+v4goYnSUVV,hSXo9I">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_compare" id="=T~2}b=y*mXCQgd9+=_0" inline="false">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="lists_getIndex" id="(+T](7`a}9+DuuGbICc," inline="false">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="macda" id="n6qSKNWjsV5pFK8CX0W$">
                            <field name="MACDFIELDS_LIST">1</field>
                            <value name="INPUT">
                              <block type="ticks" id="YutHxCYL|@`TFc3e8P@z"></block>
                            </value>
                            <value name="FAST_EMA_PERIOD">
                              <shadow type="math_number" id="6Ddw=H0!yK@CMVi.72eT">
                                <field name="NUM">3</field>
                              </shadow>
                            </value>
                            <value name="SLOW_EMA_PERIOD">
                              <shadow type="math_number" id="c)n-T|X#c^/Eqp5sz!U?">
                                <field name="NUM">5</field>
                              </shadow>
                            </value>
                            <value name="SMA_PERIOD">
                              <shadow type="math_number" id=")DvLs+Z3{hLUhpK9~*g4">
                                <field name="NUM">3</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="zhHwc=[5It8Q/$9tOYn3">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="lists_getIndex" id="AG|Q~a;juVY{O=,2z7pN" inline="false">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="macda" id="w0fuv^I^;dFaJZSFuWfd">
                            <field name="MACDFIELDS_LIST">2</field>
                            <value name="INPUT">
                              <block type="ticks" id="w=;Yh+wT=]Q(M#QS`4G^"></block>
                            </value>
                            <value name="FAST_EMA_PERIOD">
                              <shadow type="math_number" id="hp@H##}]JZNzj6b0Na.I">
                                <field name="NUM">3</field>
                              </shadow>
                            </value>
                            <value name="SLOW_EMA_PERIOD">
                              <shadow type="math_number" id="WXiWpwfM3yYT1}4fLRgl">
                                <field name="NUM">5</field>
                              </shadow>
                            </value>
                            <value name="SMA_PERIOD">
                              <shadow type="math_number" id="RHy;@%2cTWW*1s{;Tw9^">
                                <field name="NUM">3</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="hS32DY63O1lHhsmB_gcg">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO1">
          <block type="purchase" id="0y7J{wSE3$QEb@7V_5^3">
            <field name="PURCHASE_LIST">PUT</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="0" y="757">
    <statement name="AFTERPURCHASE_STACK">
      <block type="math_change" id="2rA7pm!F![C@~`rUN|kA">
        <field name="VAR" id="FzNI24YX^rV6?7-el;Sj" variabletype="">losses</field>
        <value name="DELTA">
          <shadow type="math_number" id=";$]8lz#GJ)wO1z/p[yWv">
            <field name="NUM">1</field>
          </shadow>
          <block type="read_details" id="uJx#!_?q#u``O15=H`zz">
            <field name="DETAIL_INDEX">4</field>
          </block>
        </value>
        <next>
          <block type="math_change" id=")+?EbR2`txkIVhe%S@y=">
            <field name="VAR" id="^l`WvQ_4[vkxS`y!V;4e" variabletype="">total</field>
            <value name="DELTA">
              <shadow type="math_number" id="]^|yG]sIOn8S0)]$T@!S">
                <field name="NUM">1</field>
              </shadow>
              <block type="read_details" id="W4t)2dWo*tBFp#A6xSl2">
                <field name="DETAIL_INDEX">4</field>
              </block>
            </value>
            <next>
              <block type="controls_if" id="?uL7#|r-[y):sylh5=8O">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="contract_check_result" id=".zV9=Tnxvj~}{KeRXXq7">
                    <field name="CHECK_RESULT">win</field>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="J3^/EWT;|01|O^)RDgU(">
                    <field name="VAR" id="7:if=a#,-Ppj#V{:vl_t" variabletype="">stake</field>
                    <value name="VALUE">
                      <block type="math_number" id="IjOcGqUft7_Kxum_2_i1">
                        <field name="NUM">0.35</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="out6:9=:L,uN^L(poE]w">
                        <field name="VAR" id="FzNI24YX^rV6?7-el;Sj" variabletype="">losses</field>
                        <value name="VALUE">
                          <block type="math_number" id="pAC?N*OTvMfQF5|~Eh-E">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="variables_set" id="$?KLlNeUrJvq3*h_iHi2">
                    <field name="VAR" id="7:if=a#,-Ppj#V{:vl_t" variabletype="">stake</field>
                    <value name="VALUE">
                      <block type="math_single" id="tY[9X0=S8EKC.7bpBg;*">
                        <field name="OP">ABS</field>
                        <value name="NUM">
                          <shadow type="math_number" id="S5wIT^8B!aK~FODWG}r)">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="math_arithmetic" id="uQPR$ziSgXk^=wD+m[yQ">
                            <field name="OP">DIVIDE</field>
                            <value name="A">
                              <shadow type="math_number" id="U`muhM;??#Cfrd#`|U0J">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="variables_get" id="xs5R0b9GGrr8WTJ%z`-P">
                                <field name="VAR" id="FzNI24YX^rV6?7-el;Sj" variabletype="">losses</field>
                              </block>
                            </value>
                            <value name="B">
                              <shadow type="math_number" id="1X;]?h0}Ap=1Uz237mf}">
                                <field name="NUM">0.909</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="pd]MlLl6gr3v!lg=38R:">
                    <value name="IF0">
                      <block type="logic_compare" id="M+8ymU;1,%oMQAng$|.:">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="variables_get" id="khQu[JfuBiKtt4*o96[)">
                            <field name="VAR" id="^l`WvQ_4[vkxS`y!V;4e" variabletype="">total</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="gakwL6yGexU#n`A;KgUk">
                            <field name="VAR" id="]//wcGl)OQzBxP#-}McQ" variabletype="">targetProfit</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>