Checking Information From Different Timeframes
So use them. What's the problem?
Perhaps you should read the manual. Timeseries and Indicators Access - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
How To Ask Questions The Smart Way. (2004)
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up.
So use them. What's the problem?
Perhaps you should read the manual. Timeseries and Indicators Access - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
How To Ask Questions The Smart Way. (2004)
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up.
On MT5: Unless the current chart is that specific pair/TF, you must synchronize the terminal Data from the Server before accessing candle/indicator values.
Error 4806 while using CopyBuffer() - Expert Advisors and Automated Trading - MQL5 programming forum #10 (2020)
Is it mystical?! It is! - Withdraw - Technical Indicators - MQL5 programming forum (2019)
Timeseries and Indicators Access / Data Access - Reference on algorithmic/automated trading language for MetaTrader 5
Synchronize Server Data with Terminal Data - Symbols - General - MQL5 programming forum #2 (2018)
SymbolInfoInteger doesn't work - Symbols - General - MQL5 programming forum (2019)
Hi there,
I've moved over to programming MQL5 after several years with MQL4. In the past, if I wanted to process information from other timeframes than the chart hosting the indicator, I would likely use the iHigh/iLow/iClose/iOpen functions specifying the target timeframes as an argument to the function calls.
I'm aware MT5 handles candle information differently to MT4. If the information I look for using the above functions has not been previously loaded into MT5, what happens and how should this be handled?
Thanks.