TYP:=(HIGH+LOW+CLOSE)/3;
cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CCI1:=EMA(CCI,3);
CCI2:=EMA(CCI,6);
(crOSS(CCI1,CCI2) OR (CCI1 >=CCI2)) AND CCI1>=-101 AND CCI1>=REF(CCI1,1) AND REF(CCI1,1)<-101 ;
TYP:=(HIGH+LOW+CLOSE)/3;
cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CCI1:=EMA(CCI,3);
CCI2:=EMA(CCI,6);
(crOSS(CCI1,CCI2) OR (CCI1 >=CCI2)) AND CCI1>=-101 AND CCI1>=REF(CCI1,1) AND REF(CCI1,1)<-101 ;