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

Soumettre votre code

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.

La classe CFractalsOnArray est destinée au calcul de l'indicateur de fractales par les tampons d'indicateurs.

Cet indicateur montre la dernière "ligne de défense" de la tendance actuelle. Le changement de tendance est indiqué par des carrés de couleur et la direction de la tendance par des points de couleur.

Module de signaux de trading pour l'assistant MQL5. Le signal d'ouverture de position est un changement dans la couleur de la barre de l'indicateur 3LineBreak.

The Expert Advisor is based on CCIT3_Simple and CCIT3_noReCalc. Crossing of the indicator's zero line is used for trading activity.

Weighted Moving Average with a regulated lag using a curve of the normal (or Gauss) distribution as the function of weight coefficients

The class is designed for calculation of a technical indicator Relative Strength Index (Relative Strength Index, RSI) using the algorithm of the ring buffer.

The indicator "collects" the information of a trend lines drawn on a current chart, displays the prices of lines in the last (forming) bar and also either gives signals, or sends alerts when price crosses the trend line upon trader choice

The trend indicator drawn on the basis of a Moving Average

The trend indicator which considers the market volatility

Function to define the trend strength

This Expert Advisor works with Neural Network method

Donchian Channel is a volatility indicator based on the calculation of the current price range with the recent highest and lowest prices.

A trading system that uses the Candle Momentum Index.

The ASCtrend indicator with the timeframe selection option available in input parameters.

The indicator uses analysis of values of Heiken Ashi Open and Heiken Ashi Close.

The indicator changes the bar color to the color of the current trend calculated based on the RSI technical indicator.

1...585960616263646566676869707172...194