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

Soumettre votre code

DMA (general version).

The vertical version of the BarTimer indicator implemented using the classes of libraries that were described in detail in the article "Custom indicators and infographics in CCanvas", with the possibility to set a fixed timeframe, data from which the indicator displays in input parameters, and producing a sound alert when the bar changes.

Standard VWAP (Volume Weighted Average Price) calculation, but with configurable start position.

MACD High/Low uses the highest high and lowest low of MACD (nnn) bars back to calculate a sort of dynamically changed zero line, early levels up and down and trend confirmation levels up and down. By adding these non-fixed levels, the MACD becomes faster in response to market changes and the MACD trend assessment has less false signals.

Converts a number to a text.

Trend Intensity Index as described by M.H.Pee in his article "Trend Intensity Index".

Two indicators ColorX2MA from different timeframes, the area between lines being filled with a cloud, the color of which corresponds with the trend direction on the market

This indicator calculates the index of a given currency, using the USD index. The Close prices of six currency pairs are used to calculate the index.

Two independent trading systems using indicators BrainTrend2 and AbsolutelyNoLagLWMA within one EA.

Indicator Intraday Intensity Index 2

A simple Pivot. No stop loss and take profit are used.

Wildhog indicator

OHLC Volume indicator

Fibo Average

BezierMA moving average

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

Multi LSMA Slopes indicator checks slopes of 5 (different period) Least Squares Moving Averages (LSMA or linear regression value) and adds them up to show overall trend.

Klinger Oscillator developed by Stephen Klinger to determine the long-term trend while remaining sensitive to detect short-term fluctuations enabling the trader to predict short-term reversals.

The Derivative Oscillator indicator

The trading system based on the JFatlCandle indicator signals with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system

Two identical trading systems (for long and short positions) based on the signals of the AdaptiveRenko indicator, which can be configured in different ways within one Expert Advisor

Time Averaged Price indicator

Indicator RJTX_Matches_Smoothed featuring alerts, emails and push notifications for smartphones

Indicator Compare Prices

The Average change indicator

Specified time range candles indicator

The strategy is based on two indicators calculated on two timeframes: iAO (Awesome Oscillator, AO) on the D1 TF and iStochastic (Stochastic Oscillator, Stoh) on H1.

RSI of smoother average

QQE of Rsi(oma)

This class was developed to exchange data between MetaTrader 5 and CSV files. It converts the strings read from the CSV file to double and integer values depending of the type of the columns. Two producers of CSV files are most important for me. The most important producer are spreadsheet programs, i.e. LibreCalc. Manually entered CSV are the other kind of CSV files I had in mind. Be aware that this class do not use the standard library FileCsv.mqh etc. Instead it works with text files. It splits text lines into fields. Maximum speed and low memory usage were no development goals. This class may not be suited for large datasets or time critical operations. I would not use CSV files if speed was my main goal.

Construit une ligne mobile avec un polynôme de 4 degrés. Extrapole la sinusoïde et son axe. Les lignes construites enlèvent une valeur à chaque barre et une ligne glissante de valeurs extrapolées est construite et n'est pas redessinée.

Indicator DayPivotPoint System with Signal and Alert for MetaTrader 5

Candlestick Wick Imbalance

Copy these into any EA you are busy coding and you"ll have a trailing sl the only things you'll need to change would probably be InpMagic for your magic number or you could just copy my code as is , Remember to add COrderinfo ord; and CPositionInfo pos;

L'Indice de Mouvement Directionnel Moyen de Wilder (ADX Wilder) aide à déterminer la présence de la tendance des prix.

Le script illustre le contrôle des objets graphiques à l'aide des classes de la bibliothèque standard.

Il est utilisé pour lisser les séries de prix et est appliqué directement sur un graphique de prix d'un titre financier.

Bandes de Bollinger ombrées (remplies).

Nonparametric ZigZag, based on the "a-la Clyde Lee Patterns".

Les signaux de trading basés sur le modèle de chandelier "Lignes de Rencontres Haussières/Baissières", confirmés par l'indicateur stochastique, 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.

1...394041424344454647484950515253...190