Hello Everyone
c1 = Close > Highest[259](Close[1])
Does the above mean …
if the current bar close is higher than highest close in the last 259 bars counted up to the bar before the current bar (260)
Thanks
GraHal
Hello GraHal,
Seems that you are right, look at my screenshot, just made a little indicator to show the difference.
Hey thanks Nicolas, that’s great!
I never thought of doing that … but have now, however I don’t get same as you! ha
What have you applied c1, c2 to in order to get the ramped line?
Regards
Graham
GraHal, you got the entire code in my screenshot, did you see it? 🙂
Anyway, here it is :
c1 = Highest[259](Close[100])
c2 = Highest[259](Close)
RETURN c1,c2
Ha … I thought I’d copied same as in your screenshot, but now I realise it was a ‘mix of mine and yours’.
Yes … I get the same indicator result as you now!
Thanks Nicolas
Graham