通达信优化量能趋势副图指标源码
源码 :
ZF:=(C/REF(C,1)-1)*100;
ZF1:=REF(HHVBARS(ZF,10),1)+1;
VN1:REF(V,ZF1),COLORGRAY,NODRAW;
VN2:PEAK(V,1,1),COLORBB11AA,NODRAW;
VN3:PEAK(VN1,1,1),COLOR32CD32,NODRAW;
DRAWBAND(VN2,RGB(90,10,10),VN1,RGB(0,35,35));
NOTEXTVN1:VN1,COLORGRAY;
NOTEXTVN2:VN2,COLORBB11AA;
NOTEXTVN3:VN3,COLOR32CD32,DOTLINE;