飞狐双向成交副图指标
源码
成交量:VOL,POINTDOT;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE
主动卖盘:IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
换手率%:VOL/CAPITAL*100,POINTDOT,COLORYELLOW;
STICKLINE(主动买盘>0,0,VOL,6,0)colorgreen;
STICKLINE(主动买盘>0,0,主动买盘,6,1),COLORRED;
{STICKLINE(主动卖盘<0,0,主动卖盘,6,0),COLORGREEN;}