
In simple English
Writing trading robots for the MetaTrader 5 platform is hard work in its native language. This tool lets you use Python for that task. You get a set of ready-made templates for common trading strategies. It saves you time if you prefer Python over MetaTrader's built-in language. The project is free under the MIT licence and relies on volunteer maintenance.
What it is
A Python library and command-line helper that generates trading strategy templates for MetaTrader 5. It bridges the gap between Python scripts and the MetaTrader platform.
What it is good for
Solo builders who want to test trading ideas in Python without learning the complex MQL5 programming language.
- Generates starter code for common strategies like moving averages and RSI.
- Includes a command-line interface to create strategy files quickly.
- Uses the familiar MIT licence with no commercial restrictions.
- Requires a Windows operating system because MetaTrader 5 runs there.
- Needs MetaTrader 5 installed and configured on your machine.
- Relies on a single maintainer for updates and bug fixes.
Writing native MetaTrader 5 Expert Advisors in MQL5 from scratch
MetaTrader 5 trading platform
- ranaroussi/yfinance26k stars
Downloads market data in Python, but does not execute trades directly inside MetaTrader.
- jesse-ai/jesse8.7k stars
A Python framework for writing crypto trading strategies, testing them against past prices, and running them live.
- hummingbot/hummingbot20k stars
A free framework for writing and running automated trading programs on cryptocurrency exchanges.
- lballabio/QuantLib7.7k stars
The long-established free library for pricing and risk-managing financial instruments.
pip install mqpy