![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hi
When using copyrates to copy the last uncomplete bar (with start_pos = 0 and count = 1) it brings the current bar rate.
I can't manage to accomplish when using it in tester mode, because when testing a period for instance of 3 months: 01.04.2010 - 01.07.2010
the copyrates in tester mode still returns the current bar rate (of 02.02.2011 which is the current date).
Does the tester should not recognise that when the testing date is 01.04.2010 than the copyrates of pos=0 should return this date rates?
Thanks in advance