CPX:MA(C,18),COLORGREEN;
IF(CPX>=REF(CPX,1),CPX,DRAWNULL),COLORRED;
{红K}
STICKLINE(C>=CPX AND C>O,O,C,-1,1),COLOR0000DD; {红色空心柱} { COLORRED }
STICKLINE(C>=CPX AND C>O,H,C,0,0),COLOR0000DD;
STICKLINE(C>=CPX AND C>O,O,L,0,0),COLOR0000DD;
STICKLINE(C>=CPX AND C<=O,O,C,-1,0),COLOR0000DD;{红色实心柱}
STICKLINE(C>=CPX AND C<=O,H,O,0,0),COLOR0000DD;
STICKLINE(C>=CPX AND C<=O,C,L,0,0),COLOR0000DD;
{蓝K}
STICKLINE(C
STICKLINE(C
STICKLINE(C
STICKLINE(C
LS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
XG:=FILTER(LS,28);
DRAWICON(XG,L,9);