I understand these are arrays and the [0] represents newest info. My concern is that the current candle that hasn't closed , has definitely
opened. So it has a value for Open[0] but if I call Close[0] , since this latest candle hasn't closed yet , is this Close array pulling from
previous close? or does it use current price as Close[0]. I hope my question is clear. Thanks for the Help. First post.
- Download the MetaTrader 5 mobile app for Android
- Flexible MetaTrader 5 trading system with all order types
- MQL5 Wizard: Development of trading robots for MetaTrader 5
Jonman_t:
I understand these are arrays and the [0] represents newest info. My concern is that the current candle that hasn't closed , has definitely opened. So it has a value for Open[0] but if I call Close[0] , since this latest candle hasn't closed yet , is this Close array pulling from previous close? or does it use current price as Close[0]. I hope my question is clear. Thanks for the Help. First post.
I understand these are arrays and the [0] represents newest info. My concern is that the current candle that hasn't closed , has definitely opened. So it has a value for Open[0] but if I call Close[0] , since this latest candle hasn't closed yet , is this Close array pulling from previous close? or does it use current price as Close[0]. I hope my question is clear. Thanks for the Help. First post.
Close[0] is equal to Bid

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