绿低量:=10;
蓝低量:=50;
灰低量:=100;
{--------VOL.量能饱和--------}
N1:=21;
AM:= AMOUNT/100000000,NODRAW;{成交额亿}
SAT:=(AM/C)/(HHV(AM,20)/HHV(C,20));
饱和度:IF(SAT>1,1,SAT)*100,COLOR00AAFF,NODRAW;
{中点:=REFDATE(HHV(AM,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(AM,240));
{MAV10:MA(V,10),COLORYELLOW;}
启动:MA(AM,5),COLORYELLOW;
洗盘:MA(AM,40),COLORMAGENTA;
异动:MA(AM,135),COLORGREEN;
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,AM*240/FROMOPEN,DRAWNULL);{模拟量}
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,1,-1),COLOR00C0C0; |