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 - 39

Soumettre votre code

Le style de dessin DRAW_ZIGZAG permet de dessiner des sections en utilisant les valeurs de deux tampons indicateurs. Il ressemble à DRAW_SECTION, mais il permet de dessiner des sections verticales à l'intérieur d'une barre.

Indice classique du canal des matières premières utilisant la formule habituelle de l'écart moyen avec un algorithme de calcul de la moyenne sélectionnable et des niveaux de survente/surachat dynamiquement variables.

Moyenne mobile utilisant un algorithme de régression linéaire.

La classe CStdDevOnArray est conçue pour calculer l'écart-type (StdDev) sur le tampon de l'indicateur.

La classe CTemaOnArray est conçue pour calculer les valeurs de l'indicateur Triple Exponential Moving Average (TEMA) en utilisant le tampon de l'indicateur.

Module de signaux de trading pour l'assistant MQL5. Le signal d'ouverture des positions est l'apparition d'un point coloré de l'indicateur SilverTrend_Signal.

Cet Expert Advisor illustre l'utilisation de la fonction IndicatorParameters() pour obtenir des informations sur le nombre de paramètres d'entrée, leur type et leurs valeurs.

The alternative indicator for trend definition based on the breakthrough bars and distance from extremums.

A Moving Average with double smoothing

The class is designed for calculation of the technical indicator Adaptive Moving Average (Adaptive Moving Average, AMA) using the algorithm of the ring buffer.

Exemple d'obtention de cotations des indices mondiaux de Google Finance.

The indicator uses the least squares method for the construction of the "most suitable" straight line through a series of points of price values​​.

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

The ChandelierStops_v1Trend_x10 indicator shows the ChandelierStops_v1 trend indicator position from ten different timeframes.

The Expert Advisor enables and disables the "AutoTrading" button at a certain time and closes all opened positions on the account once the specified period of time expires.

Adds period separators to your window, at a time of your choice.

The ZZ Fibo Trader is a simple illustration of the use of the Simple ZZ Fibo, which plots Fibonacci lines on long impulse waves of the ZigZag. In addition, the algorithm illustrates operation of the parabolic system for moving the stop loss.

The Balance of Power (BOP) indicator as a color histogram of strength and direction of the current trend.

Arithmetic and geometric moving averages.

The idea of this one is simple: it should "imitate" as much other moving averages as it can.

The version of well known Woodies CCI with correct implementation of trend changing rules

A variation of Hull moving average that allows speed adjusting of the HMA.

The gradient version of double smoothed EMA indicator.

The semi-automated Expert Advisor using a trend line (TrendLIne).

The simplest EA based on the fractal WPR.

iCrosshairClickTarget indicator for MetaTrader 5 is an improved version of iCrosshair indicator for MetaTrader 4.

A multi-currency Expert Advisor that opens a market position at the user defined time.

The WATR_HTF_Signal indicator shows a trend direction or a trade signal generated by the WATR indicator at the chosen bar as a graphical object with colored trend indication or deal direction. It also triggers alerts and plays audio signals.

Heatmap of Averages.

The Expert Advisor moves trailing stops of all positions on the current symbol.

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

The class monitors the emergence of a candlestick

A trading system based on the Omni_Trend indicator signals.

The indicator allows displaying on a chart eight Moving Averages with the same averaging methods and calculation prices, but with different periods.

An indicator based on Elder's "Safe Zone".

LRL

Linear regression line (LSMA) - a moving average calculated by the linear regression method.

An indicator of important extremums.

This EA uses indicators iCCI (Commodity Channel Index, CCI), ZigZag, and Impulse. Position trailing is possible.

A trading system based on the KWAN_CCC indicator signals.

Indicator PCaudateXPeriodCandleRange with the timeframe selection option available in its input parameters.

1...323334353637383940414243444546...207