The MetaTrader Strategy Tester is for testing MQL programs (Indicators and Expert Advisors).
The MetaTrader Strategy Tester is for testing MQL programs (Indicators and Expert Advisors).
I want anaylze multiple variables using spreadsheet then create signals send them to MT5 using python.
In order to test my strategy I want simulate them in Strategy Tester. How to implement my idea ?
I have already answered. MetaTrader 5 Strategy Tester is for MQL5 programs, not for Python scripts.
To back-test Python you will either have to create your own back-testing environment or find and existing 3rd party solution.
I have already answered. MetaTrader 5 Strategy Tester is for MQL5 programs, not for Python scripts.
To back-test Python you will either have to create your own back-testing environment or find and existing 3rd party solution.
It's called "doing research". For example, doing a search — https://www.mql5.com/en/search#!keyword=Python%20backtest&module=mql5_module_forum
Alternatively, program in MQL5 instead of Python.![GitHub - OpenTrading/mql4zmq: MQL4 bindings for ZeroMQ GitHub - OpenTrading/mql4zmq: MQL4 bindings for ZeroMQ](https://c.mql5.com/36/64/github-opentrading-mql4zmq-mql4.png)
- OpenTrading
- github.com
![Documentation on MQL5: MQL5 programs / Testing Trading Strategies Documentation on MQL5: MQL5 programs / Testing Trading Strategies](https://c.mql5.com/36/64/documentation-on-mql5-mql5-programs.png)
- www.mql5.com
from your problem statement you can't use the tester as Fernando has said already. The next best option I think would be to just fire your orders from python and test on a demo MT5 account. If you want to test the efficacy of your signals then use a python backtesting platform before you run on MT5 demo.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi Team
Metatrader5 have integrated python, I can see trade functions can be used.
Is it possible to test strategy tester from python ?