Bars not on chart after testing, but backtest seems fine?

 

I ran a backtest on some data and in the backtester the prices, profits, tick history all look fine. However the chart that shows after the backtest skips 2-3 years and so all trades appear to fall during this gap.


This is 2019-10 and suddenly jumping to 2025-10.


However, in the backtester, things seem fine. Orders get the correct profits and tick history is at 100%.






As you can see the backtest seemed fine but for some reason I just don't have minute bars or anything that show on the chart. I am not using any custom symbol data here, just what my broker provided though MT5.


A small note, when I load a previously executed backtest, it says the tick quality is 0%. But the deals are still correct. The history only shows 100% tick quality the moment after running a backtest. I think this is an unrelated bug.


 
Please provide the log file of your backtest.
 
Alain Verleyen #:
Please provide the log file of your backtest.
Do you mean the Journal output after running the test? I mean its quite long, but I assume you want to know about it bars are syncing etc.. I'll post an excerpt.

2026.01.02 08:42:55.470 Core 01 US30,H1: history cache allocated for 25466 bars and contains 5974 bars from 2021.01.04 01:00 to 2022.01.04 23:00
2026.01.02 08:42:55.470 Core 01 US30,H1: history begins from 2021.01.04 01:00
2026.01.02 08:42:55.470 Core 01 US30,H4: history cache allocated for 6432 bars and contains 1559 bars from 2021.01.04 00:00 to 2022.01.04 20:00
2026.01.02 08:42:55.470 Core 01 US30,H4: history begins from 2021.01.04 00:00

2026.01.02 08:42:55.470 Core 01 GER30 : 2022.01.05 23:59 - no real ticks within a day

.....

2026.01.02 08:43:01.573 Core 01 GER30 : 2024.12.27 23:59 - no real ticks within a day

2026.01.02 08:43:01.573 Core 01 GER30 : 2024.12.30 23:59 - no real ticks within a day

2026.01.02 08:43:01.573 Core 01 GER30 : real ticks begin from 2020.04.15 00:00:00

2026.01.02 08:43:01.573 Core 01 GER30 : 2022.01.05 00:00 - 2025.02.15 00:00  real ticks absent for 906149 minutes of 944963 total minute bars, every tick generation used

2026.01.02 08:43:01.573 Core 01 GER30 : 2022.01.05 00:00 - 2025.02.15 00:00  real ticks absent for 764 whole days



Thanks for pointing to this, I didn't think to check this since the history said 100%. What is "Every tick generation used?"

I am using

   

Since I thought this avoids any kind of fakeness.

So my entire backtest actually doesn't have ticks for 906k minutes, and its all simulated instead? Still, why are there no minute bars showing on the chart? 

I don't really understand what is happening.


 
Ian Worthington #:


If this happend to me, then, i would assume that the broker does not provide any tick data for that period. But there are other possible causes, too many for a short comment.
 
Ian Worthington #:
Do you mean the Journal output after running the test? I mean its quite long, but I assume you want to know about it bars are syncing etc.. I'll post an excerpt.

2026.01.02 08:42:55.470 Core 01 US30,H1: history cache allocated for 25466 bars and contains 5974 bars from 2021.01.04 01:00 to 2022.01.04 23:00
2026.01.02 08:42:55.470 Core 01 US30,H1: history begins from 2021.01.04 01:00
2026.01.02 08:42:55.470 Core 01 US30,H4: history cache allocated for 6432 bars and contains 1559 bars from 2021.01.04 00:00 to 2022.01.04 20:00
2026.01.02 08:42:55.470 Core 01 US30,H4: history begins from 2021.01.04 00:00

2026.01.02 08:42:55.470 Core 01 GER30 : 2022.01.05 23:59 - no real ticks within a day

.....

2026.01.02 08:43:01.573 Core 01 GER30 : 2024.12.27 23:59 - no real ticks within a day

2026.01.02 08:43:01.573 Core 01 GER30 : 2024.12.30 23:59 - no real ticks within a day

2026.01.02 08:43:01.573 Core 01 GER30 : real ticks begin from 2020.04.15 00:00:00

2026.01.02 08:43:01.573 Core 01 GER30 : 2022.01.05 00:00 - 2025.02.15 00:00  real ticks absent for 906149 minutes of 944963 total minute bars, every tick generation used

2026.01.02 08:43:01.573 Core 01 GER30 : 2022.01.05 00:00 - 2025.02.15 00:00  real ticks absent for 764 whole days



Thanks for pointing to this, I didn't think to check this since the history said 100%. What is "Every tick generation used?"

I am using

   

Since I thought this avoids any kind of fakeness.

So my entire backtest actually doesn't have ticks for 906k minutes, and its all simulated instead? Still, why are there no minute bars showing on the chart? 

I don't really understand what is happening.

If you would like to understand, you should answer to what was asked.
 
Alain Verleyen #:
If you would like to understand, you should answer to what was asked.
My output has a lot of data, each tick has information, I am sure it is more than the limit allowed for this forum. Can you tell me what you are looking for? 
[Deleted]  

It usually happens when the MT5 history for that symbol is incomplete, so the backtester uses ticks internally but the chart can’t draw bars for the missing years. Refreshing or re‑downloading the symbol’s history (both Bars and Ticks) often fixes the gap. The 0% tick quality on previously loaded tests is a known MT5 quirk and doesn’t affect the actual backtest results.

 
Ian Worthington #:
My output has a lot of data, each tick has information, I am sure it is more than the limit allowed for this forum. Can you tell me what you are looking for? 
I am looking for all technical information allowing to understand and reproduce the issue. I don't have much time to ask for each one by one.