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