﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <block id="73vWdDagX-YhN)CtN.3D" type="trade" y="-86" x="-82">
    <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="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block id="`m*jmnd~?(%PYRjyP:Ey" type="variables_set">
        <field name="VAR">Expected Profit</field>
        <value name="VALUE">
          <block id="O!^gPI|s(#{)40]P!Ylr" type="math_number">
            <field name="NUM">5</field>
          </block>
        </value>
        <next>
          <block id="HbI}]gP((Rooso*IH%@9" type="variables_set">
            <field name="VAR">Win Amount</field>
            <value name="VALUE">
              <block id="d!*oox4NJx@*obQ)l6Q1" type="math_number">
                <field name="NUM">0.35</field>
              </block>
            </value>
            <next>
              <block id="1`SW/Wbc=TR%r:/F`[{T" type="variables_set">
                <field name="VAR">Initial Amount</field>
                <value name="VALUE">
                  <block id="Zw$e.S13BwD1EB^FJMEv" type="math_number">
                    <field name="NUM">0.35</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block id="_I5=]X;p:vJ-e{14KRGK" type="tradeOptions">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <block id="0p-bjjEuB1k(LNWLaiS]" type="math_number">
            <field name="NUM">5</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block id="HMfSgJ`Iq-Z:Fz-}i+-{" type="variables_get">
            <field name="VAR">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block id="Vt,CkLeK8E?%BmnB`~M)" type="after_purchase" y="-85" x="479">
    <statement name="AFTERPURCHASE_STACK">
      <block id="lXx[u)])DplI5tNJCX#E" type="controls_if">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block id="f`.9rMI;|4i^FZ9y12zT" type="contract_check_result">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block id="4YfK{W[2OoWl^*}:`-~%" type="notify">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block id="NI6_z2cNjwq/t2B^h`{=" type="text_join">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block id="5%$!H}8?@4$/?s+Piv_+" type="text">
                    <field name="TEXT">Monang</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block id="rm)(g3DL.ASYfcDYc913" type="read_details">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block id="RHjB4R=uQ`(l+$;WvdmJ" type="variables_set">
                <field name="VAR">Initial Amount</field>
                <value name="VALUE">
                  <block id="@f`s#/,Qh+L1siQ%@LZu" type="variables_get">
                    <field name="VAR">Win Amount</field>
                  </block>
                </value>
                <next>
                  <block id="sOPC0n0yE|w)!IP=wX|E" type="variables_set">
                    <field name="VAR">Last Result</field>
                    <value name="VALUE">
                      <block id="t*^DG;|FlAxdGaX}n!}W" type="text">
                        <field name="TEXT">WIN</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block id="=%CD;.rm0YSeX3^NARv{" type="notify">
            <field name="NOTIFICATION_TYPE">warn</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block id="`~I~AJSjE5P*6+$e,}D8" type="text_join">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block id="CrG9@.tREViPIC`9}[=i" type="text">
                    <field name="TEXT">Kala</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block id="/`zYL^gVI%L@+nDS]?PO" type="math_single">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow id="=JyMDx9{tJlZU@XpW9~K" type="math_number">
                        <field name="NUM">9</field>
                      </shadow>
                      <block id="[:48l.owbE2cBTmqoyO1" type="read_details">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block id="fZr!9v0GJno]2?#^f:]," type="math_change">
                <field name="VAR">Initial Amount</field>
                <value name="DELTA">
                  <shadow id="(]GS)V@8Ctdg3v2E@jlY" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block id="JQvUqn`x/`rM%uqqd,sk" type="math_single">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow id="7@SQZ~WtnAz*C$]k?bFA" type="math_number">
                        <field name="NUM">9</field>
                      </shadow>
                      <block id="NVatCZSB}]C9h{hR=TB4" type="math_arithmetic">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow id="e*O~T7hbBa6K%S]e(piZ" type="math_number">
                            <field name="NUM">1</field>
                          </shadow>
                          <block id="hfOy@;abK4#6!|u$E4nC" type="variables_get">
                            <field name="VAR">Initial Amount</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow id="~+Xs9r(31D)#*O$`ViT/" type="math_number">
                            <field name="NUM">1.1</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block id="W:bp-9@e89H9zYfbl)Pj" type="variables_set">
                    <field name="VAR">Last Result</field>
                    <value name="VALUE">
                      <block id="8JNS$x_eBabI|,ZI}Y;b" type="text">
                        <field name="TEXT">LOSS</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block id="+22zCiPYK`7t/0,(j^hu" type="notify">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block id="13ZNjx,;FBn{xq;;T~L4" type="text_join">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block id="I(n.3v{gwNKj!b4UK-TV" type="text">
                    <field name="TEXT">SUDE</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block id="?=%:cTu{h@KWwZoev4|t" type="total_profit"></block>
                </value>
              </block>
            </value>
            <next>
              <block id="(#7D~2Va0l51${Pu!yW;" type="controls_if">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block id="Qtsk$6Qd[X~o1wD~hfOt" type="logic_compare">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block id="5]xuiqe3-INE?#f@Y=fu" type="total_profit"></block>
                    </value>
                    <value name="B">
                      <block id="_9Hf(nmF~1H_+_d`Hazz" type="variables_get">
                        <field name="VAR">Expected Profit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block id="wNl0%!;$H`R-Dm=ZV7p:" type="trade_again"></block>
                </statement>
                <statement name="ELSE">
                  <block id="-)Qjpn/c$W_)gB%MdIir" type="text_print">
                    <value name="TEXT">
                      <shadow id="]XR@@VL{)*ZI)WlTipd_" type="text">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block id="t;s[5Z2J?n5$VabcYdow" type="text_join">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block id="H$7i.%r.PFeQh_Soc[||" type="text">
                            <field name="TEXT">NGA SAE KEDAN</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block id="cgi0g($gg7bzWm^};+`4" type="total_profit"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block id="tOc)]Xd=cAm0aiy+-8(8" type="before_purchase" y="272" x="-82">
    <statement name="BEFOREPURCHASE_STACK">
      <block id="YPB6pe+M}/cjOv]lonsq" type="controls_if">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block id="uG58tO)`82o4r1BG}Qdv" type="logic_compare">
            <field name="OP">GTE</field>
            <value name="A">
              <block id="LrSPlu!-~oPimGHRGr^8" type="tick"></block>
            </value>
            <value name="B">
              <block id="BYh8C6*@SU*+y.i{oq!N" type="sma">
                <value name="INPUT">
                  <block id="{P|VK00e^bUj#GDh/vP5" type="ticks"></block>
                </value>
                <value name="PERIOD">
                  <block id="NR()(oQ6+kI[Ro8!c9}+" type="math_number">
                    <field name="NUM">50</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block id="?Ou3q0}dD;6,b~3;e|6^" type="purchase">
            <field name="PURCHASE_LIST">CALL</field>
          </block>
        </statement>
        <statement name="ELSE">
          <block id="q;xeY:_=Qz5!yi}`/]?^" type="controls_if">
            <value name="IF0">
              <block id="d(a]Ws{0xL||=2Uw?UYp" type="logic_operation">
                <field name="OP">AND</field>
                <value name="A">
                  <block id="X%*$LDXsyu,F!DhB?,(S" type="logic_compare">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block id="XcieX20T?(9Q$b1|@hB]" type="variables_get">
                        <field name="VAR">Last Result</field>
                      </block>
                    </value>
                    <value name="B">
                      <block id="m:reTK;5RE_cDfvu;,i{" type="text">
                        <field name="TEXT">LOSS</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block id="ixm=dI^f!Zx3d-$DlXfX" type="logic_compare">
                    <field name="OP">LTE</field>
                    <value name="A">
                      <block id="w){7{_rlV_,WL=sz|Cx(" type="tick"></block>
                    </value>
                    <value name="B">
                      <block id="Y*=qJZ/T7r9-W~UL5KT]" type="sma">
                        <value name="INPUT">
                          <block id="DXi7Jz/lGL_|JZoH?/?@" type="ticks"></block>
                        </value>
                        <value name="PERIOD">
                          <block id=".=I*S=s@`9RuRy,p{ex#" type="math_number">
                            <field name="NUM">50</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block id="fJJrc8a,8*);vui0i2(." type="purchase">
                <field name="PURCHASE_LIST">PUT</field>
              </block>
            </statement>
          </block>
        </statement>
      </block>
    </statement>
  </block>
</xml>