I want to create a ProRealTime screener that operates based on a custom tick count (e.g., 100 ticks per bar) instead of the default fixed timeframes (1m, 5m, etc.) available in the screener settings.
What I Need:
The screener should evaluate market conditions on a
100-tick chart rather than a traditional time-based chart.
- It should scan multiple instruments and return results only if conditions are met on the custom tick-based chart.
- I want to avoid relying on time-based conditions since they do not align with my tick-based strategy.
Challenges:
- The screener settings only allow predefined timeframes, but I need it to work with custom tick bars.
- How can I structure the screener code to force it to run based on 100-tick bars rather than standard timeframes?
- Is there a ProRealTime-specific way (like indicators or custom variables) to achieve this?
Any help or workaround to make a ProRealTime screener run on custom tick data would be appreciated! Thanks in advance! 😊
JSParticipant
Senior
“Screeners” can only be executed on the preset timeframes…
What you can try is to create a custom indicator that works on the 100 tick timeframe and call this custom indicator with “Call”…
screenerSignal = CALL “YourIndicator” // Calls the tick-based indicator SCREENER[screenerSignal = 1]