通达信vol,135,VOL挂单买卖+135均量通达信公式
{参数: N 1 100 20}
量:VOL,LINETHICK0;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘:IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),POINTDOT,COLORRED, LINETHICK1;
卖盘:IF(CLOSE>OPEN,AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,AA*(HIGH-LOW),VOL/2)),POINTDOT,COLOR00F800, LINETHICK1;
挂买:MA(买盘,3),{COLORFF7FFF}POINTDOT,COLORC007E7,LINETHICK1;
挂卖:MA(卖盘,3),{COLORFFB900}POINTDOT,COLORF67F00,LINETHICK1;
饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100),COLORRED;
换手%:VOL/CAPITAL*100,POINTDOT,COLORC007E7;
STICKLINE(1,0,买盘,2,0),COLORRED;
STICKLINE(1,买盘,卖盘+买盘,2,0),COLOR00F800;
STICKLINE(1,0,挂买,2,0),COLORC007E7;
STICKLINE(1,挂买,挂卖+挂买,2,0),COLORFFB900;
MAVOL5:MA(量,5),COLOR00FF00,LINETHICK2;
MAVOL35:MA(量,35),COLOR00FFFF,LINETHICK2;
MAVOL135:MA(量,135),COLORFFFFFF,LINETHICK2;
IF(MA(VOL,5)>=REF(MA(VOL,5),1),MA(VOL,5),DRAWNULL),COLORRED,LINETHICK3;