D:expma(C,17),COLOR00FFFF,LINETHICK2;
CC:EXPMA(EXPMA(CLOSE,50),1),LINETHICK3,COLOR00FF00 ;
IF(CC>=REF(CC,1),CC,DRAWNULL),COLORRED ,LINETHICK3;
STICKLINE(C>=D && C>=O,C,O,3,0),COLORRED;
STICKLINE(C>=D&& C>=O,H,L,0,0),COLORRED;
STICKLINE(C>=D && C<O,C,O,3,1),COLORRED;
STICKLINE(C>=D && C<O,O,H,0,0),COLORRED;
STICKLINE(C>=D && C<O,C,L,0,0),COLORRED;
STICKLINE(C<D && C>O,C,O,3,1),COLORBLUE;
STICKLINE(C<D && C<=O,C,O,3,1),COLORBLUE;
STICKLINE(C<D && C<=O,H,L,0,1),COLORBLUE;
STICKLINE(C<D && C>O,C,H,0,1),COLORBLUE;
STICKLINE(C<D && C>O,O,L,0,1),COLORBLUE;
VAR1:=EMA(CLOSE,4)-EMA(CLOSE,13);
AA:=VAR1>=REF(VAR1,1);
BB:=VAR1<REF(VAR1,1);
买入:DRAWICON(crOSS(AA,BB),L,1);
卖出:DRAWICON(CROSS(BB,AA),H,2);
{- }
STICKLINE(买入,O,(C-O)/2+O,3,0),COLOR335555;
STICKLINE(买入,O,(C-O)/2+O,2.2,0),COLOR338888;
STICKLINE(买入,O,(C-O)/2+O,1.5,0),COLOR33AAAA;
STICKLINE(买入,O,(C-O)/2+O,1,0),COLOR33CCCC;
STICKLINE(买入,O,(C-O)/2+O,0,0),COLOR33EEEE;
STICKLINE(卖出,O,(C-O)/2+O,3,0),COLOR550055;
STICKLINE(卖出,O,(C-O)/2+O,2.2,0),COLOR880088;
STICKLINE(卖出,O,(C-O)/2+O,1.5,0),COLORAA00AA;
STICKLINE(卖出,O,(C-O)/2+O,1,0),COLORCC00CC;
STICKLINE(卖出,O,(C-O)/2+O,0.5,0),COLOREE00EE;