MA20:=MA(C,20);
MA30:=MA(C,30);
MA60:=MA(C,60);
MA90:=MA(C,90);
MA120:=MA(C,120);
MA250:=MA(C,250);
DTPL:=MA20>REF(MA20,1) AND MA30>REF(MA30,1) AND MA60>REF(MA60,1) AND MA90>REF(MA90,1) AND MA120>REF(MA120,1) AND MA250>REF(MA250,1) AND
MA20>MA30 AND MA30>MA60 AND MA60>MA90 AND MA90>MA120 AND MA120>MA250;
XG:EVERY(DTPL,3);