Marco Strazzeri:
"Read" what exactly ?
I'm using an Expert Advisor which is attached to a chart.
Every new bar it has to read the last 5 bars of ALL timeframes of the same symbol. It comes that sometimes, on the other timeframes, the last bar ( index=1 ) results equal to its preceding bar ( index=2 ), which is a bad reading of chart bars. Read bars are then written on files.
The error never happens when i force bars export manually.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I'm using an Expert Advisor which is attached to a chart.
Every new bar it has to real the last 5 bars of ALL timeframes of the same symbol. It comes that sometimes, on the other timeframes, the last bar ( index=1 ) results equal to its preceding bar ( index=2 ), which is a bad reading of chart bars. Read bars are then written on files.
The error never happens when i force bars export manually.
Which can be the cause? Maybe other timeframe bars are still not loaded while the EA is reading them?