I have made a trading bot with python that works with MT5 using the MetaTrader5 module. it fetches data from MT5 to my program and sends back a request for position. now I know that the strategy tester in the MT5 can be used to backtest expert advisors, but I wonder if there is a way to use the tester for a python code; I mean is there a way to make an expert advisor with python instead of mql5(c++)?
- different accounts, different backtesting results
- trading EA for mt4 using python
- Expert advisor in Python
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
msd8181: I have made a trading bot with python that works with MT5 using the MetaTrader5 module. it fetches data from MT5 to my program and sends back a request for position. now I know that the strategy tester in the MT5 can be used to backtest expert advisors, but I wonder if there is a way to use the tester for a python code; I mean is there a way to make an expert advisor with python instead of mql5(c++)?
No, the MetaTrader Strategy Tester is only able to back-test and optimise MQL5 programs, not Python programs.
Consider rewriting your "bot" in MQL5 instead. It will run way faster too.
msd8181:
I wonder if there is a way to use the tester for a python code...
I wonder if there is a way to use the tester for a python code...
MQL5-Python-Backtesting/README.md at main · mkhushi/MQL5-Python-Backtesting · GitHub

MQL5-Python-Backtesting/README.md at main · mkhushi/MQL5-Python-Backtesting
- mkhushi
- github.com
MQL5 based backtesting using python. Contribute to mkhushi/MQL5-Python-Backtesting development by creating an account on GitHub.

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