Did you set limit so you have five (5) history bars?
How
to do your lookbacks correctly.
Did you set time[] as non-series?
William Roeder:
Did you set limit so you have five (5) history bars?
How
to do your lookbacks correctly.
Did you set time[] as non-series?
Solved:
To load bars I use
int op=Bars(Symbol(),PERIOD_M5,start,target);
The true problem was borker did not give me all bars for that period in that date.
Thanks
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 Guys,
in my code CopyRates seems not working well. Testing with M15, I was expecting to have 4 or 5 bars copied, instead just 1.
Why?