同花顺双色成交量指标
-
相关简介:同花顺双色成交量指标 源码 VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 成交量1:vol,linethick0; 主动买盘:IF(CLOSEOPEN,VAR1*(HIGH-LOW),IF(CLOSEOPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),linethick0,colorred; 主动卖盘:IF(CLOSEOPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSEOPEN,0-
-
文章来源:股海网作者:股海网发布时间:2016-06-08浏览次数:
同花顺双色成交量指标
源码
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;