M:=89;
N:=14;
TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
CCI2:(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M));
CCI3:(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M));
CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
a:100;
b:-100;
同花顺双线CCI指标公式的选股公式如下: