<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="Fw_k/R:Pvqa*77yB)(5u">Last_Tick_Color</variable>
    <variable type="" id="%Ml?GYQR+YH}Of=,*4)}">Candle_List</variable>
    <variable type="" id="+]s|cJ;XpcAv2|fL_*G;">Last_Tick</variable>
    <variable type="" id="JTp(DEY@kIxQ+hz+k}b[">ColorTicks</variable>
    <variable type="" id="wH-A8dN$Z~Wv$lS3]W9|">EMA 20</variable>
    <variable type="" id="`3$Fob:d|),yfGS,XiPd">smartRisk</variable>
    <variable type="" id="MrIOC919Mmjau9EsGR8=">RISE</variable>
    <variable type="" id="wBQCQuaLvWBhaNFa(ksv">TriggerSecuencie</variable>
    <variable type="" id="68Ca!ADlAGGZFqKmigEv">EMA 25</variable>
    <variable type="" id="9ykNn4D,GP}1ItPSLRLK">Barrier</variable>
    <variable type="" id="l%B.9Mpa|]S)5$mmTnA~">FALL</variable>
    <variable type="" id="l,?7`7(hEu8C(f*6MrNA">EMA 30</variable>
    <variable type="" id="ilB~iTyNZj1xy/,;/)EE">EMA 35</variable>
    <variable type="" id="!0H/xdi#tRS/Dn@.Y#}}">EMA 40</variable>
    <variable type="" id="8XNXC7,G=3}N6Ng+|+[a">EMA 45</variable>
    <variable type="" id=")AMs%h46.9[iF=TFDTHk">EMA 50</variable>
    <variable type="" id="%YQj.I)J|QdS(]u+;1B8">UPTREND</variable>
    <variable type="" id=":fKr0g8T5q1Nw~0T@pd8">DOWNTREND</variable>
    <variable type="" id="~eX~gKCaOz[.zr=.Lw^:">SIDEWAY</variable>
  </variables>
  <block type="procedures_defnoreturn" id="qPnr+xD:6W%o_UjDpyI)" collapsed="true" x="0" y="0">
    <mutation>
      <arg name="Last_Tick_Color" varid="Fw_k/R:Pvqa*77yB)(5u"></arg>
    </mutation>
    <field name="NAME">Ticks Color</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="{m[(M2}vk=M?k7``v!T!">
        <field name="VAR" id="JTp(DEY@kIxQ+hz+k}b[" variabletype="">ColorTicks</field>
        <value name="VALUE">
          <block type="lists_split" id="X[nB@!Y3ayyL6)R^ae$(">
            <mutation mode="JOIN"></mutation>
            <field name="MODE">JOIN</field>
            <value name="INPUT">
              <block type="lists_getSublist" id="eL#chOsAqCj2drIHD{_s">
                <mutation at1="true" at2="false"></mutation>
                <field name="WHERE1">FROM_END</field>
                <field name="WHERE2">LAST</field>
                <value name="LIST">
                  <block type="variables_get" id="1;]h2ZuCcTjf+o~}3vV%">
                    <field name="VAR" id="Fw_k/R:Pvqa*77yB)(5u" variabletype="">Last_Tick_Color</field>
                  </block>
                </value>
                <value name="AT1">
                  <block type="math_number" id="7k#9L$iCF?RKaqy2:Sld">
                    <field name="NUM">3</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="DELIM">
              <shadow type="text" id="-wb90#R2.BtqG?NkM:4`">
                <field name="TEXT"></field>
              </shadow>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="@as7%JfG;)khcxfQ%KtA">
            <field name="VAR" id="wBQCQuaLvWBhaNFa(ksv" variabletype="">TriggerSecuencie</field>
            <value name="VALUE">
              <block type="variables_get" id="#(qHtl473]kiwIkT6rFK">
                <field name="VAR" id="JTp(DEY@kIxQ+hz+k}b[" variabletype="">ColorTicks</field>
              </block>
            </value>
            <next>
              <block type="notify" id="6k~u~:%N9b/+pdYe6RBT">
                <field name="NOTIFICATION_TYPE">info</field>
                <field name="NOTIFICATION_SOUND">silent</field>
                <value name="MESSAGE">
                  <shadow type="text" id="C:^ESGCY6_H.ThQd~Srb">
                    <field name="TEXT">abc</field>
                  </shadow>
                  <block type="variables_get" id="(F5{:I{g9)jUfmaa4DQH">
                    <field name="VAR" id="wBQCQuaLvWBhaNFa(ksv" variabletype="">TriggerSecuencie</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="7,PDlL}DBE6LIFU..CjK" collapsed="true" x="0" y="53">
    <mutation>
      <arg name="Candle_List" varid="%Ml?GYQR+YH}Of=,*4)}"></arg>
      <arg name="Last_Tick" varid="+]s|cJ;XpcAv2|fL_*G;"></arg>
    </mutation>
    <field name="NAME">Trends with EMAS</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="o?Fe,BmwbPk(7Hs$=.x}">
        <field name="VAR" id="wH-A8dN$Z~Wv$lS3]W9|" variabletype="">EMA 20</field>
        <value name="VALUE">
          <block type="ema" id="54]zD=%lGm8_$1Yw*{xB">
            <value name="INPUT">
              <block type="variables_get" id="|A}HOq8SlOEw0hK!bFM^">
                <field name="VAR" id="%Ml?GYQR+YH}Of=,*4)}" variabletype="">Candle_List</field>
              </block>
            </value>
            <value name="PERIOD">
              <shadow type="math_number" id="?PBA9W;EDSMY7m?_zs5_">
                <field name="NUM">20</field>
              </shadow>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="4P8C*XV4QQ1*1)K^^1YP" collapsed="true">
            <field name="VAR" id="68Ca!ADlAGGZFqKmigEv" variabletype="">EMA 25</field>
            <value name="VALUE">
              <block type="ema" id="IQ^ni2dnEUOMo_quxDqG">
                <value name="INPUT">
                  <block type="variables_get" id="e{R(#T@rb)t2F/hKq7]_">
                    <field name="VAR" id="%Ml?GYQR+YH}Of=,*4)}" variabletype="">Candle_List</field>
                  </block>
                </value>
                <value name="PERIOD">
                  <shadow type="math_number" id="7Yk-9P8S@p7=8,}Ki[j^">
                    <field name="NUM">25</field>
                  </shadow>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="7qlQ3-X:Ifp7]rMU6d0b" collapsed="true">
                <field name="VAR" id="l,?7`7(hEu8C(f*6MrNA" variabletype="">EMA 30</field>
                <value name="VALUE">
                  <block type="ema" id=";udKm^6N_]?.a-os%YeO">
                    <value name="INPUT">
                      <block type="variables_get" id="FJ_wT}`xH4*_4ESYZ.$f">
                        <field name="VAR" id="%Ml?GYQR+YH}Of=,*4)}" variabletype="">Candle_List</field>
                      </block>
                    </value>
                    <value name="PERIOD">
                      <shadow type="math_number" id="n/LChOB%*kBk[F#z@-O{">
                        <field name="NUM">30</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="0+tuxX{Y`]MK`/Yt+J9V" collapsed="true">
                    <field name="VAR" id="ilB~iTyNZj1xy/,;/)EE" variabletype="">EMA 35</field>
                    <value name="VALUE">
                      <block type="ema" id="41WQ:%+wN66#*hpV1B4k">
                        <value name="INPUT">
                          <block type="variables_get" id="$3,;H+U=q_CEz51ov=p}">
                            <field name="VAR" id="%Ml?GYQR+YH}Of=,*4)}" variabletype="">Candle_List</field>
                          </block>
                        </value>
                        <value name="PERIOD">
                          <shadow type="math_number" id="j1n1$G#5Zcz;C8,AV(bj">
                            <field name="NUM">35</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="~W/%ygiAwfnAl[Mx5sJj" collapsed="true">
                        <field name="VAR" id="!0H/xdi#tRS/Dn@.Y#}}" variabletype="">EMA 40</field>
                        <value name="VALUE">
                          <block type="ema" id="0%85=w;uD=dUpk|rnZZV">
                            <value name="INPUT">
                              <block type="variables_get" id="x`XV[2aTJbfaX!RSvfPl">
                                <field name="VAR" id="%Ml?GYQR+YH}Of=,*4)}" variabletype="">Candle_List</field>
                              </block>
                            </value>
                            <value name="PERIOD">
                              <shadow type="math_number" id="]OUnE+D_U$.f*QmMt`|Y">
                                <field name="NUM">40</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="aFC{2dg0UF5[7Iza-fZB">
                            <field name="VAR" id="8XNXC7,G=3}N6Ng+|+[a" variabletype="">EMA 45</field>
                            <value name="VALUE">
                              <block type="ema" id="1@;n;jL-PH4dPJSZ-V;U">
                                <value name="INPUT">
                                  <block type="variables_get" id="P1?MT6:VhSKl]b`%a$!g">
                                    <field name="VAR" id="%Ml?GYQR+YH}Of=,*4)}" variabletype="">Candle_List</field>
                                  </block>
                                </value>
                                <value name="PERIOD">
                                  <shadow type="math_number" id="sx0~co56j*J5`0-Gj+/s">
                                    <field name="NUM">45</field>
                                  </shadow>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="]}r9VR-*x`1.y+s2:%|n">
                                <field name="VAR" id=")AMs%h46.9[iF=TFDTHk" variabletype="">EMA 50</field>
                                <value name="VALUE">
                                  <block type="ema" id="D_tc|#^HJ`Ws2La2Kox_">
                                    <value name="INPUT">
                                      <block type="variables_get" id="ljj6,`zrth/oF1TkUjt^">
                                        <field name="VAR" id="%Ml?GYQR+YH}Of=,*4)}" variabletype="">Candle_List</field>
                                      </block>
                                    </value>
                                    <value name="PERIOD">
                                      <shadow type="math_number" id="Y(ivTSpr!k-%Y5k?!TxC">
                                        <field name="NUM">50</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="`--/oK%|-y:^;]ccrhvc">
                                    <field name="VAR" id="%YQj.I)J|QdS(]u+;1B8" variabletype="">UPTREND</field>
                                    <value name="VALUE">
                                      <block type="logic_operation" id="QfX}mF,$]5oFB}YQIu$7" inline="false" collapsed="true">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_operation" id="|YWI8JlG2PEdRz*-BmC5" inline="false">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_compare" id="-pf`a1;Z9{snqLoxUdOX">
                                                <field name="OP">GT</field>
                                                <value name="A">
                                                  <block type="variables_get" id="/zjKiiF(A9`s47],7$(`">
                                                    <field name="VAR" id="+]s|cJ;XpcAv2|fL_*G;" variabletype="">Last_Tick</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="variables_get" id="^LFeO[y|}weO*_TMXebA">
                                                    <field name="VAR" id="wH-A8dN$Z~Wv$lS3]W9|" variabletype="">EMA 20</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_operation" id="[-u*,3(hjN7ieQK^BUSq" inline="false">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_compare" id="Zgzw-^*x8HLEV:H+my9!">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="variables_get" id=";PUdv^2Z*P;I{D2gsMV2">
                                                        <field name="VAR" id="wH-A8dN$Z~Wv$lS3]W9|" variabletype="">EMA 20</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="variables_get" id="?ehSuDB.m](,1u5%MAA:">
                                                        <field name="VAR" id="68Ca!ADlAGGZFqKmigEv" variabletype="">EMA 25</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_compare" id=",@-;H_9cxO;#-?]DUv6v">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="FQ9]=b?p}):qGM|{+d[(">
                                                        <field name="VAR" id="68Ca!ADlAGGZFqKmigEv" variabletype="">EMA 25</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="variables_get" id="s8[|q5Nz.^JSM`X17f(P">
                                                        <field name="VAR" id="l,?7`7(hEu8C(f*6MrNA" variabletype="">EMA 30</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_operation" id="(5en?zc;Z_fn,+ps;Ih2" inline="false">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_operation" id="|goIa%H~mV1Lc71{{Xg4" inline="false">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_compare" id="Y7AZw%~c!/EnF.kN~ilL">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="gJAc+BYC}$=q-Oo#a,hv">
                                                        <field name="VAR" id="l,?7`7(hEu8C(f*6MrNA" variabletype="">EMA 30</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="variables_get" id="MoOUHCIUJ.si,}8e6=pn">
                                                        <field name="VAR" id="ilB~iTyNZj1xy/,;/)EE" variabletype="">EMA 35</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_compare" id="VsFDlyZrcCv5[7utDSYG">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="m@5h$.WqX@D5,L=P:{;Q">
                                                        <field name="VAR" id="ilB~iTyNZj1xy/,;/)EE" variabletype="">EMA 35</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="variables_get" id="eKb%I?Jmrv9tSEM~W)jy">
                                                        <field name="VAR" id="!0H/xdi#tRS/Dn@.Y#}}" variabletype="">EMA 40</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_operation" id="qT1$Hr6COjiWYyp`Y%~0" inline="false">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_compare" id="7Eb?i*bp1W5R{pV%t(DD">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="|QXx$2Y8{q})JY#Tc(LJ">
                                                        <field name="VAR" id="!0H/xdi#tRS/Dn@.Y#}}" variabletype="">EMA 40</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="variables_get" id="tcBulBn03FyyyZXHKV2c">
                                                        <field name="VAR" id="8XNXC7,G=3}N6Ng+|+[a" variabletype="">EMA 45</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_compare" id="HH^-Ltfna9Zl$qTJc0yR">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="|W0_x.Tc*T/|7GUvn^lD">
                                                        <field name="VAR" id="8XNXC7,G=3}N6Ng+|+[a" variabletype="">EMA 45</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="variables_get" id="/}$~Iy*0{YL|IH(aBKS;">
                                                        <field name="VAR" id=")AMs%h46.9[iF=TFDTHk" variabletype="">EMA 50</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="J4E;UY_bk;3c..7bta2A">
                                        <field name="VAR" id=":fKr0g8T5q1Nw~0T@pd8" variabletype="">DOWNTREND</field>
                                        <value name="VALUE">
                                          <block type="logic_operation" id="+O)0-UNkLB7bs{-RrzPt" inline="false" collapsed="true">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_operation" id="=]_T.d3b-NYol;0Rj6IT" inline="false">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_compare" id="4xGZjR7v+19Fl(2n`}i2">
                                                    <field name="OP">LT</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="Q!8l?1B8Yyv1Z%/Mi=rR">
                                                        <field name="VAR" id="+]s|cJ;XpcAv2|fL_*G;" variabletype="">Last_Tick</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="variables_get" id="}`0XL$];d^=+?BktQgi#">
                                                        <field name="VAR" id="wH-A8dN$Z~Wv$lS3]W9|" variabletype="">EMA 20</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_operation" id=");@J+]Ku@zadMpc:YY3O" inline="false">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block type="logic_compare" id="Vg/*M:,UK-H)N$^8:M*r">
                                                        <field name="OP">LT</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="mAWtm@)`YkJkW8Ww!%hA">
                                                            <field name="VAR" id="wH-A8dN$Z~Wv$lS3]W9|" variabletype="">EMA 20</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="variables_get" id="i#okODVvT.@iXc(MmL.e">
                                                            <field name="VAR" id="68Ca!ADlAGGZFqKmigEv" variabletype="">EMA 25</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_compare" id=";49l!^%i{m0:g87vo@E$">
                                                        <field name="OP">LT</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="fa)eo3Lbr~xZ2K!0O.md">
                                                            <field name="VAR" id="68Ca!ADlAGGZFqKmigEv" variabletype="">EMA 25</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="variables_get" id="(^V0LS`vIM2$3g.-%N_A">
                                                            <field name="VAR" id="l,?7`7(hEu8C(f*6MrNA" variabletype="">EMA 30</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_operation" id="xN6Svj9~fL2.%Q-|)gR." inline="false">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_operation" id="l8X(a.pz!Zu_ndQQNE1R" inline="false">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block type="logic_compare" id="znZl)T!hr^$jMibC~+x-">
                                                        <field name="OP">LT</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="K8;w*y5r/g#C;}zxQ[ri">
                                                            <field name="VAR" id="l,?7`7(hEu8C(f*6MrNA" variabletype="">EMA 30</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="variables_get" id="q{|/IDY5!hL029}d[`qN">
                                                            <field name="VAR" id="ilB~iTyNZj1xy/,;/)EE" variabletype="">EMA 35</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_compare" id="]k=9KQ*gI8mPxfx[1NqS">
                                                        <field name="OP">LT</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="`,QdH.IZ@iymC0mH$]))">
                                                            <field name="VAR" id="ilB~iTyNZj1xy/,;/)EE" variabletype="">EMA 35</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="variables_get" id="iGb3v_3x6q|m9%3yqQE1">
                                                            <field name="VAR" id="!0H/xdi#tRS/Dn@.Y#}}" variabletype="">EMA 40</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_operation" id="-`L]9Z0]EY/zJbW2T$Ze" inline="false">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block type="logic_compare" id="H+9F9o=a9_f?EfeS[kP|">
                                                        <field name="OP">LT</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="h3sC:Z{PEJP31T+1^5Oc">
                                                            <field name="VAR" id="!0H/xdi#tRS/Dn@.Y#}}" variabletype="">EMA 40</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="variables_get" id="%)=w[zd]-.w9Pm:^zzUQ">
                                                            <field name="VAR" id="8XNXC7,G=3}N6Ng+|+[a" variabletype="">EMA 45</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_compare" id="Mp!,.9t(VDx*.~2=VLv]">
                                                        <field name="OP">LT</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="Rshe~@?_eoC4}RWVi^A6">
                                                            <field name="VAR" id="8XNXC7,G=3}N6Ng+|+[a" variabletype="">EMA 45</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="variables_get" id="fQPcFR{WgOY`1IHZ-{xt">
                                                            <field name="VAR" id=")AMs%h46.9[iF=TFDTHk" variabletype="">EMA 50</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="nj~Ot?b/Pl^LrUUu5a@1">
                                            <field name="VAR" id="~eX~gKCaOz[.zr=.Lw^:" variabletype="">SIDEWAY</field>
                                            <value name="VALUE">
                                              <block type="logic_operation" id="PLSHW[neYL({Tcv_Qs2X" inline="false" collapsed="true">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_compare" id=",D|E?@@wUXU*^!7./k68">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="PRXF8bT#{w:ot89?=%8r">
                                                        <field name="VAR" id="%YQj.I)J|QdS(]u+;1B8" variabletype="">UPTREND</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_boolean" id="u=LTP.LMT~d+5?G*25JH">
                                                        <field name="BOOL">FALSE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_compare" id="xG#B=gUMi+T0](@r0rpk">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="`x?{no9?[w}gInl?V!_3">
                                                        <field name="VAR" id=":fKr0g8T5q1Nw~0T@pd8" variabletype="">DOWNTREND</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_boolean" id="Hm0-a2CJLFH30{Y?gD1;">
                                                        <field name="BOOL">FALSE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="controls_if" id="MVQCvCwL+O}oo}ql?d6:">
                                                <mutation elseif="2"></mutation>
                                                <value name="IF0">
                                                  <block type="variables_get" id="O_1^~Z`],)`oRPweOt`=">
                                                    <field name="VAR" id="%YQj.I)J|QdS(]u+;1B8" variabletype="">UPTREND</field>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="notify" id="qc//P4:e)AA]2(36=s;k">
                                                    <field name="NOTIFICATION_TYPE">success</field>
                                                    <field name="NOTIFICATION_SOUND">silent</field>
                                                    <value name="MESSAGE">
                                                      <shadow type="text" id="yGK]y~kHTH;3a-|M]420">
                                                        <field name="TEXT">UPTREND</field>
                                                      </shadow>
                                                    </value>
                                                  </block>
                                                </statement>
                                                <value name="IF1">
                                                  <block type="variables_get" id="r-NjpRk[%ONQ:Xv}j]Z}">
                                                    <field name="VAR" id=":fKr0g8T5q1Nw~0T@pd8" variabletype="">DOWNTREND</field>
                                                  </block>
                                                </value>
                                                <statement name="DO1">
                                                  <block type="notify" id="uI`57*+,i5VzYbp3z?|G">
                                                    <field name="NOTIFICATION_TYPE">error</field>
                                                    <field name="NOTIFICATION_SOUND">silent</field>
                                                    <value name="MESSAGE">
                                                      <shadow type="text" id="Mw3V(*;L/qk;rmiyCD8/">
                                                        <field name="TEXT">DOWNTREND</field>
                                                      </shadow>
                                                    </value>
                                                  </block>
                                                </statement>
                                                <value name="IF2">
                                                  <block type="variables_get" id="ttoi~f15/u~B5A1o*$Ll">
                                                    <field name="VAR" id="~eX~gKCaOz[.zr=.Lw^:" variabletype="">SIDEWAY</field>
                                                  </block>
                                                </value>
                                                <statement name="DO2">
                                                  <block type="notify" id="~Xb7]o8W/*azI#LTz_EH">
                                                    <field name="NOTIFICATION_TYPE">warn</field>
                                                    <field name="NOTIFICATION_SOUND">silent</field>
                                                    <value name="MESSAGE">
                                                      <shadow type="text" id="A)$,[8SU~k?5-2jx8,@*">
                                                        <field name="TEXT">SIDEWAY</field>
                                                      </shadow>
                                                    </value>
                                                  </block>
                                                </statement>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="0" y="818">
    <field name="MARKET_LIST">synthetic_index</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">1HZ10V</field>
    <field name="TRADETYPECAT_LIST">callput</field>
    <field name="TRADETYPE_LIST">higherlower</field>
    <field name="TYPE_LIST">both</field>
    <field name="CANDLEINTERVAL_LIST">60</field>
    <field name="TIME_MACHINE_ENABLED">TRUE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="Mk.Em.U^?.~m@{`:yVgs">
        <field name="VAR" id="`3$Fob:d|),yfGS,XiPd" variabletype="">smartRisk</field>
        <value name="VALUE">
          <block type="smartrisk_settings" id="FXsU+5,UVg1crcM?-Non">
            <field name="STRATEGY">martingale</field>
            <value name="INVESTMENT">
              <shadow type="math_number" id="4}[0Dfb`ShKSiIfys=o{">
                <field name="NUM">1</field>
              </shadow>
            </value>
            <value name="TAKE_PROFIT">
              <shadow type="math_number" id="sY*x|*4I8f^d2.MvvHox">
                <field name="NUM">1</field>
              </shadow>
            </value>
            <value name="STOP_LOSS">
              <shadow type="math_number" id="$`3,^E_=Cv5T2j81!7:R">
                <field name="NUM">25</field>
              </shadow>
            </value>
            <value name="PARAMETERS">
              <block type="lists_create_with" id="fH]VokXtF!SL]re$(Kx;">
                <mutation items="1"></mutation>
                <value name="ADD0">
                  <block type="math_number" id="cQz.0NA@CbX8_bz0kqn=">
                    <field name="NUM">3</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="8~vxbq?{.6|yC^bvU;c:">
            <field name="VAR" id="9ykNn4D,GP}1ItPSLRLK" variabletype="">Barrier</field>
            <value name="VALUE">
              <block type="math_number" id="Ym?ObJ^,Zy5A@24v?W0,">
                <field name="NUM">0.27</field>
              </block>
            </value>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="variables_set" id="7a6D^q)^|?2w3i)NaoOu" collapsed="true">
        <field name="VAR" id="MrIOC919Mmjau9EsGR8=" variabletype="">RISE</field>
        <value name="VALUE">
          <block type="logic_boolean" id="AlAqu%)7%GK5:aYHy0#]">
            <field name="BOOL">FALSE</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="gIF[zxC.y^_Sx^sS=NcP" collapsed="true">
            <field name="VAR" id="l%B.9Mpa|]S)5$mmTnA~" variabletype="">FALL</field>
            <value name="VALUE">
              <block type="logic_boolean" id="gbokW~CZ=:9{OB!LMh=F">
                <field name="BOOL">FALSE</field>
              </block>
            </value>
            <next>
              <block type="controls_repeat_ext" id="1`v=fT1J=_K:Q_oE1F}#" collapsed="true">
                <value name="TIMES">
                  <block type="math_constant" id="uQ|A?3Qj68+b(c=d+`Xm">
                    <field name="CONSTANT">INFINITY</field>
                  </block>
                </value>
                <statement name="DO">
                  <block type="timeout" id="y5F*:5$(~#GoxYKr=(E]">
                    <statement name="TIMEOUTSTACK">
                      <block type="procedures_callnoreturn" id="CUunh4nLVS^I)Uu{sN+:" collapsed="true">
                        <mutation name="Ticks Color">
                          <arg name="Last_Tick_Color"></arg>
                        </mutation>
                        <value name="ARG0">
                          <block type="lastColorTicks" id="I^KtVK-O(*2vQ~.rTF@M"></block>
                        </value>
                        <next>
                          <block type="procedures_callnoreturn" id="z!YX.A/am_QjpMw9M+$N">
                            <mutation name="Trends with EMAS">
                              <arg name="Candle_List"></arg>
                              <arg name="Last_Tick"></arg>
                            </mutation>
                            <value name="ARG0">
                              <block type="ticks" id="7|3H,/:Er$c5%7ZtUV$r"></block>
                            </value>
                            <value name="ARG1">
                              <block type="tick" id="t:*4LV:ArAWX!86`E7gf"></block>
                            </value>
                            <next>
                              <block type="controls_if" id="/r]-ztb`06$E?BI4D)[4">
                                <mutation elseif="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_operation" id="Toe7_U~?Ei%3wWrHgY~m" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_operation" id="Bh_VuVmhN/=Aj#_5[QK;" inline="false">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="variables_get" id="NUWm[bldn1aKc+{+ozun">
                                            <field name="VAR" id="%YQj.I)J|QdS(]u+;1B8" variabletype="">UPTREND</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_negate" id="Wl2pmG#)|/v0CljJC$@?">
                                            <value name="BOOL">
                                              <block type="is_candle_black" id="24%(5Le^)@#$eZ]ecD.N">
                                                <value name="OHLCOBJ">
                                                  <block type="get_ohlc" id="Q4j1T2e+Yw?F7FavP:TQ">
                                                    <field name="CANDLEINTERVAL_LIST">default</field>
                                                    <value name="CANDLEINDEX">
                                                      <shadow type="math_number" id="_W*0DRZ1kKUk%bInJZvd">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="Ws-gW?E]bP/,snHAgi2(">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="variables_get" id="$550@AL?WTtk;%yMi1m=">
                                            <field name="VAR" id="wBQCQuaLvWBhaNFa(ksv" variabletype="">TriggerSecuencie</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="text" id="5qeXu[amN;A)S:30*kMb">
                                            <field name="TEXT">BBB</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="variables_set" id="bf,Mu5d/PgpoTQ8p!WU2">
                                    <field name="VAR" id="l%B.9Mpa|]S)5$mmTnA~" variabletype="">FALL</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="=DA40%i)yUDR0n9:tm[p">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="controls_flow_statements" id="}r`F[/|%$tA!Mk!]4Oea">
                                        <field name="FLOW">BREAK</field>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                                <value name="IF1">
                                  <block type="logic_operation" id="$07JhLyiPBnbxpGk2@7=" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_operation" id="K;5*6*z1WUWrSaRpJizs" inline="false">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="variables_get" id="!y1;Se5Co0ogWF2_|_hC">
                                            <field name="VAR" id=":fKr0g8T5q1Nw~0T@pd8" variabletype="">DOWNTREND</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="is_candle_black" id="X,3]U+AL7XBC1U!lukzx">
                                            <value name="OHLCOBJ">
                                              <block type="get_ohlc" id="b+GGVC4AmmJIry;[t$y8">
                                                <field name="CANDLEINTERVAL_LIST">default</field>
                                                <value name="CANDLEINDEX">
                                                  <shadow type="math_number" id="%oFYp[,e[-sY=4S._X99">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="/MZx-::w!ji`P.S6edFw">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="variables_get" id=")F^e@/J{d)woND~)XAXA">
                                            <field name="VAR" id="wBQCQuaLvWBhaNFa(ksv" variabletype="">TriggerSecuencie</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="text" id="yWLcJhWdgaLJSC[@#r_j">
                                            <field name="TEXT">RRR</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO1">
                                  <block type="variables_set" id="k4mS#!H2}KoxDn0rRj[5">
                                    <field name="VAR" id="MrIOC919Mmjau9EsGR8=" variabletype="">RISE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="N%AnJu79G:BsJ;2Wf@1h">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="controls_flow_statements" id="Q^1Gu!tuec*1344CO_*2">
                                        <field name="FLOW">BREAK</field>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <value name="SECONDS">
                      <shadow type="math_number" id="S31P]Ce4FS)HIB)3uqG@">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="XD3nL,?W]~z4yM:Raj+)">
                    <mutation elseif="1"></mutation>
                    <value name="IF0">
                      <block type="variables_get" id="CwP9sWMuLzJmpnvgU:1u">
                        <field name="VAR" id="MrIOC919Mmjau9EsGR8=" variabletype="">RISE</field>
                      </block>
                    </value>
                    <statement name="DO0">
                      <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="`~W{_^UJS=}L%StlIVE]">
                            <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="smartrisk_query" id="sFPUmFH1XBg!2g8g#LKF">
                            <field name="SMARTRISK_LIST">stake</field>
                            <field name="SMARTRISK_VAR" id="`3$Fob:d|),yfGS,XiPd" variabletype="">smartRisk</field>
                          </block>
                        </value>
                        <value name="BARRIEROFFSET">
                          <shadow type="math_number" id="RRAXKyE}MwufS:Z*u,yp">
                            <field name="NUM">0.29</field>
                          </shadow>
                          <block type="variables_get" id="LF8_lHuz$n?0pBDj[iwg">
                            <field name="VAR" id="9ykNn4D,GP}1ItPSLRLK" variabletype="">Barrier</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <value name="IF1">
                      <block type="variables_get" id="YRzEzK5(}T:{@;+1j[p;">
                        <field name="VAR" id="l%B.9Mpa|]S)5$mmTnA~" variabletype="">FALL</field>
                      </block>
                    </value>
                    <statement name="DO1">
                      <block type="tradeOptions" id="$?yDGp2^*91T`3#0rEgA">
                        <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="|720lNckE+@fg^+L0R@1">
                            <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="smartrisk_query" id="9mIg/[@h./x{e[HT?PC{">
                            <field name="SMARTRISK_LIST">stake</field>
                            <field name="SMARTRISK_VAR" id="`3$Fob:d|),yfGS,XiPd" variabletype="">smartRisk</field>
                          </block>
                        </value>
                        <value name="BARRIEROFFSET">
                          <shadow type="math_number" id=".G_qK7l%BF|UHtDaL9Go">
                            <field name="NUM">0.29</field>
                          </shadow>
                          <block type="variables_get" id="W##youx)-w4@6=K~:pNv">
                            <field name="VAR" id="9ykNn4D,GP}1ItPSLRLK" variabletype="">Barrier</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" collapsed="true" x="0" y="1681">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="oHHDj2935o`!t;.m}Mc9">
        <mutation elseif="1"></mutation>
        <value name="IF0">
          <block type="variables_get" id="4RL~(p?7oya]?sG++?EC">
            <field name="VAR" id="MrIOC919Mmjau9EsGR8=" variabletype="">RISE</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="smartrisk_prepare" id="mPEHL7}J;:k0/Z)6Jn~7">
            <field name="SMARTRISKFIELD_LIST">CALL</field>
            <field name="SMARTRISK_VAR" id="`3$Fob:d|),yfGS,XiPd" variabletype="">smartRisk</field>
            <next>
              <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
                <field name="PURCHASE_LIST">CALL</field>
              </block>
            </next>
          </block>
        </statement>
        <value name="IF1">
          <block type="variables_get" id="-mI4oqP-S`$^h9e}uGi*">
            <field name="VAR" id="l%B.9Mpa|]S)5$mmTnA~" variabletype="">FALL</field>
          </block>
        </value>
        <statement name="DO1">
          <block type="smartrisk_prepare" id="5PCn,TJ9,3Erv~YM.%ns">
            <field name="SMARTRISKFIELD_LIST">PUT</field>
            <field name="SMARTRISK_VAR" id="`3$Fob:d|),yfGS,XiPd" variabletype="">smartRisk</field>
            <next>
              <block type="purchase" id="W/7/~)JE0wE|5Qb$?Sqr">
                <field name="PURCHASE_LIST">PUT</field>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" collapsed="true" x="0" y="1734">
    <statement name="AFTERPURCHASE_STACK">
      <block type="smartrisk_result" id="GQx7bCeFoSL9Gb9I6+JL">
        <field name="SMARTRISK_VAR" id="`3$Fob:d|),yfGS,XiPd" variabletype="">smartRisk</field>
        <value name="SMARTRISKFIELD_TOLERANCE">
          <shadow type="math_number" id="~:Y^|pw@Xki%Syp`Z3tv">
            <field name="NUM">0.1</field>
          </shadow>
        </value>
        <next>
          <block type="controls_if" id="/HRF%4}bg.sU$olNiL4~">
            <value name="IF0">
              <block type="smartrisk_query" id="/Si:e=+||5FyHkBkRnTq">
                <field name="SMARTRISK_LIST">continueTrade</field>
                <field name="SMARTRISK_VAR" id="`3$Fob:d|),yfGS,XiPd" variabletype="">smartRisk</field>
              </block>
            </value>
            <statement name="DO0">
              <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>