﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="true">
  <variables>
    <variable type="" id="M)=b4tDMilMRs0Jt8bhN">MetaPrevista</variable>
    <variable type="" id="+D%[g32^CyX0W=y8e+oz">Ordem inicial</variable>
    <variable type="" id="(;ryH,I2fK!XAn8EF(Kc">OrdemPadrão</variable>
    <variable type="" id="%J!tYxhZ~u8c*LoWtc@O">Qtd de perdaas</variable>
    <variable type="" id="Z/k/]Mmy/DdG$.;[.]Cx">QtdMax de perdas stop</variable>
  </variables>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="559" y="-200">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="(X5tRxK{^!yLSL-M{W~?">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="5L@k,QpXXmYdK~-aMAA=">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="YQkyBW4U`/Zw!7B]#R{0">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <shadow type="text" id="Nm`|XyD3,F]S/g{o(+I,">
                <field name="TEXT">abc</field>
              </shadow>
              <block type="text_join" id="ry7+v{gRnwx7/H-4rf,~">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="s-VtDnms[uco=o*D(9#O">
                    <field name="TEXT">GANHOU US$</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id=".qR9.NOC]sW(Ezwp5VF:">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="71(fc~n+bk!E!9E/w:+z">
                <field name="VAR" id="+D%[g32^CyX0W=y8e+oz" variabletype="">Ordem inicial</field>
                <value name="VALUE">
                  <block type="variables_get" id="-_wD5?M7cEO6pe,$6-cQ">
                    <field name="VAR" id="(;ryH,I2fK!XAn8EF(Kc" variabletype="">OrdemPadrão</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="KIsq?7.p%vPw{[KErozE">
                    <field name="VAR" id="%J!tYxhZ~u8c*LoWtc@O" variabletype="">Qtd de perdaas</field>
                    <value name="VALUE">
                      <block type="math_number" id="M0nF8@zWvjx!CdCI{t61">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="math_change" id="bNWF+I2aNWru%Uq3+)$k">
            <field name="VAR" id="%J!tYxhZ~u8c*LoWtc@O" variabletype="">Qtd de perdaas</field>
            <value name="DELTA">
              <shadow type="math_number" id="g@[V6k}Bs(vLSB$+Wgk}">
                <field name="NUM">1</field>
              </shadow>
              <block type="math_number" id="Ua(c|h,L[T|Cpk~lgy;X">
                <field name="NUM">1</field>
              </block>
            </value>
            <next>
              <block type="notify" id="{|CU!Y)S#2c,n$Pbh.:}">
                <field name="NOTIFICATION_TYPE">error</field>
                <field name="NOTIFICATION_SOUND">silent</field>
                <value name="MESSAGE">
                  <shadow type="text" id="CKt4%n0^}Z4s+yN7Oe_L">
                    <field name="TEXT">abc</field>
                  </shadow>
                  <block type="text_join" id="F9iCdd5+KS7daY)z~]Wi">
                    <mutation items="4"></mutation>
                    <value name="ADD0">
                      <block type="text" id="-9t30EJ]ft8RKh])J!CX">
                        <field name="TEXT">PERDEU US$</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="math_single" id="Ck!Rx]s9W))@5X[;3]CD">
                        <field name="OP">ABS</field>
                        <value name="NUM">
                          <shadow type="math_number" id="{IH~Rc!f.17^hO94z+B2">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="read_details" id="pay.~+b@55e?P`ciV?iK">
                            <field name="DETAIL_INDEX">4</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD2">
                      <block type="text" id="=-]yt@ke,s|GdxqS6_(h">
                        <field name="TEXT">STOP LOSS =</field>
                      </block>
                    </value>
                    <value name="ADD3">
                      <block type="variables_get" id="zz)IVWgfwd^{p72_)l#q">
                        <field name="VAR" id="%J!tYxhZ~u8c*LoWtc@O" variabletype="">Qtd de perdaas</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="math_change" id="#Rb7pCpjU)#1r*zaK(tR">
                    <field name="VAR" id="+D%[g32^CyX0W=y8e+oz" variabletype="">Ordem inicial</field>
                    <value name="DELTA">
                      <shadow type="math_number" id="~,UQ!HBb`-$_Ue$[(4$T">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_arithmetic" id="j^GhzB(0Ub*Hd0#Bh+Z-">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow type="math_number" id="51!kd*l0)RJE$LoVA60[">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="math_single" id="%-oN$j7f0HqZzpkGVD2m">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow type="math_number" id="{IH~Rc!f.17^hO94z+B2">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="read_details" id="~{*!`*=a-d}PNL%%dZK4">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="7VMrKCr.32J5#?-$@nSf">
                            <field name="NUM">1.541</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="9xyp_.Ry~}zx8,vb}@80">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <shadow type="text" id="qVu+*9:rJwVT[qY0?|vL">
                <field name="TEXT">abc</field>
              </shadow>
              <block type="text_join" id="Oa9gf{M#Kw[X.0AFU-z@">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="CCms.xMh,}w[BDUc[F8{">
                    <field name="TEXT">TOTAL DE US$</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="pKJR{ws7RPJ%v+maF`h["></block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="cJ}P$o9Ag[vph$tJi3)j">
                <value name="IF0">
                  <block type="logic_compare" id="sKJ6?c5`-l-G`G{Opg`w">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="variables_get" id=".p%Jf/wy0#22A8zdW=E6">
                        <field name="VAR" id="%J!tYxhZ~u8c*LoWtc@O" variabletype="">Qtd de perdaas</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="3ic:*BP8cmvcW9Pz$s08">
                        <field name="VAR" id="Z/k/]Mmy/DdG$.;[.]Cx" variabletype="">QtdMax de perdas stop</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="controls_if" id="M9yP%$A]K0:cMdb(ZC?W">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="9e|Xya.@b[pf0Wp8y=VT">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="total_profit" id="@,E;Lrx{h6xoe~TnQN65"></block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="!0}7~dOynyeV/D(IE%.[">
                            <field name="VAR" id="M)=b4tDMilMRs0Jt8bhN" variabletype="">MetaPrevista</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
                    </statement>
                    <statement name="ELSE">
                      <block type="text_print" id="23J)_zHO;@ski7pCkk_m">
                        <value name="TEXT">
                          <shadow type="text" id="RZ%32[ZU_PCff~O]XQB?">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text_join" id="t^J6vIO@+`mry)/yz(l,">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="Z%(hW1VvJCpihgKtNu2:">
                                <field name="TEXT">META ALCANÇADA US$</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="total_profit" id="FBYVsG5U;8rw{jTGn0B!"></block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="t6Z*/#20cn7K|b^]+i+R">
                        <value name="IF0">
                          <block type="logic_compare" id="%FPuN@_GXRu={#$3YQPO">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id="!gBvn$*ssICaPK1+~?7]">
                                <field name="VAR" id="%J!tYxhZ~u8c*LoWtc@O" variabletype="">Qtd de perdaas</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="variables_get" id="-zSDp@E.}8KFd_XRdaS9">
                                <field name="VAR" id="Z/k/]Mmy/DdG$.;[.]Cx" variabletype="">QtdMax de perdas stop</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="text_print" id="Riy$x=fZP2Uj4{u:Q*L)">
                            <value name="TEXT">
                              <shadow type="text" id="RZ%32[ZU_PCff~O]XQB?">
                                <field name="TEXT">abc</field>
                              </shadow>
                              <block type="text_join" id="61gcTq2o-uXooJfq;PeN">
                                <mutation items="4"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="i4laTs}uOg%H9{w-OD#U">
                                    <field name="TEXT">PERDAS MAXIMAS ALCANÇADAS</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="text" id="IHcTb?e5Ji/)-4W=mzWP">
                                    <field name="TEXT">NAO TENTE RECUPERAR O QUE PERDEU</field>
                                  </block>
                                </value>
                                <value name="ADD2">
                                  <block type="text" id="|neXG1DL7@?HTpZ_Cr/)">
                                    <field name="TEXT">PERDA TOTAL DE US$</field>
                                  </block>
                                </value>
                                <value name="ADD3">
                                  <block type="total_profit" id="Hh`tcddA*tnH!`0zL;oL"></block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="236" y="-21">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_100</field>
    <field name="TRADETYPECAT_LIST">staysinout</field>
    <field name="TRADETYPE_LIST">staysinout</field>
    <field name="TYPE_LIST">UPORDOWN</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="L@OmNXq!vvhKL-5h?9.1">
        <field name="VAR" id="M)=b4tDMilMRs0Jt8bhN" variabletype="">MetaPrevista</field>
        <value name="VALUE">
          <block type="math_number" id="J57TWv)V)g1tBR^~.+(!">
            <field name="NUM">3</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="xO@YV-b)k~@N}Ond.C2!">
            <field name="VAR" id="(;ryH,I2fK!XAn8EF(Kc" variabletype="">OrdemPadrão</field>
            <value name="VALUE">
              <block type="math_number" id="Ox5}-@!MA[zh5S`{}vx$">
                <field name="NUM">0.35</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="2Z}d}dc;B3kVgr*z3A2A">
                <field name="VAR" id="+D%[g32^CyX0W=y8e+oz" variabletype="">Ordem inicial</field>
                <value name="VALUE">
                  <block type="math_number" id="hveiyp2DK)lrs#bh%QXe">
                    <field name="NUM">0.35</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="zK?r~SD1BXhM:{FQ,F8t">
                    <field name="VAR" id="Z/k/]Mmy/DdG$.;[.]Cx" variabletype="">QtdMax de perdas stop</field>
                    <value name="VALUE">
                      <block type="math_number" id=":*,_7ax+KrvH.O`):c^v">
                        <field name="NUM">4</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="n1AF9G?,7qBGnW8vtAEZ">
                        <field name="VAR" id="%J!tYxhZ~u8c*LoWtc@O" variabletype="">Qtd de perdaas</field>
                        <value name="VALUE">
                          <block type="math_number" id="oQn^GWbkvLFy*tUx-oIj">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="text_print" id="r3SZ1dOAC*yNnj:uir~!">
                            <value name="TEXT">
                              <shadow type="text" id="q/}L$u$Z6;wgugIuyS8p">
                                <field name="TEXT">abc</field>
                              </shadow>
                              <block type="text" id="_?ps:w5upw[^,/:FZ3y8">
                                <field name="TEXT">O CANAL RENDE MAIS AGRADECE</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">m</field>
        <field name="CURRENCY_LIST">USD</field>
        <field name="BARRIEROFFSETTYPE_LIST">+</field>
        <field name="SECONDBARRIEROFFSETTYPE_LIST">-</field>
        <value name="DURATION">
          <shadow type="math_number" id="O*@58sDc=!cOO}*b2vf9">
            <field name="NUM">2</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="(4%dbT4w)V-h5-.CZ$6_">
            <field name="VAR" id="+D%[g32^CyX0W=y8e+oz" variabletype="">Ordem inicial</field>
          </block>
        </value>
        <value name="BARRIEROFFSET">
          <block type="math_number" id="y-@l+.6XJ::pG*OId`KJ">
            <field name="NUM">6.17</field>
          </block>
        </value>
        <value name="SECONDBARRIEROFFSET">
          <block type="math_number" id="h*RAud#~sXzP#qukRn+w">
            <field name="NUM">6.15</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="-16" y="423">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="timeout" id="wOAbyII6hyJwuoD#`}FQ">
        <statement name="TIMEOUTSTACK">
          <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
            <field name="PURCHASE_LIST">UPORDOWN</field>
          </block>
        </statement>
        <value name="SECONDS">
          <shadow type="math_number" id="Lnb}bpv6%aJA[K4RHT69">
            <field name="NUM">0</field>
          </shadow>
        </value>
      </block>
    </statement>
  </block>
  <block type="math_number" id="kUemH:K8nbDCfhpMZk3N" disabled="true" x="937" y="498">
    <field name="NUM">1</field>
  </block>
  <block type="during_purchase" id="(4;NieXd}j|Bn!c-YiC|" x="-7" y="566">
    <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>