so, I'm trying to compare the close of 30 days ago to the last 29 closes....eg.
Code: Select all
if close < lowest(close,29) then....
I thought this statement would be true if the close of 30 days ago..... was lower that the previous 29 closes, but it doesn't work, it shows charts that have lower closes that the 30 day ago close.
not sure why, please help.