- trading EA for mt4 using python
- Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6.
- Python module (A script for extracting data from Metatrader)
Your answer is not applicable to Python scripts using the MT5 API. It would only be applicable for MQL EA's not Python. The Strategy Tester cannot back-test or optimise a Python "EA".
Unfortunately there is no easy solution if you want to continue to code your "EA" in Python and the MT5 API.
The simplest of solutions is still the original one—to code your EAs in MQL and not Python.
Unfortunately there is no easy solution if you want to continue to code your "EA" in Python and the MT5 API.
The simplest of solutions is still the original one—to code your EAs in MQL and not Python.
I have no problem coding the EA in MQL, maybe if I made my intentions clear to you you'd be able to shed more light for me:
I realized that whenever I move my EA from one chart to another its parameters need to be optimized again for that particular market.
So I figured that if I could perform just one slow optimization with the EA's default settings, I can then take the results of the slow optimization and use them to train a Machine Learning Model that will predict which settings will generate greater profits.
This is where things fell apart, running the Optimization from Code.
I am not particular about whether I run the optimization using python or MQL5, however all statistical analysis will be done in Python using scikit learn.
Do you now see the full picture? And how could I run the optimization using MQL?
To be honest, I don't have much faith in AI driven EAs and I have yet to see one that can outperform a conventional EA (non A.I.).
I'm a follower of the K.I.S.S. method, and prefer simple EAs, especially when they are self-adapting and require no optimisation.
To me, I consider A.I. EAs as equivalent to Rube Goldberg machines, trying to achieve the simplest of tasks.
So in essence, I have never faced your requirements.
To be honest, I don't have much faith in AI driven EAs and I have yet to see one that can outperform a conventional EA (non A.I.).
I'm a follower of the K.I.S.S. method, and prefer simple EAs, especially when they are self-adapting and require no optimisation.
So wait in conclusion is it possible to run an Optimization Test using MQL5?
And if it is, how is it done?
Your answer is not applicable to Python scripts using the MT5 API. It would only be applicable for MQL EA's not Python. The Strategy Tester cannot back-test or optimise a Python "EA".
To be honest, I don't have much faith in AI driven EAs and I have yet to see one that can outperform a conventional EA (non A.I.).
I'm a follower of the K.I.S.S. method, and prefer simple EAs, especially when they are self-adapting and require no optimisation.
To me, I consider A.I. EAs as equivalent to Rube Goldberg machines, trying to achieve the simplest of tasks.
So in essence, I have never faced your requirements.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use