<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="m2.^8SppU14]K6s?(m]}">Max Loss Amount</variable>
    <variable type="" id="Da2IN4{5CCIRmn:C_a:0">Expected Profit</variable>
    <variable type="" id="/e|rQ%s^J*Q(bdu-KTw7">Initial Amount</variable>
    <variable type="" id="G-$aCoZFE(IWJ()f^Hh-">slos</variable>
    <variable type="" id="|J.Bd[!TQZ,nr:;%O6@i">LDP</variable>
    <variable type="" id="XT*/b4eKI2UCyA:W`DNE">Win Amount</variable>
    <variable type="" id="(7J5aDa*vG%;+rNV#Wn_">Resultado_Operacao</variable>
    <variable type="" id="y=FoDZ`({iJrKyLq/2Nz">Resultado_Operacao_Old</variable>
  </variables>
  <block type="trade" id="trade" x="-902" y="-541">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_100</field>
    <field name="TRADETYPECAT_LIST">callputequal</field>
    <field name="TRADETYPE_LIST">risefallequals</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="qSNwYDy8_sHyDu;JJ]v)">
        <field name="VAR" id="m2.^8SppU14]K6s?(m]}" variabletype="">Max Loss Amount</field>
        <value name="VALUE">
          <block type="math_number" id="5),Co^^gBX`umJS2$AS5">
            <field name="NUM">200</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="X)]C^zXC,0LdD=8(iX/^">
            <field name="VAR" id="Da2IN4{5CCIRmn:C_a:0" variabletype="">Expected Profit</field>
            <value name="VALUE">
              <block type="math_number" id="iwOaGU%bvdTaPyh9HaGn">
                <field name="NUM">2000</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="z!L]O5,.V(O9j}^5ePh^">
                <field name="VAR" id="XT*/b4eKI2UCyA:W`DNE" variabletype="">Win Amount</field>
                <value name="VALUE">
                  <block type="math_number" id="Kza%y1KL(OV3{7b)D$*U">
                    <field name="NUM">10</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="h(e;6EgBYq]Cx7s7qwMQ">
                    <field name="VAR" id="/e|rQ%s^J*Q(bdu-KTw7" variabletype="">Initial Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="xvAb%`70*wlIw{cNqg)0">
                        <field name="NUM">10</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="Kf?=*TF]ZVND|eXXvr,Q">
                        <field name="VAR" id="G-$aCoZFE(IWJ()f^Hh-" variabletype="">slos</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="r..y+WI9C)u:*C_?Kd@!">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="{CdFV(y4f9T?vEvN2-Um">
                            <field name="VAR" id="G-$aCoZFE(IWJ()f^Hh-" variabletype="">slos</field>
                            <value name="VALUE">
                              <block type="math_number" id="DK[t:pIuW4*{[drh.kh6">
                                <field name="NUM">8</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="-,jdSN-w02t}JtgH4s#L">
                                <field name="VAR" id="(7J5aDa*vG%;+rNV#Wn_" variabletype="">Resultado_Operacao</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="M;~+Uvoj~,#G,y@e3CXC">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="IkVFAXw+j{BH)zW^]BOr">
                                    <field name="VAR" id="y=FoDZ`({iJrKyLq/2Nz" variabletype="">Resultado_Operacao_Old</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="+Ljts*glfMwh1!bA#9Zl">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="5{$jZR7!:lfXC?04Bl#2">
                                        <field name="VAR" id="|J.Bd[!TQZ,nr:;%O6@i" variabletype="">LDP</field>
                                        <value name="VALUE">
                                          <block type="math_random_int" id="9%Q/n{k?00l}/M[5C=n-">
                                            <value name="FROM">
                                              <shadow type="math_number" id="qyUnv?~2|;jyyg!4ciB=">
                                                <field name="NUM">0</field>
                                              </shadow>
                                              <block type="math_number" id="C:.heO^L|;]blbqr-{vh">
                                                <field name="NUM">1</field>
                                              </block>
                                            </value>
                                            <value name="TO">
                                              <shadow type="math_number" id="Q++NC$h9O4sT#UV;0t24">
                                                <field name="NUM">9</field>
                                              </shadow>
                                              <block type="math_number" id="eZ*6CZl(MqD%2sxWu|Sy">
                                                <field name="NUM">7</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="8`Yor[668.RLbaBpT/r1">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <field name="BARRIEROFFSETTYPE_LIST">+</field>
        <field name="SECONDBARRIEROFFSETTYPE_LIST">-</field>
        <value name="DURATION">
          <block type="math_number" id="MJ;a49cJPkW1rMg1[2]H">
            <field name="NUM">5</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="variables_get" id="d3ogFB^}OSZ;%jTB[_$,">
            <field name="VAR" id="/e|rQ%s^J*Q(bdu-KTw7" variabletype="">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="Vt,CkLeK8E?%BmnB`~M)" x="-179" y="-522">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="7!m!o067]NY(U#nnkxU2">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="OlclgX=y|1T6]bl-G}N]">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="It:|?9|]o@G0Cc2[.dk5">
                <field name="VAR" id="G-$aCoZFE(IWJ()f^Hh-" variabletype="">slos</field>
              </block>
            </value>
            <value name="B">
              <block type="logic_boolean" id="?pHLpA?b%h+DgDZ-]pZ@">
                <field name="BOOL">TRUE</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="hSa=KH)zy=nS@?NC]zt;">
            <field name="VAR" id="G-$aCoZFE(IWJ()f^Hh-" variabletype="">slos</field>
            <value name="VALUE">
              <block type="logic_boolean" id="mL/C`$L8C`s(p[WHkMqH">
                <field name="BOOL">FALSE</field>
              </block>
            </value>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id="Gwwjg;v*3Z?QX|1)%Kux">
            <field name="VAR" id="|J.Bd[!TQZ,nr:;%O6@i" variabletype="">LDP</field>
            <value name="VALUE">
              <block type="math_random_int" id="RkL/ZgWdUq[0{dGh(Ao^">
                <value name="FROM">
                  <shadow type="math_number" id="0O,Fcm^:m*-:u(9nF}0s">
                    <field name="NUM">0</field>
                  </shadow>
                </value>
                <value name="TO">
                  <shadow type="math_number" id="0}j!pS{w}1MuNp#?Kz+U">
                    <field name="NUM">1</field>
                  </shadow>
                </value>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="pOY)=5{Cs[%kEu9+RX)x">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="(.8LQp,Ykcg594zP72p$">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="total_profit" id="-tczt9Z2xm@pS0m!`~bn"></block>
                </value>
                <value name="B">
                  <block type="variables_get" id="cv8RO]Jh(cM/@-eCc12^">
                    <field name="VAR" id="XT*/b4eKI2UCyA:W`DNE" variabletype="">Win Amount</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="DljZ3SW]8Xu!/46PDl?m">
                <field name="VAR" id="/e|rQ%s^J*Q(bdu-KTw7" variabletype="">Initial Amount</field>
                <value name="VALUE">
                  <block type="math_arithmetic" id="9mBo0_nBwaSo)qwQK)Yh">
                    <field name="OP">MINUS</field>
                    <value name="A">
                      <shadow type="math_number" id="XnsQZ-kU^lZyN;z=`6jE">
                        <field name="NUM">0.35</field>
                      </shadow>
                      <block type="math_random_int" id="#%pU@D-sqj!h0SKXP$sG">
                        <value name="FROM">
                          <shadow type="math_number" id="B[G)~g?iXoCHIA[UPp?2">
                            <field name="NUM">1</field>
                          </shadow>
                        </value>
                        <value name="TO">
                          <shadow type="math_number" id="hqg?WGZjVgGz+,YsKS2!">
                            <field name="NUM">100</field>
                          </shadow>
                          <block type="total_profit" id="sefI.WZAFZsY,NSWep4$"></block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="R,)BrHJC!xK*e_u+|!aR">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_single" id="cXw5DAoFzg3Dt@C$}~YP">
                        <field name="OP">ABS</field>
                        <value name="NUM">
                          <shadow type="math_number" id="=JyMDx9{tJlZU@XpW9~K">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="read_details" id="-62-:nCu,PnDZ95G|k7W">
                            <field name="DETAIL_INDEX">4</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="variables_set" id="*;DbOpl*HC1L(kDPgE4R">
                <field name="VAR" id="/e|rQ%s^J*Q(bdu-KTw7" variabletype="">Initial Amount</field>
                <value name="VALUE">
                  <block type="math_arithmetic" id="_,VkZx{cW$wV^Q$m78P+">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow type="math_number" id="XnsQZ-kU^lZyN;z=`6jE">
                        <field name="NUM">0.35</field>
                      </shadow>
                      <block type="math_random_int" id="?4)j~l0JYE,+~{)A8Q)?">
                        <value name="FROM">
                          <shadow type="math_number" id="pR+3xPOOzokpC}JD%t!y">
                            <field name="NUM">1</field>
                          </shadow>
                        </value>
                        <value name="TO">
                          <shadow type="math_number" id="hqg?WGZjVgGz+,YsKS2!">
                            <field name="NUM">100</field>
                          </shadow>
                          <block type="total_profit" id="Pf_;j)hj1PGG$o}R4+xJ"></block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="R,)BrHJC!xK*e_u+|!aR">
                        <field name="NUM">1.981</field>
                      </shadow>
                      <block type="variables_get" id="jkSQ9`tm.R`u*lxL$!x$">
                        <field name="VAR" id="XT*/b4eKI2UCyA:W`DNE" variabletype="">Win Amount</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="lXx[u)])DplI5tNJCX#E">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="contract_check_result" id="f`.9rMI;|4i^FZ9y12zT">
                    <field name="CHECK_RESULT">win</field>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="notify" id="4YfK{W[2OoWl^*}:`-~%">
                    <field name="NOTIFICATION_TYPE">info</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <block type="text_join" id="NI6_z2cNjwq/t2B^h`{=">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="5%$!H}8?@4$/?s+Piv_+">
                            <field name="TEXT">GANHOU =&gt; </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="read_details" id="rm)(g3DL.ASYfcDYc913">
                            <field name="DETAIL_INDEX">4</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="variables_set" id="ykZ,jp#ln]Kf=~DeeITH">
                    <field name="VAR" id="(7J5aDa*vG%;+rNV#Wn_" variabletype="">Resultado_Operacao</field>
                    <value name="VALUE">
                      <block type="logic_negate" id="[0]kqyo^-W~=Yp53}c[6">
                        <value name="BOOL">
                          <block type="variables_get" id="T;K=2^L:e/fSD6/auHxS">
                            <field name="VAR" id="(7J5aDa*vG%;+rNV#Wn_" variabletype="">Resultado_Operacao</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="notify" id="=%CD;.rm0YSeX3^NARv{">
                        <field name="NOTIFICATION_TYPE">error</field>
                        <field name="NOTIFICATION_SOUND">silent</field>
                        <value name="MESSAGE">
                          <block type="text_join" id="`~I~AJSjE5P*6+$e,}D8">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="CrG9@.tREViPIC`9}[=i">
                                <field name="TEXT">PERDEU =&gt; </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="read_details" id="3*8ka-!!@|BIORYdAqth">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="(#7D~2Va0l51${Pu!yW;">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="Qtsk$6Qd[X~o1wD~hfOt">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="total_profit" id="5]xuiqe3-INE?#f@Y=fu"></block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="_9Hf(nmF~1H_+_d`Hazz">
                            <field name="VAR" id="Da2IN4{5CCIRmn:C_a:0" variabletype="">Expected Profit</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="trade_again" id="wNl0%!;$H`R-Dm=ZV7p:"></block>
                    </statement>
                    <statement name="ELSE">
                      <block type="text_print" id="-)Qjpn/c$W_)gB%MdIir">
                        <value name="TEXT">
                          <shadow type="text" id="]XR@@VL{)*ZI)WlTipd_">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text_join" id="t;s[5Z2J?n5$VabcYdow">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="H$7i.%r.PFeQh_Soc[||">
                                <field name="TEXT">profit/loss</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="total_profit" id="cgi0g($gg7bzWm^};+`4"></block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="j#~r1+%Aos:_(kuQNY+Z" x="-903" y="134">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="8=OHW^e[7CHx[T8!d=^b">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="au5O_$m.wnN~$fP:p!!0">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="X-]s%?M)XZSr(`iXLtHD">
                <field name="VAR" id="(7J5aDa*vG%;+rNV#Wn_" variabletype="">Resultado_Operacao</field>
              </block>
            </value>
            <value name="B">
              <block type="variables_get" id=";Wa,nW]#Vlv63a]9ygH%">
                <field name="VAR" id="y=FoDZ`({iJrKyLq/2Nz" variabletype="">Resultado_Operacao_Old</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="KT+W(QZ$u!OmE-AZtP8a">
            <field name="PURCHASE_LIST">CALLE</field>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="purchase" id="/Fw@H2[9Z7r)vIr@I83C">
            <field name="PURCHASE_LIST">PUTE</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
</xml>