﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <block type="after_purchase" id="finish" x="0" y="0">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="uP=;W#5+8I0y:,sp.SyX">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="4jQPCgO4}UB][D|rClNo">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="H6h`pFd(e/L:xon5VkmX">
            <field name="NOTIFICATION_TYPE">success</field>
            <value name="MESSAGE">
              <block type="text_join" id="$0lAQ*ufW*,B7|#xVPhS">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="?]eY[N4.^V$^V4Q84b$v">
                    <field name="TEXT">Won:</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id="=f!}~}+c`)yhMPj{MH;x">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="/yCDWTuwHA/^pBMi;)DT">
                <field name="VAR">Initial Amount</field>
                <value name="VALUE">
                  <block type="variables_get" id="}[$Mg|8)lyZ]W;,n`cCv">
                    <field name="VAR">Win Amount</field>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="=-MHEezoc@B0#u.$BGC5">
                    <value name="IF0">
                      <block type="logic_compare" id="KgIcu%slZnz5`}6368HL">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="y?ndyCYGP(]eb)jV0twk">
                            <field name="VAR">Next Trade Condition</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="5MdxV|IuY4C5iB_}{:lx">
                            <field name="TEXT">TOUCH</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="IKYPF]2m-|N#${nTo:,P">
                        <field name="VAR">Next Trade Condition</field>
                        <value name="VALUE">
                          <block type="text" id="NKK_ySkT#k%@wGLxHUjh">
                            <field name="TEXT">TOUCH</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="6u]sJP/Ue}-nE{`k=g?Y">
            <field name="NOTIFICATION_TYPE">warn</field>
            <value name="MESSAGE">
              <block type="text_join" id="0m8dd365RWAC^o(K%=SJ">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="KQ`A,{Bd{Sz|PG~~(,+n">
                    <field name="TEXT">Lost: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="math_single" id="[1xGFdH;,h@]IAc_b]$T">
                    <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="LIH]KBaI#++]Da*tPgMo">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="math_change" id="C$%h/EPhRAFhNPofde*O">
                <field name="VAR">Initial Amount</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="c;G-3AbJ9_fw,5Z,VVf1">
                    <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="?!]3;[%r7/0l?@Q4|A?$">
                        <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="};sLCwTkEX;,hzZ@ib{c">
                            <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="math_number" id="WJ$C3Wq.uwb+{0NdBjmC">
                        <field name="NUM">5</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="t6)7^Xg5bn5|@HI0k1i:">
            <field name="NOTIFICATION_TYPE">info</field>
            <value name="MESSAGE">
              <block type="text_join" id="omp%)mr|^g~[TH`)D[f2">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="0Eg*){!miSgK98un9GoP">
                    <field name="TEXT">TOTAL PROFIT</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="{Ng,)OB9#T1C]LSJ1IG^"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="g5y#WpI}d)*@9-.+f661">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="`97BOC64sQUbuN/Rb6?=">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="total_profit" id="zddT8c@i}]q7veA8L@TH"></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="2ZUyw$cPJOs/_bP+Ed;6">
                        <field name="VAR">Expected Profit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="controls_if" id="#VPR6~71GgiwE6Qz#sQz">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_operation" id="9R%@t0ob[/;t/08a:Lj[">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="math_number_property" id="~%#k8rSy)n7WGEQd*BJc">
                            <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="uLRD1[Vq|_1o01S4:CZ:"></block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="c`H1uYw:Qr_a$DdplgkD">
                            <field name="OP">GTE</field>
                            <value name="A">
                              <block type="math_single" id="d$Y9*S3/.p!?)EXf0i5S">
                                <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="%1nuJc@8ZABU`4b,G(HS"></block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="variables_get" id="/D/EBW8C~Kqh2}bZ/`#t">
                                <field name="VAR">Max Acceptable Loss</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="text_print" id="HAL/Sjr[woJ`uqEe%q#L">
                        <value name="TEXT">
                          <shadow type="text" id="Nau%l+%*hH!#y2I#Q@%5">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text" id="B9j*#b6.eCAzV:slAs+G">
                            <field name="TEXT">SO SORRY...MAXIMUM LOSS. TRADE AGAIN AFTER 1 HOUR</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="trade_again" id="$izV$eJ.b1*fK1/.Sx6l"></block>
                    </statement>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="text_print" id="[=g_]e`PQGmf0DcX:C%d">
                    <value name="TEXT">
                      <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id=")jOvsDIw2LrMhE=0/.lz">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="SEhNW1{8#t;!%G(jXS=c">
                            <field name="TEXT">DONE! TOTAL PROFIT REACHED</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="$_C%NLhS$)mAV|]-#9t0"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="tOc)]Xd=cAm0aiy+-8(8" x="0" y="652">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id="3voDgC,h4UJK5^{+_L[1">
        <field name="VAR">threshold</field>
        <value name="VALUE">
          <block type="math_number" id=";J}`FbG=Gi~zrC?qj*rf">
            <field name="NUM">1</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="|O~uOx%R7xcXppR?f`0b">
            <field name="VAR">sma_2</field>
            <value name="VALUE">
              <block type="sma" id="kq$GS{@iNS7#+=+8W!Yc">
                <value name="INPUT">
                  <block type="ticks" id="exm@PUH?S0OK5)a/)EXK"></block>
                </value>
                <value name="PERIOD">
                  <block type="math_number" id="KrcM5RbOlG,?zh7;msT8">
                    <field name="NUM">2</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="x^dKV).m-X,_`wO3_P|B">
                <field name="VAR">sma_3</field>
                <value name="VALUE">
                  <block type="sma" id="nNH7#:;T/^#O/YZ~~-}:">
                    <value name="INPUT">
                      <block type="ticks" id="VNy3C+nufM@oYON4w^rz"></block>
                    </value>
                    <value name="PERIOD">
                      <block type="math_number" id="+e8buR94p;jNu11R~]{u">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="df]wJnO2xYI2,shE+a|:">
                    <field name="VAR">RSI</field>
                    <value name="VALUE">
                      <block type="rsi" id="Ve}R6i7c|}XWlagdE|!5">
                        <value name="INPUT">
                          <block type="ticks" id="r)kq~*1D3O.@p5fG7jKe"></block>
                        </value>
                        <value name="PERIOD">
                          <block type="math_number" id="64P(5-8^Xmo@iU0A6A5{">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="notify" id="=i*Wb=~f,mK9_tphu/e/">
                        <field name="NOTIFICATION_TYPE">success</field>
                        <value name="MESSAGE">
                          <block type="text_join" id="}vco)ZFwQ@9B^:4;1;~:">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="v0L@MkMQnyfxG:287~H.">
                                <field name="TEXT">TOUCH</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="variables_get" id="^#`:hv!Oy,*s}B#j#SEL">
                                <field name="VAR">sma_3</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="notify" id="f$#4/+-6A0-]s-PP?00j">
                            <field name="NOTIFICATION_TYPE">success</field>
                            <value name="MESSAGE">
                              <block type="text_join" id="V]J_cK_;9gG_Pce69A%h">
                                <mutation items="2"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="oHBq}y?{]nsnbuQr7oa_">
                                    <field name="TEXT">TOUCH</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="variables_get" id="Fnx`nP;X?z%E17i_JuvK">
                                    <field name="VAR">sma_2</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="notify" id="n}KV[7[PEOHC!K9h~MMk">
                                <field name="NOTIFICATION_TYPE">info</field>
                                <value name="MESSAGE">
                                  <block type="text_join" id="5|-$TFH(Q!l8zkja`,Sz">
                                    <mutation items="2"></mutation>
                                    <value name="ADD0">
                                      <block type="text" id="!mz6c?3]LU=Eug-5Rh]4">
                                        <field name="TEXT">TOUCH</field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="variables_get" id="V=eax3M=;~Z.mfRw[#:5">
                                        <field name="VAR">RSI</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="controls_if" id="X.`yb]NDRgu016t`QrCR">
                                    <value name="IF0">
                                      <block type="logic_compare" id="?bRZFp`@neix?u5q?.Ry">
                                        <field name="OP">LT</field>
                                        <value name="A">
                                          <block type="math_single" id="rO_U6HLhhmy2L{D0P_C$">
                                            <field name="OP">ABS</field>
                                            <value name="NUM">
                                              <shadow type="math_number" id="A{hd8uh?~owsKX:},#~E">
                                                <field name="NUM">9</field>
                                              </shadow>
                                              <block type="math_arithmetic" id="U91NyF57Wqc(fwOwzOXn">
                                                <field name="OP">MINUS</field>
                                                <value name="A">
                                                  <shadow type="math_number" id="LhXc68C]O/^TXabFnt@c">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="variables_get" id="U7@.nHqhxbS4bw{o)^Zj">
                                                    <field name="VAR">sma_2</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <shadow type="math_number" id="Y@;|lEDjJ,?qQymXGde5">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="math_arithmetic" id="hT_RV(0k`Z]S7!jmxJz[">
                                                    <field name="OP">MINUS</field>
                                                    <value name="A">
                                                      <shadow type="math_number" id="@MQg~Gp_Q,!GXz{LCYq%">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="variables_get" id="[nZ^LWcrplNR{K,6c3{,">
                                                        <field name="VAR">sma_3</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <shadow type="math_number" id="?tr;.%go;8))YgO$yOB_">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="variables_get" id="^gvEF9N/4cCyasgda?p2">
                                                        <field name="VAR">RSI</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="Wj@E6P]Q7HX/(6fnNOEM">
                                            <field name="VAR">threshold</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="controls_if" id="E7Xr;jQbBJg%g+Qyw5!k">
                                        <value name="IF0">
                                          <block type="logic_operation" id="2#kBCKu6ndg+Pf52l1ij">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_compare" id="/Jhcimg|Jv$$mXxTv-:#">
                                                <field name="OP">LT</field>
                                                <value name="A">
                                                  <block type="variables_get" id="|4M1A{n+tkW(xX_GA{]:">
                                                    <field name="VAR">sma_2</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="variables_get" id="c55qen#d^r8`nw1O_cFt">
                                                    <field name="VAR">sma_3</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_compare" id="}[99+Ny4yVf;!J=sZqZK">
                                                <field name="OP">GTE</field>
                                                <value name="A">
                                                  <block type="variables_get" id="d2lEPSjR=xRctYlaXZ%/">
                                                    <field name="VAR">RSI</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="EZ9`dW{*yzAaw.9JN?PD">
                                                    <field name="NUM">2</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="purchase" id="gs,?h#|o0*/A|w-+p*m-">
                                            <field name="PURCHASE_LIST">ONETOUCH</field>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="trade" id="trade" x="0" y="1285">
    <statement name="SUBMARKET">
      <block type="variables_set" id="ywWsNcAjYaOF?!nQmz%,">
        <field name="VAR">Next Trade Condition</field>
        <value name="VALUE">
          <block type="text" id="~;1+nJ$%!Qw29(xk`#c{">
            <field name="TEXT">Even</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="el-3[,6@:M|$+^R;7w78">
            <field name="VAR">Max Acceptable Loss</field>
            <value name="VALUE">
              <block type="math_number" id="a8=hCTG5)w[QqQC7WqUz">
                <field name="NUM">30</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="v`RkE[2ch6$pNs^LJm7z">
                <field name="VAR">Expected Profit</field>
                <value name="VALUE">
                  <block type="math_number" id="A4oFw7i#-8ZPI8.v7F9m">
                    <field name="NUM">50</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="L}XefZ92:exzG):.A?}U">
                    <field name="VAR">Win Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="9mf:1~s]a8gtim:AgR?*">
                        <field name="NUM">0.35</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="!v8zfySEtveaXe]mg%Xm">
                        <field name="VAR">Initial Amount</field>
                        <value name="VALUE">
                          <block type="math_number" id=":1WE$Pia+}lg-r~*gSp2">
                            <field name="NUM">0.35</field>
                          </block>
                        </value>
                        <next>
                          <block type="market" id="2lc#d,FbF2eS03iPyugo">
                            <field name="MARKET_LIST">volidx</field>
                            <field name="SUBMARKET_LIST">random_index</field>
                            <field name="SYMBOL_LIST">R_100</field>
                            <field name="TRADETYPECAT_LIST">touchnotouch</field>
                            <field name="TRADETYPE_LIST">touchnotouch</field>
                            <field name="TYPE_LIST">both</field>
                            <field name="CANDLEINTERVAL_LIST">60</field>
                            <field name="DURATIONTYPE_LIST">m</field>
                            <field name="PAYOUTTYPE_LIST">stake</field>
                            <field name="CURRENCY_LIST">USD</field>
                            <field name="BARRIEROFFSETTYPE_LIST">-</field>
                            <field name="RESTARTONERROR">FALSE</field>
                            <value name="DURATION">
                              <block type="math_number" id="3C)ZEL{q5j=-/RzugcR^">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                            <value name="AMOUNT">
                              <block type="variables_get" id="!Rw]}kyC;w+l~e=qd/,s">
                                <field name="VAR">Initial Amount</field>
                              </block>
                            </value>
                            <value name="BARRIEROFFSET">
                              <block type="math_number" id="*7,GW,hO]*lwxoYkCS#0">
                                <field name="NUM">5</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="during_purchase" id="@G%][.+GU_K^7%1dgfoR" x="0" y="1733">
    <statement name="DURING_PURCHASE_STACK">
      <block type="controls_if" id="js6S3S_Tc4:~-f+7Dj,j">
        <value name="IF0">
          <block type="check_sell" id="gI{65_9!{nCUJ:Z~}%iZ"></block>
        </value>
      </block>
    </statement>
  </block>
</xml>