Hello, apologies if this has been asked before but I’ve just found the forum. I have based this on a proscreener offered free on the prorealtime site.
I’ve tweaked it a bit, It’s a code for searching for a close above the previous [n] bars high. It works fine on the daily timescale, but not when running it on the weekly timeframe, but I can’t see the problem. Could someone be kind enough to point out the problem? Thanks:
High10 = Highest[10](High)
c1 = (close > High10[1])
indicator1 = Average[20](Volume)
c2 = (indicator1 >= 450000.0)
c3 = (volume > indicator1)
c4 = close > open
criteria = volume / indicator1
SCREENER[c1 AND c2 AND c3 AND c4] (criteria AS"Vol Gain")
> For clarity of messages on ProRealCode’s forums, please use the “insert code PRT” button to separate the text of the code part! Thank you! <<
Because one of your condition is not met.
Be aware that if you are using the free “end of day” version, results of screeners are delayed.
High10 = Highest[10](High)
c1 = (close > High10[1])
indicator1 = Average[20](Volume)
c2 = (indicator1 >= 450000.0)
c3 = (volume > indicator1)
c4 = close > open
criteria = volume / indicator1
SCREENER[c1 AND c2 AND c3 AND c4] (criteria AS"Vol Gain")
Sorry Nicolas, is that any better?
Also which condition is not met?
Thanks
Henchey
I don’t know what cause your problem since I get some results myself (example attached for NYSE,NASDAQ and EURONEXT stocks) on weekly timeframe.
Ok thanks for looking Nicolas. I think you’re right, on my system it might be the end of day issue affecting this on a weekly scan.
Regards
Pete