Please show your code and results (e.g. logs).
- There are no mind readers here and we can't see your code.
- CopyRates copies the data, you have to call it every tick. Did you set your array AsSeries? Did you handle 4066?
- ArrayCopyRates(MqlRates) doesn't copy the data, it redirects access to the internal buffer, and will be up to date (after you handle 4066).
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
When I use the copyrates-function, the last bar has a different time then the time on the chart.
How is this possible? And how can i fix this that I can be sure that I always get the latest candle?