Hi! I am slightly new in MetaTrader5, and I wanted to know if it is possible to download market data using an API. I am currently doing it manually using the desktop app, but I wanted to know if it can be done through a script or something. More specifically I am interested in downloading the bars data. Thanks!
- How can I retrieve specific mt4 indicator data using python api
- Hot to get data from Metatrader 4.
- Script to download 1M currency data ?
Suraj Rohira: Hi! I am slightly new in MetaTrader5, and I wanted to know if it is possible to download market data using an API. I am currently doing it manually using the desktop app, but I wanted to know if it can be done through a script or something. More specifically I am interested in downloading the bars data. Thanks!
You can code a MQL5 program to download the Bar or Tick data — Documentation on MQL5: Timeseries and Indicators Access
You can also use the Python API as well — Documentation on MQL5: Integration / MetaTrader for Python
Fernando Carreiro #:
You you can code MQL5 programs to download the Bar or Tick data — Documentation on MQL5: Timeseries and Indicators Access
You can also use the Python API as well — Documentation on MQL5: Integration / MetaTrader for Python
Great, I'll give it a go. Thanks!
Suraj Rohira #: One more question, I have a basic script that downloads the historical data. Would it be possible to run this script from a C# application? For example, connect to MetaTrader5 through the C# app, and then run the script.
You say you have a "script". What script and in what language?

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