﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="0(J3W?)7WG,u!yX119;T">Max Acceptable Loss</variable>
    <variable type="" id="9a04?r6,35cNoR$s;S86">Expected Profit</variable>
    <variable type="" id="(A_WEO$aq{0CAgU2sNul">Initial Amount</variable>
    <variable type="" id="P8w3:!|wF5#9k/VFpYm4">Rise</variable>
    <variable type="" id="vUzj|28H4:cNQ)}C`cDu">Win Amount</variable>
    <variable type="" id="nBdbsQQWl9j#e[h2Z^Da">Fall</variable>
  </variables>
  <block type="before_purchase" id="H5%3Ws}MUs}=!LUs5,0T" x="687" y="55">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="2yy!bgnJr}m%ghpM{p)1">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="5=T5nh,TwplXA{.]n6{Y">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="di`q=.*$t5N9wKyV=5pY">
                <field name="VAR" id="P8w3:!|wF5#9k/VFpYm4" variabletype="">Rise</field>
              </block>
            </value>
            <value name="B">
              <block type="math_number" id="Tdx$x+rzm-Zb[oqjH3M8">
                <field name="NUM">0</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="math_change" id="DWcP=cR*doOQkaLiStY4">
            <field name="VAR" id="P8w3:!|wF5#9k/VFpYm4" variabletype="">Rise</field>
            <value name="DELTA">
              <shadow type="math_number" id="X]?^Fy^,:mQ!hXY)PmrJ">
                <field name="NUM">1</field>
              </shadow>
              <block type="math_number" id="QF,BHIl#2g8bv7Ptj7FS">
                <field name="NUM">1</field>
              </block>
            </value>
            <next>
              <block type="purchase" id="kfDXn~Ge*psuU4FH2@ow">
                <field name="PURCHASE_LIST">CALL</field>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="controls_if" id="=mVv,7tnYL,Dt:A9rh;-">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="-)h%80[q5@MliC-47R4%">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="Cq1V3:J3A=A._t0dnr[r">
                    <field name="VAR" id="P8w3:!|wF5#9k/VFpYm4" variabletype="">Rise</field>
                  </block>
                </value>
                <value name="B">
                  <block type="math_number" id="jmi0`4OP#/A3HT|1HcFF">
                    <field name="NUM">1</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="math_change" id="F9I2ZCM}NnCQjEQJ+iI3">
                <field name="VAR" id="P8w3:!|wF5#9k/VFpYm4" variabletype="">Rise</field>
                <value name="DELTA">
                  <shadow type="math_number" id="X]?^Fy^,:mQ!hXY)PmrJ">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_number" id="7(E.MnuVuP@|S(Hy1PV=">
                    <field name="NUM">1</field>
                  </block>
                </value>
                <next>
                  <block type="purchase" id="mnc3hWP{qk`6/XABbj)p">
                    <field name="PURCHASE_LIST">CALL</field>
                  </block>
                </next>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="controls_if" id="U!=qwW{=VW]B=2LHUP9Y">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_operation" id="O{N_y/KUG0d9xYV|Sy~S">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="logic_compare" id="o}dz.v{9njR!zT}!.^.T">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="CL9z`DqGelJA#tyahPNj">
                            <field name="VAR" id="P8w3:!|wF5#9k/VFpYm4" variabletype="">Rise</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="_/MMfH_v~x|Do_Y?FoT4">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="n=Um{*(V:,I@G^=duP{4">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="zm29KcR(%g0kBdow5oBk">
                            <field name="VAR" id="nBdbsQQWl9j#e[h2Z^Da" variabletype="">Fall</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="pWIW%y,StFPHrTMGg{eN">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="math_change" id="fTI~%|f?!9y2rXc@12,X">
                    <field name="VAR" id="nBdbsQQWl9j#e[h2Z^Da" variabletype="">Fall</field>
                    <value name="DELTA">
                      <shadow type="math_number" id="X]?^Fy^,:mQ!hXY)PmrJ">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_number" id="t9zGy_k2Ylx[8[T{=e87">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                    <next>
                      <block type="purchase" id="#6IM;rbjH8P71r~7L%5}">
                        <field name="PURCHASE_LIST">PUT</field>
                      </block>
                    </next>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="controls_if" id="rhD!GU**@TVRH?Xa*k}i">
                    <value name="IF0">
                      <block type="logic_operation" id=",m?!^y8(iO~:3zFnIB[W">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="logic_compare" id="f:w6Wt^zV]/zMFFv~}KL">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id="NWG7MFEGxJucOZv-n[Hz">
                                <field name="VAR" id="P8w3:!|wF5#9k/VFpYm4" variabletype="">Rise</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="XVS+O5$*ZzZtPy,N|sj?">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="m]PMwBc6V1V0?R33t{(8">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id="n=`XXl{2Tk|6|OhC663|">
                                <field name="VAR" id="nBdbsQQWl9j#e[h2Z^Da" variabletype="">Fall</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="vVPMjc~/Nda80%S,TONF">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="$8W[L]=?7is=sHbmLFI:">
                        <field name="VAR" id="nBdbsQQWl9j#e[h2Z^Da" variabletype="">Fall</field>
                        <value name="VALUE">
                          <block type="math_number" id="asGbw~kZ-1P?nH?57#b=">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="B0[s{RgM~)lT.S?E[]a#">
                            <field name="VAR" id="P8w3:!|wF5#9k/VFpYm4" variabletype="">Rise</field>
                            <value name="VALUE">
                              <block type="math_number" id="FmpoW#tK1Cz?JQtjrOEX">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                            <next>
                              <block type="purchase" id="R8hDfKN$ror3Ks*5YAxx">
                                <field name="PURCHASE_LIST">PUT</field>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="trade" id="trade" x="0" y="212">
    <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">FALSE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="v/O]iCQ}j[GiAK!S1!vk">
        <field name="VAR" id="0(J3W?)7WG,u!yX119;T" variabletype="">Max Acceptable Loss</field>
        <value name="VALUE">
          <block type="math_number" id="^:bth~fukQ(H;qG~W,J9">
            <field name="NUM">100000</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="yuF[{UN_)/n/p_7|Bn{^">
            <field name="VAR" id="9a04?r6,35cNoR$s;S86" variabletype="">Expected Profit</field>
            <value name="VALUE">
              <block type="math_number" id="TNeUN!N2ai|Riu#T4Hs+">
                <field name="NUM">100000</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="kYN4z~^G*jW!tl[ag//|">
                <field name="VAR" id="vUzj|28H4:cNQ)}C`cDu" variabletype="">Win Amount</field>
                <value name="VALUE">
                  <block type="math_number" id="D.+RaH}/KM^=R_/i;Uj-">
                    <field name="NUM">0.35</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="!rE+(YJ?USv@e;5A6{3i">
                    <field name="VAR" id="(A_WEO$aq{0CAgU2sNul" variabletype="">Initial Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="zBSG}Pb^V)cr2}S(Tt})">
                        <field name="NUM">0.35</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="^:i}ER6].m~!Ld:0-:6~">
                        <field name="VAR" id="P8w3:!|wF5#9k/VFpYm4" variabletype="">Rise</field>
                        <value name="VALUE">
                          <block type="math_number" id="mQ.F*S|3jv)1}8dF%TYh">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="j^6nv0){w*!:eaE)UsVh">
                            <field name="VAR" id="nBdbsQQWl9j#e[h2Z^Da" variabletype="">Fall</field>
                            <value name="VALUE">
                              <block type="math_number" id="Kj7]hviytx!:iJo1~9${">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="_^3}];Bu%K;a,T1VxH!|">
        <field name="DURATIONTYPE_LIST">s</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <block type="math_number" id="E{wg9Uzbj#A5|*K4jYPN">
            <field name="NUM">55</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="variables_get" id="0?Q}sei*{a4`}f^PRB%]">
            <field name="VAR" id="(A_WEO$aq{0CAgU2sNul" variabletype="">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="finish" x="18" y="793">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="Ir8Bkront:`9V-sXi@#I">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id=";]s^2b=xTZS#QHDFKlgc">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="controls_if" id="UcQe)nFmqe(0[9Q,S|SD">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="?ah|jGeNWCoNWOkZN^v[">
                <field name="OP">GTE</field>
                <value name="A">
                  <block type="total_profit" id="F)y90As^kxx;Bs(WZH+r"></block>
                </value>
                <value name="B">
                  <block type="variables_get" id="*U,c^@9J6~3QBy$Pd8bH">
                    <field name="VAR" id="9a04?r6,35cNoR$s;S86" variabletype="">Expected Profit</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="text_print" id="$8r+CTOK:~lL=ArIOw)y">
                <value name="TEXT">
                  <shadow type="text" id="qezOKcAqEM(,;hNe*o:6">
                    <field name="TEXT">abc</field>
                  </shadow>
                  <block type="text_join" id="a`OV6i5P/qd6%`nmGr1Y">
                    <mutation items="2"></mutation>
                    <value name="ADD0">
                      <block type="text" id="4sYoZp{c_7P94r1D(Ii5">
                        <field name="TEXT">Profit Alcançado:</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="total_profit" id="HO)#zQf1@_0sa,8F*{z]"></block>
                    </value>
                  </block>
                </value>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="variables_set" id="G!RGQ[b$3%%Ip*2x2{XY">
                <field name="VAR" id="P8w3:!|wF5#9k/VFpYm4" variabletype="">Rise</field>
                <value name="VALUE">
                  <block type="math_number" id="W#4a7Ov[4_N}_i^7w1p4">
                    <field name="NUM">0</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="ciQq(gZ~Fxe`ciWN(j$3">
                    <field name="VAR" id="(A_WEO$aq{0CAgU2sNul" variabletype="">Initial Amount</field>
                    <value name="VALUE">
                      <block type="variables_get" id="xN8t][e_#Iwl,h_kU3eY">
                        <field name="VAR" id="vUzj|28H4:cNQ)}C`cDu" variabletype="">Win Amount</field>
                      </block>
                    </value>
                    <next>
                      <block type="trade_again" id="WI-a^kf~W-(Rre$!N}`A"></block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="controls_if" id="lVpoIFEPvMWQ#+YTm$^=">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_operation" id=":=6lqO1.N6^~D9)g8EiI">
                <field name="OP">AND</field>
                <value name="A">
                  <block type="math_number_property" id="DIW)?-wL{oMDDEWp1g:7">
                    <mutation divisor_input="false"></mutation>
                    <field name="PROPERTY">NEGATIVE</field>
                    <value name="NUMBER_TO_CHECK">
                      <shadow type="math_number" id="@hcVsk.y:aLd-H4CKxqG">
                        <field name="NUM">0</field>
                      </shadow>
                      <block type="read_details" id="q|E)#8hOl+w4kmy8?:ZJ">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_compare" id="[020a:-3WqN6.!v_./cM">
                    <field name="OP">GTE</field>
                    <value name="A">
                      <block type="math_single" id="pE^b$$}u#aD{mG.BaK4;">
                        <field name="OP">ABS</field>
                        <value name="NUM">
                          <shadow type="math_number" id="{76SW2GS]o@FUId)Dnaj">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="read_details" id=".i^3dv[nBSbblqU;/d$9">
                            <field name="DETAIL_INDEX">4</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="IP:;]S=XBjB0KZvCt*HI">
                        <field name="VAR" id="0(J3W?)7WG,u!yX119;T" variabletype="">Max Acceptable Loss</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="text_print" id="BUTT,affyMWh!JCK=tWu">
                <value name="TEXT">
                  <shadow type="text" id="qezOKcAqEM(,;hNe*o:6">
                    <field name="TEXT">abc</field>
                  </shadow>
                  <block type="text_join" id="=V+V.X[0/40F0KJcYT0U">
                    <mutation items="2"></mutation>
                    <value name="ADD0">
                      <block type="text" id="S?r#[2YnRMRlD9qkp(eW">
                        <field name="TEXT">Stop Loss Alcançado:</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="total_profit" id="+.P:]/cPwjlRy]^GE]aF"></block>
                    </value>
                  </block>
                </value>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="math_change" id=",qg9$~e=Ac(NLf{~]*F2">
                <field name="VAR" id="(A_WEO$aq{0CAgU2sNul" variabletype="">Initial Amount</field>
                <value name="DELTA">
                  <shadow type="math_number" id="*x9{oq(ip#8E)T{(VA(r">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_arithmetic" id="k*0xG=UzdHF=1LPEiY/z">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow type="math_number" id="e*}6i;_`As3}I?c_Q`o:">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_single" id="0Cq`$Jfc{J56d3dZ4:|l">
                        <field name="OP">ABS</field>
                        <value name="NUM">
                          <shadow type="math_number" id="{76SW2GS]o@FUId)Dnaj">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="read_details" id="Dtt_bAfGQVckxZG+h5Gz">
                            <field name="DETAIL_INDEX">4</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="1+|+ZLd}/EJQ%fRL8{.`">
                        <field name="NUM">1.041</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="trade_again" id="EiZpzi6n7ZNYMJ?|S=vA"></block>
                </next>
              </block>
            </statement>
          </block>
        </statement>
      </block>
    </statement>
  </block>
</xml>