- Scrolling Charts on MT4
- Where can i find history data?
- Code to download data
-
You must download history for the pairs.
If you don't have any history, here's how you can get all available from your broker.
- On MT4: Most brokers only have 32 or 65K bars of history per timeframe. That's 45 days of M1, 2.5 years on M15, etc.
- Quickly DL all available history from your broker: Problem loading historical data - MQL4 programming forum (2010)
Otherwise, you will have to download history from elsewhere. MT4 history: How to Start with Metatrader 5 - General - MQL5 programming forum - Page 94 #932 (2017)
-
Have your EA keep them updated.
On MT4: Unless the current chart is that specific symbol(s)/TF(s) referenced, you must handle 4066/4073 errors before accessing candle/indicator values.
Download history in MQL4 EA - Forex Calendar - MQL4 programming forum - Page 3 #26.4 (2019)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.12.15)
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)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use