israeltandrade: but on the weekends I receive the last data of the week (
Do you expect it to read future, nonexistence bars? There is nothing to read, there is nothing to solve.
William Roeder:
No, I just want to reference last previous day with that time. As I said, I've tried to put a complete datetime info ('D 2020.07.09 15:30' for example) and the result is the same.Do you expect it to read future, nonexistence bars? There is nothing to read, there is nothing to solve.
I've also tried to subtract PERIOD_D1. No sucess.
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
On normal week days it should print the Array starting on 21:05, but on the weekends I receive the last data of the week (like if I was working with iTime instead of CopyTime):
2020.07.10 23:50:00 2020.07.10 23:51:00 2020.07.10 23:52:00 2020.07.10 23:53:00 2020.07.10 23:54:00
Why? And is there a way to solve this? (even if I put all datetime information asking for other day it gives the same result)