log: HistoryBase - invalid bars removed.
I'm not 100% sure because I read this months ago, but the cause is by faulty data coming from the Broker (i.e. no datetime, or zeroed values)...
;)
Corretora TERRA
Corretora TERRA
No, it wasn't same answer!
I was developing renko ea. there had nothing to ask from the broker. :)
The message "invalid bars removed" just means the system found some bad historical data and removed it to keep the history clean.
It's an automatic cleanup, not really a serious error. But if you see it happening a lot, it probably means you should check where your data is coming from or how you're building custom timeframes.
If you're using Renko or any other offline or generated chart, make sure:
- Your bar generator (like your EA or script) is writing the time and price info properly.
- You're not feeding it data with timestamps that are duplicated or out of order.
Does anyone have an idea under what circumstances this might happen or get detected?
2013.08.28 10:37:31 HistoryBase 'EURJPY' 2 invalid bars removed
2013.08.28 10:37:27 HistoryBase 'EURJPY' 2 invalid bars removed