Hi everyone,
I’m trying to build a ProScreener in ProRealTime that scans for conditions on a custom time period, specifically 2-day (2D) or 3-day (3D) candles. However, I keep getting a syntax error when I try to use TIMEFRAME(2 days)
or a similar approach.
Error Screenshot Attached:
The error message says:
“Syntax error: line X, character XX
One of the following characters would be more suitable than ‘2’:
-
‘minute’, ‘hour’, ‘minutes’, or a timeframe hour (h, hour, hours)”
Has anyone successfully created a screener or indicator using custom multi-day timeframes (other than 1 day, 1 week, etc.)?
-
Is this possible in the current version?
-
Are there any workarounds for scanning on 2D/3D periods?
Any help or code examples would be much appreciated!
Thanks in advance for your advice.