﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <block type="after_purchase" id="6#Y6#G~_{6q1Bf/P$,o)" x="1536" y="7">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="jh=Fa~ft[?:rj9L36pHx">
        <mutation elseif="1" else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="H.;*a3|~iOTNkKvO)AGZ">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="6@8NVRCtEmn+..J=N_u1">
            <field name="VAR">STOP LOSS</field>
            <value name="VALUE">
              <block type="variables_get" id=".z#`Tu,uscd#%eEUol3y">
                <field name="VAR">STOP_LOSS_USD</field>
              </block>
            </value>
            <next>
              <block type="math_change" id="Aj2Vmr+nn)}SmRlD{~o3">
                <field name="VAR">STOP LOSS</field>
                <value name="DELTA">
                  <shadow type="math_number" id="},%Jo;oKbB~RV@6$#Z^0">
                    <field name="NUM">0.1</field>
                  </shadow>
                  <block type="math_single" id="JOUna?}tbAB(!DS,2CX|">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow type="math_number" id="zr@3s|Pj.S^$+[e1h_wf">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="total_profit" id="*Mo[Ix)X5!]xd.6b;WsO"></block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="notify" id=";2Yg4zYru)b6F/e!:#N_">
                    <field name="NOTIFICATION_TYPE">success</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <shadow type="text" id="PU*sX8YrsNhPY;pD{viQ">
                        <field name="TEXT">WIN!!!</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="variables_set" id="EQ%y-[(0w4lsr,{pfkwQ">
                        <field name="VAR">ORDEM_INICIAL</field>
                        <value name="VALUE">
                          <block type="variables_get" id="jYJQYSlvwq#1Uh4T7[Ww">
                            <field name="VAR">ORDEM_PADRAO</field>
                          </block>
                        </value>
                        <next>
                          <block type="controls_if" id="0I.k?:U@Hl223R(_.RfO">
                            <mutation else="1"></mutation>
                            <value name="IF0">
                              <block type="logic_compare" id=".qqO;:kS~~3va$yF`kxx">
                                <field name="OP">GTE</field>
                                <value name="A">
                                  <block type="total_profit" id="639fg[ffB*R$2Mw|,~W6"></block>
                                </value>
                                <value name="B">
                                  <block type="variables_get" id="j.M_WK!t_(6Ul#f;rOfc">
                                    <field name="VAR">META_DE_GANHO_USD</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="notify" id="Bph%Wm)rUF07[=^XLpp3">
                                <field name="NOTIFICATION_TYPE">success</field>
                                <field name="NOTIFICATION_SOUND">job-done</field>
                                <value name="MESSAGE">
                                  <shadow type="text" id="4lmQc:c;TCO|vU=j$@rA">
                                    <field name="TEXT">BOT FINALIZADO: META DE GANHO ATINGIDA</field>
                                  </shadow>
                                </value>
                                <next>
                                  <block type="timeout" id="?}B9sEIYp?ni4_!U^iYx">
                                    <value name="SECONDS">
                                      <block type="math_number" id="K@CD!QDQQNSSy*dsq,6=">
                                        <field name="NUM">0</field>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </statement>
                            <statement name="ELSE">
                              <block type="trade_again" id="4gFBGw8=6^kO6mdt`%iC"></block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <value name="IF1">
          <block type="logic_compare" id="IcJXEXUb`m;zblIK/4%#">
            <field name="OP">LTE</field>
            <value name="A">
              <block type="total_profit" id="rKoP*aDzr~ll_#kUD*u="></block>
            </value>
            <value name="B">
              <block type="variables_get" id="lX,HrciAdgx@iJP[lXO~">
                <field name="VAR">STOP LOSS</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO1">
          <block type="notify" id="sBa|9u=qOBl2*f8s14*N">
            <field name="NOTIFICATION_TYPE">error</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <shadow type="text" id="p$;Y1V=vPTK`Ca@]DnM]">
                <field name="TEXT">BOT FINALIZADO: ATINGIU LIMITE DE PERDA USD</field>
              </shadow>
            </value>
            <next>
              <block type="timeout" id="eiC2T*0!qz=Q2r]TwXl9">
                <value name="SECONDS">
                  <block type="math_number" id="P/2YwQ^F)hpQ4e.nNF5t">
                    <field name="NUM">0</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="P0)pyXOn]hj_#9Ib=3hq">
            <field name="NOTIFICATION_TYPE">error</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <shadow type="text" id="kTdHdGp$j)=4,1QzSV7I">
                <field name="TEXT">LOSS!!!</field>
              </shadow>
            </value>
            <next>
              <block type="variables_set" id="?IK1Y+UOH*L=7P=UgwoU">
                <field name="VAR">ORDEM_INICIAL</field>
                <value name="VALUE">
                  <block type="math_arithmetic" id="G8k,lAR2(2aZ;`t5vWr)">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow type="math_number" id="Hav|SV(CB5N#_D0B,h0(">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="variables_get" id="wB)=ts}]]%:|8}uMr^n6">
                        <field name="VAR">ORDEM_INICIAL</field>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="@eQX`ZNg}-#fOJWh{3$B">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="variables_get" id=":NkZ(FT1Aq`-_L7tN+hk">
                        <field name="VAR">MULTIPLICADOR_GALE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="B-cZ]Ik//B-G8D9FxKG;">
                    <value name="IF0">
                      <block type="logic_compare" id="xR)E8`0-,A7,N|R)O5$R">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="math_single" id="jbGsUH,t}*Y=PP9Qd5%^">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow type="math_number" id="zr@3s|Pj.S^$+[e1h_wf">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="read_details" id="/)VHxot;E0N}+`xy!N{7">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id=")BojS,g*v~o$6TOzq?I_">
                            <field name="VAR">ORDEM_MAX_GALE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="FM0rX^NCYebxJEDXZyU`">
                        <field name="VAR">ORDEM_INICIAL</field>
                        <value name="VALUE">
                          <block type="variables_get" id="[x@4MnPg!z4vdg4zIfYw">
                            <field name="VAR">ORDEM_PADRAO</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="timeout" id="@2u~}6(M))vNhTd}!Xc0">
                        <statement name="TIMEOUTSTACK">
                          <block type="trade_again" id="KO=iy]%q4FBO#g%pcX0v"></block>
                        </statement>
                        <value name="SECONDS">
                          <block type="math_number" id="9GvYTwQao.Wx;vkJYDU+">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="-695" y="130">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_100</field>
    <field name="TRADETYPECAT_LIST">callput</field>
    <field name="TRADETYPE_LIST">risefall</field>
    <field name="TYPE_LIST">both</field>
    <field name="CANDLEINTERVAL_LIST">60</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="^eQ3#@.0,Si]j0R*y/4=">
        <field name="VAR">ORDEM_INICIAL</field>
        <value name="VALUE">
          <block type="math_number" id="]neG?-bI60oW4Sjz/e}[">
            <field name="NUM">0.35</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="Q@dd1W:F]-W=Og?W/7Z.">
            <field name="VAR">ORDEM_PADRAO</field>
            <value name="VALUE">
              <block type="math_number" id="@]Uv.`C2D+`0w[~49*)U">
                <field name="NUM">0.35</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="|#Ubt|uA`F_:MC=C6IP$">
                <field name="VAR">MULTIPLICADOR_GALE</field>
                <value name="VALUE">
                  <block type="math_number" id="3TszuWy/(TO{ffz)ZI+#">
                    <field name="NUM">2.1</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="H?0p.Fn7yc8.$rX:Y/]b">
                    <field name="VAR">ORDEM_MAX_GALE</field>
                    <value name="VALUE">
                      <block type="math_number" id="G5+0()5i1fdS[~#_:R|A">
                        <field name="NUM">150</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="CnP[L]Tu@2HdAlCzod9%">
                        <field name="VAR">META_DE_GANHO_USD</field>
                        <value name="VALUE">
                          <block type="math_number" id="br_QlD0{5lbUg@{2@9_+">
                            <field name="NUM">100</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="]Axx:+0}0THd:Qn`F*%-">
                            <field name="VAR">STOP_LOSS_USD</field>
                            <value name="VALUE">
                              <block type="math_number" id="be({d3j`v@zXEu$8o$0M">
                                <field name="NUM">-150</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <shadow type="math_number" id="O*@58sDc=!cOO}*b2vf9">
            <field name="NUM">10</field>
          </shadow>
        </value>
        <value name="AMOUNT">
          <shadow type="math_number" id="ml)25~7^q}3I9}vjf:%K">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="+}$uEJI/ZsN*HKecAVc)">
            <field name="VAR">ORDEM_INICIAL</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="-124" y="135">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id="J=^xM5aCCWXha6x7.Q(s">
        <field name="VAR">EMA50</field>
        <value name="VALUE">
          <block type="emaa" id="lGzz!S#5@GgNM-Meo#~%">
            <value name="INPUT">
              <block type="ohlc_values" id="E~ZeGul+gn=Pr70Q#WDM">
                <field name="OHLCFIELD_LIST">close</field>
                <field name="CANDLEINTERVAL_LIST">default</field>
              </block>
            </value>
            <value name="PERIOD">
              <shadow type="math_number" id="T*8Fu`CPr{J{W%wr1!jD">
                <field name="NUM">1</field>
              </shadow>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="B]_V8.(XFbwQKjH8T/Ez">
            <field name="VAR">EMA100</field>
            <value name="VALUE">
              <block type="emaa" id="$6WU*~wo,0b$B*l=^cMT">
                <value name="INPUT">
                  <block type="ohlc_values" id="Bn8[rhEemI8kdO4?(hSg">
                    <field name="OHLCFIELD_LIST">close</field>
                    <field name="CANDLEINTERVAL_LIST">default</field>
                  </block>
                </value>
                <value name="PERIOD">
                  <shadow type="math_number" id="`M52;K||synlT8zM=hLi">
                    <field name="NUM">2</field>
                  </shadow>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="Vi*[L].4EZxK_yB_eqw7">
                <value name="IF0">
                  <block type="logic_compare" id="_aWB+ZYY_b5Ib3^5cTg)">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="lists_getIndex" id="1+^wyZ~[W[^^p69TO,-s">
                        <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="Z)IW2:,jg8Q5I_CB-)k+">
                            <field name="VAR">EMA50</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="!=Za*U7Pn|LIjAj%(U~-">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="lists_getIndex" id="ZhU1dF3xe*_[{+lx@7@F">
                        <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="4GoOpf3__DQXu{/crIw8">
                            <field name="VAR">EMA100</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="Pb]i]9U*7Qh@N}WE$]$A">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="controls_if" id="J#AV$8S({*+.@,Lg9bQk">
                    <value name="IF0">
                      <block type="logic_compare" id="%YV,mRw34vltya/O]nS|">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="lists_getIndex" id="3,=2@Xn/1f?n/VQ2e!(R">
                            <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="HE7PlOWlkB*?T=pi]t]+">
                                <field name="VAR">EMA50</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="u!I?=KZIDcPE,yxaVaJO">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="lists_getIndex" id="EBNi.;uAAzu-g{@_0{=3">
                            <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="s0HD|m(:u?%F5w*HS+.n">
                                <field name="VAR">EMA100</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="6%sF,)+e_ki4?gtYS*MD">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="purchase" id="eFmQi`Q00DJJuo({4D@f">
                        <field name="PURCHASE_LIST">PUT</field>
                      </block>
                    </statement>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="A_)u)w)wE-1FcDuv-qcT">
                    <value name="IF0">
                      <block type="logic_compare" id="])=#z)R(VFW%!aNYI;JH">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="lists_getIndex" id=")!-xdQVDRpVKWWrJq8~D">
                            <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=".iI*D(Mr}@nNXOF|ZaS`">
                                <field name="VAR">EMA50</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="_:m}UoK:G/_.0suy%z67">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="lists_getIndex" id="WetHFVv0$xU+CR?!C8O3">
                            <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="|YVmEv`J{R.I%pE=!qMF">
                                <field name="VAR">EMA100</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="?!1Y$q+G}e3][8,MI?bw">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="controls_if" id="9fH*K)yP!8_ea`*N]9O(">
                        <value name="IF0">
                          <block type="logic_compare" id="i5EIlY_3XP2ez3Eu2|E*">
                            <field name="OP">GT</field>
                            <value name="A">
                              <block type="lists_getIndex" id="]U-xZq{5.L4s%;g96nLp">
                                <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="MT5]Q_!Hw}f+/#,MnqQS">
                                    <field name="VAR">EMA50</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="math_number" id="PL`=w1InM3B_-72fDqWd">
                                    <field name="NUM">1</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="lists_getIndex" id="yBD9C_(~ZYy@%G0$*wKm">
                                <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="%E76h7SBHrn#%aqkaV^r">
                                    <field name="VAR">EMA100</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="math_number" id="MfLM+[b`zSyFqzBX|]N.">
                                    <field name="NUM">1</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="purchase" id="odoGkMN`/6A76Of*;bjJ">
                            <field name="PURCHASE_LIST">CALL</field>
                          </block>
                        </statement>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="during_purchase" id="(4;NieXd}j|Bn!c-YiC|" collapsed="true" x="1531" y="821">
    <statement name="DURING_PURCHASE_STACK">
      <block type="controls_if" id="8?eYKAW%VczmRXQ-ou3r">
        <value name="IF0">
          <block type="check_sell" id="M=:_KpEeRAJY_}XTU^8~"></block>
        </value>
      </block>
    </statement>
  </block>
</xml>