I am getting scan/screen alerts in real time and cannot find the option to get them on bar close only.
Using a 5 minute timeframe I get multiple alerts if condition is true but before the bar closes
The manual says this is possible:
The scans can be done in real-time or on the close of the current bar with the following timeframes:
Please could you help me find this option
Tank you
JSParticipant
Veteran
Hi @cactus363,
You can try the following:
TimeFrame(5 minutes, UpDateOnClose)
…
(screener code)
…
thank you for helping, when I try and add the UPDATEONCLOSE command I get an error.
I tried many different ways but cannot solve it, would you know what this is about?
Ive attached a screenshot
SCREENERS run live, so to scan for candles already closed, all you need is to use a reference to to the previous value with [1], such as
close[1],
Rsi[14](close[1]) etc…
of course, that worked really well as it should, thank you so much for solving this for me, much appreciated.