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

Soumettre votre code

TRIX (using fast EMA for calculation)

Compute the daylight saving time changes (start/end of the summer time).

Converts trendlines into horizontal lines.

DCC / Piercing

Envelopes beginner tutorial to learn how to code in MQL5

This script helps traders understand the distribution and range of candles in a specific period, which can be useful for making trading decisions such as determining which historical values to use for Take Profit or Stop Loss.

Negative Volume Index (NVI) is a free technical indicator for advanced chart analysis in MT4, MT5 platforms. It is based on tick volume (can be substituted with real volume in MT5) and has two useful features added: Support for multi-timeframe (MTF) operation. Can be switched to show Positive Volume Index.

Breakeven Line Indicator is a MetaTrader indicator that calculates breakeven level based on all open positions and displays it on your chart as a horizontal line. Additionally, it will calculate the total number trades, the total number of lots, and the distance to the breakeven line in points and profit/loss. The indicator is available for both MT4 and MT5.

3rd Generation Moving Average is an advanced version of the standard moving average (MA) indicator for MetaTrader. It implements a rather simple lag-reducing procedure based on the longer MA period. The method was first described by M. Duerschner in his article Gleitende Durchschnitte 3.0 (in German). The presented version uses λ = 2, which provides the best possible lag-reducing. Higher λ increases similarity with the classic moving average. The indicator is available for both MT4 and MT5. It does not require using any DLL

L'indicateur d'Accumulation/Distribution est déterminé par les changements de prix et de volume.

Calcule les fractales et vous permet de spécifier le nombre de barres séparément avant et après le haut / bas actuel (fractale).

The Expert Advisor is profitable only if the "Open prices" only or "1 minute OHLC" modes used in Strategy Tester.

The "Support and Resistance" indicator shows the support and resistance levels using the Fractals indicator by Bill Williams.

This trend indicator shows the current trend direction and moments for closing of the opened position.

CADXOnArray class is designed for calculation of ADX (Average Directional Movement Index) values on indicator buffers. The example of use of the class is provided.

The indicator draws (in a separate window) the Bollinger Bands relative to the moving average and projection of the price bars.

This Indicator is used for calculating trend.

Slightly modified history load function from MetaQuotes.

The indicator which fixes Pin Bars in the chart

The MA will automatically recalculate the period if there are any changes in time frame.

Trading system using the Digital_MACD indicator.

This script finds DeMark pivot points, displays them on the chart and indicates their dimensions.

Simplified version of the popular ZigZag indicator. The algorithm runs significantly faster, does not use intermediate calculation buffers, does not contain nested cycles and, therefore, does not redraw itself.

The Expert Advisor averages losing positions based on a particular algorithm.

Extended swing line indicator

VR---SETKA---3 - MetaTrader 5 Expert Advisor. This is a continuation of VR---SETKA . The EA is based on the martingale principle. Grid. Martingale. Use only on hedge accounts.

Measuring the net performance of MetaTrader 4/5 strategy testers.

Laguerre filter - without the usage of gamma parameter

Trend composed by a series of averages

Indicator ZigZag Oscillator

Demonstration of Canvas's capabilities using 3D spiral quotes as an example.

L'indicateur Relative Strength Index (RSI) est un oscillateur de suivi des prix qui varie entre 0 et 100.

Moyenne mobile universelle avec possibilité de choisir n'importe quel type de moyenne (parmi celles intégrées au terminal MetaTrader 5).

Le style DRAW_LINE est utilisé pour tracer les valeurs du bufer de l'indicateur sous forme de ligne.

Le style de dessin DRAW_FILLING trace la zone remplie entre les valeurs de deux tampons indicateurs. En fait, il trace deux lignes et remplit la zone entre elles avec la couleur spécifiée.

Le style de dessin DRAW_BARS est utilisé pour tracer les barres en utilisant les valeurs de 4 indicateurs tampons avec les prix d'ouverture, haut, bas et clôture.

Instantaneous Trendline shows buy and sell signals, while crossing the moving averages.

CG Oscillator basic and signal lines crossing generates buy and sell signals.

The indicator builds a candlestick chart consisting of floating spread current values in online mode.

1...333435363738394041424344454647...190