﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="DE4XIRuYLJH1`.n=}tR#">Expected Profit</variable>
    <variable type="" id="Zae^!~RM~M3)S8yA(5zI">Win Amount</variable>
    <variable type="" id="`/TPS!gqDr!2SG^WaSX`">Initial Amount</variable>
    <variable type="" id="gIch9%I65I@R+j4o*eoJ">Last Result</variable>
  </variables>
  <block type="trade" id="73vWdDagX-YhN)CtN.3D" x="0" y="0">
    <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 type="variables_set" id="`m*jmnd~?(%PYRjyP:Ey">
        <field name="VAR" id="DE4XIRuYLJH1`.n=}tR#" variabletype="">Expected Profit</field>
        <value name="VALUE">
          <block type="math_number" id="O!^gPI|s(#{)40]P!Ylr">
            <field name="NUM">5</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="HbI}]gP((Rooso*IH%@9">
            <field name="VAR" id="Zae^!~RM~M3)S8yA(5zI" variabletype="">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" id="`/TPS!gqDr!2SG^WaSX`" variabletype="">Initial Amount</field>
                <value name="VALUE">
                  <block type="math_number" id="Zw$e.S13BwD1EB^FJMEv">
                    <field name="NUM">0.35</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="^v73.V*tAj7|[3yGVH!|">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</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" id="`/TPS!gqDr!2SG^WaSX`" variabletype="">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="tOc)]Xd=cAm0aiy+-8(8" x="0" y="483">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="notify" id="R}5(JstJU_[l=DPf?%,d" disabled="true">
        <field name="NOTIFICATION_TYPE">info</field>
        <field name="NOTIFICATION_SOUND">silent</field>
        <value name="MESSAGE">
          <block type="text_join" id="dt;A?MyhI:@g[(5n(4,d">
            <mutation items="6"></mutation>
            <value name="ADD0">
              <block type="text" id="XqLYuBJ+TPE27_`)2Q^L">
                <field name="TEXT"> (RISE) -SMA - </field>
              </block>
            </value>
            <value name="ADD1">
              <block type="sma" id="sJV1Nf,5(?=uRv5oN0H=">
                <value name="INPUT">
                  <block type="ticks" id="$K/ikG.Ju#{,a2#NY:a5"></block>
                </value>
                <value name="PERIOD">
                  <block type="math_number" id="hrM1i!!L1GZEf#{_H!Ti">
                    <field name="NUM">50</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="ADD2">
              <block type="text" id="da=4O]Zu}4$L8upr?;PL">
                <field name="TEXT"> - Last t - </field>
              </block>
            </value>
            <value name="ADD3">
              <block type="tick" id="GbHF4H(8ZyV?/=Jf)uQM"></block>
            </value>
            <value name="ADD4">
              <block type="text" id="l{Xx|/0GXxR3(nUomHc.">
                <field name="TEXT"> - rESULT  - </field>
              </block>
            </value>
            <value name="ADD5">
              <block type="variables_get" id="V/[l7_BxJqA~cl)lqM;T">
                <field name="VAR" id="gIch9%I65I@R+j4o*eoJ" variabletype="">Last Result</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="controls_if" id="YPB6pe+M}/cjOv]lonsq">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="uG58tO)`82o4r1BG}Qdv">
                <field name="OP">GTE</field>
                <value name="A">
                  <block type="tick" id="LrSPlu!-~oPimGHRGr^8"></block>
                </value>
                <value name="B">
                  <block type="sma" id="BYh8C6*@SU*+y.i{oq!N">
                    <value name="INPUT">
                      <block type="ticks" id="{P|VK00e^bUj#GDh/vP5"></block>
                    </value>
                    <value name="PERIOD">
                      <block type="math_number" id="NR()(oQ6+kI[Ro8!c9}+">
                        <field name="NUM">50</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="purchase" id="?Ou3q0}dD;6,b~3;e|6^">
                <field name="PURCHASE_LIST">CALL</field>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="notify" id="kQY[ZFS^)oR0wG}63,I)" disabled="true">
                <field name="NOTIFICATION_TYPE">warn</field>
                <field name="NOTIFICATION_SOUND">silent</field>
                <value name="MESSAGE">
                  <block type="text_join" id="lLoTDT9(-qCkKHkXCPua">
                    <mutation items="6"></mutation>
                    <value name="ADD0">
                      <block type="text" id="]~rUl.Su_4%:q;!8=jIT">
                        <field name="TEXT"> (FALL)   - SMA - </field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="sma" id="M-$AH$`g3CD^`Z.S~t?o">
                        <value name="INPUT">
                          <block type="ticks" id="]3gJ=Y(=ox#gvE%_9irO"></block>
                        </value>
                        <value name="PERIOD">
                          <block type="math_number" id="kA@O%s@FiPMO19wDL0(U">
                            <field name="NUM">50</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD2">
                      <block type="text" id="0PFrq+iVxogjNb6-h!{E">
                        <field name="TEXT"> - Last t - </field>
                      </block>
                    </value>
                    <value name="ADD3">
                      <block type="tick" id="y*:}F*u4FNN#G*V:3u[|"></block>
                    </value>
                    <value name="ADD4">
                      <block type="text" id="7#`wE-us$-}_Og(;UMY!">
                        <field name="TEXT"> - rESULTt - </field>
                      </block>
                    </value>
                    <value name="ADD5">
                      <block type="variables_get" id="fAWQC/.QqgG?OG`nwED@">
                        <field name="VAR" id="gIch9%I65I@R+j4o*eoJ" variabletype="">Last Result</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="q;xeY:_=Qz5!yi}`/]?^">
                    <value name="IF0">
                      <block type="logic_operation" id="d(a]Ws{0xL||=2Uw?UYp">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="logic_compare" id="X%*$LDXsyu,F!DhB?,(S">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id="XcieX20T?(9Q$b1|@hB]">
                                <field name="VAR" id="gIch9%I65I@R+j4o*eoJ" variabletype="">Last Result</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="text" id="m:reTK;5RE_cDfvu;,i{">
                                <field name="TEXT">LOSS</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="ixm=dI^f!Zx3d-$DlXfX">
                            <field name="OP">LTE</field>
                            <value name="A">
                              <block type="tick" id="w){7{_rlV_,WL=sz|Cx("></block>
                            </value>
                            <value name="B">
                              <block type="sma" id="Y*=qJZ/T7r9-W~UL5KT]">
                                <value name="INPUT">
                                  <block type="ticks" id="DXi7Jz/lGL_|JZoH?/?@"></block>
                                </value>
                                <value name="PERIOD">
                                  <block type="math_number" id=".=I*S=s@`9RuRy,p{ex#">
                                    <field name="NUM">50</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="purchase" id="fJJrc8a,8*);vui0i2(.">
                        <field name="PURCHASE_LIST">PUT</field>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="Vt,CkLeK8E?%BmnB`~M)" x="0" y="1320">
    <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="variables_set" id="PXh.eUkExF[}el8cQ#[O">
            <field name="VAR" id="gIch9%I65I@R+j4o*eoJ" variabletype="">Last Result</field>
            <value name="VALUE">
              <block type="text" id="yJvS5yh4*CF?!|Y]I}/:">
                <field name="TEXT">WIN</field>
              </block>
            </value>
            <next>
              <block type="notify" id="4YfK{W[2OoWl^*}:`-~%">
                <field name="NOTIFICATION_TYPE">success</field>
                <field name="NOTIFICATION_SOUND">silent</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">Monang</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" id="`/TPS!gqDr!2SG^WaSX`" variabletype="">Initial Amount</field>
                    <value name="VALUE">
                      <block type="variables_get" id="@f`s#/,Qh+L1siQ%@LZu">
                        <field name="VAR" id="Zae^!~RM~M3)S8yA(5zI" variabletype="">Win Amount</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="=%CD;.rm0YSeX3^NARv{">
            <field name="NOTIFICATION_TYPE">warn</field>
            <field name="NOTIFICATION_SOUND">silent</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">Kala</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" id="`/TPS!gqDr!2SG^WaSX`" variabletype="">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" id="`/TPS!gqDr!2SG^WaSX`" variabletype="">Initial Amount</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="~+Xs9r(31D)#*O$`ViT/">
                            <field name="NUM">1.1</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="]@HnDX7-[g$gU%lF9n{!">
                    <field name="VAR" id="gIch9%I65I@R+j4o*eoJ" variabletype="">Last Result</field>
                    <value name="VALUE">
                      <block type="text" id="UoK)]H!_*?`Y4z1Hem7F">
                        <field name="TEXT">LOSS</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="+22zCiPYK`7t/0,(j^hu">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</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">SUDE</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" id="DE4XIRuYLJH1`.n=}tR#" variabletype="">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">NGA SAE KEDAN</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>
</xml>