Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 658
- Rating:
- Published:
- 2025.05.27 06:50
- Updated:
- 2025.05.27 06:52
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The entire documentation about the files and methods inside can be found in this article >> https://www.mql5.com/en/articles/18208
Ignore the MQL5 based files. All the files can be found in a folder Trade classes Python.zip, below is their short description.
Filename & Path | Description & Usage |
---|---|
Modules (libraries) | |
Trade\AccountInfo.py | Contains the CAccountInfo class |
Trade\DealInfo.py | Contains the CDealInfo class |
Trade\HistoryOrderInfo.py | Contains the CHistoryOrderInfo class |
Trade\OrderInfo.py | Contains the COrderInfo class |
Trade\PositionInfo.py | Contains the CPositionInfo class |
Trade\SymbolInfo.py | Contains the CSymbolInfo class |
Trade\TerminalInfo.py | Contains the CTerminalInfo class |
Trade\Trade.py | Contains the CTrade class |
Test files | |
accountinfo_test.py | A script for testing methods offered by the CAccountInfo class |
dealinfo_test.py | A script for testing methods offered by the CDealInfo class |
error_description.py | Contains function to describe error and return codes to human-readable strings |
historyorderinfo_test.py | A script for testing methods offfered by the CHistoryOrderInfo class |
orderinfo_test.py | A script for testing methods offered by the COrderInfo class |
positioninfo_test.py | A script for testing methods offered by the CPositionInfo class |
symbolinfo_test.py | A script for testing methods offered by the CSymbolInfo class |
terminalinfo_test.py | A script for testing methods offered by the CTerminal class |
main.py | A script for testing the CTrade class, think of it as a final trading robot in Python |

This indicator detects bullish and bearish engulfing candlestick patterns with an optional volume filter to highlight stronger signals.

A dynamic trendline-based evolution of the Donchian Channel

Population-based optimisation algorithms are collected here. The archive contains all necessary files to run the algorithms on test functions.

This Expert Advisor (EA) implements a triangular arbitrage strategy between three currency pairs: EURUSD, USDJPY and EURJPY