so, I'm trying to compare the close of 30 days ago to the last 29 closes....eg.
Code: Select all
if close[30] < lowest(close,29)[1] then....
not sure why, please help.
thanks
Code: Select all
if close[30] < lowest(close,29)[1] then....
What is your chart resolution?ok, i give....can someone explain why this doesn't work and tell me what will actually work?
so, I'm trying to compare the close of 30 days ago to the last 29 closes....eg.
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.Code: Select all
if close[30] < lowest(close,29)[1] then....
not sure why, please help.
thanks
Code: Select all
plot10( close[30], "C[30]");
plot20( lowest(close,29)[1], "Lowest29");