N:=14;TYP:=(HIGH+LOW+CLOSE)/3;:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));:-200,COLORRED;中底:-100,COLORYELLOW;STICKLINE(OSS(CCI,大底),大底,0,1,0),COLORRED;STICKLINE(CROSS(CCI,中底),大底,中底,1,0),COLORYELLOW;{公式:N:=14;TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));大底:=-200;中底:=-100;XG:(CROSS(CCI,中底));}