On MT4: Unless the current chart is the specific pair/TF referenced, you must handle
4066/4073 errors.
Download
history in MQL4 EA -
MQL4 and MetaTrader 4 - MQL4 programming forum
On MT5: Unless the chart is that specific pair/TF, you must Synchronize the terminal Data from the Server.
Timeseries and Indicators Access / Data Access -
Reference on algorithmic/automated trading language for MetaTrader 5
Hello whreeder1
I went by that topic many times, but now I understand it and its working good for me
thank you so much

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 latest research require other pairs data for the calculation of the current pair, I wrote some code but my script are slow and sometimes freezes the MT4.
is there any library that can solve my problem?
I know MT5 is the right solution, but my broker is still on MT4