Is the a more efficient way to say something like the following:
Ref (H,-1) > Ref(H,-2) AND Ref (H,-2) > Ref (H,-3) AND Ref (H,-3)
> Ref(H,-4) AND Ref (H,-4) > Ref (H,-5) etc.
What I am looking for is someway to say a condition (in this case H
> previous H) is "repeated" x bars backward, so that x can be a
parameter without having to type the whole thing out. I know there is an
eloquent solution, but I am drawing a blank.
Thanks for your help,
James