通达信MACD+CCI指标公式

dif:(ema(C,12)-ema(C,26))/ema(C,26)*100;
DEA:ema(DIF,9);
MACD:2*(DIF-DEA),COLORSTICK;
CCI1:=(EMA(C,14)-C)/(AVEDEV(C,14)*0.3);
CCI2:=(EMA(C,28)-C)/(AVEDEV(C,28)*0.3);
CCI3:=(EMA(C,42)-C)/(AVEDEV(C,42)*0.3);
CCI4:=(EMA(C,56)-C)/(AVEDEV(C,56)*0.3);
CCI5:=(EMA(C,70)-C)/(AVEDEV(C,70)*0.3);
CCI6:=(EMA(C,84)-C)/(AVEDEV(C,84)*0.3);
JCI:=(CCI1+CCI2+CCI3+CCI4+CCI5+CCI6)/6;
DCI:=MAX(CCI1,MAX(CCI2,MAX(CCI3,MAX(cci4,MAX(CCI5,CCI6)))));
XCI:=MIN(CCI1,MIN(CCI2,MIN(CCI3,MIN(cci4,MIN(CCI5,CCI6)))));
CCI:EMA(ema(EMA(ema(EMA(EMA(IF(CCI1>=DCI,(JCI+(DCI-XCI)*0.382),(JCI+6*DCI)/7),3),2),2),2),2),2);

通达信MACD+CCI指标公式

 

大智慧策略终端/职业股民首选分析软件:支持ACE数据,支持L2行情全推数据,支持股票池,超赢数据,价格低廉,支持月季费年费。:

下载地址:https://share.weiyun.com/LPoU0GHu