Dear Members of the forum,
I have a weird problem with my ProScreener. All the default scans work fine (High Volatility High Volume, Bearish Engulfing, etc). As soon as I try to execute my own screener, I get an error message that is always the same.
To make sure the problem is not with my code, I used the sample screener code (screenshot 1), but as soon as I try to execute it, I get this error message (screenshot 2).
Any suggestions what I should do? I already tried to reinstall ProRealTime, but it also didn’t work.
Weird error indeed 🙂 Try to create another custom code with a different name, it should work.
JSParticipant
Veteran
The error message you get has to do with your (screener) code.
In your code you use conditions (c1, c2, c3, c4) but you do not use these conditions as criteria in your screener.
For example:
C1 = Close > Close[1]
C2 = 1
Screener(c1)
When you run this screener you get the same error message because you do not use the variable c2 in your screener.