Hello
I'm trying to code that the annual high occurred in the last 2 days.
I originally coded:
BarsSince (HHV(H,250))<=2;
This gives inaccurate results, so I presume is incorrect code.
I've seen examples in the library, from which I've also translated:
Barssince (Ref (HHV(H,250), -1))<=2;
This also gives incorrect answers.
I'm not a coder so I've obviously made a basic error. Can someone
help me out please?
With reference to earlier posts, a simple glossary would really help.
Is there one?
Good trading,
Bernard