TA:=BARSSINCE(CLOSE);
MA5:=IF(TA>=5,MA(C,5),0);
MA10:=IF(TA>=10,MA(C,10),0);
MA20:=IF(TA>=20,MA(C,20),0);
MA60:=IF(TA>=60,MA(C,60),0);
A1:=MA5>MA10 AND MA10>MA20 AND MA20>MA60;
LMAX:=MAX(MAX(MA5,MA10),MAX(MA20,MA60));
CROSS (CLOSE,MA5) AND V>=REF(V,1)AND A1;