通达信买卖倍比指标公式

通达信快速KD指标公式

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;

通达信倍量成交拐点指标公式