log: HistoryBase - invalid bars removed.

 

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

 
up, same question
 
up same question
 

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)...

;)

 
up
 
2018.12.21 09:03:48.084 HistoryBase 'WING19' 1 invalid bars removed


Corretora TERRA

 
BjZon:
2018.12.21 09:03:48.084 HistoryBase 'WING19' 1 invalid bars removed


Corretora TERRA

Ask your broker.
 
same question here!
 
muthumuni #:
same question here!
Same answer.
 
Alain Verleyen #:
Same answer.

No, it wasn't same answer!

I was developing renko ea. there had nothing to ask from the broker. :)

 
muthumuni #:

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.
This website uses cookies. Learn more about our Cookies Policy.