N:=14;TYP:=(HIGH+LOW+CLOSE)/3;
CCI14:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
XG:CROSS(cci14,-100) OR (REF(CCI14,1)>-100 AND REF(CCI14,1)<-95 AND CCI14>REF(CCI14,1));
九毛八公式解读
N赋值:14 TYP赋值:(最高价+最低价+收盘价)/3 CCI14赋值:(TYP-TYP的14日简单移动平均)/(0.015*TYP的14日平均绝对偏差),线宽为0 输出XG:CCI14上穿-100 OR (1日前的CCI14>-100 AND 1日前的CCI14<-95 AND CCI14>1日前的CCI14)