买线:=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(买线>=卖线,L,H,0.0,1),COLOR0000CC;
STICKLINE(买线>=卖线,C,O,3,0),COLOR000099;
STICKLINE(买线>=卖线,C,O,2,0),COLOR0000FF;
STICKLINE(买线>=卖线,C,O,1,0),COLOR6666FF;
STICKLINE(买线<卖线,L,H,0.0,1),COLORCYAN;
STICKLINE(买线<卖线,C,O,3,0),COLORCYAN;
STICKLINE(BU,O,C,3,0),COLORYELLOW;
STICKLINE(SEL,O,C,3,0),COLORBLUE;
主力:EMA(CLOSE,10),COLORRED;
散户:EMA(CLOSE,5),COLORWHITE;
绿降:(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,COLORGREEN,LINETHICK1; {-股票公式网站 }
操盘:MA(CLOSE,9),COLORCYAN,LINETHICK2;
界点:MA(CLOSE,20),COLORMAGENTA;
LC:=REF(CLOSE,1);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'底背离'),COLOR0000FF;