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

Soumettre votre code

The EA is based on two iMAs (Moving Average, MA) and iMomentum (Momentum) filter crossing.

Multi timeframe version of the Trend Trigger Factor indicator.

Deviation Oscillator - a volatility oscillator which represents a difference between the price and the MA, normalized within the selected range.

This version of Jurik Velocity extends the original by allowing you to change the "power" of the calculated averages used for velocity calculation.

Ultra Trend indicator that uses a "fast" (fast in response to market changes) Zero Lag DEMA for trend calculations.

Trend Envelopes indicator that uses ATR for the price change calculation and is adding prices smoothing prior to be used in calculations.

Smooth ATR

Instantaneous trend line - using levels for signals filtering

Trend analysis index - improved and corrected version

An EA based on indicators iRSI (Relative Strength Index, RSI) and RFTL

Working by iMA (Moving Average, MA) and OHLC of W1 timeframe

Indicator Mean reversion

The Expert Advisor applies iADX (Average Directional Movement Index, ADX) and iBands (Bollinger Bands, BB) indicators

SpearmanRankCorrelation_Histogram indicator with the timeframe selection option available in input parameters

The Fib_SR indicator with three additional support and resistance zones

Indicator Heiken_Ashi_Smoothed_VolatilityStep without rounding, multiplied by the averaged volumes

Indicator MACD Overlay

Indicator Stochastic Overlay

Indicator Market Session

Indicator Multi timeframe Gann Hi Lo Activator

Indicator Smoothed ADX

Relative Strength Index that completely removes noise, works on all markets!

The code above is a "Hammer" indicator that detects candlestick hammer formations (bullish and bearish) and inverted hammer formations (bullish and bearish) on a MetaTrader 5 chart. This indicator identifies price reversal patterns by calculating the size and ratio of the candlestick wicks based on adjustable parameters: MaxRatioShortWick, MinRatioLongWick, and MinCandleSize. When a pattern is detected, the indicator displays a colored arrow near the candle’s lowest or highest price according to the pattern’s direction. The code also includes functions to create and delete objects automatically when the indicator is initialized or stopped.

This indicator is based on simple MACD but allows you to choose also timeframe of indicator, different from current. You can choose current timeframe of chart (then indicator shows the same values as common MACD) or any higher timeframe.

There is a Price Channel indicator, but I don't like it, because it fills all the space between the upper and lower boundaries. This version of Price Channel looks like in MetaTrader 4.

Les signaux de trading basés sur le modèle de chandelier "Hammer/Hanging Man", confirmé par l'indicateur Commodity Channel Index (CCI) 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.

Le style de dessin DRAW_COLOR_ARROW trace les flèches de couleur (symboles de la police Windings).

Fast Adaptive Trend Line (FATL) is based on the low frequency digital filter.

The indicator generates buy and sell signals and issues alerts in case of the Stochastic Oscillator indicator overbought or oversold levels crossing.

The Mass Index is intended for detection of trend reversals based on changes in the bandwidth between the highest and the lowest prices.

This ZigZag indicator is based on the Parabolic SAR technical indicator.

Simplified Ichimoku indicator (Ichimoku Kinko Hyo) containing only the cloud.

More informative Average Directional Index (ADX) indicator with the possibility to select the smoothing algorithm out of ten possible variants.

CBullsBearsOnArray class is designed for calculation of Bulls Power and Bears Power values on indicator buffers. The example of use of the class is provided.

This indicator is based on the integral value of the trend from the fans of similar moving averages with an arithmetic progression of the smoothing period.

The indicator displays the price location within a specified range.

Weighted Moving Average with a minimal lag using a damping cosine wave as the line of weight coefficients

The class is designed for calculation of the technical indicator Moving Average Convergence/Divergence (Moving Average Convergence/Divergence, MACD) using the algorithm of the ring buffer.

Variation on the non-trivial linear combination of stochastic oscillators

An Expert Advisor based on two indicators - Renko Line Break and RSI. It trades stop orders.

1...495051525354555657585960616263...188