以下是通达信日周月净买量副图指标
通达信日周月净买量副图指标
源码
成交量:=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,COLORRED;
主动卖盘:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),,COLORGREEN;
日净买量:主动买盘-主动卖盘;
周净买量: SUM(日净买量, WEEKDAY);
月净买量:SUM(日净买量, MONTH );