﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <block type="trade" id="73vWdDagX-YhN)CtN.3D" x="-2" y="-38">
    <statement name="SUBMARKET">
      <block type="variables_set" id="lpHWUw#0=KNa5_A?^Wcl">
        <field name="VAR">NextTrade Condition</field>
        <value name="VALUE">
          <block type="text" id="EV@2IJC)`^0eUQN.$[?x">
            <field name="TEXT">Rise</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="|F#yIO4pJfp#jWrE7/+W">
            <field name="VAR">Max Loss Amount</field>
            <value name="VALUE">
              <block type="math_number" id="V{XvJhN/H1zJhY36=ogu">
                <field name="NUM">20</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="]%I2aL@K_P+z[Fjbk;8D">
                <field name="VAR">Expected Profit</field>
                <value name="VALUE">
                  <block type="math_number" id="q:`C7`zTJo~!NRg+5OfM">
                    <field name="NUM">20</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="Ww~wgC5FN=W?,5}ge3m$">
                    <field name="VAR">Win Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="r1D@H?qAAqS8eJyV3t81">
                        <field name="NUM">0.35</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="-sTpwll:@8~!;UU5W%-g">
                        <field name="VAR">Initial Amount</field>
                        <value name="VALUE">
                          <block type="math_number" id="]_u31?*b5xw,VOQkespU">
                            <field name="NUM">0.35</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="_53w7rfx#Fu$|rF,T|!l">
                            <field name="VAR">No Of Loss</field>
                            <value name="VALUE">
                              <block type="math_number" id="A!jT}N]0HM(tSmLM`]8S">
                                <field name="NUM">0</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">callput</field>
                                <field name="TRADETYPE_LIST">risefall</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="math_number" id="0p-bjjEuB1k(LNWLaiS]">
                                    <field name="NUM">5</field>
                                  </block>
                                </value>
                                <value name="AMOUNT">
                                  <block type="variables_get" id="nY[W@(`l7+oV2G7Nt~8D">
                                    <field name="VAR">Initial Amount</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="tOc)]Xd=cAm0aiy+-8(8" x="881" y="-41">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id="}H%r`f#`d!UHQgOG~26;">
        <field name="VAR">RSI</field>
        <value name="VALUE">
          <block type="rsi" id="CNU8V:dr_T:V:fBoJ;rc">
            <value name="INPUT">
              <block type="ohlc_values" id="jzf3S|p-|h(kJL{PLO^-">
                <field name="OHLCFIELD_LIST">close</field>
              </block>
            </value>
            <value name="PERIOD">
              <block type="math_number" id="0rM(elN)rfx~qhG{_XW)">
                <field name="NUM">2</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id=",YD_?YCW#1TF7tBjP[}f">
            <field name="VAR">Bollinger</field>
            <value name="VALUE">
              <block type="bb" id="T.}_L(NB#N^LiB,0;k;a">
                <field name="BBRESULT_LIST">1</field>
                <value name="INPUT">
                  <block type="ohlc_values" id="LVoBY8gYE0=!h}#48@H9">
                    <field name="OHLCFIELD_LIST">close</field>
                  </block>
                </value>
                <value name="PERIOD">
                  <block type="math_number" id=".wxo|B%AQUWX}0OW8ZpP">
                    <field name="NUM">20</field>
                  </block>
                </value>
                <value name="UPMULTIPLIER">
                  <block type="math_number" id="ED}r/g6MmRcX:MH[MJtF">
                    <field name="NUM">2</field>
                  </block>
                </value>
                <value name="DOWNMULTIPLIER">
                  <block type="math_number" id="ah3iOmG-yQ.Fj){8ZYxg">
                    <field name="NUM">2</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="notify" id="(#%50G$@/+W]}a+2w#3A">
                <field name="NOTIFICATION_TYPE">success</field>
                <value name="MESSAGE">
                  <block type="text_join" id="?lpn@n%B[Q$kKp.V3f|=">
                    <mutation items="2"></mutation>
                    <value name="ADD0">
                      <block type="text" id="2wvd);`kH_FAoisqCF](">
                        <field name="TEXT">RSI: </field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="variables_get" id="zR[b|-9^[*pD)U.)gD;9">
                        <field name="VAR">RSI</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="%cML.[rsB,igSE}oBKyl">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="Tm3}+9xHil?gHfIOUB,7">
                        <field name="OP">GT</field>
                        <value name="A">
                          <block type="variables_get" id="+3Byn7q1yK{-{y2V?[g3">
                            <field name="VAR">No Of Loss</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="j!f/L$RZf]cDg79Bss-C">
                            <field name="NUM">50</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="controls_if" id="P]6s^?02`$F{Vn5{%9#V">
                        <mutation else="1"></mutation>
                        <value name="IF0">
                          <block type="check_direction" id="{D~w^GMl##51CPWoK1|a">
                            <field name="CHECK_DIRECTION">rise</field>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="RzhK7D)uyJ{Gz-,_Oij!">
                            <field name="VAR">NextTrade Condition</field>
                            <value name="VALUE">
                              <block type="text" id="UUTf51s}%ce_:d-T-5/H">
                                <field name="TEXT">Fall</field>
                              </block>
                            </value>
                            <next>
                              <block type="purchase" id="U+~6@v%xMLaWoWiI`?nN">
                                <field name="PURCHASE_LIST">CALL</field>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="variables_set" id="XZG/#Bz]#[(!LDp6u.EB">
                            <field name="VAR">NextTrade Condition</field>
                            <value name="VALUE">
                              <block type="text" id="n1Eh0nQS3)3WE`HT$?J1">
                                <field name="TEXT">Rise</field>
                              </block>
                            </value>
                            <next>
                              <block type="purchase" id="~F!up,vQ?[Je+Cmu+3~Q">
                                <field name="PURCHASE_LIST">PUT</field>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="controls_if" id="CdQ+:-pBzY#o-V[br.z#">
                        <value name="IF0">
                          <block type="logic_operation" id="eB$ti/_y$MkpF~F_6`9H">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="logic_compare" id="?_@{D|jnyDnfmXG`teK`">
                                <field name="OP">GTE</field>
                                <value name="A">
                                  <block type="variables_get" id="W`,a~==2p:?RZ+2o,_0z">
                                    <field name="VAR">RSI</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="iKv+0Y/@*L{AYbSLr%[l">
                                    <field name="NUM">80</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id=",(RZM#UIx^Et?+EDFwvV">
                                <field name="OP">GT</field>
                                <value name="A">
                                  <block type="tick" id="]UgiL!roUr,me|_Ud]3S"></block>
                                </value>
                                <value name="B">
                                  <block type="bb" id="?FmzdNx4~1gb~4(4)D3P">
                                    <field name="BBRESULT_LIST">1</field>
                                    <value name="INPUT">
                                      <block type="ticks" id="v.`k,sD!7PIDRzkx[~y."></block>
                                    </value>
                                    <value name="PERIOD">
                                      <block type="math_number" id="f[%c|pkMOiP8Lh418)rP">
                                        <field name="NUM">20</field>
                                      </block>
                                    </value>
                                    <value name="UPMULTIPLIER">
                                      <block type="math_number" id="VXOsAWnCdAEm$4qM?h3N">
                                        <field name="NUM">2</field>
                                      </block>
                                    </value>
                                    <value name="DOWNMULTIPLIER">
                                      <block type="math_number" id="DF!Ozidal|]!6cC8Ow9-">
                                        <field name="NUM">2</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="VW?r2Ik2s}AELBL}pd{@">
                            <field name="VAR">NextTrade Condition</field>
                            <value name="VALUE">
                              <block type="text" id="!8nss;..sA.]Ect;p`tg">
                                <field name="TEXT">Fall</field>
                              </block>
                            </value>
                            <next>
                              <block type="purchase" id="rK@3kJ|K[o#==IsI;s=z">
                                <field name="PURCHASE_LIST">PUT</field>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="controls_if" id="McUU1lBT9$?L7UWki|oz">
                            <value name="IF0">
                              <block type="logic_operation" id="^R3.LC_:%GE8t7KN8K4#">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_compare" id="i*TqT#kP7,)@{p0x%3%s">
                                    <field name="OP">LTE</field>
                                    <value name="A">
                                      <block type="variables_get" id="-I-JB/%MWx*wd?b=sj#~">
                                        <field name="VAR">RSI</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="155,i%FUkMfn~0F^xB#R">
                                        <field name="NUM">20</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_compare" id="n+OZS/SZm+oK|N|t0%PZ">
                                    <field name="OP">LT</field>
                                    <value name="A">
                                      <block type="tick" id="Hb$9tMSIeOldQUmPOsxh"></block>
                                    </value>
                                    <value name="B">
                                      <block type="bb" id=")@Cx#LWRL~hzZZcx{mJz">
                                        <field name="BBRESULT_LIST">1</field>
                                        <value name="INPUT">
                                          <block type="ticks" id="PGvufz)fd/{MI7!#=zY8"></block>
                                        </value>
                                        <value name="PERIOD">
                                          <block type="math_number" id="Ub;`;1yB-)]I0H)/6orP">
                                            <field name="NUM">20</field>
                                          </block>
                                        </value>
                                        <value name="UPMULTIPLIER">
                                          <block type="math_number" id="Buh5QspVVBNLy|}~U1KR">
                                            <field name="NUM">2</field>
                                          </block>
                                        </value>
                                        <value name="DOWNMULTIPLIER">
                                          <block type="math_number" id="11Q@%wC}KoCZ0]HYvkj-">
                                            <field name="NUM">2</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="Bv-]-.C/.o{8u}_t`Q_S">
                                <field name="VAR">NextTrade Condition</field>
                                <value name="VALUE">
                                  <block type="text" id="596H?qKcs?E2i6:}z!W*">
                                    <field name="TEXT">Rise</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="purchase" id="L7Rm[198$tt1%!kZQ8_;">
                                    <field name="PURCHASE_LIST">CALL</field>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="Vt,CkLeK8E?%BmnB`~M)" x="-3" y="336">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="MT%Put`#[ExM[SHB4[_3">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="{2j[#][|8bi1-Vu^M7yx">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="_UFwSgI=~ab=#LA$`~(a">
            <field name="NOTIFICATION_TYPE">success</field>
            <value name="MESSAGE">
              <block type="text_join" id="S)4g1!;vf}19.;2ZIO!#">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="c#,L|BeeoFMRj=7Be4@N">
                    <field name="TEXT">Won: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id="5oiCqmEV6zt[S)e,6V2F">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="kjvqfU,Q@_0I2.lXpcGp">
                <field name="VAR">Initial Amount</field>
                <value name="VALUE">
                  <block type="variables_get" id="/kI]r*E5p1z/PFM6vwYK">
                    <field name="VAR">Win Amount</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="NHSCOA!cL~0TS@*)#4FJ">
                    <field name="VAR">No Of Loss</field>
                    <value name="VALUE">
                      <block type="math_number" id="u1Gqk*@g_a%qUIrgfo)q">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="-$}ZU8{bhXW(|k5/Y.BE">
            <field name="NOTIFICATION_TYPE">warn</field>
            <value name="MESSAGE">
              <block type="text_join" id="_4k;QWdd:`-2j;,1)a{#">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="u^YP8UM_b`Y9r1Y+id(s">
                    <field name="TEXT">Lost: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="math_single" id="5eYHnV(.ASK(ZMX4D@c[">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow type="math_number" id="X82WF*i[B*|;X(.``y/i">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="read_details" id="^_Fi}C*)ixOq:wS|i~:Z">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="math_change" id="20U{_)SPgLu0Uwr;G(Z8">
                <field name="VAR">Initial Amount</field>
                <value name="DELTA">
                  <shadow type="math_number" id="vLL!7s73$9-q5vLbAd#O">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_arithmetic" id="zRa}D|+7ieA_IFo;OV}M">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow type="math_number" id="b_+0s,Ejo+X;R|:|=tWC">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_single" id="}nO:lVm=Z:=0Cr_|i^W|">
                        <field name="OP">ABS</field>
                        <value name="NUM">
                          <shadow type="math_number" id="7i#a^jQfx+``HuGtUK1i">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="read_details" id="!dm0G$/-JOF`]jE8]huk">
                            <field name="DETAIL_INDEX">4</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="weTh/L0$x(bLnYLtlylv">
                        <field name="NUM">1.041</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="math_change" id="#^)4v!0pi^m_erhV6lEQ">
                    <field name="VAR">No Of Loss</field>
                    <value name="DELTA">
                      <shadow type="math_number" id="vLL!7s73$9-q5vLbAd#O">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="notify" id=":1-bWS*9j7b[_84UEQ]q">
                        <field name="NOTIFICATION_TYPE">info</field>
                        <value name="MESSAGE">
                          <block type="text_join" id="YR:i_)0x1.b:1/*!D87(">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="KA?/nHl%,.xX46P1g#Yc">
                                <field name="TEXT">Perdas: </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="variables_get" id=")Oe520#-91#^naJ}-=tF">
                                <field name="VAR">No Of Loss</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id=")Hk9Xt83j=({7pXXS/;5">
            <field name="NOTIFICATION_TYPE">info</field>
            <value name="MESSAGE">
              <block type="text_join" id="hAEBfX1ULt=,?{,[%]P5">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="}*OZnwxIINB!Ygjq#Nuu">
                    <field name="TEXT">Total Profit:</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="~Y(0gN3ZXnwAaG{sK0-*"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="4N,1b=@lncJr!MP}dow9">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="Ek1;LF-#h.Ne)h0vY2:R">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="total_profit" id="43Y[,PlOXRxzKf()*tG$"></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="~sp,tQJesLdCc!ZG]Fh1">
                        <field name="VAR">Expected Profit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="controls_if" id="mLt`^p|tI23,l9ItGYC]">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_operation" id="2eY#w|aSiZo}71L9sCC_">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="logic_compare" id="90bv%R:!FTLjdbh0T]T.">
                            <field name="OP">LT</field>
                            <value name="A">
                              <block type="total_profit" id="}YC$BV/$3J79VT)-^!J_"></block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="d$K6Y-vj)IsI$^;d%,1Y">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="-riC_-{1]KB+RcZ==8)6">
                            <field name="OP">GTE</field>
                            <value name="A">
                              <block type="math_single" id="2mZyf;?jo:KD]+=_6^Z7">
                                <field name="OP">ABS</field>
                                <value name="NUM">
                                  <shadow type="math_number" id="7i#a^jQfx+``HuGtUK1i">
                                    <field name="NUM">9</field>
                                  </shadow>
                                  <block type="total_profit" id="I{/K%NbZooiNA|d]oGpQ"></block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="variables_get" id="D2G~vn/7eU/?SCecG+Uj">
                                <field name="VAR">Max Loss Amount</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="text_print" id="D834;p,{W+_yV]Z_$t{e">
                        <value name="TEXT">
                          <shadow type="text" id="rN{50RMpVEQ_D2Ooc,3z">
                            <field name="TEXT">Max Loss Reached</field>
                          </shadow>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="trade_again" id="c~APu$3]PBv=12qB!/wv"></block>
                    </statement>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="text_print" id="!Z8,mtTcmVu+?TJsC;5d">
                    <value name="TEXT">
                      <shadow type="text" id="rN{50RMpVEQ_D2Ooc,3z">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="uC$K-@*~t~Q`l62W}Zkn">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="s02q[TUX~mz6nm]PM?2z">
                            <field name="TEXT">Done! Total Profit</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="*c4bG;Pj;dciOz!RKT8."></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>