- How to get the data of the first chart bar?
- How to get weekly data from MetaTrader 5 using python
- Python Data Retrieval Issue
The Python API is unable to access indicators, neither internal nor custom indicators.
You will have to code your EA in MQL or rewrite the indicator calculations in Python.
EDIT: And please stop using ChatGPT. It is absolutely useless for MQL or Python for MetaTrader.
The Python API is enable to access indicators, neither internal nor custom indicators.
You will have to code your EA in MQL or rewrite the indicator calculations in Python.
EDIT: And please stop using ChatGPT. It is absolutely useless for MQL or Python for MetaTrader.
I initially wanted to code it in python but I don't know how the indicator is calculated. Its a custom indicator with no documentation. In that case, it's not possible at all to extract indicator data via the python api?
Do you not have the indicator's source code?
If not, then no, not via Python API. Only via the iCustom() function in MQL.
Yes, by using the iCustom function. Even without documentation you can see which values are supplied for which buffers by observing the output in Data Window.
You can also hire someone to do that research for you or to develop the MQL4 EA.

- docs.mql4.com

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use