ZT:=C/REF(C,1)>=1.093 ; VA:=EMA(CLOSE,9); X:=EMA(VA*1.14,5); TYP:=(HIGH+LOW+CLOSE)/3; CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); XN:=ZT AND C>X; XG:CROSS(CCI,0) AND BARSLAST (XN)>6 AND BARSLAST (XN)<21 AND COUNT((CCI>-100),5)>=5;