<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="rpr2d|][Fgi|_N_ec?sz">Stake</variable>
    <variable type="" id="M,r|K|*~-cB`-vzxHu$L">EMA 21a</variable>
    <variable type="" id="J8CLHbE281*^~nT7O.T7">Opening Balance</variable>
    <variable type="" id="u(GR8l~*q}ND?^qse@!J">EMA 21</variable>
    <variable type="" id="#0p{jOA^dSm:VQrM^9yn">EMA 5</variable>
    <variable type="" id="KL7eJ7o;}^|(P`TvAA6s">EMA 5a</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="0" y="0">
    <field name="MARKET_LIST">synthetic_index</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="du$4Zb:49$c.e:mV;?_2">
        <field name="VAR" id="rpr2d|][Fgi|_N_ec?sz" variabletype="">Stake</field>
        <value name="VALUE">
          <block type="math_arithmetic" id="$4^wXc2VzAbXeU~*kO~|">
            <field name="OP">MULTIPLY</field>
            <value name="A">
              <shadow type="math_number" id="yPwBjkN|orD-GM$g{Za%">
                <field name="NUM">100</field>
              </shadow>
            </value>
            <value name="B">
              <shadow type="math_number" id="ZvJC4:bC=x={f;3dc#el">
                <field name="NUM">0.02</field>
              </shadow>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="D:+ozN??A5I?B0bC`:^I">
            <field name="VAR" id="J8CLHbE281*^~nT7O.T7" variabletype="">Opening Balance</field>
            <value name="VALUE">
              <block type="balance" id="?c+_826sEg/T(8FgN=$x">
                <field name="BALANCE_TYPE">NUM</field>
              </block>
            </value>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <field name="BARRIEROFFSETTYPE_LIST">+</field>
        <field name="SECONDBARRIEROFFSETTYPE_LIST">-</field>
        <value name="DURATION">
          <shadow type="math_number" id="E-4;4AGY-I:i4ITKAEVz">
            <field name="NUM">5</field>
          </shadow>
        </value>
        <value name="AMOUNT">
          <shadow type="math_number" id="ml)25~7^q}3I9}vjf:%K">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="/^M6};?L1/FS~CW@v.c8">
            <field name="VAR" id="rpr2d|][Fgi|_N_ec?sz" variabletype="">Stake</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="tick_analysis" id="ApyHbih5BM0L/]r~Fy!5" x="709" y="12">
    <statement name="TICKANALYSIS_STACK">
      <block type="variables_set" id="xDNu?Vtn~SwyZ*`Ze0JK">
        <field name="VAR" id="M,r|K|*~-cB`-vzxHu$L" variabletype="">EMA 21a</field>
        <value name="VALUE">
          <block type="variables_get" id="n$,vrT.gG+z@RPgfNSv5">
            <field name="VAR" id="u(GR8l~*q}ND?^qse@!J" variabletype="">EMA 21</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="L1$Ue/-aiBnzo5CCoH$_">
            <field name="VAR" id="u(GR8l~*q}ND?^qse@!J" variabletype="">EMA 21</field>
            <value name="VALUE">
              <block type="ema" id="CUE!k-k)}R6UC8Jy_VKb">
                <value name="INPUT">
                  <block type="ticks" id="i!cDy*_v=}VLG`;;1G-)"></block>
                </value>
                <value name="PERIOD">
                  <shadow type="math_number" id="S@ZfZ@BVfS/?w|ppR|hZ">
                    <field name="NUM">21</field>
                  </shadow>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id=";1v0WQkNr{qwBW3nbj`L">
                <field name="VAR" id="#0p{jOA^dSm:VQrM^9yn" variabletype="">EMA 5</field>
                <value name="VALUE">
                  <block type="ema" id="0reA5OYQU}yk9BXrDm%T">
                    <value name="INPUT">
                      <block type="ticks" id="Tr;#opr(Mll4?H#fr^mL"></block>
                    </value>
                    <value name="PERIOD">
                      <shadow type="math_number" id="H2!6ni7cctEVZ%N8?77{">
                        <field name="NUM">5</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="+o_RXWd40e_y+2j:[x.s">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="check_direction" id="@DS|X6T^F~MnS[*Z#4L}">
                        <field name="CHECK_DIRECTION">rise</field>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="notify" id="(NZY.[;OQef^P.DQ,DDK">
                        <field name="NOTIFICATION_TYPE">success</field>
                        <field name="NOTIFICATION_SOUND">silent</field>
                        <value name="MESSAGE">
                          <shadow type="text" id="`j7z]Ch`S|]`_$j4Vs?H">
                            <field name="TEXT">Cross Down</field>
                          </shadow>
                          <block type="text_join" id="+n+:kDnrB~Z,B{)$Xh.F">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="9ZLST^4$oP7cVI(NwO.9">
                                <field name="TEXT">Tick</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="tick" id="ig9lRw{o#.P,:nr_F|Hq"></block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="notify" id="Z~Nf)7}+/XIufk==NzDr">
                        <field name="NOTIFICATION_TYPE">error</field>
                        <field name="NOTIFICATION_SOUND">silent</field>
                        <value name="MESSAGE">
                          <shadow type="text" id="`j7z]Ch`S|]`_$j4Vs?H">
                            <field name="TEXT">Cross Down</field>
                          </shadow>
                          <block type="text_join" id="8#w9CsjAB~R*84,Km3JQ">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="^C.Kpwt]G3$cp`tNi!$/">
                                <field name="TEXT">Tick</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="tick" id="-So|bU^*/pbw^3DpV(yL"></block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="variables_set" id="Pl`6S-}q,#B1uc34G[vJ">
                        <field name="VAR" id="KL7eJ7o;}^|(P`TvAA6s" variabletype="">EMA 5a</field>
                        <value name="VALUE">
                          <block type="variables_get" id=".?M;qi=@KC**_R!GUR}u">
                            <field name="VAR" id="#0p{jOA^dSm:VQrM^9yn" variabletype="">EMA 5</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="2" y="429">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="?-[k_{!KVaOdhl1PceX:">
        <value name="IF0">
          <block type="logic_operation" id="C+htC0JrrQ;!H%vqZ#j(" inline="false">
            <field name="OP">AND</field>
            <value name="A">
              <block type="logic_compare" id="i=Yb_vie5;A:Eo76?ZbV">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="variables_get" id="Bb@v)(u-1?4~g:Qsx4@9">
                    <field name="VAR" id="#0p{jOA^dSm:VQrM^9yn" variabletype="">EMA 5</field>
                  </block>
                </value>
                <value name="B">
                  <block type="variables_get" id="IChH[]Fl{XG3j6j*~qS6">
                    <field name="VAR" id="u(GR8l~*q}ND?^qse@!J" variabletype="">EMA 21</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_compare" id="):*gIKx9q`tE~y6TTJAr">
                <field name="OP">LT</field>
                <value name="A">
                  <block type="variables_get" id="1l[Mcffw}F(`H7!]/^oJ">
                    <field name="VAR" id="KL7eJ7o;}^|(P`TvAA6s" variabletype="">EMA 5a</field>
                  </block>
                </value>
                <value name="B">
                  <block type="variables_get" id="BRAmGOC$wg,i62N#+0_P">
                    <field name="VAR" id="M,r|K|*~-cB`-vzxHu$L" variabletype="">EMA 21a</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="1Olm=1IN2(gj$d(Wm$/n">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <shadow type="text" id="bVwjuwWBY;d%TC8b~ucX">
                <field name="TEXT">Cross Up</field>
              </shadow>
            </value>
            <next>
              <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
                <field name="PURCHASE_LIST">CALL</field>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="XP/nVIe[eQ{Pmp8uC}k}">
            <value name="IF0">
              <block type="logic_operation" id="w)Li.)tcb|%GguH9fL:+" inline="false">
                <field name="OP">AND</field>
                <value name="A">
                  <block type="logic_compare" id="-$Q,9?`S/q;)^$e+/1E~">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="variables_get" id="*TYDl_6C*CtQa-=V18uF">
                        <field name="VAR" id="#0p{jOA^dSm:VQrM^9yn" variabletype="">EMA 5</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="#-xnX3BmDDtO/cQYaGjQ">
                        <field name="VAR" id="u(GR8l~*q}ND?^qse@!J" variabletype="">EMA 21</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_compare" id="Yeec-@?+qqfl+sXE0,/)">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="variables_get" id="P]~Sg$%uD{~rFEJ9qpP.">
                        <field name="VAR" id="KL7eJ7o;}^|(P`TvAA6s" variabletype="">EMA 5a</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="G0Sos~d)E!+Hzh+~o-XX">
                        <field name="VAR" id="M,r|K|*~-cB`-vzxHu$L" variabletype="">EMA 21a</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="notify" id="`ED~%Z1t|k|;}:!VMmyu">
                <field name="NOTIFICATION_TYPE">info</field>
                <field name="NOTIFICATION_SOUND">silent</field>
                <value name="MESSAGE">
                  <shadow type="text" id="$Eed3|{SlAU(8{=#`K~0">
                    <field name="TEXT">Cross Down</field>
                  </shadow>
                </value>
                <next>
                  <block type="purchase" id="(NiiIkH(D}w59H1hPw24">
                    <field name="PURCHASE_LIST">PUT</field>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="during_purchase" id="(4;NieXd}j|Bn!c-YiC|" x="54" y="868">
    <statement name="DURING_PURCHASE_STACK">
      <block type="controls_if" id="8?eYKAW%VczmRXQ-ou3r">
        <value name="IF0">
          <block type="check_sell" id="M=:_KpEeRAJY_}XTU^8~"></block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="664" y="872">
    <statement name="AFTERPURCHASE_STACK">
      <block type="variables_set" id="(u{_4*yuCQF~M)@._PC(">
        <field name="VAR" id="rpr2d|][Fgi|_N_ec?sz" variabletype="">Stake</field>
        <value name="VALUE">
          <block type="math_round" id="M/6z}W;V?eP7h`ldZoT1">
            <field name="OP">ROUNDUP</field>
            <value name="NUM">
              <shadow type="math_number" id="N55z?Aj!]Oxpe-pxdyle">
                <field name="NUM">3.1</field>
              </shadow>
              <block type="math_arithmetic" id="6{1XIzWHb$,xmFSss1Af">
                <field name="OP">MULTIPLY</field>
                <value name="A">
                  <shadow type="math_number" id="%xuD7B+/;{3Ecub;%5{u">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_arithmetic" id=".VG,29G%c7v%F^!!wnx+">
                    <field name="OP">ADD</field>
                    <value name="A">
                      <shadow type="math_number" id="Ejo[KwYD8!1-=mXHnm7s">
                        <field name="NUM">100</field>
                      </shadow>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="~tFQst=@SI$=a|Up]sw)">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_arithmetic" id="*ck0SXI~a*eLDw.Bn)w3">
                        <field name="OP">MINUS</field>
                        <value name="A">
                          <shadow type="math_number" id="/8yy8*US|wbsZZP^Bagu">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="balance" id="UZ$aZ!qRpxVAjFTF;1-z">
                            <field name="BALANCE_TYPE">NUM</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="$$CM;4YRswAM!3U%*pH6">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="vVEe8o70O#~?|g[/Sa-u">
                            <field name="VAR" id="J8CLHbE281*^~nT7O.T7" variabletype="">Opening Balance</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="^d7.aK6DefmLa!n|JsIv">
                    <field name="NUM">0.02</field>
                  </shadow>
                </value>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="notify" id="s@}/[K/iIz:.@T?KpM{4">
            <field name="NOTIFICATION_TYPE">warn</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <shadow type="text" id=",O7q5TLk}Y;Z*UJgnZMN">
                <field name="TEXT">abc</field>
              </shadow>
              <block type="variables_get" id="8GXT7vWEEm.Qa[P]bR=}">
                <field name="VAR" id="rpr2d|][Fgi|_N_ec?sz" variabletype="">Stake</field>
              </block>
            </value>
            <next>
              <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>