﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="bXW]q$=dr[hfkF)JJ-AT">Max Loss Amount</variable>
    <variable type="" id="xS#p,ppZ}8nX*NoxoP6N">Vela1Roja</variable>
    <variable type="" id="383iPddSOBrAg$=G^+[j">Expected Profit</variable>
    <variable type="" id="[;/XSm6:I@4GeD4}2I~Y">Initial Amount</variable>
    <variable type="" id="D-b`Xw=)|d#juu{oliO~">Vela2Roja</variable>
    <variable type="" id="nX]KunO$g}%.r0qMfu1-">Win Amount</variable>
    <variable type="" id="$]?+*oo@$!#nHuMYoz48">Vela3Roja</variable>
    <variable type="" id="z|ySGnk-c)t-^bTM^q#a">SignalColor</variable>
    <variable type="" id="|R!IUti_++q.[!2q-=P.">Signal_BB</variable>
    <variable type="" id="o9#!r8~Gy#l9Cl/jY{Er">BB_UPPER</variable>
    <variable type="" id=":%ER[+htRDHMqV)/UcO]">BB_LOWER</variable>
  </variables>
  <block type="trade" id="trade" x="0" y="0">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_50</field>
    <field name="TRADETYPECAT_LIST">callput</field>
    <field name="TRADETYPE_LIST">risefall</field>
    <field name="TYPE_LIST">both</field>
    <field name="CANDLEINTERVAL_LIST">180</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="IpH/OKA3R.E;dEgGMbf,">
        <field name="VAR" id="bXW]q$=dr[hfkF)JJ-AT" variabletype="">Max Loss Amount</field>
        <value name="VALUE">
          <block type="math_number" id="=XFKCMq#6s#Mo6`~.@`0">
            <field name="NUM">80</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="{_clcmJ(*gEi!Br8c}kM">
            <field name="VAR" id="383iPddSOBrAg$=G^+[j" variabletype="">Expected Profit</field>
            <value name="VALUE">
              <block type="math_number" id="q}((XO%dDMm1RXxPNqt#">
                <field name="NUM">25</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id=")ZZGf^cT0rOqa/Ma%NC]">
                <field name="VAR" id="nX]KunO$g}%.r0qMfu1-" variabletype="">Win Amount</field>
                <value name="VALUE">
                  <block type="math_number" id="YHAI}G~p-MzbG{Q#}HYP">
                    <field name="NUM">0.5</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="su0Gc91D[(`K},Nk5p|N">
                    <field name="VAR" id="[;/XSm6:I@4GeD4}2I~Y" variabletype="">Initial Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="MFliyze83ZUSaeqHp]Qd">
                        <field name="NUM">0.5</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="wVqoaQALFQ%se*0(=U5a">
        <field name="DURATIONTYPE_LIST">m</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <block type="math_number" id="~G^:]=.b`!T9.Il_vkLS">
            <field name="NUM">1</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="variables_get" id="U7j6VStMd;ipx]Ouc..l">
            <field name="VAR" id="[;/XSm6:I@4GeD4}2I~Y" variabletype="">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="tick_analysis" id="SWc!?|aHM+(=p^R.pZ{9" x="1171" y="134">
    <statement name="TICKANALYSIS_STACK">
      <block type="variables_set" id="5rp$RDTmfFvp)zx)i+.^">
        <field name="VAR" id="xS#p,ppZ}8nX*NoxoP6N" variabletype="">Vela1Roja</field>
        <value name="VALUE">
          <block type="is_candle_black" id="~;S,F}30M0:0zJT%Iv`k">
            <value name="OHLCOBJ">
              <block type="get_ohlc" id="`pe~*!x_~.N;d,PcZ3xN">
                <field name="CANDLEINTERVAL_LIST">default</field>
                <value name="CANDLEINDEX">
                  <shadow type="math_number" id="^)a!vK+N0[#Nir|/yc]X">
                    <field name="NUM">2</field>
                  </shadow>
                </value>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="Aq?0:*x=2HIaH{x|D/F/">
            <field name="VAR" id="D-b`Xw=)|d#juu{oliO~" variabletype="">Vela2Roja</field>
            <value name="VALUE">
              <block type="is_candle_black" id="uJU|7y{i1}_GBaICiT[2">
                <value name="OHLCOBJ">
                  <block type="get_ohlc" id="Fq9IW+a/$6]bHu-R3o,q">
                    <field name="CANDLEINTERVAL_LIST">default</field>
                    <value name="CANDLEINDEX">
                      <shadow type="math_number" id="v+-w/Qd|!@qF;LKSF48s">
                        <field name="NUM">3</field>
                      </shadow>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="N0!Lu7`;EO:F+S:WSU21">
                <field name="VAR" id="$]?+*oo@$!#nHuMYoz48" variabletype="">Vela3Roja</field>
                <value name="VALUE">
                  <block type="is_candle_black" id="7?1voEid:Dwc{1F/`!.t">
                    <value name="OHLCOBJ">
                      <block type="get_ohlc" id="#*$Ach0Tv*V4|LAAZ#cD">
                        <field name="CANDLEINTERVAL_LIST">default</field>
                        <value name="CANDLEINDEX">
                          <shadow type="math_number" id="/QK9y~Ta*F)=7l`]k.9{">
                            <field name="NUM">4</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="UB/cKRk}BWIAlv!l=;zE">
                    <field name="VAR" id="z|ySGnk-c)t-^bTM^q#a" variabletype="">SignalColor</field>
                    <value name="VALUE">
                      <block type="text" id=":U_T-|zmuQ*-?yx.fxiz">
                        <field name="TEXT">NoNe</field>
                      </block>
                    </value>
                    <next>
                      <block type="controls_if" id="(/w%Shq4NBrN_XCWN+8g">
                        <value name="IF0">
                          <block type="logic_operation" id=",]Cyz8^Ve2f1nr3Qn=,w">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="logic_compare" id="gvA6~V!X4B[E-ubSi!v~">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="variables_get" id="rG,U.vungbi,#;8ACxV[">
                                    <field name="VAR" id="xS#p,ppZ}8nX*NoxoP6N" variabletype="">Vela1Roja</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="variables_get" id="mvv;U3`|A,IJv+L@nU|q">
                                    <field name="VAR" id="D-b`Xw=)|d#juu{oliO~" variabletype="">Vela2Roja</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id="=KQ9oTtA2R7i-5Z))U}8">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="variables_get" id="@uq[g.Df_f~#U5If1Bc+">
                                    <field name="VAR" id="D-b`Xw=)|d#juu{oliO~" variabletype="">Vela2Roja</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="variables_get" id="P54V0U!}|i!xuPdcN/tY">
                                    <field name="VAR" id="$]?+*oo@$!#nHuMYoz48" variabletype="">Vela3Roja</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="controls_if" id="=H=q~#]{XnIXg**bvS{N">
                            <mutation else="1"></mutation>
                            <value name="IF0">
                              <block type="variables_get" id="MlxC@+BmJE`jmi]^8+z2">
                                <field name="VAR" id="xS#p,ppZ}8nX*NoxoP6N" variabletype="">Vela1Roja</field>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="Y{!,yblSrL[fGKOD1f}H">
                                <field name="VAR" id="z|ySGnk-c)t-^bTM^q#a" variabletype="">SignalColor</field>
                                <value name="VALUE">
                                  <block type="text" id="1z*GN8nssOD1%Gm.!}QL">
                                    <field name="TEXT">red</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <statement name="ELSE">
                              <block type="variables_set" id="XQ_fxl~cK#se6/I)gpRh">
                                <field name="VAR" id="z|ySGnk-c)t-^bTM^q#a" variabletype="">SignalColor</field>
                                <value name="VALUE">
                                  <block type="text" id="*nk;~5XVWv}}v@wT!Xcu">
                                    <field name="TEXT">green</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                          </block>
                        </statement>
                        <next>
                          <block type="variables_set" id="[YP+Dv2?},Mp}Z{i8rz#">
                            <field name="VAR" id="o9#!r8~Gy#l9Cl/jY{Er" variabletype="">BB_UPPER</field>
                            <value name="VALUE">
                              <block type="bba" id="sed8aZ2}BD7[~MC)(f:E">
                                <field name="BBRESULT_LIST">1</field>
                                <value name="INPUT">
                                  <block type="ohlc_values" id="=+y^w0?*d^(.Zd`XRAdJ">
                                    <field name="OHLCFIELD_LIST">close</field>
                                    <field name="CANDLEINTERVAL_LIST">default</field>
                                  </block>
                                </value>
                                <value name="PERIOD">
                                  <shadow type="math_number" id="x,rLEqi;ctLpVatr@:n9">
                                    <field name="NUM">14</field>
                                  </shadow>
                                </value>
                                <value name="UPMULTIPLIER">
                                  <shadow type="math_number" id=":a5BKGTwUU2ep?9xGbi!">
                                    <field name="NUM">2</field>
                                  </shadow>
                                </value>
                                <value name="DOWNMULTIPLIER">
                                  <shadow type="math_number" id="=V09y]Ah_O,m4-o,3=~M">
                                    <field name="NUM">2</field>
                                  </shadow>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="~,hX9fsX7~rYr6C!2-sl">
                                <field name="VAR" id=":%ER[+htRDHMqV)/UcO]" variabletype="">BB_LOWER</field>
                                <value name="VALUE">
                                  <block type="bba" id="lXnbFk97N~@~)%/wwl(O">
                                    <field name="BBRESULT_LIST">1</field>
                                    <value name="INPUT">
                                      <block type="ohlc_values" id="3NOt1=+exXopZyP6LiI.">
                                        <field name="OHLCFIELD_LIST">close</field>
                                        <field name="CANDLEINTERVAL_LIST">default</field>
                                      </block>
                                    </value>
                                    <value name="PERIOD">
                                      <shadow type="math_number" id="Kv,(jQAA=MhVY0oYQuf:">
                                        <field name="NUM">14</field>
                                      </shadow>
                                    </value>
                                    <value name="UPMULTIPLIER">
                                      <shadow type="math_number" id="C.Lb.w_zE7p4`pQ;MEFd">
                                        <field name="NUM">2</field>
                                      </shadow>
                                    </value>
                                    <value name="DOWNMULTIPLIER">
                                      <shadow type="math_number" id="7ODEet,:?clAHmnkS0R[">
                                        <field name="NUM">2</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="?Nl4FgW5HOsX:P||Wgr^">
                                    <field name="VAR" id="|R!IUti_++q.[!2q-=P." variabletype="">Signal_BB</field>
                                    <value name="VALUE">
                                      <block type="text" id="awGzmPv4QNUZ$xQgla*o">
                                        <field name="TEXT">NoNe</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="notify" id="*s+8XJUk18UHt)7twj%R" disabled="true">
                                        <field name="NOTIFICATION_TYPE">success</field>
                                        <field name="NOTIFICATION_SOUND">silent</field>
                                        <value name="MESSAGE">
                                          <shadow type="text" id="s;qjASWD0cU$L77#:ZSj">
                                            <field name="TEXT">abc</field>
                                          </shadow>
                                          <block type="variables_get" id="@Vm~b*NvO%n3q0{fS84B">
                                            <field name="VAR" id="o9#!r8~Gy#l9Cl/jY{Er" variabletype="">BB_UPPER</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="controls_if" id="bYkI;*dV,Fdd|r75,9b4">
                                            <mutation elseif="1"></mutation>
                                            <value name="IF0">
                                              <block type="logic_operation" id="@Gji]/[(o|Wf58@Ifawe">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_compare" id="~}6XHd5o-#XpZq]dn#rG">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="read_ohlc" id="Gp[.7g@A4xj+yp5a#bAm">
                                                        <field name="OHLCFIELD_LIST">close</field>
                                                        <field name="CANDLEINTERVAL_LIST">default</field>
                                                        <value name="CANDLEINDEX">
                                                          <shadow type="math_number" id="^A~MG{($qk~H+e}xM!|)">
                                                            <field name="NUM">2</field>
                                                          </shadow>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="lists_getIndex" id="vp*Iu{~R1xZc5`uJuJiN">
                                                        <mutation statement="false" at="true"></mutation>
                                                        <field name="MODE">GET</field>
                                                        <field name="WHERE">FROM_END</field>
                                                        <value name="VALUE">
                                                          <block type="variables_get" id="5!#B9-5ti}EpOFr2^0nY">
                                                            <field name="VAR" id="o9#!r8~Gy#l9Cl/jY{Er" variabletype="">BB_UPPER</field>
                                                          </block>
                                                        </value>
                                                        <value name="AT">
                                                          <block type="math_number" id="If(Vmm|^wAqa3LPr?fGL">
                                                            <field name="NUM">2</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_compare" id="kIgfSf~Rz*o019xdu-sM">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="read_ohlc" id="`.g)|%PGgEG1~N/2a9=c">
                                                        <field name="OHLCFIELD_LIST">close</field>
                                                        <field name="CANDLEINTERVAL_LIST">default</field>
                                                        <value name="CANDLEINDEX">
                                                          <shadow type="math_number" id="6LFQ`(9_%}ci.,i^@5}!">
                                                            <field name="NUM">3</field>
                                                          </shadow>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="lists_getIndex" id="P}0;$Kuw;2JDO}`lWJ1U">
                                                        <mutation statement="false" at="true"></mutation>
                                                        <field name="MODE">GET</field>
                                                        <field name="WHERE">FROM_END</field>
                                                        <value name="VALUE">
                                                          <block type="variables_get" id="Q_:%1D0gJ~8uz7SfSaw%">
                                                            <field name="VAR" id="o9#!r8~Gy#l9Cl/jY{Er" variabletype="">BB_UPPER</field>
                                                          </block>
                                                        </value>
                                                        <value name="AT">
                                                          <block type="math_number" id="BbyEQ5.xBH(JA_h4bG%%">
                                                            <field name="NUM">3</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="controls_if" id="WJpF(eP.(NZZ_C,73^!2">
                                                <value name="IF0">
                                                  <block type="logic_compare" id="U}XyxH3x*q+LM/]kaoOE">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="read_ohlc" id="Xk5l^!;05i^K|1tOs4yg">
                                                        <field name="OHLCFIELD_LIST">close</field>
                                                        <field name="CANDLEINTERVAL_LIST">default</field>
                                                        <value name="CANDLEINDEX">
                                                          <shadow type="math_number" id="3Cp.!Psyvr,LHXM:GPRr">
                                                            <field name="NUM">4</field>
                                                          </shadow>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="lists_getIndex" id="6%VDnOg92)XCkPCWS%k;">
                                                        <mutation statement="false" at="true"></mutation>
                                                        <field name="MODE">GET</field>
                                                        <field name="WHERE">FROM_END</field>
                                                        <value name="VALUE">
                                                          <block type="variables_get" id="O.97LW]Q/Q!D@C{Q=d_n">
                                                            <field name="VAR" id="o9#!r8~Gy#l9Cl/jY{Er" variabletype="">BB_UPPER</field>
                                                          </block>
                                                        </value>
                                                        <value name="AT">
                                                          <block type="math_number" id="L-sq(:vy%mcDh@[[]7To">
                                                            <field name="NUM">4</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="variables_set" id="Cf|1A=6A9$OzGYs*nOV[">
                                                    <field name="VAR" id="|R!IUti_++q.[!2q-=P." variabletype="">Signal_BB</field>
                                                    <value name="VALUE">
                                                      <block type="text" id="kPfsaH^[/Hl-IM/[]Z2U">
                                                        <field name="TEXT">up</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                              </block>
                                            </statement>
                                            <value name="IF1">
                                              <block type="logic_operation" id="-GvZOr/zZZ;UOdMEPtF.">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_compare" id="yub}T0;+O@)7MVPd9!cG">
                                                    <field name="OP">LT</field>
                                                    <value name="A">
                                                      <block type="read_ohlc" id="d!K15,IPKk(g/d))[{jT">
                                                        <field name="OHLCFIELD_LIST">close</field>
                                                        <field name="CANDLEINTERVAL_LIST">default</field>
                                                        <value name="CANDLEINDEX">
                                                          <shadow type="math_number" id="O,IJoC4)]$fPklHgXkrr">
                                                            <field name="NUM">2</field>
                                                          </shadow>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="lists_getIndex" id="!L{fChAih,TrIa|~Qd{7">
                                                        <mutation statement="false" at="true"></mutation>
                                                        <field name="MODE">GET</field>
                                                        <field name="WHERE">FROM_END</field>
                                                        <value name="VALUE">
                                                          <block type="variables_get" id="^.mMO_[JH;#;W0z+O*1(">
                                                            <field name="VAR" id=":%ER[+htRDHMqV)/UcO]" variabletype="">BB_LOWER</field>
                                                          </block>
                                                        </value>
                                                        <value name="AT">
                                                          <block type="math_number" id="~dXa?6oop[QHv=}3oA;u">
                                                            <field name="NUM">2</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_compare" id="@N`VjJZp.@@}Qx~jdy*X">
                                                    <field name="OP">LT</field>
                                                    <value name="A">
                                                      <block type="read_ohlc" id="HyXPM)w~Fk{B%rl;2#e2">
                                                        <field name="OHLCFIELD_LIST">close</field>
                                                        <field name="CANDLEINTERVAL_LIST">default</field>
                                                        <value name="CANDLEINDEX">
                                                          <shadow type="math_number" id="?5SFP:)D~EDH)nk=M(st">
                                                            <field name="NUM">3</field>
                                                          </shadow>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="lists_getIndex" id="-Xn2{aJ)V{:iIVEK_-gu">
                                                        <mutation statement="false" at="true"></mutation>
                                                        <field name="MODE">GET</field>
                                                        <field name="WHERE">FROM_END</field>
                                                        <value name="VALUE">
                                                          <block type="variables_get" id="9}phN;zc;)`!]XS%#PQN">
                                                            <field name="VAR" id=":%ER[+htRDHMqV)/UcO]" variabletype="">BB_LOWER</field>
                                                          </block>
                                                        </value>
                                                        <value name="AT">
                                                          <block type="math_number" id="=Q$Z+-u*-FTmYR$U,L^k">
                                                            <field name="NUM">3</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO1">
                                              <block type="controls_if" id="CI`m%bTI(.jPQ80Gpr8R">
                                                <value name="IF0">
                                                  <block type="logic_compare" id="9,+!:9(+Ez?bB/Gidr$n">
                                                    <field name="OP">LT</field>
                                                    <value name="A">
                                                      <block type="read_ohlc" id="SW)4NrW1WdYzH,2PAsl5">
                                                        <field name="OHLCFIELD_LIST">close</field>
                                                        <field name="CANDLEINTERVAL_LIST">default</field>
                                                        <value name="CANDLEINDEX">
                                                          <shadow type="math_number" id="V1fXb6$[8r]de[Y-=iEs">
                                                            <field name="NUM">4</field>
                                                          </shadow>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="lists_getIndex" id="7kf,cO/ZN{E?)uzdwPQM">
                                                        <mutation statement="false" at="true"></mutation>
                                                        <field name="MODE">GET</field>
                                                        <field name="WHERE">FROM_END</field>
                                                        <value name="VALUE">
                                                          <block type="variables_get" id="nz%#BO]d;vG4nQYMFIQo">
                                                            <field name="VAR" id=":%ER[+htRDHMqV)/UcO]" variabletype="">BB_LOWER</field>
                                                          </block>
                                                        </value>
                                                        <value name="AT">
                                                          <block type="math_number" id="qFTj6,R||X8~01K^enwS">
                                                            <field name="NUM">4</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="variables_set" id="KcWJol_/8WuMFPK1C^RY">
                                                    <field name="VAR" id="|R!IUti_++q.[!2q-=P." variabletype="">Signal_BB</field>
                                                    <value name="VALUE">
                                                      <block type="text" id="+qp(s5K0^4TG1$AM.MC)">
                                                        <field name="TEXT">down</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                              </block>
                                            </statement>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="finish" x="0" y="516">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="a!_WKGNJh,yQ}tk|:`NI">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="O1ON.Ffb1!6t,P`iFZ]!">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="zw:P~.RrRR4@/[ZDu;Cc">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="6v3if%7]E52#?`jFIB!f">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="ODDvC.!;oC7lFi#W0*kB">
                    <field name="TEXT">Won:</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id="KzeETsb#x.wDkbkAPd=}">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="=*k@},WThq4c@/K_{kF%">
                <field name="VAR" id="[;/XSm6:I@4GeD4}2I~Y" variabletype="">Initial Amount</field>
                <value name="VALUE">
                  <block type="variables_get" id="zaeP]S1q0DLSb08yz]+4">
                    <field name="VAR" id="nX]KunO$g}%.r0qMfu1-" variabletype="">Win Amount</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="%oq)w)m2-uXUJwDkEX3r">
            <field name="NOTIFICATION_TYPE">warn</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="kRD-eN4Qav7`u.gQ(tkn">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="_u}p#WG2-0R,3wmR::e7">
                    <field name="TEXT">Lost: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="math_single" id="WC8^:q6MT;.=}juq3~w+">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow type="math_number" id="GleSn`9j7Cm7/dqg}FIA">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="read_details" id="[6yQUMvdZh#*SBr)o1Lf">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="math_change" id="szxi%pOMsEZiNe!@=`z_">
                <field name="VAR" id="[;/XSm6:I@4GeD4}2I~Y" variabletype="">Initial Amount</field>
                <value name="DELTA">
                  <shadow type="math_number" id="N=Vo^MVz~/^(xt7Ag@8E">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_arithmetic" id="L|Yp}u1YlBQ9k78`pWjV">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow type="math_number" id="ka8n8|Dugz,q5FkUjs`7">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_single" id="FX_=g~%((pbM8DTsJlMU">
                        <field name="OP">ABS</field>
                        <value name="NUM">
                          <shadow type="math_number" id="GleSn`9j7Cm7/dqg}FIA">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="read_details" id="E^S1f%ov/wT*)f}Q2!SK">
                            <field name="DETAIL_INDEX">4</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="{JXdZCp2%s=sfO@yN:n}">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_number" id="`QKav=/U4)}^__0!o_(c">
                        <field name="NUM">1.041</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="mu#-HM%oPx={kJ=fV8=|">
                    <value name="IF0">
                      <block type="logic_compare" id="dNs]t(GyzgglM,XMTDvb">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="math_single" id="a0@ts-ulSz~m0[mw87ir">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow type="math_number" id="ft^DVzOH^GlSjzUC}@3c">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="read_details" id="A/Hs,Vny^(7-mM{:InU[">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="HeD6}Fq/mG)kOI1]*44[">
                            <field name="VAR" id="bXW]q$=dr[hfkF)JJ-AT" variabletype="">Max Loss Amount</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="u:oJzS]FEYpy9ypI3bD*">
                        <field name="VAR" id="[;/XSm6:I@4GeD4}2I~Y" variabletype="">Initial Amount</field>
                        <value name="VALUE">
                          <block type="variables_get" id="),(#N=,PVUQl!wgt-~4i">
                            <field name="VAR" id="nX]KunO$g}%.r0qMfu1-" variabletype="">Win Amount</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="]fc2SUtM2UzE|=Tzpy}S">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="*!(=c%67H[//(y{YBgZy">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="[69Ue}W}MaCF*BU#294_">
                    <field name="TEXT">Total Profit: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="}*H,Z~xMxuNBTwVTv4*{"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="Su2G{`dLNbP}g7q=]!p)">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="N^U?{:24gAXhqr=~#}={">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="total_profit" id="%wR%e|eExAHt5W:,kAsm"></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id=",F_S*,CaK.}p}MS{#)eG">
                        <field name="VAR" id="383iPddSOBrAg$=G^+[j" variabletype="">Expected Profit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="trade_again" id="WlL(Yr4%r-~ea4QwP#Nm"></block>
                </statement>
                <statement name="ELSE">
                  <block type="text_print" id="Flww-KT}T1+c~bF:^cMb">
                    <value name="TEXT">
                      <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="_3~!q2F=HY|q(Kdb^m9l">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="Gg@4VoMw!c3UbQ[:@PB.">
                            <field name="TEXT">Done! Total profit: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="O:MYUukPm?_m(w65eRd?"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="strategy" x="18" y="1224">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="Wt]@H+KhUIfNs/?hKz3N">
        <value name="IF0">
          <block type="logic_operation" id="GLqKF_WOQ(0~CKO7t8e2">
            <field name="OP">AND</field>
            <value name="A">
              <block type="logic_compare" id="-30TccaHW7V%`k,1CmhU">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="pL/^~pkR$Ct!-8!/,d*%">
                    <field name="VAR" id="z|ySGnk-c)t-^bTM^q#a" variabletype="">SignalColor</field>
                  </block>
                </value>
                <value name="B">
                  <block type="text" id="Zr=G|$-ioBBmL6sH7liL">
                    <field name="TEXT">green</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_compare" id="?izlRjFoP;yHWQEtBB?=">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="CR_5f0_A;.k8-+=g8?u7">
                    <field name="VAR" id="|R!IUti_++q.[!2q-=P." variabletype="">Signal_BB</field>
                  </block>
                </value>
                <value name="B">
                  <block type="text" id="GwolH5eK3nXvfiCWynxk">
                    <field name="TEXT">up</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="ZVP}e)NE+mzs2cOebw5Y">
            <field name="PURCHASE_LIST">PUT</field>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="g|3uZ(wAr4$i$;nC5Smc">
            <value name="IF0">
              <block type="logic_operation" id="I;kN9!]H+U=b-}D_HDlL">
                <field name="OP">AND</field>
                <value name="A">
                  <block type="logic_compare" id="_HAQJ^I9w,NH1o/Y;*OR">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="QNJ6y9Pm~k*V0Y!d|CP@">
                        <field name="VAR" id="z|ySGnk-c)t-^bTM^q#a" variabletype="">SignalColor</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="text" id="m+Z-9f%77fw[gYOG#Mg^">
                        <field name="TEXT">red</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_compare" id="NlT)Q^V5o130TbS-=s_A">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="(|,gKh}hP5+E-.;(ODex">
                        <field name="VAR" id="|R!IUti_++q.[!2q-=P." variabletype="">Signal_BB</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="text" id="@FkedRn:D{]h}t]eOW##">
                        <field name="TEXT">down</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="purchase" id="mW0m.mGli}I`b3Y7J#//">
                <field name="PURCHASE_LIST">CALL</field>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>