波段密码主图源码,请各位点评,应该还不错的。
买线:=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),colorred;
STICKLINE(买线>=卖线,CLOSE,OPEN,2,1),colorred;
STICKLINE(买线<卖线,LOW,HIGH,0.0,1),colorgreen;
STICKLINE(买线<卖线,CLOSE,OPEN,2,1),colorgreen;
散户:EMA(CLOSE,5),colorwhite;
操盘:MA(CLOSE,9),colorcyan,LINETHICK2;
界点:MA(CLOSE,20),colormagenta;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
日:=150;昨前:=3;