Assuming you have a scan that use’s daily candles and you have a alert as well for this scan that runs every 5 minutes, the results that you see during market hours in the backtest and your alert history, will change, for the current day(as the candle is still being made while the markets are open).
While calculating the backtest results, the daily candles considers values until the current time(when you are viewing the scan), whereas when the alerts are sent, example at 10:05am, the daily candles contained data only until that time, so the results of the backtest graph will change thru the day in such a case. We have already added a note for the same, stating “Backtesting considers values as per completed candles of the timeframes, this may cause the results to change for the latest candle/time as its candle is being built.”
Backtesting considers the daily candles as of the current time, rather than when the alerts were actually run example at 10:05am or 12:50pm, so the results may not match with what you see in the backtest history along with your alerts history due to the above mentioned scenario.
If you want to show the same results in the backtest, you should have similar timeframes as per your alert eg: 5 minutes instead of “latest close” in the scan, this will ensure the backtest runs with the data of the 5 minutes timeframe, which will not change for completed cnadles i.e 9:15am, 9:20am and so on.. so that the backtest can then consider the close of the 5 minutes and plot the rows accordingly.
There’s no way to have this implemented in the backtest as well in the alerts, the reason being, if you view the chart for RSI on a daily timeframe for yesterday’s candle, it show’s the value as of 3:30pm, but actually the RSI on a daily candle at 9:15am for example would differ when compared with the RSI of at 10am or 11am or 3:30pm, but the charts only show yesterday’s RSI considering the daily completed candle i.e as of 3:30pm.
The same is being applicable for “close” or the “ltp” as well, which changes for a daily candle thru the day, so the results of the current completed candle can change, similar to the results that you view in the scanner at different times during the day
We have already added a note implying the same, that the current candle’s results can change(the same is true for any candletsick chart) as well, as the indicator values are as of the latest completed candle time.