乖离离差,副图源码,贴图说明
此副图指标是根据异同离差乖离率改写而成。此源码通用。
STICKLINE(C>0,0,0,10,0),COLORCYAN;
BV:=AMOUNT;
VC:=ABS(BV-REF(BV,1));
VC3:=SUM(vc,3);
ZS:=FORCAST(WMA(DMA(C,VC/VC3),2),2);
FT:=FORCAST(Wma(ZS,8),5);
GL:=(ZS-FT)/FT*100;
LC:=(GL-REF(GL,24));
SMLC:SMA(LC,144,1),COLORWHITE;
WFG:FORCAST(Wma(SMLC,5),3),COLORMAGENTA;