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

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

Soumettre votre code

The McGinley Dynamic indicator was developed by John McGinley and outlined in the Market Technicians Association's "Journal Of Technical Analysis" in 1991. The purpose of this indicator is to address flaws found in conventional moving averages, such as price separation and whipsaws. The result is a remarkable indicator that follows the average price of an instrument while adapting to current market speeds.

Indicator based on Hull Moving Average.

A trading system based on the Donchian Channel indicator.

A variation of linear regression.

Cluster indicator based on article https://www.mql5.com/en/articles/1464

Indicator Choppiness Index

KDJ

KDJ oscillator defines when it is necessary to search for market entry conditions.

Keltner Channel calculated as Perry Kaufman's Adaptive Moving Average (KAMA) +- ATR distance for the bands.

Super SAR is a signal indicator based on SuperTrend and iSAR.

ATR-based ZigZag implementation.

Phase change index - JMA

Step chart of stochastic

JMACandle indicator with two colored channels based on standard deviations from High and Low of the indicator candles

Indicator RJTX_Matches_Smoothed in the main chart window

Three standard deviation channels using indicator buffers based on the number of bars defined in the indicator inputs

The indicator plots support/resistance levels and areas

Volatility quality - zero line and ATR based

Slope Direction Line / Moving Average confirmation bars indicator

Smoothed Standard Deviation

Ehlers Fisher transform (as originally described in the book)

Displaying the latest closed values of indicator Float_Pivot_Digit with colored rectangles and background filling

Indicator Multi timeframe Dynamic Trend

Indicator Market Session

Indicator Thrust Bar

EMA to SMA MACD - on chart

Bandpass filter

This script will change the SL and TP of all open trades of the symbol to the price where the script is dropped off.

Random number generation using the 32-bit PCG generator.

When the subject changes, it notifies and updates its observers, who know nothing about each other.

Discontinued signal line CCI using average of price for filtering signals

Le code ci-dessus est un indicateur "Hammer" qui détecte les formations de chandelier marteau (haussières et baissières) et les formations de marteau inversé (haussières et baissières) sur un graphique MetaTrader 5. Cet indicateur identifie les configurations de renversement de prix en calculant la taille et le ratio des mèches des chandeliers sur la base de paramètres ajustables : MaxRatioShortWick, MinRatioLongWick et MinCandleSize. Lorsqu'un motif est détecté, l'indicateur affiche une flèche colorée près du prix le plus bas ou le plus élevé de la bougie, en fonction de la direction du motif. Le code comprend également des fonctions permettant de créer et de supprimer automatiquement des objets lors de l'initialisation ou de l'arrêt de l'indicateur.

Indicateur stochastique parmi tous les oscillateurs intégrés au terminal MetaTrader 5.

Indicateur de moyenne mobile, pouvant être appliqué à n'importe quel horizon temporel (supérieur ou inférieur à l'horizon temporel du graphique actuel). Inclut : SMA, EMA, SMMA, LWMA, AMA, DEMA, TEMA, FRAMA et VIDYA.

Les signaux de trading basés sur le croisement des prix de deux moyennes mobiles lissées de manière exponentielle en intraday sont pris en compte. Le code de l'Expert Advisor basé sur cette stratégie peut être généré automatiquement à l'aide de l'Assistant MQL5.

Exemple d'utilisation des ressources. Il crée un bouton, utilisant l'objet de type OBJ_BITMAP_LABEL.

Une personne qui parle simplement.

Indicateur de direction de tendance BrainTrend1.

La condition pour un signal d'achat est une bougie formée de couleur bleue, la condition pour un signal de vente est une bougie formée de couleur rouge.

Indice de canal des matières premières avec algorithme de calcul de moyenne sélectionnable et niveaux de survente/surachat changeant dynamiquement.

La technique de trading de Darvas est basée sur une méthode qu'il a développée pour identifier une tendance naissante.

1...636465666768697071727374757677...199