同花顺买卖天机副图指标
源码
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交量:VOL,LINETHICK0;
主动买盘:IF(CLOSE OPEN,VAR1*(HIGH-LOW),IF(CLOSE OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,colorred;
主动卖盘:IF(CLOSE OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),LINETHICK0,colorgreen;
STICKLINE(VOL 0,VOL,0,2,1),colorwhite;
STICKLINE(主动买盘 0,0,主动买盘,2,0),colorred;
STICKLINE(主动卖盘 0,0,主动卖盘,2,0),colorgreen;