How to find the previous 20 day high, which could occur several bars ago?
I tried to use MAX(High, 20)[1] but it does not seem to work.
What I'm trying to do is: whenever a bar closes above a 20 day high, I will draw an up arrow, and vice versa.
I'd appreciate it very much if you could provide some suggestions?
Please let me know, if you need more information.
Thank you.
Richard


Comment