Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
Rejoignez notre page de fans
Accédez à la CodeBase depuis votre terminal MetaTrader 5
Vous n'avez pas trouvé le bon code ? Commandez-le dans la section Freelance
Comment rédiger un Expert Advisor ou un indicateur

Bibliothèque de code source MQL4 et MQL5

icon

Vous souhaitez apprendre le langage de programmation MQL5 ou MQL4, mais vous ne savez pas par où commencer ? Divers programmes pour votre terminal MetaTrader sont disponibles ici. Téléchargez et étudiez les exemples de code publiés, développez vos propres indicateurs et Expert Advisors. Publiez vos applications dans la plus grande bibliothèque de codes MQL5 et MQL4, et elles seront disponibles dans chaque terminal MetaTrader et MetaEditor.

Vos exemples de code dans MQL4 et MQL5 seront distribués dans le monde entier, et des milliers de traders entendront parler de vous !

Soumettre votre code

Une stratégie simple de trading binaire qui compte les couleurs des bougies.

Si vous avez accès au code du conseiller expert, vous pouvez enregistrer des graphiques de solde et d'équité et calculer des critères d'optimisation supplémentaires en ajoutant du code additionnel à partir de cette bibliothèque.

Draws the previous day High, Low, and Close as horizontal reference lines on the chart for a configurable number of past days. Yesterday's levels extend into today as live support and resistance, with optional touch alerts.

Trade using MA. An easy indicator to identify the trend direction on a specific timeframe.

Permettre à l'AE de déterminer s'il existe des AE en double sur le graphique en fonction des conditions.

Ce script est un exemple pratique de la manière dont les développeurs peuvent travailler par programme avec des fichiers à l'aide de MQL5. L'un de ses principaux objectifs est de démontrer l'efficacité de l'organisation des fichiers d'un projet, ce qui est essentiel pour les développeurs qui travaillent sur des systèmes à grande échelle ou qui souhaitent créer des projets portables et autonomes. Le concept peut être développé et affiné avec des idées supplémentaires pour soutenir des flux de travail de développement plus avancés.

Stratégie de trading basée sur la simple rupture des niveaux précédents de plus haut ou plus bas

Modern Time Panel for MT5 The Modern Time Panel is a sleek, minimalist custom indicator for MetaTrader 5 that helps you track time with precision. Fixed neatly at the top-right corner of your chart, it displays the current Broker Time, Local Time, and a live countdown to the next candlestick (New Bar). Built with an independent 1-second timer, the countdown continuously runs even when the market is slow or there are no incoming ticks. Fully customizable and dark-mode friendly, it is the perfect non-intrusive tool to ensure you never miss a candle close.

Le détecteur de tendance Martingale utilise l'IA onnx

Fonction de modification des positions ouvertes et des ordres en cours

Calculateur de pertes et profits des positions (ordres ouverts)

monitoring varous trends of timeframes in one timeframes

Trend based grid Expert Advisor for MetaTrader 5 using EMA and RSI indicators. Dynamic lot size is calculated from account balance with minimum and maximum lot protection. Initial trade opens when price confirms trend direction relative to EMA and RSI levels. Grid orders are added at fixed point distance using controlled multiplier. All trades are managed as a basket and closed at defined profit target or maximum loss level. Includes optional news hour pause and market close filter. No DLL or external services required.

The FMO indicator is a technical analysis tool that measures "trend age" using fractal cycles. Its purpose is to help traders determine whether a trend is still young (safe to follow) or over-aged (high risk). A Conceptual Synthesis of Psychology, Sociology, and Life Cycles This work presents a deep analysis of human life through a numerical matrix (3, 7, 39, 49), using it as a conceptual lens for understanding psychology, sociology, and developmental cycles. It is not a conventional scientific framework. Rather, it is a synthesized model — integrating esoteric, psychological, and sociological perspectives into a unified cyclical structure. The goal is to organize and interpret human development through layered, interacting cycles.

Fonction de clôture des positions et de suppression des ordres

ICE Pro v1.0: Momentum Intelligence System. ICE bukan sekadar EA (Expert Advisor) berbasis indikator statis. Ini adalah mesin Adaptive Trading yang menggunakan volatilitas (ATR) dan profil volume sebagai filter utama untuk menyaring mana pergerakan harga yang merupakan "Impuls Sejati" dan mana yang hanya "Market Noise".

adoption de la méthode de Larry William en utilisant AI Time-Series XGBoost

Draws colored range boxes for the Asian, London, and New York sessions on any chart. Includes a stats panel showing average session ranges in pips and optional breakout alerts when price exits a session box.

Overbought and oversold indicators aim to determine where the price may experience a reversal.

Fonction de calcul des lots par pourcentage de risque

Find Perfect Timeframe to trade

Survolez n'importe quelle bougie pour voir ce que MT5 ne montre pas : Taille de l'intervalle, pourcentage du corps, ratios de mèches. Intelligent, rapide et personnalisable.

WPR indicator in chart window with TPSL

ZigZag BOS CHoCH Detection indicator is based on the original MetaQuotes ZigZag algorithm and extends it by detecting and marking market structure events. It tracks recent ZigZag swing points and automatically identifies Break of Structure (BOS) and Change of Character (CHoCH) using pivot trend confirmation. BOS and CHoCH levels are drawn directly on the chart with labeled horizontal lines for clearer price action analysis.

This indicator combine WPR and total profit/loss. I don't know how to tell you more about this indicator but you can try it.

Production-ready multi-timeframe RSI scanner with intelligent alert retry system. Monitors up to 7 timeframes simultaneously, highlights convergence zones when 3+ TFs align, and now auto-retries failed notifications to ensure you never miss critical overbought/oversold setups.

Indicator Description – Candle Close Timer Name: Candle Close Timer Version: 1.0 Author: BENTRADE TRADING Link: https://www.mql5.com/en/users/dahmi_benali

Download all OHLC data history available and save it in a file, either for just one symbol or for many in Market Watch

Adaptive Support & Resistance indicator that automatically detects, tracks, and updates the nearest valid S/R levels using configurable confirmation bars. Levels dynamically shift after confirmed breakouts and extend forward in real time.

Price Action Day Trader is a robust, trend-following MQL5 Expert Advisor designed for intraday trading. It focuses on high-probability price action patterns Pin Bars, Engulfing Candles, and Inside Bar Breakouts while filtering trades through a dual Moving Average trend filter.

This is a service to show entry/exit points of existing positions/deals as trend lines and/or arrows on charts.

Fonctionne à l'aide d'un verrou positif ; le robot de trading crée un verrou positif, et le trader décide lui-même quoi en faire.

Market Structure Expert Advisor use LightGBM (Light Gradient Boosting Machine)

Automated trend-following EA using EMA, RSI, and Stochastic signals to open trades on the last closed candle with Stop Loss and Take Profit.

A professional on-chart panel for instant lot size and risk calculation. Essential for manual traders using strict risk management.

An advanced, institutional-grade trend-following engine using Z-Score adaptive volatility, smart money volume filters, and a real-time MTF dashboard.

La version classique de la stratégie de trading Heads or Tails avec l'analyse du code du bloc de signal.

RiskSizer Panel Lite is a simple MT5 trading panel that calculates an estimated lot size based on your risk percent. Drag two chart lines to set SL/TP, then use one-click BUY/SELL for fast manual execution.

Log

Multi-Mode Logarithmic Transform Indicator.

Marteau personnalisé et marteau inversé

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195