Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
Rejoignez notre page de fans
Rejoignez notre page de fans
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5

Trade Classes in Python - CTade, CSymbol, CPositionInfo, etc. - bibliothèque pour MetaTrader 5
- Vues:
- 719
- Note:
- Publié:
- 2025.05.27 06:50
- Mise à jour:
- 2025.05.27 06:52
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur 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