通达信买卖倍比多空指标公式
- 指标类别: 通达信指标公式
- 授权方式: 免费版
- 指标评级: ★★★★★
- 指标分类: 量能
- 画线方法: 副图
- 日期:2021-06-10 来源:互联网
通达信买卖倍比多空指标公式:
VAR12:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
成交:=VOL;
买盘:=IF((CLOSE > OPEN),(VAR12 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR12 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));
卖盘:=IF((CLOSE > OPEN),(0 - (VAR12 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR12 * (HIGH - LOW))),(0 - (VOL / 2))));
量比1:=(VOL / MA(VOL,5));
VAR10:=买盘,NODRAW;
VAR20:=卖盘,NODRAW;
买S:=买盘*0.0001,NODRAW;
卖S:=卖盘*0.0001,NODRAW;
买卖比:-VAR10/VAR20,COLORYELLOW,NODRAW;
卖买比:-VAR20/VAR10,COLORYELLOW,NODRAW;
CS:=IF(-(VAR10/VAR20)>10,10,-(VAR10/VAR20));
RS:=IF((VAR20/VAR10)<-10,-10,(VAR20/VAR10));
STICKLINE(VAR10>=-VAR20,0,CS,2.7,0),COLORRED;
STICKLINE(VAR10<-VAR20,0,RS,2.7,0),COLORGREEN;
通达信买卖倍比多空指标公式实例图解:
通达信买卖倍比多空指标公式