通达信OBV暴涨指标公式

通达信黄金坑+CCI指标公式

obv:=MA(SUM(IF(CLOSE>REF(CLOSE,1),vol,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/25000,1);

OBVE:=EMA(OBV,3);

DIFF : EMA(OBVE,12) - EMA(OBVE,26);

bbdIFF:=DIFF-REF(DIFF,1);

DEA : EMA(DIFF,9);

BBDEA:=DEA-REF(DEA,1);

{指标网-股票公式网站 www.GupaNG.com}

macd : 2*(DIFF-DEA), COLORstICK;

STICKLINE(MacD<REF(MACD,1)AND MACD>0,0,MACD,1,0),COLORGREEN;

STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,1,0),COLORFFCC33;

STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1,0),COLOR0099FF;

STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,1,0),COLORYELLOW;

IF(BBDEA>0,DEA,0),COLOR9966CC;

IF(BBDEA<0,DEA,0),COLOR00FF33;

IF(BBDIFF>0,DIFF,0),COLORWHITE,LINETHICK2;

IF(BBDIFF<0,DIFF,0),COLORBLUE,LINETHICK2;

通达信新成交额指标公式