VOLUME:VOL,VOLSTICK;MAVOL1:MA(VOLUME,M1);MAVOL2:MA(VOLUME,M2);绿低量:=13;蓝低量:=55;灰低量:=100;{--------VOL.量能饱和-----}N1:=21;SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));量能饱和:IF(SAT>1,1,SAT)*100,COLOR00AAFF,NODRAW;中点:=REFDATE(HHV(V,180)*0.5,DATE);STICKLINE(CURRBARSCOUNT=N1,中点*1.9,中点*1.5,100,1),COLOR00AAFF;STICKLINE(CURRBARSCOUNT=N1,中点*1.88,中点*1.52,量能饱和,0),COLOR0077FF;DRAWTEXT(CURRBARSCOUNT=N1+3,中点*1.8,'饱和度'),COLORYELLOW; {=====================================================}H_L:=0.1*CONST(HHV(VOL,240));{