VAR1:=CLOSE/MA(CLOSE,40)*100<78;
VAR2:=CLOSE/MA(CLOSE,60)*100<74;
VAR3:=HIGH>LOW*1.051;
VAR4:=VAR3 AND COUNT(VAR3,5)>1;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
FYYH:=VAR4 AND (VAR1 OR VAR2) AND
MA(C,27)/CLOSE>1.169 AND MA(C,17)/CLOSE>1.158 AND
CLOSE<MA(C,120) AND MA(C,60)<MA(C,120) AND MA(C,60)>MA(C,30) AND CCI>-210;
XG:BARSLASTCOUNT(FYYH)=1;