在线检测未来函数

通达信买卖倍比指标公式

来源:Internet,编辑:股旁网,2010-11-16

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;
{股旁网-股票公式网站 www.gupanG.com}
买卖比:-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;

通达信买卖倍比指标公式

 

相关文章