大智慧优化的CCI指标公式

大智慧优化的CCI指标公式:
N:=14;

TYP := (HIGH + LOW + CLOSE)/3;

cci:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N))-50;

macd:CCI,COLORstICK;

STICKLINE(MacD<-200 ,-200 ,MACD ,3 ,0 ),COLORRED;

STICKLINE(MACD<10 AND MACD>0 ,0 ,MACD ,4 ,0 ),COLORYELLOW;