﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <block type="before_purchase" id="tOc)]Xd=cAm0aiy+-8(8" x="820" y="-45">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id=",k3e|97Q#zy~St|},FIw">
        <field name="VAR">RSI</field>
        <value name="VALUE">
          <block type="rsi" id="L`@9^C8dP8t_eY~kc`z@">
            <value name="INPUT">
              <block type="ohlc_values" id="zfL;*8=+xY4c;D.a+BNG">
                <field name="OHLCFIELD_LIST">close</field>
              </block>
            </value>
            <value name="PERIOD">
              <block type="math_number" id="M`iwUevPD`7AM;@a_lxL">
                <field name="NUM">14</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="notify" id="d6hoYghe$|5gGM!Uw4^E">
            <field name="NOTIFICATION_TYPE">info</field>
            <value name="MESSAGE">
              <block type="text_join" id="0}QaY20UMMh`;6uUyJJV">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="rycoAM.71-1g2W0KNs9N">
                    <field name="TEXT">RSI: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="variables_get" id="@6r^:%J(M%u/C:m.1,np">
                    <field name="VAR">RSI</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="notify" id="Iy8380lK`fUF(om%c_+~">
                <field name="NOTIFICATION_TYPE">success</field>
                <value name="MESSAGE">
                  <block type="text_join" id=")/8W9)La+#y48Ml!U_O-">
                    <mutation items="2"></mutation>
                    <value name="ADD0">
                      <block type="text" id="Lu.i6w#l=l=hlu.)mRZs">
                        <field name="TEXT">RSI_MAX: </field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="variables_get" id="btV(*i,{EBS]irTT!=xI">
                        <field name="VAR">RSI_MAX</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="notify" id="F^P5l4aH0yk{T32_NB{_">
                    <field name="NOTIFICATION_TYPE">error</field>
                    <value name="MESSAGE">
                      <block type="text_join" id="QdJHHetXJI7ndwSR4{T_">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="nY5@#6^@Z(d2V%(NBQwy">
                            <field name="TEXT">RSI_MIN: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id="b#@!(yCt4P8,E{Nl)O{B">
                            <field name="VAR">RSI_MIN</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="notify" id="Okq`Z6xI~nT?O!cCKv)t">
                        <field name="NOTIFICATION_TYPE">warn</field>
                        <value name="MESSAGE">
                          <block type="text_join" id="rKk@PtVd[]M+3iD8NDPu">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="F*@5lw{B(-Cpy@k/swoV">
                                <field name="TEXT">LOST_MAX:</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="variables_get" id="|ec-wk0O?}!f~BB036[y">
                                <field name="VAR">LOST_MAX</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="controls_if" id="u*UZGZW8~$oj}gN3#vNT">
                            <value name="IF0">
                              <block type="logic_compare" id="X)};r*Pb}2t=b^I}eC}r">
                                <field name="OP">GT</field>
                                <value name="A">
                                  <block type="variables_get" id="GwpeyM:@ZG$}Tb4W=Euu">
                                    <field name="VAR">RSI</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="variables_get" id="8v(SZ2v_|ZuoIkf2~o3U">
                                    <field name="VAR">RSI_MAX</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="QY+A]vxBvuOU*~G:YIIy">
                                <field name="VAR">RSI_MAX</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="!YFwZ$:*Q{O+Pk8P[oNA">
                                    <field name="VAR">RSI</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <next>
                              <block type="controls_if" id="r367;PZJ632dkJ7l;_Cw">
                                <value name="IF0">
                                  <block type="logic_compare" id="5wdlJ@m;hATfNib[wvm/">
                                    <field name="OP">LT</field>
                                    <value name="A">
                                      <block type="variables_get" id="N`OV/I?iv7hIJ#W~G)pX">
                                        <field name="VAR">RSI</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="C-GhMr@Zv#|GkpV20u#Y">
                                        <field name="VAR">RSI_MIN</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="variables_set" id="90I;l^9}$4rAtdGY:w]c">
                                    <field name="VAR">RSI_MIN</field>
                                    <value name="VALUE">
                                      <block type="variables_get" id="7DSD6xSQ~cOmtRSgR{X1">
                                        <field name="VAR">RSI</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                                <next>
                                  <block type="controls_if" id="s{kS1BqXYXkG~l9wQ|Ed">
                                    <mutation else="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="}[99+Ny4yVf;!J=sZqZK">
                                        <field name="OP">GTE</field>
                                        <value name="A">
                                          <block type="variables_get" id="ul@Ju8.3^:D(c;@fpL8Y">
                                            <field name="VAR">RSI</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="p:QWN;Joe|C:$dxAa|q0">
                                            <field name="VAR">RSI_MAX</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="purchase" id="Q;`vp48|v7pG%t@W6`uQ">
                                        <field name="PURCHASE_LIST">ASIAND</field>
                                      </block>
                                    </statement>
                                    <statement name="ELSE">
                                      <block type="controls_if" id=".w6#:3YN02iJYEn~*zeO">
                                        <value name="IF0">
                                          <block type="logic_compare" id="J8fPxAVJ=pJRsvb2*/,2">
                                            <field name="OP">LTE</field>
                                            <value name="A">
                                              <block type="variables_get" id="j/)Z{xC~w:%S~.$tPFcW">
                                                <field name="VAR">RSI</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="variables_get" id="w/Z|qUt=o^Q1ACAkf1j,">
                                                <field name="VAR">RSI_MIN</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="purchase" id=")5}r:1X[+$9M7t|Yj`#$">
                                            <field name="PURCHASE_LIST">ASIANU</field>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="variables_set" id="zz|aW3F3{dp_i{0@{Fhm">
                                        <field name="VAR">RSI_MIN</field>
                                        <value name="VALUE">
                                          <block type="math_arithmetic" id="$^lmksKi-lIsZWYDDy`W">
                                            <field name="OP">ADD</field>
                                            <value name="A">
                                              <shadow type="math_number" id="Y$=Lg+0xm0a2/A).=KZ#">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="variables_get" id="I|3Zlv?9OTUin$?^h9-7">
                                                <field name="VAR">RSI_MIN</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <shadow type="math_number" id="hH2{,f,AN2}s|@{}w+l.">
                                                <field name="NUM">0.05</field>
                                              </shadow>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="BNDow*G/$)36jCP2w##m">
                                            <field name="VAR">RSI_MAX</field>
                                            <value name="VALUE">
                                              <block type="math_arithmetic" id=";S|]9U3Bm*oY)pD3cGKB">
                                                <field name="OP">MINUS</field>
                                                <value name="A">
                                                  <shadow type="math_number" id="Y$=Lg+0xm0a2/A).=KZ#">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="variables_get" id="weYrvn=xR+CUr~F[^Lz5">
                                                    <field name="VAR">RSI_MAX</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <shadow type="math_number" id="xR=};SA(^gV|l+9M^-Zt">
                                                    <field name="NUM">0.05</field>
                                                  </shadow>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="trade" id="73vWdDagX-YhN)CtN.3D" x="20" y="20">
    <statement name="SUBMARKET">
      <block type="variables_set" id="U49^X@IPGHKty@k!tC).">
        <field name="VAR">RSI_MAX</field>
        <value name="VALUE">
          <block type="math_number" id="YAx2l!LzPCq})9iG#lp;">
            <field name="NUM">50</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="8FNMpDIs.+5Pt$VL@M:s">
            <field name="VAR">RSI_MIN</field>
            <value name="VALUE">
              <block type="math_number" id="X-(_,J,@B%PHCY|mt3X]">
                <field name="NUM">50</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="#2)TjfNB:ZB)Njqnyt%h">
                <field name="VAR">LOST_MAX_LAST</field>
                <value name="VALUE">
                  <block type="math_number" id="(PA+^yMipeS[f0X%mKGP">
                    <field name="NUM">0</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="rjtt4=ZKk#_QWOZ5e`R#">
                    <field name="VAR">LOST_MAX</field>
                    <value name="VALUE">
                      <block type="math_number" id="HVR7dQ%xG%4)t})]-~A8">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="cN:jWE3;3!z3m`XwKaf$">
                        <field name="VAR">APOSTA INICIAL</field>
                        <value name="VALUE">
                          <block type="math_number" id="~lYRBKtUmdi1*n,KcX1}">
                            <field name="NUM">0.76</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="*)*KRBzU!hdFE]Uy9+{~">
                            <field name="VAR">APOSTA MAXIMA</field>
                            <value name="VALUE">
                              <block type="math_number" id="}e0-oC*dV)yuX]qt]`1o">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="0AJABIelblZVJ_w3#3O7">
                                <field name="VAR">APOSTA</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="YNw_ZMWIf(x,e(YJ$Q_7">
                                    <field name="VAR">APOSTA INICIAL</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="DpFOvw?p_z]cWw*t3YR^">
                                    <field name="VAR">TEMPO</field>
                                    <value name="VALUE">
                                      <block type="math_number" id="EF-cX}(4zie?:#r]`e{s">
                                        <field name="NUM">5</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="market" id="~T:?7-`j{)c/H5e]d.H9">
                                        <field name="MARKET_LIST">volidx</field>
                                        <field name="SUBMARKET_LIST">random_index</field>
                                        <field name="SYMBOL_LIST">R_100</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="DURATIONTYPE_LIST">t</field>
                                        <field name="PAYOUTTYPE_LIST">stake</field>
                                        <field name="CURRENCY_LIST">USD</field>
                                        <field name="RESTARTONERROR">FALSE</field>
                                        <value name="DURATION">
                                          <block type="variables_get" id="P)StJsw.#r]%_L]VwrGD">
                                            <field name="VAR">TEMPO</field>
                                          </block>
                                        </value>
                                        <value name="AMOUNT">
                                          <block type="variables_get" id="1r8xtVMK+TK8e24p-~K7">
                                            <field name="VAR">APOSTA</field>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="Vt,CkLeK8E?%BmnB`~M)" x="19" y="459">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="77OBGUl!VF6.]JG)(mq|">
        <value name="IF0">
          <block type="contract_check_result" id="Z!P8r8f7r6jhvKb/P2RY">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="X_2$O33GFPoq*YVX,.`b">
            <field name="VAR">LOST_MAX_LAST</field>
            <value name="VALUE">
              <block type="math_number" id="K2HpEwAegm+/p,srop--">
                <field name="NUM">0</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="8g]f8h@gnQK3F=X9bT)w">
                <field name="VAR">APOSTA</field>
                <value name="VALUE">
                  <block type="variables_get" id="WwutgpZ+iQg0J!n}JJo`">
                    <field name="VAR">APOSTA INICIAL</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="]094[:{*i#CsC6`WC.:^">
                    <field name="VAR">TEMPO</field>
                    <value name="VALUE">
                      <block type="math_number" id="-Xskx]Jz!j)7wsP{F:sv">
                        <field name="NUM">5</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="@6w_!NzrD(Lsn-z?=`GB">
            <value name="IF0">
              <block type="contract_check_result" id="zm87}U/~V5eGvDdVk0rN">
                <field name="CHECK_RESULT">loss</field>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="My;$cd:3m^-mg,C(?O0)">
                <field name="VAR">TEMPO</field>
                <value name="VALUE">
                  <block type="math_number" id="7*E6iOcOuZ#8o`:n?+}V">
                    <field name="NUM">10</field>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="i6+BIYbVv_jv3^BzFs;D">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="PI8+SNu7x+dXBOoL`M5;">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="variables_get" id="S5^2er9L?YKKs@CJKQBl">
                            <field name="VAR">APOSTA</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="8mj;J}}I@90l23tw/lFf">
                            <field name="VAR">APOSTA MAXIMA</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="}2l;5dwL}Dr=euj#psf%">
                        <field name="VAR">APOSTA</field>
                        <value name="VALUE">
                          <block type="math_arithmetic" id="L+(}eU{89(ds-#V;Tm{E">
                            <field name="OP">MULTIPLY</field>
                            <value name="A">
                              <shadow type="math_number" id="+vmp6op*u[~N3LL74KL`">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="variables_get" id="bVL*==v_]$jHNZx`O?|r">
                                <field name="VAR">APOSTA</field>
                              </block>
                            </value>
                            <value name="B">
                              <shadow type="math_number" id="n3TG[8W{9@VtJK]J)1Jd">
                                <field name="NUM">2</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="variables_set" id="zZlq3a=SXgE2b4bXjGF^">
                        <field name="VAR">APOSTA</field>
                        <value name="VALUE">
                          <block type="variables_get" id="06dL=86lF.ziv:AdW:8-">
                            <field name="VAR">APOSTA INICIAL</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="variables_set" id="T`nH,`h%4`Obj`TCG0uw">
                        <field name="VAR">LOST_MAX_LAST</field>
                        <value name="VALUE">
                          <block type="math_arithmetic" id="t(@Zja5TStCX$44Msz?}">
                            <field name="OP">ADD</field>
                            <value name="A">
                              <shadow type="math_number" id="Y$=Lg+0xm0a2/A).=KZ#">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="variables_get" id="]U!`X_w,5=+i7N6g|4jG">
                                <field name="VAR">LOST_MAX_LAST</field>
                              </block>
                            </value>
                            <value name="B">
                              <shadow type="math_number" id="G@-~{.7VG;U-*fk;@{_@">
                                <field name="NUM">1</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="controls_if" id="*S0Hk7wOF6i)5`hqE};h">
                            <value name="IF0">
                              <block type="logic_compare" id="ZYIxLL;m%8ML0d]Ct83n">
                                <field name="OP">GT</field>
                                <value name="A">
                                  <block type="variables_get" id=":2,Ki.GH-fE_|)#${lme">
                                    <field name="VAR">LOST_MAX_LAST</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="variables_get" id="%U=K`VHP:h0))O!o/+0L">
                                    <field name="VAR">LOST_MAX</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="+lDOWjSF?%Y$n*~pXIci">
                                <field name="VAR">LOST_MAX</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="ywRdYj!|41az.2fS-|.$">
                                    <field name="VAR">LOST_MAX_LAST</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="trade_again" id=",VG2~pX|wvNj6hMyw=%~"></block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="during_purchase" id="1_d+l?5}=-fJOD(Ux44X" x="816" y="677">
    <statement name="DURING_PURCHASE_STACK">
      <block type="variables_set" id="MX$CQo*yKeabf{;JP4h[">
        <field name="VAR">RSI</field>
        <value name="VALUE">
          <block type="rsi" id="/m)gH{,B,QA2vzrG=3(i">
            <value name="INPUT">
              <block type="ohlc_values" id="(?$WsU}9lRm23kzGQZ-0">
                <field name="OHLCFIELD_LIST">close</field>
              </block>
            </value>
            <value name="PERIOD">
              <block type="math_number" id="9d8$$$Jz|{9RZrdFtn(N">
                <field name="NUM">14</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="controls_if" id="J@TZqsP`q_ePeb/dm?wQ">
            <value name="IF0">
              <block type="logic_compare" id=";SCV=AZ/)0.|_$zA][c5">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="variables_get" id="*C46o]6cE^i7)8)os[R/">
                    <field name="VAR">RSI</field>
                  </block>
                </value>
                <value name="B">
                  <block type="variables_get" id="ZRSC-J6Slq(6]Iiu_EDn">
                    <field name="VAR">RSI_MAX</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="it5L$PQ|pk]S6?NiY1?*">
                <field name="VAR">RSI_MAX</field>
                <value name="VALUE">
                  <block type="variables_get" id="5xfBl1VKCCV]Jx`IwIAK">
                    <field name="VAR">RSI</field>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="f9I#t!{UW9FIoORX+lB2">
                <value name="IF0">
                  <block type="logic_compare" id="{_;xnnVAlmr}H|~:|HZt">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="variables_get" id="DNhV#~Is-,IN!3bh9tK;">
                        <field name="VAR">RSI</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="PHe09RmWHJ;7a4}$@t`Y">
                        <field name="VAR">RSI_MIN</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="w1KR}dz6hwNw$~1^E.aY">
                    <field name="VAR">RSI_MIN</field>
                    <value name="VALUE">
                      <block type="variables_get" id="|E-Z(2BE.G[.E`0Jt!!Z">
                        <field name="VAR">RSI</field>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>