成交量:VOL,VOLSTICK;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),colorred,POINTDOT;
卖盘:-IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),colorcyan,POINTDOT;
成交量比:买盘/VOL*100,colorwhite,NODRAW;
STICKLINE(VOL>0,VOL,0,2.5,0),colorcyan;
STICKLINE(买盘>0,0,买盘,2.5,0),colorred;
202108202205.jpg
|