chinaski:
https://www.mql5.com/en/docs/series/bufferdirection
Hello,
my question is about the order of prices in price arrays passed to OnCalcuate. I know, there are many tags for this subject, however,
my problem is this:
Now the problem: The sample below outputs on each tick CURRENT close and also "as series". I thought §as series§ means that LATEST value always indexed=0 ? Can anyone clarify ? (close[0] returns always stale or very old value)
Thank you
Documentation on MQL5: Timeseries and Indicators Access / Indexing Direction in Arrays, Buffers and Timeseries
- www.mql5.com
Timeseries and Indicators Access / Indexing Direction in Arrays, Buffers and Timeseries - Documentation on MQL5
Hello,
From this link:
... "Timeseries are arrays with reverse indexing"
So what i describe is that in my case Timeseries is NOT reverse indexed....
What do i wrong ?
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
Hello,
my question is about the order of prices in price arrays passed to OnCalcuate. I know, there are many tags for this subject, however,
my problem is this:
Now the problem: The sample below outputs on each tick CURRENT close and also "as series". I thought §as series§ means that LATEST value always indexed=0 ? Can anyone clarify ? (close[0] returns always stale or very old value)
Thank you