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;
投股 票网 www.tou 18.cn