﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <block type="trade" id="73vWdDagX-YhN)CtN.3D" x="-254" y="-28">
    <statement name="SUBMARKET">
      <block type="variables_set" id="`m*jmnd~?(%PYRjyP:Ey">
        <field name="VAR">Expected Profit</field>
        <value name="VALUE">
          <block type="math_number" id="O!^gPI|s(#{)40]P!Ylr">
            <field name="NUM">3</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="HbI}]gP((Rooso*IH%@9">
            <field name="VAR">Win Amount</field>
            <value name="VALUE">
              <block type="math_number" id="d!*oox4NJx@*obQ)l6Q1">
                <field name="NUM">0.35</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="1`SW/Wbc=TR%r:/F`[{T">
                <field name="VAR">Initial Amount</field>
                <value name="VALUE">
                  <block type="math_number" id="Zw$e.S13BwD1EB^FJMEv">
                    <field name="NUM">0.35</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="HMfSgJ`Iq-Z:Fz-}i+-{">
                        <field name="VAR">Initial Amount</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="Vt,CkLeK8E?%BmnB`~M)" x="499" y="17">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="lXx[u)])DplI5tNJCX#E">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="f`.9rMI;|4i^FZ9y12zT">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="4YfK{W[2OoWl^*}:`-~%">
            <field name="NOTIFICATION_TYPE">success</field>
            <value name="MESSAGE">
              <block type="text_join" id="NI6_z2cNjwq/t2B^h`{=">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="5%$!H}8?@4$/?s+Piv_+">
                    <field name="TEXT">WON</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id="rm)(g3DL.ASYfcDYc913">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="RHjB4R=uQ`(l+$;WvdmJ">
                <field name="VAR">Initial Amount</field>
                <value name="VALUE">
                  <block type="variables_get" id="@f`s#/,Qh+L1siQ%@LZu">
                    <field name="VAR">Win Amount</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="=%CD;.rm0YSeX3^NARv{">
            <field name="NOTIFICATION_TYPE">warn</field>
            <value name="MESSAGE">
              <block type="text_join" id="`~I~AJSjE5P*6+$e,}D8">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="CrG9@.tREViPIC`9}[=i">
                    <field name="TEXT">LOST</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="math_single" id="/`zYL^gVI%L@+nDS]?PO">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow type="math_number" id="=JyMDx9{tJlZU@XpW9~K">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="read_details" id="[:48l.owbE2cBTmqoyO1">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="math_change" id="fZr!9v0GJno]2?#^f:],">
                <field name="VAR">Initial Amount</field>
                <value name="DELTA">
                  <shadow type="math_number" id="(]GS)V@8Ctdg3v2E@jlY">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_single" id="JQvUqn`x/`rM%uqqd,sk">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow type="math_number" id="7@SQZ~WtnAz*C$]k?bFA">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="math_arithmetic" id="NVatCZSB}]C9h{hR=TB4">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow type="math_number" id="e*O~T7hbBa6K%S]e(piZ">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="hfOy@;abK4#6!|u$E4nC">
                            <field name="VAR">Initial Amount</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="~+Xs9r(31D)#*O$`ViT/">
                            <field name="NUM">1.2</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="+22zCiPYK`7t/0,(j^hu">
            <field name="NOTIFICATION_TYPE">info</field>
            <value name="MESSAGE">
              <block type="text_join" id="13ZNjx,;FBn{xq;;T~L4">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="I(n.3v{gwNKj!b4UK-TV">
                    <field name="TEXT">TOTAL PROFIT : </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="?=%:cTu{h@KWwZoev4|t"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="(#7D~2Va0l51${Pu!yW;">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="Qtsk$6Qd[X~o1wD~hfOt">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="total_profit" id="5]xuiqe3-INE?#f@Y=fu"></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="_9Hf(nmF~1H_+_d`Hazz">
                        <field name="VAR">Expected Profit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="trade_again" id="wNl0%!;$H`R-Dm=ZV7p:"></block>
                </statement>
                <statement name="ELSE">
                  <block type="text_print" id="-)Qjpn/c$W_)gB%MdIir">
                    <value name="TEXT">
                      <shadow type="text" id="]XR@@VL{)*ZI)WlTipd_">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="t;s[5Z2J?n5$VabcYdow">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="H$7i.%r.PFeQh_Soc[||">
                            <field name="TEXT">DONE TOTAL PROFIT :</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="cgi0g($gg7bzWm^};+`4"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="tOc)]Xd=cAm0aiy+-8(8" x="-251" y="282">
    <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">success</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">SIGNAL</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="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="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">72</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="purchase" id="Q;`vp48|v7pG%t@W6`uQ">
                    <field name="PURCHASE_LIST">PUT</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="math_number" id="k^GA+}=[E*+b5DPc3-$O">
                            <field name="NUM">32</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="purchase" id=")5}r:1X[+$9M7t|Yj`#$">
                        <field name="PURCHASE_LIST">CALL</field>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>