﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="CT$qP97-5QsDb3].k_|7">stake</variable>
    <variable type="" id="m05|w-(VHDszGvtSTfMt">sma1</variable>
    <variable type="" id="LQnzWXT89VU=rQ3MmPhh">martin</variable>
    <variable type="" id="M`~YF[gL7gf5rf/Ml|B;">sma2</variable>
    <variable type="" id="MV0kbzrNmV=}UfQC+Zqp">take</variable>
    <variable type="" id="m]3_*fODS3{]Yf$FY2(}">ifwin</variable>
    <variable type="" id="(b#k_0@L+wp;o?qyaFW@">clock</variable>
    <variable type="" id="Z;Z#tAuHAV+[)H9bA/Z0">sma3</variable>
    <variable type="" id="b1-G+6Yp/C*Mw[vk)pa(">stop</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="0" y="0">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_10</field>
    <field name="TRADETYPECAT_LIST">asian</field>
    <field name="TRADETYPE_LIST">asians</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="B,iONdjLJY%Pc`.9ae!_">
        <field name="VAR" id="CT$qP97-5QsDb3].k_|7" variabletype="">stake</field>
        <value name="VALUE">
          <block type="math_number" id="Izyyu~BpZ8:)xB4[YoH%">
            <field name="NUM">0.35</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="0ZTT}XqxA,k70!(]a}bR">
            <field name="VAR" id="LQnzWXT89VU=rQ3MmPhh" variabletype="">martin</field>
            <value name="VALUE">
              <block type="math_number" id="*x0^y}b}M,!U/7tkJgL#">
                <field name="NUM">2</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="l{de^Wlp[HA;dx3EDa-W">
                <field name="VAR" id="MV0kbzrNmV=}UfQC+Zqp" variabletype="">take</field>
                <value name="VALUE">
                  <block type="math_number" id="!Gm?,h[0Oum~;LEIS3.b">
                    <field name="NUM">10</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="qg7bs6:|xjK_Iw4#X;2s">
                    <field name="VAR" id="b1-G+6Yp/C*Mw[vk)pa(" variabletype="">stop</field>
                    <value name="VALUE">
                      <block type="math_number" id="fh)dYWk,)FFrvZLqvv.w">
                        <field name="NUM">5</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="!{-Ck2rZC?*C5b[S!^xP" collapsed="true">
                        <field name="VAR" id="m]3_*fODS3{]Yf$FY2(}" variabletype="">ifwin</field>
                        <value name="VALUE">
                          <block type="variables_get" id="/ns#Qep1zR$huUE^z$]2" disabled="true">
                            <field name="VAR" id="CT$qP97-5QsDb3].k_|7" variabletype="">stake</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="fD}Er1{?`UOIL|oqxN9}" collapsed="true">
                            <field name="VAR" id="(b#k_0@L+wp;o?qyaFW@" variabletype="">clock</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="4M!,h082dGd%ceq}oei#">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                            <next>
                              <block type="text_print" id="(7vYT9/9^JK,rGTwqqWZ" collapsed="true">
                                <value name="TEXT">
                                  <shadow type="text" id="lfauZ`:(gpLn]71ND_1n">
                                    <field name="TEXT">abc</field>
                                  </shadow>
                                  <block type="text" id="gz.AVBQV.mVt#Otv0[d9">
                                    <field name="TEXT">Esse BOT foi Contributed by ORSTAC Community</field>
                                  </block>
                                </value>
                              </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">t</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="xiN6i/Wh#H]coXzK0L!9">
            <field name="NUM">5</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="*DL3YxJDhz@Hg?%yrIL8">
            <field name="VAR" id="CT$qP97-5QsDb3].k_|7" variabletype="">stake</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" collapsed="true" x="309" y="297">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="wn;Fc0};/6-q.u%lL@:`" collapsed="true">
        <mutation elseif="1"></mutation>
        <value name="IF0">
          <block type="logic_operation" id="/Sn4ae#JG7^k[S,CweoE" inline="false" collapsed="true">
            <field name="OP">AND</field>
            <value name="A">
              <block type="logic_compare" id="ZCxWvO3kNzyw}D=E/vy3" collapsed="true">
                <field name="OP">GTE</field>
                <value name="A">
                  <block type="tick" id="65A%T@Z_nBH*O~NmG;!2"></block>
                </value>
                <value name="B">
                  <block type="variables_get" id="*(zLf8K/j(S=~x8|Z?o0">
                    <field name="VAR" id="m05|w-(VHDszGvtSTfMt" variabletype="">sma1</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_operation" id="=$BTPyoY+pkG]k~;k@fF" inline="false" collapsed="true">
                <field name="OP">AND</field>
                <value name="A">
                  <block type="logic_compare" id="=7u8X.{sxAVdd;rhbqBx">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="variables_get" id="4DguFdcFV]qMqw5B-$8K">
                        <field name="VAR" id="m05|w-(VHDszGvtSTfMt" variabletype="">sma1</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="5OO[k@CNymxi)fOx(Rs2">
                        <field name="VAR" id="M`~YF[gL7gf5rf/Ml|B;" variabletype="">sma2</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_compare" id="{.n?8dI1$(3A3btJ4Mqv">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="variables_get" id="7BQ[Jb.*KLE/]Auk`O38">
                        <field name="VAR" id="M`~YF[gL7gf5rf/Ml|B;" variabletype="">sma2</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="yEfjWHtIM,isqb|T9tS`">
                        <field name="VAR" id="Z;Z#tAuHAV+[)H9bA/Z0" variabletype="">sma3</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
            <field name="PURCHASE_LIST">ASIANU</field>
          </block>
        </statement>
        <value name="IF1">
          <block type="logic_operation" id="(bBJ;_CnY+kWZyU^K5Oy" inline="false" collapsed="true">
            <field name="OP">AND</field>
            <value name="A">
              <block type="logic_compare" id="i+{5kK|lozlnp,38Dy3n" collapsed="true">
                <field name="OP">LTE</field>
                <value name="A">
                  <block type="tick" id="YRDiaNJiKwG*6vU9b?R!"></block>
                </value>
                <value name="B">
                  <block type="variables_get" id="0,`s0!6-:QGaPu#J#(6I">
                    <field name="VAR" id="m05|w-(VHDszGvtSTfMt" variabletype="">sma1</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_operation" id="!_a7#$kk/~7HW$=I!+IL" inline="false" collapsed="true">
                <field name="OP">AND</field>
                <value name="A">
                  <block type="logic_compare" id="yLl]0#,5S(ox4[^-P-6x">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="variables_get" id="ehSWC(t!gLHqtK34i4h4">
                        <field name="VAR" id="m05|w-(VHDszGvtSTfMt" variabletype="">sma1</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="+KN-_4BaUJBLiqpc`d]u">
                        <field name="VAR" id="M`~YF[gL7gf5rf/Ml|B;" variabletype="">sma2</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_compare" id="cEEjO9i|N7=$C/4)L^,H">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="variables_get" id="yRO~!X?-sG38/D;J1W:{">
                        <field name="VAR" id="M`~YF[gL7gf5rf/Ml|B;" variabletype="">sma2</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="lKPIL/Jwl^.}fw8@^i,#">
                        <field name="VAR" id="Z;Z#tAuHAV+[)H9bA/Z0" variabletype="">sma3</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO1">
          <block type="purchase" id="KD7}SEs)E=$uN1CFX)bq">
            <field name="PURCHASE_LIST">ASIAND</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" collapsed="true" x="311" y="394">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="*e#2wVtpC(b#4l{=s-nz" collapsed="true">
        <mutation elseif="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="=24-UR;Pi*(YLA5h_#}=">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="K?keJ0],MtCx5le^z.^|" collapsed="true">
            <field name="VAR" id="CT$qP97-5QsDb3].k_|7" variabletype="">stake</field>
            <value name="VALUE">
              <block type="variables_get" id="@2c_:lYD-_b._$(c8X.Q">
                <field name="VAR" id="m]3_*fODS3{]Yf$FY2(}" variabletype="">ifwin</field>
              </block>
            </value>
          </block>
        </statement>
        <value name="IF1">
          <block type="contract_check_result" id="@VVX2Q$*$+#}7eo{|eHv">
            <field name="CHECK_RESULT">loss</field>
          </block>
        </value>
        <statement name="DO1">
          <block type="variables_set" id=")@EHA-!g,*xeQE=`0s26" collapsed="true">
            <field name="VAR" id="CT$qP97-5QsDb3].k_|7" variabletype="">stake</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="[_w`CKg103kA7wsH!X}t">
                <field name="OP">MULTIPLY</field>
                <value name="A">
                  <shadow type="math_number" id="|mn9iX7cL+k=LjO=T@po">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="he(PF)pQ2FtDqmG2XUSI">
                    <field name="VAR" id="CT$qP97-5QsDb3].k_|7" variabletype="">stake</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="V5SA_Xga9{JdCs.!{{R8">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="|ckFLeGHi.(zM}(J[zx=">
                    <field name="VAR" id="LQnzWXT89VU=rQ3MmPhh" variabletype="">martin</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="TyrgCH=a5Q92Ql;{,C|;" collapsed="true">
            <mutation elseif="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="3fxeC=1?5qs=hsr={Fvb" collapsed="true">
                <field name="OP">GTE</field>
                <value name="A">
                  <block type="total_profit" id="AOrEW.,)4]u`/,7P?m]G"></block>
                </value>
                <value name="B">
                  <block type="variables_get" id="Ai_J%i](1lgW{3mra9(7">
                    <field name="VAR" id="MV0kbzrNmV=}UfQC+Zqp" variabletype="">take</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="!67%3|[prUB$4]Y##ZJ7" collapsed="true">
                <field name="VAR" id="(b#k_0@L+wp;o?qyaFW@" variabletype="">clock</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="zKx4MCojj#wxHnokS@p]">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
                <next>
                  <block type="text_print" id="Ug4jd0Zi3}LH8c_0jKdW" collapsed="true">
                    <value name="TEXT">
                      <shadow type="text" id="lfauZ`:(gpLn]71ND_1n">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id=";q(z-W6GXgO$*?nyO;@i" collapsed="true">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="2wmm|ck_Z9?OCpB#3O~[">
                            <field name="TEXT">Parabens, vc bateu sua meta diária. Volte amanhã isso pode ser o maximo de hoje.</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="8Iu9~{5V]a7K1M2^xa5Y"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </statement>
            <value name="IF1">
              <block type="logic_operation" id="eT/1d=#029G[`%76cPI{" collapsed="true">
                <field name="OP">AND</field>
                <value name="A">
                  <block type="math_number_property" id="+sEvu(i;||G.0*qK}?TV" collapsed="true">
                    <mutation divisor_input="false"></mutation>
                    <field name="PROPERTY">NEGATIVE</field>
                    <value name="NUMBER_TO_CHECK">
                      <shadow type="math_number" id="WXgmNJ}+,eo6qY_ARK)@">
                        <field name="NUM">0</field>
                      </shadow>
                      <block type="total_profit" id="@R)X,keEjU4ZnIo.Ix#G"></block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_compare" id="@)N0^{@h^XE7njzA[S(0">
                    <field name="OP">GTE</field>
                    <value name="A">
                      <block type="math_single" id="21FU*rb!eXOfG{H~#dv4" collapsed="true">
                        <field name="OP">ABS</field>
                        <value name="NUM">
                          <shadow type="math_number" id="2P$:k9G9{|F~Xk~9!h1F">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="total_profit" id="~Z(Fyy9W?=vkae}=kS(,"></block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="DQ8,6U/}#N@.p3f{c(yt">
                        <field name="VAR" id="b1-G+6Yp/C*Mw[vk)pa(" variabletype="">stop</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO1">
              <block type="variables_set" id="Ta1-P=x%x}O^iq~smG~3" collapsed="true">
                <field name="VAR" id="(b#k_0@L+wp;o?qyaFW@" variabletype="">clock</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="VyLoKdY(v+PKKJgyFn7$">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
                <next>
                  <block type="text_print" id="O*L:TKCO$L}B]-7;0L9$" collapsed="true">
                    <value name="TEXT">
                      <shadow type="text" id="lfauZ`:(gpLn]71ND_1n">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="}V^mr_?){#66,v[XO6-F" collapsed="true">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="M7MOSi:7{mK%E*bZl`A;">
                            <field name="TEXT">Poxa! não bateu o limite maximo de perdas. Melhor votar amanhã se tiver na conta real.</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="CiVk~K3:[D)Fye7lUa=E"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="^pe4f)l/`[_pdRB*k*h=" collapsed="true">
                <value name="IF0">
                  <block type="logic_compare" id="%r1{xe6@l$-c/JZq|JI@" collapsed="true">
                    <field name="OP">NEQ</field>
                    <value name="A">
                      <block type="variables_get" id="gB`NY=K%{Ktx!txOx:Yc">
                        <field name="VAR" id="(b#k_0@L+wp;o?qyaFW@" variabletype="">clock</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_boolean" id="+c6wx=j_kz~Zpqt4Rvjk">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="tick_analysis" id="%jq7B1w(:STu({LB%ET6" collapsed="true" x="3105" y="1600">
    <statement name="TICKANALYSIS_STACK">
      <block type="variables_set" id="$UW0RhhCXoxL~SS62qCJ" collapsed="true">
        <field name="VAR" id="m05|w-(VHDszGvtSTfMt" variabletype="">sma1</field>
        <value name="VALUE">
          <block type="ema" id="+A|QgA/ZidgD.O|A_:+l">
            <value name="INPUT">
              <block type="ticks" id="@Fg,[E^0axce%?1kJ[Mm"></block>
            </value>
            <value name="PERIOD">
              <shadow type="math_number" id="a_S=n;!e3yq[Dl(fU{cO">
                <field name="NUM">5</field>
              </shadow>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="i*EVzKPthhV80:iHl^U/" collapsed="true">
            <field name="VAR" id="M`~YF[gL7gf5rf/Ml|B;" variabletype="">sma2</field>
            <value name="VALUE">
              <block type="sma" id="-iP:?wpu,hdAH[`xTEp_">
                <value name="INPUT">
                  <block type="ticks" id="%WJ,MpYSH?s%/?Cz_Q@q"></block>
                </value>
                <value name="PERIOD">
                  <shadow type="math_number" id="Q3m7?=ceHJAr7?@@B@]F">
                    <field name="NUM">50</field>
                  </shadow>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="`$67:_JEbDKUIVDQNB[N" collapsed="true">
                <field name="VAR" id="Z;Z#tAuHAV+[)H9bA/Z0" variabletype="">sma3</field>
                <value name="VALUE">
                  <block type="sma" id="B6R9F,ZyV{u5*+Opz3f=">
                    <value name="INPUT">
                      <block type="ticks" id="S*S{3*Q4nJ4fqbS)oRwG"></block>
                    </value>
                    <value name="PERIOD">
                      <shadow type="math_number" id="oYxD+@`z4T*vZ8;#Wp?d">
                        <field name="NUM">100</field>
                      </shadow>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>

