N:=75;
N1:=56;
量:=vol;
成交量(万):量/10000,COLORWHITE,NODRAW;
换手:=VOL/CAPITAL*100;
预测:=IF(CURRBARSCOUNT=1 AND PERIOD=5,量*240/FROMOPEN,DRAWNULL);
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,预测,0,3,-1),COLORYELLOW;
虚拟量:预测/10000,COLORYELLOW,NODRAW;
虚换手:=换手*240/FROMOPEN,COLORYELLOW,NODRAW;
虚拟额(万):=AMOUNT*240/FROMOPEN/10000,COLORFF00FF,NODRAW;
AA:=虚换手*5;
SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));
量能饱和度:IF(SAT>1,1,SAT)*100,COLORYELLOW,NODRAW;
中点:=REFDATE(HHV(V,N)/2,DATE);
STICKLINE(CLOSE>=REF(CLOSE,1),VOL,0,3,1),COLORRED;
STICKLINE(CLOSE< REF(CLOSE,1),VOL,0,3,1),COLORCYAN;
STICKLINE(C>=O,0,VOL,3,0),COLOR000045;
STICKLINE(C>=O,0,VOL,2.5,0),COLOR000065;
STICKLINE(C>=O,0,VOL,2,0),COLOR000085;
STICKLINE(C>=O,0,VOL,1.5,0),COLOR0000A5;
STICKLINE(C>=O,0,VOL,1,0),COLOR0000C5;
STICKLINE(C>=O,0,VOL,0.5,0),COLOR0000E5;
STICKLINE(C>=O,0,VOL,0,0),COLOR0000F5;
STICKLINE(C<O,0,VOL,3,0),COLOR353500;
STICKLINE(C<O,0,VOL,2.5,0),COLOR454500;
STICKLINE(C<O,0,VOL,2,0),COLOR555500;
STICKLINE(C<O,0,VOL,1.5,0),COLOR656500;
STICKLINE(C<O,0,VOL,1,0),COLOR757500;
STICKLINE(C<O,0,VOL,0.5,0),COLOR858500;
STICKLINE(C<O,0,VOL,0,0),COLOR959500;
DRAWTEXT(CURRBARSCOUNT=N,中点*1.7,'量能饱和度');
STICKLINE(CURRBARSCOUNT=N1,中点*1.9,中点*1.5,100,1);
STICKLINE(CURRBARSCOUNT=N1,中点*1.9,中点*1.5,'量能饱和度',0),COLORWHITE,NODRAW;
STICKLINE(VOL>2*REF(VOL,1),0,VOL,0.2,0),COLORYELLOW;
半年最高量:HHV(V,120);
真实换手:VOL/半年最高量*100,NODRAW;
势值:ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*57.3;
势差:势值-REF(势值,1);
A:=WINNER(CLOSE)*100;
资金阻力:100-A,COLORRED;