KP:=SMA(AMOUNT,10,1)/10000;
VAR1:=REF(KP,1);
VAR2:=REF(KP,2);
VAR3:=REF(KP,3);
COUNT(KP>VAR1,1) and VAR1>VAR2 and VAR2>VAR3;
KP:=SMA(AMOUNT,10,1)/10000;
VAR1:=REF(KP,1);
VAR2:=REF(KP,2);
VAR3:=REF(KP,3);
COUNT(KP>VAR1,1) and VAR1>VAR2 and VAR2>VAR3;