
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
No, I'm not wrong. IF and ONLY IF you access a time or price array AS SERIES, I would be wrong. But I've quite clearly in both words and code explained a problem that occurs when arrays are accessed via regular (not reversed) indexing. I demonstrated the problem in the OP.
So, I'm not wrong that in an array or index buffer where ArrayIsSeries() = false, the newest data is found at the highest indices.
You're wrong because the indexing ("as series" or not "as series") is just a flag which does not change the physical order of the data in memory (in array)! This is just a syntactic sugar which simplifies coding. The "shadow" leftmost bars are always most outdated and useless ones, regardless of indexing direction!