突破:=REF(EMA(C,14),1);
A1X:=(EMA(C,10)-突破)/突破*100;
多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);
空方:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);
STICKLINE(A1X>=0,多方,突破,2,0),COLOR000000;
STICKLINE(A1X>=0,多方,突破,1.7,0),COLOR000000;
STICKLINE(A1X>=0,多方,突破,1.4,0),COLOR000000;
STICKLINE(A1X>=0,多方,突破,1.1,0),COLOR000000;
STICKLINE(A1X>=0,多方,突破,0.5,0),COLORMAGENTA;
箱顶:PEAK(CLOSE,5,1)*1.001,COLORMAGENTA,LINETHICK4;
箱顶1:PEAK(CLOSE,5,1)*1,COLORMAGENTA,LINETHICK2;
DRAWBAND(箱顶,RGB(180,260,360),箱顶1,DRAWNULL);
箱底:TROUGH(CLOSE,5,1)*1.003,COLORWHITE,LINETHICK4;
箱底2:TROUGH(CLOSE,5,1)*0.995,NODRAW;
{}
{DRAWBAND(箱底2,RGB(10,25,10),0,RGB(25,25,45));}
{DRAWBAND(箱底,RGB(10,0,0),箱底2,DRAWNULL);}
箱底3:TROUGH(CLOSE,5,1)*0.995,COLORWHITE,LINETHICK2;
箱高:100*(箱顶-箱底)/箱底,NODRAW;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
STICKLINE(C>=O,C,O,3,0),COLOR000045;
STICKLINE(C>=O,C,O,2.5,0),COLOR000065;
STICKLINE(C>=O,C,O,2,0),COLOR000085;
STICKLINE(C>=O,C,O,1.5,0),COLOR0000A5;
STICKLINE(C>=O,C,O,1,0),COLOR0000C5;
STICKLINE(C>=O,C,O,0.5,0),COLOR0000E5;
STICKLINE(C>=O,H,L,0,0),COLOR0000F5;
STICKLINE(C<O,C,O,3,0),COLORFFFF00;
STICKLINE(C<O,C,O,2.5,0),COLORFFFF00;
STICKLINE(C<O,C,O,2,0),COLORFFFF00;
STICKLINE(C<O,C,O,1.5,0),COLORFFFF00;
STICKLINE(C<O,C,O,1,0),COLORFFFF00;
STICKLINE(C<O,C,O,0.5,0),COLORFFFF00;
STICKLINE(C<O,H,L,0,0),COLORFFFF00;
DRAWICON(CROSS(空方,突破),空方,43);
MA5:MA(CLOSE,5),COLOR00FF00,LINETHICK2;
多: IF(MA5>=REF(MA5,1),MA5,DRAWNULL),COLORMAGENTA,LINETHICK2;
空:IF(REF(MA5,1)>MA5,MA5,DRAWNULL),COLOR00FF00,LINETHICK2;