优化量能趋势指标副图源码

Z,:=(C/REF(C,1)-1)*100;
 Z,1:=REF(HHVBARS(Z,,10),1)+1;
 VN1:REF(V,Z,1),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;