以下是通达信主动性买盘源码再来一个好公式(无源码的请下载附件导入)
{281主动性买盘}
成交量:VOL,POINTDOT;
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,COLORYELLOW;
STICKLINE(主动买盘>0,0,VOL,2,1),COLORGREEN;
STICKLINE(主动买盘>0,0,主动买盘,2,0),COLORRED;
主买占比%:主动买盘/VOL*100,POINTDOT,COLORRED;
换手%:VOL/CAPITAL*100,COLORGREEN;
723500987.png
|