Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
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

Les meilleurs codes sources MQL4 et MQL5 selon les notes des utilisateurs - 2

Soumettre votre code

Class to access to the local time for the specified location, as well as time zone information and the local trading session hours.

iRSI Very Simple A multi timeframe version is available with colors for orientation, for developers or profitable traders for free. Offer under conditions. Other multi timeframe indicators are also available.

L'indicateur "Net Volume" montre le volume en tenant compte de la pression des vendeurs et des acheteurs.

Linear regression line with an option to be applied to another indicators

main point is changing of MA curve to horizontal line and DPO curve shall represent to distance from close price to zero level or MA curve

This library simulates prop trading firm scenarios by resetting the account balance based on configurable profit and loss thresholds during backtesting, and logs reset results for analysis.

This code shows how you can create a dashboard to display all the relevant information on the chart

This code provides a simple function for sending push notifications to your mobile device whenever trades are opened or closed in MetaTrader 5. It's designed for netting accounts (where only one position per symbol is allowed).

L'Expert Advisor (EA) AutoCloseOnProfitLoss est un puissant outil d'automatisation pour MetaTrader 5, conçu pour fermer toutes les positions ouvertes lorsque des objectifs de profit ou de perte prédéfinis sont atteints.

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

With these classes you can create and test your signals runtime.

Stochastic beginner tutorial to learn how to code in MQL5

A Marubozo is a long-bodied candlestick with no shadow, from the Japanese word meaning "close-cropped". Candlestick charts look at the opening and closing price on a single day and are used by technical traders.

Hidden Engulfing Candlestick Pattern

This is a script to export rates and ticks of current chart's symbol into CSV-files compatible with MT5's export/import format.

Root Mean Square

High and Low Line Indicator

Alerts on trendline break

Synchronized custom crosshair indicator showing price and (server/local) time.

This service periodically checks swaps for predefined symbols and saves detected changes into CSV-files for further analysis and potential replay (not implemented here). Also it monitors and alerts swap changes of existing positions.

Indicateur Zig Zag qui se base uniquement sur un % minimum de retracement de chaque vague précédente, et optionnellement, sur le fait d'être plus grand qu'une taille spécifique mesurée en unités atr.

La partie 3 "Programmation Orientée Objet en MQL5" propose une immersion dans le monde de la programmation orientée objet (POO) dans le langage MQL5. Le développement de logiciels implique souvent une complexité liée à la gestion d'entités multiples, nécessitant une technologie avancée pour améliorer la facilité de programmation, la productivité et la qualité.

ATR - Average True Range - beginner tutorial to learn how to code in MQL5

This indicator uses two moving averages to calculate the market trend and changes color depending on the trend direction.

This indicator calculates the range difference between the 'MACD and Signal lines' and also the range distance between 'the last two MACD bar'.

This is an indicator to calculate 14 types of moving averages based on close price.

Historical Strong S/Rs Levels

It will detect whether there's confluence between the current chart timeframe and two other timeframes.

Les algorithmes d'optimisation basés sur la population sont rassemblés ici. L'archive contient tous les fichiers nécessaires pour exécuter les algorithmes sur des fonctions de test.

This is an update of the "Simple Yet Effective Breakout Strategy". In this code, I have added some helper functions for prop firm challenges.

This EA is a demonstration of how you can implement your own Hedging strategy with the help of the include file.

Bollinger Bands with controllable outer band smoothing (pre smoothing)

Engulfing Bar Occurs below Ema moving Average that is rising - Buy Trade -

An MQL5 Expert Advisor that reacts to high-impact forex news events using the MQL5 Calendar. It identifies news related to inflation (CPI/PPI) and interest rate decisions, placing breakout trades with pending orders. Ideal for traders looking to automate news-based strategies. (This is just a starting point)

This Script & EA enables coders to backtest their news based strategies which use the MQL5 Calendar.

Dessiner les mèches (lignes fines) : Tracer une ligne verticale du prix le plus bas au prix le plus haut de chaque bougie (c'est ce qu'on appelle une "mèche"). Dessiner le corps de la bougie : Dessiner un rectangle du prix d'ouverture au prix de clôture, en utilisant une couleur différente si la bougie est haussière ou baissière. Personnalisation des couleurs : Vous pouvez facilement changer les couleurs utilisées pour les bougies haussières et baissières ainsi que leurs mèches. Dans le code que vous utilisez, par exemple : Les bougies baissières ont un corps marron (clrMaroon). Les mèches des bougies baissières sont violet clair (clrOrchid). A quoi sert-il ? Cet indicateur est utile si vous voulez : Avoir un style visuel unique et clair sur vos graphiques. Différencier plus facilement les bougies haussières des bougies baissières. Analyser le comportement des prix d'une manière plus visuelle.

L'indicateur DailyHighLow est un outil polyvalent conçu pour MetaTrader 5 (MQL5) pour afficher les niveaux de prix haut et bas sur un graphique basé sur une période spécifiée. Cet indicateur est particulièrement utile pour les traders qui s'appuient sur les niveaux de prix clés pour prendre des décisions, offrant une flexibilité grâce à des délais et des méthodes de calcul des prix personnalisables.

MQL5-Like Trade Classes in Python for MetaTrader 5 Python

This indicator is a utility that shows labelled trade levels on any chart. If you want to replace your native trade levels on a native chart, then turn off "Show trade levels" in your F8 Chart Properties and attach this indicator. If you want to show trade levels on a Custom Chart (where native trade levels cannot be shown), then simply attach this indicator. BaseSymbol - specify the Symbol from which the trade level data will be pulled--handy for unique Custom Symbols. TextBarsBack - specify the number of bars back in history from the current bar where the level labels will be drawn. Note: Although magic number is referenced in the code, it is not presently included in the trade lines. If you're running multiple EA's on the same Symbol, you can edit the code to show magic numbers and then run multiple instances of the indicator on one chart. You can also edit the font sizes and text spacing in the object properties as needed for different display resolutions.

Combines a Moving Average with ATR-based upper and lower bands to act as a trend filter and volatility channel.

123456789...190