﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="hE[.s1VNK]=mY/_-e2M*">sma</variable>
    <variable type="" id="XwHz0k+qgE!hIVP)9+!q">Limite de perda</variable>
    <variable type="" id="@jJy!sg,$2MO:8|@tqDK">x</variable>
    <variable type="" id="K@fDtp}B[rhoI8{cg]|o">loss_virutal</variable>
    <variable type="" id="Rr9a{zqpOu%4]MD8qe)G">rsi</variable>
    <variable type="" id="oI|3IjBr0Ye5z@*:ywoT">max_gale</variable>
    <variable type="" id="W=Q@)ObsFR7vm:tKPHBe">Valor_ao_ganhar</variable>
    <variable type="" id="z;17Om0[W1];/A!jdsEp">Investimento</variable>
    <variable type="" id="Hn;.V(r:@v8]1qzFKCRy">media_movel</variable>
    <variable type="" id="Ke6apU`nFCJpd=^rn@B3">TIMER_PAYOUT</variable>
    <variable type="" id="{Xdr-JWd0GPQ.RiFOKEl">Meta de lucro</variable>
    <variable type="" id="k@c3sx@=r^%iiBEk)JKY">rsi_periodo</variable>
    <variable type="" id=")y*fd=^l]_17QIB_gZQ9">candle_atual</variable>
    <variable type="" id="6c:d8)G1+EDIgkOvr?s0">DELAY_PAYOUT_MAX</variable>
    <variable type="" id="S|#+KodW*P)~8))NH%SH">iniciar_martingale_com</variable>
    <variable type="" id=",vOtjywi|P|IVYmvHPE_">PAYOUT_RISE</variable>
    <variable type="" id="kqx%a^AENEFTp,%^bUuy">xx</variable>
    <variable type="" id="HO+2,D^.6kbj1[Y:_Pg6">usar_martingale</variable>
    <variable type="" id="~.(42=}=yYjjq#l#d49I">TRADE</variable>
    <variable type="" id="cUjUSiMVnCj`X@p;}o,M">multiplicador_gale</variable>
    <variable type="" id="YrCa1q?Mg!wB^-fLsw@]">PAYOUT_MINIMO ( % )</variable>
    <variable type="" id="4Lk3#O3k?fQxbaC!qk1~">notificacao_payout</variable>
    <variable type="" id="z/1L!~?)ct6N,4gSUsFS">bb_s</variable>
    <variable type="" id="YfaK|36$@6Pvf2[]Bp5O">bb_s_l</variable>
    <variable type="" id="W.#%-wt7uWJ[H@h~.:?f">bb_i</variable>
    <variable type="" id="Vvn1M|o(:Q4C[]aUIZGC">bb_i_l</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="-50" y="10">
    <field name="MARKET_LIST">forex</field>
    <field name="SUBMARKET_LIST">major_pairs</field>
    <field name="SYMBOL_LIST">frxAUDJPY</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="text_print" id="77!Je4=;ZvX3vQ?t-Sc7">
        <value name="TEXT">
          <shadow type="text" id="$kzH-jDM/IDSz.oDvgT1">
            <field name="TEXT">abc</field>
          </shadow>
          <block type="text" id="!*5`_5(8)f$$/7y|mkDZ">
            <field name="TEXT">Só use quando a tendencia estiver forte para uma direção</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="D``p;,}~^j$Q^]8?vkD(">
            <field name="VAR" id="XwHz0k+qgE!hIVP)9+!q" variabletype="">Limite de perda</field>
            <value name="VALUE">
              <block type="math_number" id="[~c_fSl0strrulS=#%Es">
                <field name="NUM">1200</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="28#^X.IcRz%ECYc7VauJ">
                <field name="VAR" id="oI|3IjBr0Ye5z@*:ywoT" variabletype="">max_gale</field>
                <value name="VALUE">
                  <block type="math_number" id="D_7I$m2-G?DsY68TYTez">
                    <field name="NUM">15</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="BVF9RB9ix{d;x/nrQo!K">
                    <field name="VAR" id="{Xdr-JWd0GPQ.RiFOKEl" variabletype="">Meta de lucro</field>
                    <value name="VALUE">
                      <block type="math_number" id="J}kD^]iRqCkIv._i+1bx">
                        <field name="NUM">9150</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="C1Y`pJbC_1ZDF.eXZN$e">
                        <field name="VAR" id="z;17Om0[W1];/A!jdsEp" variabletype="">Investimento</field>
                        <value name="VALUE">
                          <block type="math_number" id="BviI/~)QQyKVzc6X[4i+">
                            <field name="NUM">0.5</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="zt0Qyz$+bxTW?+e:LiXS">
                            <field name="VAR" id="W=Q@)ObsFR7vm:tKPHBe" variabletype="">Valor_ao_ganhar</field>
                            <value name="VALUE">
                              <block type="math_number" id="Qv%@G_(u,RU@j`UC=%-h">
                                <field name="NUM">0.5</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="5rfjZ|`;e6}ruQGhIn[*">
                                <field name="VAR" id="@jJy!sg,$2MO:8|@tqDK" variabletype="">x</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="#%}EaP?ChOQv].QVhV:V">
                                    <field name="VAR" id="z;17Om0[W1];/A!jdsEp" variabletype="">Investimento</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="%{Eq?Hc9QINLAkvA,gll">
                                    <field name="VAR" id="kqx%a^AENEFTp,%^bUuy" variabletype="">xx</field>
                                    <value name="VALUE">
                                      <block type="text" id="aXsZ/`xUqAttnMpqrt8m">
                                        <field name="TEXT">10</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="4o-Nhx=g(C^DZD.S1tPi">
                                        <field name="VAR" id="K@fDtp}B[rhoI8{cg]|o" variabletype="">loss_virutal</field>
                                        <value name="VALUE">
                                          <block type="math_number" id=":SpMq2dQLG[7oOy1IEBg">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="8!FfoS:UG{F/c~]e)Xz?">
                                            <field name="VAR" id="YrCa1q?Mg!wB^-fLsw@]" variabletype="">PAYOUT_MINIMO ( % )</field>
                                            <value name="VALUE">
                                              <block type="math_number" id="6H,4?v!k*)}6Dk4KgEC=">
                                                <field name="NUM">75</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="X*XQ0k9-StqpYXbm{Y}n">
                                                <field name="VAR" id="6c:d8)G1+EDIgkOvr?s0" variabletype="">DELAY_PAYOUT_MAX</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="yOWZl[z8=mh$QQBnFA!A">
                                                    <field name="NUM">10</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="variables_set" id="K}e5Q#@,K`Ld=}+yz}oS">
                                                    <field name="VAR" id="4Lk3#O3k?fQxbaC!qk1~" variabletype="">notificacao_payout</field>
                                                    <value name="VALUE">
                                                      <block type="text" id="mBb96nf_nr3WR^QgqESD">
                                                        <field name="TEXT">nao</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="variables_set" id="BHAE6vfasliF2o$CUeq?">
                                                        <field name="VAR" id="cUjUSiMVnCj`X@p;}o,M" variabletype="">multiplicador_gale</field>
                                                        <value name="VALUE">
                                                          <block type="math_number" id="J[v#=QFlx`?F5Pu3dO4%">
                                                            <field name="NUM">1.2</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="variables_set" id="A@kDVWsE~2R%+:Yl00)E">
                                                            <field name="VAR" id="S|#+KodW*P)~8))NH%SH" variabletype="">iniciar_martingale_com</field>
                                                            <value name="VALUE">
                                                              <block type="math_number" id="hvz2EE5h?NbhYawIHmN+">
                                                                <field name="NUM">1</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="variables_set" id="S^0V@s0/EhnxXIsZ^$3j">
                                                                <field name="VAR" id="HO+2,D^.6kbj1[Y:_Pg6" variabletype="">usar_martingale</field>
                                                                <value name="VALUE">
                                                                  <block type="text" id="jk!I_0|#pPO:jv{m?d*5">
                                                                    <field name="TEXT">sim</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="variables_set" id="=!9Pk,@C8.Uw{2/gCw3T">
                                                                    <field name="VAR" id="z/1L!~?)ct6N,4gSUsFS" variabletype="">bb_s</field>
                                                                    <value name="VALUE">
                                                                      <block type="math_number" id="=-;$8s(4;{P9p157;e|)">
                                                                        <field name="NUM">30</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="variables_set" id="JSbHT($F^)nu^66l{VP:">
                                                                        <field name="VAR" id="YfaK|36$@6Pvf2[]Bp5O" variabletype="">bb_s_l</field>
                                                                        <value name="VALUE">
                                                                          <block type="math_number" id="LL2Z~vG._dbwd4vf;:6[">
                                                                            <field name="NUM">1</field>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="variables_set" id="4Q!)*EHvgRMaJHPW0ILm">
                                                                            <field name="VAR" id="W.#%-wt7uWJ[H@h~.:?f" variabletype="">bb_i</field>
                                                                            <value name="VALUE">
                                                                              <block type="math_number" id="?,8-T9ivBl*aNs+|uPb?">
                                                                                <field name="NUM">30</field>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="variables_set" id="R[3h(k,hV*Mc-6*y[Nx[">
                                                                                <field name="VAR" id="Vvn1M|o(:Q4C[]aUIZGC" variabletype="">bb_i_l</field>
                                                                                <value name="VALUE">
                                                                                  <block type="math_number" id="n4oe]Z|9fE?Ci6ZnUjje">
                                                                                    <field name="NUM">1</field>
                                                                                  </block>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="variables_set" id="B3-7~y7sg)Sp,/ss0vs|">
                                                                                    <field name="VAR" id="Hn;.V(r:@v8]1qzFKCRy" variabletype="">media_movel</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="math_number" id="Zz#VH@t-XRTg3bJ-HuHz">
                                                                                        <field name="NUM">200</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="variables_set" id="ZfKjs[0wh}:FpEZPN-wa">
                                                                                        <field name="VAR" id="k@c3sx@=r^%iiBEk)JKY" variabletype="">rsi_periodo</field>
                                                                                        <value name="VALUE">
                                                                                          <block type="math_number" id="{e)^J91T7Y!6S|fr2gU=">
                                                                                            <field name="NUM">14</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <next>
                                                                                          <block type="notify" id="KJ=E}xID4I~Cpo6a3@Vc" collapsed="true">
                                                                                            <field name="NOTIFICATION_TYPE">success</field>
                                                                                            <field name="NOTIFICATION_SOUND">silent</field>
                                                                                            <value name="MESSAGE">
                                                                                              <shadow type="text" id="GK`cCka?C4!UF--/3G#_">
                                                                                                <field name="TEXT">Contributed by ORSTAC Community</field>
                                                                                              </shadow>
                                                                                            </value>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </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="x=V33~4Lb|(sLv`J[:Eb">
        <field name="DURATIONTYPE_LIST">m</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <shadow type="math_number" id="O*@58sDc=!cOO}*b2vf9">
            <field name="NUM">3</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="Mx4sIu9z`fQqp(Qs5V5y">
            <field name="VAR" id="@jJy!sg,$2MO:8|@tqDK" variabletype="">x</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="/5W5HjFk9$FNIUJk](a3" collapsed="true" x="-91" y="1054">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="3_4_V2FrRfZ;[DDTT^:2">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="H3otdsctT[8Pkp=YQ*Kd">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="J]2MtTSY|[h`vS}hE;nb">
            <field name="VAR" id="@jJy!sg,$2MO:8|@tqDK" variabletype="">x</field>
            <value name="VALUE">
              <block type="variables_get" id="_/4T$Y!h?_:Ov7(Vg893">
                <field name="VAR" id="W=Q@)ObsFR7vm:tKPHBe" variabletype="">Valor_ao_ganhar</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id=";uMG]Aqu[[ZRi#`WZQ]$">
                <field name="VAR" id="z;17Om0[W1];/A!jdsEp" variabletype="">Investimento</field>
                <value name="VALUE">
                  <block type="variables_get" id="qe%%^jDTbM(*a*1G);Dj">
                    <field name="VAR" id="W=Q@)ObsFR7vm:tKPHBe" variabletype="">Valor_ao_ganhar</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="qN$IJhB|AvJyFa1u`t66">
                    <field name="VAR" id="K@fDtp}B[rhoI8{cg]|o" variabletype="">loss_virutal</field>
                    <value name="VALUE">
                      <block type="math_number" id="(^epZUTFuU435Kra.V,j">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="notify" id="9(3$oa(|!;+laW{0.A*2" disabled="true">
                        <field name="NOTIFICATION_TYPE">success</field>
                        <field name="NOTIFICATION_SOUND">earned-money</field>
                        <value name="MESSAGE">
                          <block type="text_join" id="V:!_b7E2wtH[4d_mQo?z">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="CGfO6+g7V7jl:H-qn0gT">
                                <field name="TEXT">Acertou:</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="read_details" id="!RO._oH?F!V/Jb37Dcvj">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="controls_if" id="2{qct0KW9:i6}N:5cm~w">
                            <mutation else="1"></mutation>
                            <value name="IF0">
                              <block type="logic_compare" id="+A`AKNafa+#0k*p`(r5w">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="variables_get" id="7MRx-AwxTD^q2cyR^v?=">
                                    <field name="VAR" id="kqx%a^AENEFTp,%^bUuy" variabletype="">xx</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id="*]92ox*/n%d%Zq[f)m^c">
                                    <field name="TEXT">xxx</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="oE!?vZ+w}Nu1{ZZTOY,!">
                                <field name="VAR" id="kqx%a^AENEFTp,%^bUuy" variabletype="">xx</field>
                                <value name="VALUE">
                                  <block type="text" id="ZSK5CCK}=A+#KUIgnnSE">
                                    <field name="TEXT">xxxx</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <statement name="ELSE">
                              <block type="variables_set" id="^..}:V;#WxJFF-*MIhcA">
                                <field name="VAR" id="kqx%a^AENEFTp,%^bUuy" variabletype="">xx</field>
                                <value name="VALUE">
                                  <block type="text" id="Luxhwk:E$2d{BJ/|WN1M">
                                    <field name="TEXT">xxx</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="math_change" id="Rg+V1p~_PUf#c8Fyocs@">
            <field name="VAR" id="K@fDtp}B[rhoI8{cg]|o" variabletype="">loss_virutal</field>
            <value name="DELTA">
              <shadow type="math_number" id="l-sr`sXr.r-b5CJCVu5I">
                <field name="NUM">1</field>
              </shadow>
            </value>
            <next>
              <block type="notify" id="n5-!M28`dy$65)|byzQ." disabled="true">
                <field name="NOTIFICATION_TYPE">warn</field>
                <field name="NOTIFICATION_SOUND">error</field>
                <value name="MESSAGE">
                  <block type="text_join" id="wKT@``R3|c|7)Z*4e7!.">
                    <mutation items="2"></mutation>
                    <value name="ADD0">
                      <block type="text" id="{fZ^uQJQH}VzzH=L}{=r">
                        <field name="TEXT">Errou:</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="math_single" id="ZEy|`ch0,Of;9fEBdx@_">
                        <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="By/k$2$:Dkx6PW?Pz]TX">
                            <field name="DETAIL_INDEX">4</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="~rF=PR(HT_=^cdZq~=vd">
                    <value name="IF0">
                      <block type="logic_compare" id="Q.;OmT(^0Iy]fE5(1O?7">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="variables_get" id="}ev!9PL,=^p)W:/zcaj_">
                            <field name="VAR" id="K@fDtp}B[rhoI8{cg]|o" variabletype="">loss_virutal</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="L+zeK[ZdrBfYCtHoT*Tb">
                            <field name="VAR" id="S|#+KodW*P)~8))NH%SH" variabletype="">iniciar_martingale_com</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="controls_if" id="KGpDiWCc(,vJY;:/Dm3J">
                        <value name="IF0">
                          <block type="logic_compare" id="R-q,wPfUi#k6A5iO@d(I">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id="F]^j9*CB%EyDDi~0S(wu">
                                <field name="VAR" id="HO+2,D^.6kbj1[Y:_Pg6" variabletype="">usar_martingale</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="text" id="`(@EXdE+~0mY+?bHR80Q">
                                <field name="TEXT">sim</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="math_change" id=")5HTM/mH(]5q1%gel[Mq">
                            <field name="VAR" id="@jJy!sg,$2MO:8|@tqDK" variabletype="">x</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="j4/5b@41qt(ko{n)DpCF">
                                <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="8IsMgrLetKNI1{c.2Y_#">
                                    <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="_er#9OEB_f(}q42ah6fh">
                                        <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="variables_get" id="6t`-9gxQj/`=o5%:j@F/">
                                    <field name="VAR" id="cUjUSiMVnCj`X@p;}o,M" variabletype="">multiplicador_gale</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="5At,w5?h@yaL*[rWd/I,">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="%f4vQ~o03aMk-4{N|Yo^">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="0{;M`c/|/0.@pKwd`G7v">
                    <field name="TEXT">Lucro total: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="?+:qMGrOCuv8%9=ut`1e"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="TgMS6qSCwR5THz:UUrU;">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="sj1%:.(95yahKc`iI}bq">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="total_profit" id="S^$VKv#[*pRxAS9}B{Qv"></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="(=/8UBuMVbUpn:9wr7bD">
                        <field name="VAR" id="{Xdr-JWd0GPQ.RiFOKEl" variabletype="">Meta de lucro</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="controls_if" id="eal]LvvsEG5NFrZG*O7U">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_operation" id="dNh1T%NAq!dP6]W?kCaN">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="math_number_property" id="8i%p)K=7W(qN8TZt`{h=">
                            <mutation divisor_input="false"></mutation>
                            <field name="PROPERTY">NEGATIVE</field>
                            <value name="NUMBER_TO_CHECK">
                              <shadow type="math_number" id="otH_VG.6ad,:GnG=3=)5">
                                <field name="NUM">0</field>
                              </shadow>
                              <block type="total_profit" id="(2NQPf[sZg9A=)GB`1!T"></block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="P^ADI,3v0bZO8;Fef=p6">
                            <field name="OP">GTE</field>
                            <value name="A">
                              <block type="math_single" id="|6!89*~%q7Fk`_/24NG3">
                                <field name="OP">ABS</field>
                                <value name="NUM">
                                  <shadow type="math_number" id="(UBCH+RQSwYPbgf%@ANZ">
                                    <field name="NUM">9</field>
                                  </shadow>
                                  <block type="total_profit" id="3-76Lvi/CB`Zw|(fCH*6"></block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="variables_get" id="!8R2f!0lZ!r+9gzf`Kzy">
                                <field name="VAR" id="XwHz0k+qgE!hIVP)9+!q" variabletype="">Limite de perda</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="text_print" id="5#cm.W[cNw2~92.Ns9.9">
                        <value name="TEXT">
                          <shadow type="text" id="Nau%l+%*hH!#y2I#Q@%5">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text" id="GZa#+w`@~mxNj+@qHRmf">
                            <field name="TEXT">Máximo de perdas atingido:</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="controls_if" id="3YI}+22M~F%_6dw9puVu">
                        <mutation else="1"></mutation>
                        <value name="IF0">
                          <block type="logic_compare" id="lULN;BI#T[fAIwszZf3U">
                            <field name="OP">LT</field>
                            <value name="A">
                              <block type="variables_get" id="lwn)syK2{Wr85MV1/-~S">
                                <field name="VAR" id="K@fDtp}B[rhoI8{cg]|o" variabletype="">loss_virutal</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="variables_get" id="kBJqnsvE|$!P8/hKlRD3">
                                <field name="VAR" id="oI|3IjBr0Ye5z@*:ywoT" variabletype="">max_gale</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="trade_again" id="anXucv0HyF{;19B;vJII"></block>
                        </statement>
                        <statement name="ELSE">
                          <block type="notify" id="i+-|YA*[4!PqWtnSA;?H">
                            <field name="NOTIFICATION_TYPE">error</field>
                            <field name="NOTIFICATION_SOUND">silent</field>
                            <value name="MESSAGE">
                              <shadow type="text" id="d2HE^3TCva?[z[Cmooyg">
                                <field name="TEXT">Stop_loss_atingido!</field>
                              </shadow>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </statement>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="text_print" id=",_p`S`j1+rmznJ]XUu7C">
                    <value name="TEXT">
                      <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="*my[no#.(-oSpQD|5=F*">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="E54c2W;.,{xEg_3nmiBC">
                            <field name="TEXT">Concluído, ganho total:: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="mV)e$}nIz~FtrNc4uH]?"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="84" y="1160">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id="p|TEvh?Km)88kf`/B0)|">
        <field name="VAR" id="hE[.s1VNK]=mY/_-e2M*" variabletype="">sma</field>
        <value name="VALUE">
          <block type="sma" id="ff12K3/VlgH6GI/cFE|+">
            <value name="INPUT">
              <block type="ohlc_values" id="?tN,K^U^rQR2sAF{aw2`">
                <field name="OHLCFIELD_LIST">close</field>
                <field name="CANDLEINTERVAL_LIST">default</field>
              </block>
            </value>
            <value name="PERIOD">
              <shadow type="math_number" id="D!mE#Kg_c:imJ;yFFd}1">
                <field name="NUM">200</field>
              </shadow>
              <block type="variables_get" id="I:Wo@$Z_I%:y0~#ZXjsZ">
                <field name="VAR" id="Hn;.V(r:@v8]1qzFKCRy" variabletype="">media_movel</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="L`t5b+X1bXgNqjh+0xdC">
            <field name="VAR" id="Rr9a{zqpOu%4]MD8qe)G" variabletype="">rsi</field>
            <value name="VALUE">
              <block type="rsi" id="`?!.^Twr]`?8Y@a5=:Xg">
                <value name="INPUT">
                  <block type="ohlc_values" id="?Q^_[}7x0|r,hzkDo3}=">
                    <field name="OHLCFIELD_LIST">close</field>
                    <field name="CANDLEINTERVAL_LIST">default</field>
                  </block>
                </value>
                <value name="PERIOD">
                  <shadow type="math_number" id="Nn!:OIYQEq`TepK|Ay(u">
                    <field name="NUM">21</field>
                  </shadow>
                  <block type="variables_get" id="P}Cie`/}d}kCamX`7=R8">
                    <field name="VAR" id="k@c3sx@=r^%iiBEk)JKY" variabletype="">rsi_periodo</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="`9uT}5]t;kO/Aia-__Z/">
                <field name="VAR" id="Ke6apU`nFCJpd=^rn@B3" variabletype="">TIMER_PAYOUT</field>
                <value name="VALUE">
                  <block type="math_arithmetic" id="hUD0cfcU#K2?#7z134Z7">
                    <field name="OP">ADD</field>
                    <value name="A">
                      <shadow type="math_number" id="EE04Z]jidc?iqWI!7@W@">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="epoch" id="RFlb4dPY6FS62~$ZYt@#"></block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id=".2vr|]g39cfFjB?lulv^">
                        <field name="NUM">240</field>
                      </shadow>
                      <block type="variables_get" id="kY?:?qYViG9t:k!N(I%1">
                        <field name="VAR" id="6c:d8)G1+EDIgkOvr?s0" variabletype="">DELAY_PAYOUT_MAX</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="k^ZCB,@Vz;)@GJ:u_cK-">
                    <field name="VAR" id=")y*fd=^l]_17QIB_gZQ9" variabletype="">candle_atual</field>
                    <value name="VALUE">
                      <block type="read_ohlc" id="Ld80M}]lxi$P}Prza7?l">
                        <field name="OHLCFIELD_LIST">close</field>
                        <field name="CANDLEINTERVAL_LIST">default</field>
                        <value name="CANDLEINDEX">
                          <shadow type="math_number" id="_zX.sVwm]Yc0i`PCo%a~">
                            <field name="NUM">1</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="controls_if" id="g2BxpV/W:_{[^$i+bW-U">
                        <mutation else="1"></mutation>
                        <value name="IF0">
                          <block type="logic_compare" id="`|1DMlCB!Cl40-=77oN8">
                            <field name="OP">GTE</field>
                            <value name="A">
                              <block type="variables_get" id="k/-Tu.Wo.NGOtTeQ~c4M">
                                <field name="VAR" id="Ke6apU`nFCJpd=^rn@B3" variabletype="">TIMER_PAYOUT</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="epoch" id="cVd{Ij(lduB-$Y:5iqyh"></block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="S7N/1VCK{2lk$h^Mwe5$">
                            <field name="VAR" id=",vOtjywi|P|IVYmvHPE_" variabletype="">PAYOUT_RISE</field>
                            <value name="VALUE">
                              <block type="math_arithmetic" id="k=k9iootVQ*@5tZbfiQp">
                                <field name="OP">MINUS</field>
                                <value name="A">
                                  <shadow type="math_number" id="cX^,W+^U28q6?pRr]e8W">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="math_arithmetic" id="LaO8mMv?T](1sP]k4pI:">
                                    <field name="OP">DIVIDE</field>
                                    <value name="A">
                                      <shadow type="math_number" id="]y}O_%G+K?5B1a!}!*cp">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="math_arithmetic" id="_IItb[5s-yDv04(/DeM`">
                                        <field name="OP">MULTIPLY</field>
                                        <value name="A">
                                          <shadow type="math_number" id="]y}O_%G+K?5B1a!}!*cp">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="payout" id="8SqGH0;UonBx5C2%B[pS">
                                            <field name="PURCHASE_LIST">CALL</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow type="math_number" id="Qww*_;~B$KbwS?vwdznI">
                                            <field name="NUM">100</field>
                                          </shadow>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <shadow type="math_number" id="5lTyap]4^#[{kD=$f.ne">
                                        <field name="NUM">100</field>
                                      </shadow>
                                      <block type="variables_get" id="+YvViBRx;Bt#PX1$=GRM">
                                        <field name="VAR" id="z;17Om0[W1];/A!jdsEp" variabletype="">Investimento</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number" id="!3wu-R4ITMP#3eLBEAG,">
                                    <field name="NUM">100</field>
                                  </shadow>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="controls_if" id="2q[J!n-vcLPFZPua)?W]">
                                <mutation else="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_compare" id="`(+5Kvt~1rp/HG|9RU-N">
                                    <field name="OP">GTE</field>
                                    <value name="A">
                                      <block type="variables_get" id=".!dt%`LY@sdW^BjCHcXW">
                                        <field name="VAR" id=",vOtjywi|P|IVYmvHPE_" variabletype="">PAYOUT_RISE</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id=":2bZZLC.L-9,^G+cLa1k">
                                        <field name="VAR" id="YrCa1q?Mg!wB^-fLsw@]" variabletype="">PAYOUT_MINIMO ( % )</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="controls_if" id="]e=6X^R^bW-aR6`Gsrg8">
                                    <value name="IF0">
                                      <block type="logic_compare" id=".]~Zh=#A0M5*A=-6Ig{`">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="variables_get" id="dYFWHwC3hQ+#li:~~ld%">
                                            <field name="VAR" id="4Lk3#O3k?fQxbaC!qk1~" variabletype="">notificacao_payout</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="text" id="yBy6CnUJM{(Ada[`TX=1">
                                            <field name="TEXT">sim</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="notify" id="BQ{:i[R[i+CK?+n:0Xp9">
                                        <field name="NOTIFICATION_TYPE">info</field>
                                        <field name="NOTIFICATION_SOUND">silent</field>
                                        <value name="MESSAGE">
                                          <shadow type="text" id="Xim:BTWL#P#lp+pz|`n}">
                                            <field name="TEXT">PAYOUT ATUAL</field>
                                          </shadow>
                                          <block type="text_join" id="kvmU:Pm!1/2C7E4Z+8FS">
                                            <mutation items="2"></mutation>
                                            <value name="ADD0">
                                              <block type="text_join" id="54|72$lwy!*dG%hkGByp">
                                                <mutation items="2"></mutation>
                                                <value name="ADD0">
                                                  <block type="text" id=".HKHqaZ0LIn1F@m4BL0|">
                                                    <field name="TEXT">Payout atual: </field>
                                                  </block>
                                                </value>
                                                <value name="ADD1">
                                                  <block type="variables_get" id="Hni1fT~Y,$rRJ2h~E:YM">
                                                    <field name="VAR" id=",vOtjywi|P|IVYmvHPE_" variabletype="">PAYOUT_RISE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="text" id="irDF0V;7jDG,#7jGvz.,">
                                                <field name="TEXT"> %</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="controls_if" id="hqah~4:Y0~V|zkSm#D)D">
                                        <mutation elseif="1"></mutation>
                                        <value name="IF0">
                                          <block type="logic_operation" id="ToTJO.Y,sq1G}UuC($rY">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_compare" id="4toi/8/t)dXDTSv`8ZNt">
                                                <field name="OP">GT</field>
                                                <value name="A">
                                                  <block type="variables_get" id="i(_kw!6%t#%.z.FeD.dc">
                                                    <field name="VAR" id=")y*fd=^l]_17QIB_gZQ9" variabletype="">candle_atual</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="variables_get" id="Z5%E_30`7H^q6]ju?@ya">
                                                    <field name="VAR" id="hE[.s1VNK]=mY/_-e2M*" variabletype="">sma</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_compare" id="N+7~%)`m`bt^;%,=vhB7">
                                                <field name="OP">GT</field>
                                                <value name="A">
                                                  <block type="variables_get" id="tiKZlZrdER=5Q%O$Zl3}">
                                                    <field name="VAR" id="Rr9a{zqpOu%4]MD8qe)G" variabletype="">rsi</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="8~@vrCEwx?7QSK##FZ4S">
                                                    <field name="NUM">50</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
                                            <field name="PURCHASE_LIST">CALL</field>
                                          </block>
                                        </statement>
                                        <value name="IF1">
                                          <block type="logic_operation" id="-C3#=2i-sY=JB#*$OO.8">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_compare" id="~A.CY#)FHF^)STM@~!}?">
                                                <field name="OP">LT</field>
                                                <value name="A">
                                                  <block type="variables_get" id="SJJL$+2mN2/f:AeCLU3F">
                                                    <field name="VAR" id=")y*fd=^l]_17QIB_gZQ9" variabletype="">candle_atual</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="variables_get" id="{;Co:)yQ.Q)~DSKBqnL4">
                                                    <field name="VAR" id="hE[.s1VNK]=mY/_-e2M*" variabletype="">sma</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_compare" id="#!jy0[q^^bNFe~u*_i]R">
                                                <field name="OP">LT</field>
                                                <value name="A">
                                                  <block type="variables_get" id="6cEu12Fe2MF_Xk_gVCAl">
                                                    <field name="VAR" id="Rr9a{zqpOu%4]MD8qe)G" variabletype="">rsi</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="]zd4O%-UJa0^%,*3Ve1i">
                                                    <field name="NUM">50</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO1">
                                          <block type="purchase" id="AghJ5u0aeV,tj/VW!;?w">
                                            <field name="PURCHASE_LIST">PUT</field>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                                <statement name="ELSE">
                                  <block type="controls_if" id="1_d(m+FRswNULK04*!4,">
                                    <value name="IF0">
                                      <block type="logic_compare" id="KfyEk{?xX4DFiLi(@+nC">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="variables_get" id="E)7CGDNfKlR=nPIzurfV">
                                            <field name="VAR" id="4Lk3#O3k?fQxbaC!qk1~" variabletype="">notificacao_payout</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="text" id="Y~zsc~lVm,bZV$it-cg:">
                                            <field name="TEXT">sim</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="notify" id="]gC.1/rb.)C[jL%=Icn:">
                                        <field name="NOTIFICATION_TYPE">error</field>
                                        <field name="NOTIFICATION_SOUND">silent</field>
                                        <value name="MESSAGE">
                                          <shadow type="text" id="~@XU+BM`*y*r%}Uz3H6.">
                                            <field name="TEXT">ORDEM CANCELADA, PAYOUT ABAIXO DO MINIMO.</field>
                                          </shadow>
                                        </value>
                                        <next>
                                          <block type="notify" id="GqY8O+gPd#HgoVI|J^j#">
                                            <field name="NOTIFICATION_TYPE">info</field>
                                            <field name="NOTIFICATION_SOUND">silent</field>
                                            <value name="MESSAGE">
                                              <shadow type="text" id="Xim:BTWL#P#lp+pz|`n}">
                                                <field name="TEXT">PAYOUT ATUAL</field>
                                              </shadow>
                                              <block type="text_join" id="$y4!k_jh`sW-78t@IKg`">
                                                <mutation items="2"></mutation>
                                                <value name="ADD0">
                                                  <block type="text_join" id="?Z%mf+tvBp.[fI7_Q[=j">
                                                    <mutation items="2"></mutation>
                                                    <value name="ADD0">
                                                      <block type="text" id="r%}?%-yyMF}s+4(FjEDL">
                                                        <field name="TEXT">Payout: </field>
                                                      </block>
                                                    </value>
                                                    <value name="ADD1">
                                                      <block type="variables_get" id="+$k1s-~K~h+q.JG8eVA5">
                                                        <field name="VAR" id=",vOtjywi|P|IVYmvHPE_" variabletype="">PAYOUT_RISE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="ADD1">
                                                  <block type="text" id="FE|ZFpk7*z[J4T^Z?g}#">
                                                    <field name="TEXT"> %</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="variables_set" id="RG7tq(7$u$pF+oqzF)Zw">
                                        <field name="VAR" id="~.(42=}=yYjjq#l#d49I" variabletype="">TRADE</field>
                                        <value name="VALUE">
                                          <block type="text" id="@}aeZC2tS~`8}6p+FRtR">
                                            <field name="TEXT">ANALISANDO MERCADO</field>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="notify" id="~:l(~!mmWBPf]B|(1FKM">
                            <field name="NOTIFICATION_TYPE">error</field>
                            <field name="NOTIFICATION_SOUND">silent</field>
                            <value name="MESSAGE">
                              <shadow type="text" id="Y2_)SM1{o.28bQ_vHxE.">
                                <field name="TEXT">DELAY PAYOUT ESGOTADO</field>
                              </shadow>
                            </value>
                            <next>
                              <block type="variables_set" id="rszKhP%-a73FtxBJ;lBS">
                                <field name="VAR" id="~.(42=}=yYjjq#l#d49I" variabletype="">TRADE</field>
                                <value name="VALUE">
                                  <block type="text" id="6g8r}zHKQ~$j!#$s`)}Q">
                                    <field name="TEXT">ANALISANDO MERCADO</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>

