同花顺双色成交量指标
源码
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交量1: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,7,1),colorwhite;
stickline(主动买盘 0,0,主动买盘,7,0),colorred;
stickline(主动卖盘 0,0,主动卖盘,7,0),colorgreen;
V11:=AMOUNT/10000;
成交金额:V11/10000;
X4:=EMA(C,20);
廿斜率:(X4-REF(X4,1))/REF(X4,1)*100,LINETHICK0;
十换手:SUM(VOL,10)/CAPITAL*100;