﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id=",oiVc7F[Qggr=lNm^k6a">chot loi</variable>
    <variable type="" id="}Iq0?v$KZ+1-L,]esFcn">stop</variable>
    <variable type="" id="+,(86~(OYw$a{J[fG64(">PurchaseTime</variable>
    <variable type="" id="VFB]GrhFpYKn#s~cbqjI">CDL</variable>
    <variable type="" id="@sk(41FD)S7fv@)j(=2t">chot lo</variable>
    <variable type="" id="Iuk{3zT/K`Ck+/.|t~q(">tien vao lenh</variable>
    <variable type="" id="Y/[A^BLI[W.|F4oQjG/m">so lan Mar</variable>
    <variable type="" id="/$l;=eO~s]+A,kt2X@Hs">BBup</variable>
    <variable type="" id="F/RdxTvDEnDbeD%^wiU:">CandleTime</variable>
    <variable type="" id=",i^kB]fYHi!YId9$6E~t">CandleClosed</variable>
    <variable type="" id="Q+5?xwzg`Fot`]0IIv#r">BBMid</variable>
    <variable type="" id="{!Z}m1A4NP{$;(!TpM%c">lenh khi win</variable>
    <variable type="" id="2yn@_36+Z6q9#oTu`GI{">Nen Red 1</variable>
    <variable type="" id="v|)F5qG#Zi/.l)viEsD#">Web</variable>
    <variable type="" id="IjHaUsP:Gla^,;p9[1ks">BBLower</variable>
    <variable type="" id="eeFlqi=gF;nBuvByr]zQ">so lan thua</variable>
    <variable type="" id="y(XK|-HFXi0XUC]WNFtx">SMA</variable>
    <variable type="" id="W8Gg}3a`sxiKahr(_KAV">SMA New</variable>
    <variable type="" id="iT-C):yk$Wa:r/jBUyQX">EMA</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" 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="VF%qR]0Qp.wIxjl~6sm5">
        <field name="VAR" id=",oiVc7F[Qggr=lNm^k6a" variabletype="">chot loi</field>
        <value name="VALUE">
          <block type="math_number" id="25oe%:wk_aT*0pxpqD1?">
            <field name="NUM">5</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="7:bTb1iKPGEX39/Lv~[v">
            <field name="VAR" id="@sk(41FD)S7fv@)j(=2t" variabletype="">chot lo</field>
            <value name="VALUE">
              <block type="math_number" id="E$|wn$|zv_*e:cgqBC8|">
                <field name="NUM">5</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="+[%^7d8@mHK+KmngU=}:">
                <field name="VAR" id="Iuk{3zT/K`Ck+/.|t~q(" variabletype="">tien vao lenh</field>
                <value name="VALUE">
                  <block type="math_number" id="K/*q6H{$Xi480)-.-^k6">
                    <field name="NUM">0.35</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="W@dr^Na@v)5IPjk]~6K]">
                    <field name="VAR" id="{!Z}m1A4NP{$;(!TpM%c" variabletype="">lenh khi win</field>
                    <value name="VALUE">
                      <block type="math_number" id="iLVjRK.Y(e3P(d3Q7?~;">
                        <field name="NUM">0.35</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="mrgc:jd[sJ#ePfYxcCm7">
                        <field name="VAR" id="Y/[A^BLI[W.|F4oQjG/m" variabletype="">so lan Mar</field>
                        <value name="VALUE">
                          <block type="math_number" id="+HWOovriKm%:$d@|%Lt7">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="l^7Enz;kMz@3N1nazhN8">
                            <field name="VAR" id="eeFlqi=gF;nBuvByr]zQ" variabletype="">so lan thua</field>
                            <value name="VALUE">
                              <block type="math_number" id="*F/[L_C{L#7Dk?a;@(RI">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="w~};gzoMG9f{;;YV|;y7">
                                <field name="VAR" id="}Iq0?v$KZ+1-L,]esFcn" variabletype="">stop</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="kX]6h7MAlyWJq9_kU5Y0">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="controls_if" id="0?g!q.}rt4V,-qaNR{1?">
                                    <value name="IF0">
                                      <block type="logic_compare" id="e]ph|k6%,-+UUhtYQ-;.">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="text" id="uvf(H,YpXiWp#tN]4Jci">
                                            <field name="TEXT">So lan thua = So lan gap lenh sau Loss</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="text" id=",SU;(5UG+g|-P|McN7Hy">
                                            <field name="TEXT">30_7_18_CALL SMA EMA BB NEN CHOT 5$</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
        <field name="DURATIONTYPE_LIST">s</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <shadow id="O*@58sDc=!cOO}*b2vf9" type="math_number">
            <field name="NUM">5</field>
          </shadow>
          <block type="math_number" id="x.Hns9VpHa)Fl+NHU[*p">
            <field name="NUM">15</field>
          </block>
        </value>
        <value name="AMOUNT">
          <shadow id="ml)25~7^q}3I9}vjf:%K" type="math_number">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="o`369clq4p[%;7U|4+/W">
            <field name="VAR" id="Iuk{3zT/K`Ck+/.|t~q(" variabletype="">tien vao lenh</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="0" y="695">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="J)ad{ji3bg^JCg3ZzRce">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="SdN~](v8@+ljfblUszpw">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="sMyQ@Z6g@^4?K[sx{?$C">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <shadow id="!n7A@[{]T6)::@_8{lh+" type="text">
                <field name="TEXT">abc</field>
              </shadow>
              <block type="text_join" id="j(rnc)VM]~*%K7u@fITX">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="6V`:Rr@4@|Vkv-{I5TXB">
                    <field name="TEXT">Tổng Lãi: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="Kol8wZ2RCwKy/5.mL5J4"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="WXw=A6BlgEn17,r8*iEt">
                <field name="VAR" id="Iuk{3zT/K`Ck+/.|t~q(" variabletype="">tien vao lenh</field>
                <value name="VALUE">
                  <block type="variables_get" id="]L0{e:ZSBT%%(5`?hW,z">
                    <field name="VAR" id="{!Z}m1A4NP{$;(!TpM%c" variabletype="">lenh khi win</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="W.i/H3R-c:^j.0E)R/G/">
                    <field name="VAR" id="Y/[A^BLI[W.|F4oQjG/m" variabletype="">so lan Mar</field>
                    <value name="VALUE">
                      <block type="math_number" id="%%0]/lnreQDs}m4M#pV5">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="timeout" id="Wl%[$zp^SA!Z_vMuSq*;">
                        <value name="SECONDS">
                          <shadow type="math_number" id="A%(DhvBRAuKD*yGoP%PE">
                            <field name="NUM">20</field>
                          </shadow>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id="x4RvWEQ5g,)!s3+~J;x+">
            <field name="VAR" id="Y/[A^BLI[W.|F4oQjG/m" variabletype="">so lan Mar</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="s0c1$v_P?nL5{1qCRy/_">
                <field name="OP">ADD</field>
                <value name="A">
                  <shadow id="*P#LIP`!.)(,=3D#F}bg" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="TM(Yha[,;(~+DdU8l0iA">
                    <field name="VAR" id="Y/[A^BLI[W.|F4oQjG/m" variabletype="">so lan Mar</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="zZP0nAgG_y5yPs}7AN/^">
                    <field name="NUM">1</field>
                  </shadow>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="p)/NNBcgXzDiV=n?%V?4">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="0B-DYKD#)0C;)8^Cvss$">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="x0f5GCm[8fQM{bG.$Nrb">
                        <field name="VAR" id="Y/[A^BLI[W.|F4oQjG/m" variabletype="">so lan Mar</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="){qi5.UdM_~8KaL:T]lG">
                        <field name="VAR" id="eeFlqi=gF;nBuvByr]zQ" variabletype="">so lan thua</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="syJ1yS?q15%4D_{A[1vn">
                    <field name="VAR" id="Iuk{3zT/K`Ck+/.|t~q(" variabletype="">tien vao lenh</field>
                    <value name="VALUE">
                      <block type="variables_get" id="*/t`o|@LW5x9G2(Wi$^4">
                        <field name="VAR" id="{!Z}m1A4NP{$;(!TpM%c" variabletype="">lenh khi win</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="?4?WR-6PYkW*^*$!z_m.">
                        <field name="VAR" id="Y/[A^BLI[W.|F4oQjG/m" variabletype="">so lan Mar</field>
                        <value name="VALUE">
                          <block type="math_number" id="]Z~`k8(iCm(X~DGx`W*j">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="math_change" id="H;iYjA(Iu]L?Sj]p?U~5">
                    <field name="VAR" id="Iuk{3zT/K`Ck+/.|t~q(" variabletype="">tien vao lenh</field>
                    <value name="DELTA">
                      <shadow id="`lZh.]BO1{Y|laLVkGW-" type="math_number">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_arithmetic" id="4;,!J!/iBA9;mo`G4|;;">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow id="Yf4PIl%vZ8Q;nu/_+3/A" type="math_number">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="math_single" id="B#n3uL!Z7#qX;$buHlQy">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow id="?zh?K$O-fmOub#=C+p1c" type="math_number">
                                <field name="NUM">0</field>
                              </shadow>
                              <block type="read_details" id="d]!i?,EEV?wZEy|-Y-Wc">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="VuZ,9Hse_Ew/.w{Cnd5y">
                            <field name="NUM">1.05</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="vj|[^T,}*Ugzwwy:u:6;">
            <value name="IF0">
              <block type="logic_negate" id="F_*2El*Dkc|pc+W4/YQk">
                <value name="BOOL">
                  <block type="procedures_callreturn" id="0),?GH$):BMtp0X#CF`P">
                    <mutation name="isStop"></mutation>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="trade_again" id="{$`!;@@1n}4TtgvrNCI}"></block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="J0:|8!{L/N;lU`irB7(|" x="0" y="1338">
    <field name="NAME">isStop</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="controls_if" id="b=-uhB%KTr[6!{WfKB%F">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="mtZrGEBdW|L^S`~q1K;n">
            <field name="OP">GT</field>
            <value name="A">
              <block type="variables_get" id="Av-Zx;~v7Od(SyA={VOW">
                <field name="VAR" id=",oiVc7F[Qggr=lNm^k6a" variabletype="">chot loi</field>
              </block>
            </value>
            <value name="B">
              <block type="total_profit" id="5Tou|s72`fJrf!g]oa2h"></block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="controls_if" id="l`KF)I[BMhNRHFlVb`%/">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="@8N3k-JL80*h|rRI:,Ko">
                <field name="OP">LT</field>
                <value name="A">
                  <block type="variables_get" id="5[URpVhMM-[+82ekIMEf">
                    <field name="VAR" id="@sk(41FD)S7fv@)j(=2t" variabletype="">chot lo</field>
                  </block>
                </value>
                <value name="B">
                  <block type="math_arithmetic" id="m$a:j8;54l%3q/A!0tPZ">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow id="$HzSst)9[sVn-/O?1wrY" type="math_number">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="total_profit" id=")s5UxpV[|++.CqJK4%D5"></block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="?h@@Hc]QwM39Zx8nX|}2">
                        <field name="NUM">-1</field>
                      </shadow>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="7i*Y=I|=JA6UtR,E1/6x">
                <field name="VAR" id="}Iq0?v$KZ+1-L,]esFcn" variabletype="">stop</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="[OylrqyEkfwgCKvKZn}X">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
                <next>
                  <block type="notify" id="Enl}WRm=T-YMdE0=9Pgv">
                    <field name="NOTIFICATION_TYPE">error</field>
                    <field name="NOTIFICATION_SOUND">error</field>
                    <value name="MESSAGE">
                      <shadow id="j)X4RcB@k|$[=6wUd.Nx" type="text">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="(664%eZ)(iiuvg]}f62s">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="OMe]v80.e$=3ddO9$yD.">
                            <field name="TEXT">Stoploss: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="(quHx%EH@Fz(yt):=$j%"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="variables_set" id="{pXsDlsd6[?5R^O:j1y1">
                <field name="VAR" id="}Iq0?v$KZ+1-L,]esFcn" variabletype="">stop</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="Hq5.!Omf)`0,I6mgQht#">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </statement>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id="RddvD,vkqShbqD!0T0aM">
            <field name="VAR" id="}Iq0?v$KZ+1-L,]esFcn" variabletype="">stop</field>
            <value name="VALUE">
              <block type="logic_boolean" id="~|(IRx78b|2$%ZY3nZs+">
                <field name="BOOL">TRUE</field>
              </block>
            </value>
            <next>
              <block type="notify" id="m*iDpX2S4qc(![c`|;=d">
                <field name="NOTIFICATION_TYPE">success</field>
                <field name="NOTIFICATION_SOUND">job-done</field>
                <value name="MESSAGE">
                  <shadow id="j)X4RcB@k|$[=6wUd.Nx" type="text">
                    <field name="TEXT">abc</field>
                  </shadow>
                  <block type="text_join" id="f1O)Rx+:Q.`u!alm*N_]">
                    <mutation items="2"></mutation>
                    <value name="ADD0">
                      <block type="text" id="?9?_v=W{qN]8MeZ7cD9A">
                        <field name="TEXT">Reach target profit</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="total_profit" id=")?9AF1!^p.{pbpmYAXE("></block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </statement>
    <value name="RETURN">
      <block type="variables_get" id="IH|A*szif^]o7cToMa-.">
        <field name="VAR" id="}Iq0?v$KZ+1-L,]esFcn" variabletype="">stop</field>
      </block>
    </value>
  </block>
  <block type="tick_analysis" id="5ak#!lo]1Ak3AJR4`teZ" x="0" y="1811">
    <statement name="TICKANALYSIS_STACK">
      <block type="variables_set" id="OJk^R_`-Kf-b:@5P_a6=">
        <field name="VAR" id="+,(86~(OYw$a{J[fG64(" variabletype="">PurchaseTime</field>
        <value name="VALUE">
          <block type="logic_boolean" id="]Z,L/c]m*[[D9nN~}?dk">
            <field name="BOOL">FALSE</field>
          </block>
        </value>
        <next>
          <block type="controls_if" id=")kJp#;nn#,_~]aLrxWIX">
            <mutation elseif="1" else="1"></mutation>
            <value name="IF0">
              <block type="logic_negate" id="#4p{(?|7on~+V|5T6Eje">
                <value name="BOOL">
                  <block type="variables_get" id="GI4zw+4oUeU(3S6Q|mEY">
                    <field name="VAR" id="F/RdxTvDEnDbeD%^wiU:" variabletype="">CandleTime</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="nF!e+a4?F7+cyRNnxt3M">
                <field name="VAR" id="F/RdxTvDEnDbeD%^wiU:" variabletype="">CandleTime</field>
                <value name="VALUE">
                  <block type="read_ohlc" id=";kl1,;s*p~-/M7GwP]:C">
                    <field name="OHLCFIELD_LIST">epoch</field>
                    <field name="CANDLEINTERVAL_LIST">default</field>
                    <value name="CANDLEINDEX">
                      <shadow type="math_number" id="G4}Bt-,=:UTpO@$u[#,_">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                  </block>
                </value>
              </block>
            </statement>
            <value name="IF1">
              <block type="logic_compare" id="S?wk0-nxEH+dS,Dm-%~H">
                <field name="OP">NEQ</field>
                <value name="A">
                  <block type="variables_get" id="r)Qie0TLK3EV%6Ci!Txk">
                    <field name="VAR" id="F/RdxTvDEnDbeD%^wiU:" variabletype="">CandleTime</field>
                  </block>
                </value>
                <value name="B">
                  <block type="read_ohlc" id="Ucs-a5gao:jUzA=sH,jl">
                    <field name="OHLCFIELD_LIST">epoch</field>
                    <field name="CANDLEINTERVAL_LIST">default</field>
                    <value name="CANDLEINDEX">
                      <shadow type="math_number" id="#mO%Kv%/g8jgk]Qp{{V9">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO1">
              <block type="variables_set" id="!?=8#},~eI$-X=m_z8Q]">
                <field name="VAR" id="F/RdxTvDEnDbeD%^wiU:" variabletype="">CandleTime</field>
                <value name="VALUE">
                  <block type="read_ohlc" id="K~Ls_F+o?0ZNM@8~2Sk)">
                    <field name="OHLCFIELD_LIST">epoch</field>
                    <field name="CANDLEINTERVAL_LIST">default</field>
                    <value name="CANDLEINDEX">
                      <shadow type="math_number" id="i!W`n@uq#ih%R`mY4tK_">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="m@g`M|G[vW_zZcA!g0P!">
                    <field name="VAR" id=",i^kB]fYHi!YId9$6E~t" variabletype="">CandleClosed</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="2`fzM#NRB3^9N!K5q)+}">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id=";tcw}t]]A:EWy+z;id=(">
                        <field name="VAR" id="+,(86~(OYw$a{J[fG64(" variabletype="">PurchaseTime</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="hZN|2gCFtdxiRGKyAE=%">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="variables_set" id="NsJ4Fu6.H$6{F7V%?~$1">
                <field name="VAR" id=",i^kB]fYHi!YId9$6E~t" variabletype="">CandleClosed</field>
                <value name="VALUE">
                  <block type="logic_boolean" id=")R636[p$KA;Rzi[}p|+t">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="nfE;DZ,vkf+7X(jD:Y8b">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="is_candle_black" id="e?=TIJXo-@b#27ZrAdO#">
                    <value name="OHLCOBJ">
                      <block type="get_ohlc" id="DU?j@ZD,(W#N%k?.[ukS">
                        <field name="CANDLEINTERVAL_LIST">default</field>
                        <value name="CANDLEINDEX">
                          <shadow type="math_number" id="i*3SBF*Jl9a$GijZW@rE">
                            <field name="NUM">1</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="yFESm2:pO5E9D[BvxqPe">
                    <field name="VAR" id="2yn@_36+Z6q9#oTu`GI{" variabletype="">Nen Red 1</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="8d/k]Ersf@-kET!EK$JD">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="variables_set" id="|rjEzG!g1cP`4YVopv?f">
                    <field name="VAR" id="2yn@_36+Z6q9#oTu`GI{" variabletype="">Nen Red 1</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id=":`[Um(e.q^YEiL0fG)f/">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="variables_set" id="=2=gAX+1VymPHhJvKs?R">
                    <field name="VAR" id="v|)F5qG#Zi/.l)viEsD#" variabletype="">Web</field>
                    <value name="VALUE">
                      <block type="text" id="_Fw3GehkUEel@}L2LP=f">
                        <field name="TEXT">Waiting for command signal </field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="CXxzhT=D^dw7loNtQVMA" x="0" y="2415">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id="zqxW4pi@BWsw@|C(L+r}">
        <field name="VAR" id="VFB]GrhFpYKn#s~cbqjI" variabletype="">CDL</field>
        <value name="VALUE">
          <block type="lists_getIndex" id="+|DQa]l,Wl*kq}sZH*L%">
            <mutation statement="false" at="true"></mutation>
            <field name="MODE">GET</field>
            <field name="WHERE">FROM_START</field>
            <value name="VALUE">
              <block type="ohlc_values" id=";$LF)%V.:SGeR~w)eY9.">
                <field name="OHLCFIELD_LIST">close</field>
                <field name="CANDLEINTERVAL_LIST">default</field>
              </block>
            </value>
            <value name="AT">
              <block type="math_number" id=",/}W6!Oi[J^=N-^.V90M">
                <field name="NUM">1</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="-;+a}ozLrAY86^(-^0!k" collapsed="true">
            <field name="VAR" id="/$l;=eO~s]+A,kt2X@Hs" variabletype="">BBup</field>
            <value name="VALUE">
              <block type="bba" id="+2)1dz%n8a//]AP_tTE#">
                <field name="BBRESULT_LIST">1</field>
                <value name="INPUT">
                  <block type="ticks" id="/kmtG_x)2ayeg#;@cq,L"></block>
                </value>
                <value name="PERIOD">
                  <shadow type="math_number" id="USqVu)`SxYqn/ScL.Y-Y">
                    <field name="NUM">10</field>
                  </shadow>
                </value>
                <value name="UPMULTIPLIER">
                  <shadow type="math_number" id="Fq9+K85E_4*gvfj#Wp}O">
                    <field name="NUM">2</field>
                  </shadow>
                </value>
                <value name="DOWNMULTIPLIER">
                  <shadow type="math_number" id="~4Q-_!8cFPN{Xvo686%u">
                    <field name="NUM">2</field>
                  </shadow>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="I0?QWV*zF#ASh8ZFuOf7" collapsed="true">
                <field name="VAR" id="Q+5?xwzg`Fot`]0IIv#r" variabletype="">BBMid</field>
                <value name="VALUE">
                  <block type="bba" id="ex;k8=r}^Mw^];6!S,`%">
                    <field name="BBRESULT_LIST">0</field>
                    <value name="INPUT">
                      <block type="ticks" id="D@P0)VP;)_I|OxUS`[cJ"></block>
                    </value>
                    <value name="PERIOD">
                      <shadow type="math_number" id="iWhOp=7NL+/SQKxK~|5X">
                        <field name="NUM">10</field>
                      </shadow>
                    </value>
                    <value name="UPMULTIPLIER">
                      <shadow type="math_number" id="b$03Dn2DhDX?{8,k;|1t">
                        <field name="NUM">2</field>
                      </shadow>
                    </value>
                    <value name="DOWNMULTIPLIER">
                      <shadow type="math_number" id="=8`jtMVf|:*udH!z6cJg">
                        <field name="NUM">2</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="hn:nt;[f=TZY@-_|4anP" collapsed="true">
                    <field name="VAR" id="IjHaUsP:Gla^,;p9[1ks" variabletype="">BBLower</field>
                    <value name="VALUE">
                      <block type="bba" id="h:Wo;WYmGA[~DPb8O~KH">
                        <field name="BBRESULT_LIST">2</field>
                        <value name="INPUT">
                          <block type="ticks" id="ms}6:czD*Gr}i@@_i+0}"></block>
                        </value>
                        <value name="PERIOD">
                          <shadow type="math_number" id="X9FT!S3}Mv5N7uH}C-3.">
                            <field name="NUM">10</field>
                          </shadow>
                        </value>
                        <value name="UPMULTIPLIER">
                          <shadow type="math_number" id="nO/sAfzLAX?_K%[cj#2E">
                            <field name="NUM">2</field>
                          </shadow>
                        </value>
                        <value name="DOWNMULTIPLIER">
                          <shadow type="math_number" id="O:,:rfDAosEeb~#?!3X^">
                            <field name="NUM">2</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="tD$*Z?%qoO%aRd}A5:cW" collapsed="true">
                        <field name="VAR" id="y(XK|-HFXi0XUC]WNFtx" variabletype="">SMA</field>
                        <value name="VALUE">
                          <block type="sma" id="Fe#KN(6`0QBRRbx#f%*3">
                            <value name="INPUT">
                              <block type="ticks" id="{tjS|[=lp}Oo!=uZ~(VE"></block>
                            </value>
                            <value name="PERIOD">
                              <shadow type="math_number" id="z@)4K%*v=~cpJu8k5`8$">
                                <field name="NUM">9</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="XwAQnem[wUcY.qP.Egl^" collapsed="true">
                            <field name="VAR" id="W8Gg}3a`sxiKahr(_KAV" variabletype="">SMA New</field>
                            <value name="VALUE">
                              <block type="sma" id="vQcCDStv]f)O%zk9Tt8E">
                                <value name="INPUT">
                                  <block type="ticks" id="4yL$7%n#B+osO1xG)3#t"></block>
                                </value>
                                <value name="PERIOD">
                                  <shadow type="math_number" id="%q?AlT6X-*Kgh.wjvE9B">
                                    <field name="NUM">10</field>
                                  </shadow>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="O!Si9_W-AaC|`tOOgax-" collapsed="true">
                                <field name="VAR" id="iT-C):yk$Wa:r/jBUyQX" variabletype="">EMA</field>
                                <value name="VALUE">
                                  <block type="emaa" id="I3`|VRr4@Ms`TF9xG^fP">
                                    <value name="INPUT">
                                      <block type="ticks" id="t~X42tSrlMxRnk[4gn?8"></block>
                                    </value>
                                    <value name="PERIOD">
                                      <shadow type="math_number" id="wq^UBt15VQ+8/:Oa3,]2">
                                        <field name="NUM">10</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="controls_if" id="9S3d{u*wy#OT,)%Dv]k=">
                                    <value name="IF0">
                                      <block type="logic_operation" id="(@NVSu.cB={:O,?*NX9V">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_compare" id="z97NA:^_;Kf2XQufBVc,">
                                            <field name="OP">GT</field>
                                            <value name="A">
                                              <block type="variables_get" id="W8bc~Sb[y{-!hx%L_/v6">
                                                <field name="VAR" id="iT-C):yk$Wa:r/jBUyQX" variabletype="">EMA</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="variables_get" id="jB?r},x$hOuN/=L7;FzC">
                                                <field name="VAR" id="Q+5?xwzg`Fot`]0IIv#r" variabletype="">BBMid</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_operation" id="Fm.lE-9;Xhoh?]#K0U}Y">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_compare" id="|^*ZbMZrj--;}s`h+M*2">
                                                <field name="OP">GT</field>
                                                <value name="A">
                                                  <block type="variables_get" id="NqyD-EQg:~yH6;-[f{Hb">
                                                    <field name="VAR" id="W8Gg}3a`sxiKahr(_KAV" variabletype="">SMA New</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="variables_get" id="I(0^s|3y)C4~qoZ*^`^{">
                                                    <field name="VAR" id="y(XK|-HFXi0XUC]WNFtx" variabletype="">SMA</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_negate" id="sY%AQSPd?:0Ao8o1/PI^">
                                                <value name="BOOL">
                                                  <block type="variables_get" id="5^ZqKULkkUzK?Di#pC7*">
                                                    <field name="VAR" id="2yn@_36+Z6q9#oTu`GI{" variabletype="">Nen Red 1</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="notify" id="1Vbj!Z#uaa(,9n_$L/oU">
                                        <field name="NOTIFICATION_TYPE">info</field>
                                        <field name="NOTIFICATION_SOUND">silent</field>
                                        <value name="MESSAGE">
                                          <shadow id="1]Tj6}VK*hP?#l-~zJcX" type="text">
                                            <field name="TEXT">abc</field>
                                          </shadow>
                                          <block type="text_join" id="vUS-sQ7G#]HWosxh2yi(">
                                            <mutation items="2"></mutation>
                                            <value name="ADD0">
                                              <block type="text" id="`22o}R!fxFY+4qu$oLD~">
                                                <field name="TEXT"> Calling </field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="variables_get" id="/;p,6{7dvn3:W1u~s#tf">
                                                <field name="VAR" id="Iuk{3zT/K`Ck+/.|t~q(" variabletype="">tien vao lenh</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="purchase" id="VW68kr|)$F6R+K)FZb_c">
                                            <field name="PURCHASE_LIST">CALL</field>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="notify" id="~}q}*DAFu/J?y[+#eU-+">
                                        <field name="NOTIFICATION_TYPE">success</field>
                                        <field name="NOTIFICATION_SOUND">silent</field>
                                        <value name="MESSAGE">
                                          <shadow id="1]Tj6}VK*hP?#l-~zJcX" type="text">
                                            <field name="TEXT">abc</field>
                                          </shadow>
                                          <block type="text_join" id="4!V;EKrN:nq%5pyjD6T!">
                                            <mutation items="2"></mutation>
                                            <value name="ADD0">
                                              <block type="text" id="^82f^tC8XTOT#}hmGsu7">
                                                <field name="TEXT">Process: </field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="variables_get" id="5~]HlWRNuio{v;8UgLkb">
                                                <field name="VAR" id="v|)F5qG#Zi/.l)viEsD#" variabletype="">Web</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>