Hi. Screener dos’n’t seem to recognise code: Highest[240](dclose(240)). It appears to only allow highest over 1 year. i.e Highest[240](dclose(0)). I find that strange as code works on Indicator and appears to work on Backtesting. Am I just old and past it?
ProScreener has a limitation of 254 bars of history.
I made a screener almost similar in this french topic this week: (it detects breakout of highest high of the current year), you might find some interest in this code in order to help: https://www.prorealcode.com/topic/plus-haut-annuel/
Shame it looked like a possible share selection on a few shares when the price or bollinger band moved above highest high 1-2 years ago. However, as I can’t screen to test it easily I guess I just go back to the drawing board.
On a daily timeframe, 1 year is possible but 2 years is beyond the 254 bars limit. It is something that would be changed by PRT probably in a next update hopefully.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue