通达信乖离离差副图源码

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;