买线:=Ema(C,2);
卖线:=ema(SLOPE(C,21)*20+C,42);
BU:=crOSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWICON(BU,L-0.1,1);
DRAWICON(SEL,H+0.1,2);
STICKLINE(买线>=卖线,LOW,HIGH,0.0,1),COLORWHITE;
STICKLINE(买线>=卖线,CLOSE,OPEN,2,1),COLORWHITE;
STICKLINE(买线<卖线,LOW,HIGH,0.0,1),COLORCYAN;
STICKLINE(买线<卖线,CLOSE,OPEN,2,1),COLORCYAN;
STICKLINE(BU,OPEN,CLOSE,2,0),COLORBLUE;
STICKLINE(SEL,OPEN,CLOSE,2,0),COLORYELLOW;
主力:=EMA(CLOSE,10),COLORWHITE;
散户:=EMA(CLOSE,5),COLORRED;
绿降:=(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,COLORCYAN,LINETHICK1;
操盘:MA(CLOSE,9),COLORGREEN,LINETHICK2;
界点:MA(CLOSE,20),COLORLIMAGENTA;