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

Bibliothèque de code source MQL5 pour MetaTrader 5 - 74

icon

Il s'agit de la plus grande bibliothèque de code source gratuite pour les programmes de la plateforme MetaTrader 5. Vous y trouverez des Expert Advisors, des indicateurs techniques, des scripts et des bibliothèques prêts à l'emploi. Utilisez la bibliothèque de codes lors de l'apprentissage du langage MQL5 et développez vos propres applications de trading automatisé basées sur les codes fournis.

Vous pouvez librement télécharger et tester les codes publiés, ainsi que les lancer dans MetaTrader 5. La bibliothèque est également disponible directement depuis la plateforme MetaTrader 5 et l'environnement de développement MetaEditor.

Soumettre votre code

A simple ZigZag with an adjustable step.

Dynamic Moving Average.

An indicator of dynamic support/resistance levels.

The indicator of divergences of High/Low indices.

A module of trading signals based on the Moving Average indicator signal module.

The New High New Low Index indicator.

An indicator of multiple fractals.

The indicator searches for divergences and displays them on the chart of the custom CCI indicator.

Bollinger Bands in the form of an oscillator.

The Expert Advisor uses three iMA (Moving Average, MA) indicators and one iMACD (Moving Average Convergence/Divergence, MACD)

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

The Expert Advisor searches for N identical candlesticks in a row. It buys on bullish candlesticks and sells on bearish ones. The account type is taken into account, i.e. whether it is netting or hedging.

The Expert Advisor works based on the iChaikin (Chaikin Oscillator) and iMA (Moving Average, MA) indicators.

An Expert Advisor trading MACD signals. For those who prefer trading CFDs and futures symbols.

An MQL5 implementation of the adaptive UmnickTrade Expert Advisor.

As a logical step to filter out more the possible false signals, this variation of Schaff TCD RSI is using RSX (which is a smoother RSI than the "regular" RSI) to produce a smoother result.

Schaff Trend Convergence Divergence indicator has the benefit of putting the Schaff Trend CD on a scale of zero to 100, making it easier to identify potential overbought and oversold levels in a currency trend and is using RSI for a final calculation.

Schaff Trend RSX is "a smoother RSI" without a lag, in this version RSX is calculated instead of RSI. That makes the slope much smoother and produces significantly less color (slope) changes.

Schaff Trend RSI is an RSI of the MACD.

In addition to the usual parameters that are controlling the way Kaufman AMA is calculated, this version has adjustable smoothing and filter that can eliminate insignificant AMA changes.

This indicator shows Bulls and Bears power in the same indicator subwindow.

Kaufman AMA MACD is the MACD built exclusively using Kaufman AMA (even signal line is using that). That way this is a completely adaptive MACD (bearing in mind that Kaufman AMA is adaptive Moving Average).

The Price Channel Stop indicator shows the current estimated trend based on channel period and desired risk. It also shows two levels of values that can be used as a stop loss for orders opened based on this indicator (using the trend color change can be used as a signal for a new order opening as well as closing already opened orders).

In the Smoother Momentum Stops indicator the stops are calculated using the smoother momentum and the direction of the stops is determined based on the smoother momentum.

"Sadukey" indicator is an indicator combining two digital filters on a chart to give us an assessment of current trend.

Smoother momentum is one of the possible ways to solve the main issue of the Momentum indicator - the values it displays are far from being smooth, and that can cause a lot of false signals in a lot of cases - regardless of the calculation period that is used.

This indicator is a MetaTrader 5 version of nonlinear regression. Nonlinear regression is very "fast" when responding to sudden market changes so the default calculation period is set to somewhat longer period than it is usual for similar type indicator. Because of that some experimenting with period is advised based on your trading strategy and trading style.

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.

Asymmetric bands indicator is one of the ways to avoid a lag when there is a trend reversal (since the opposite side band is too far from the current price).

This version of Synthetic RSI is using Ehlers smoothed RSI in calculation instead of using "regular" RSI and that makes the resulting synthetic RSI even smoother.

Instead of using one RSI, the Synthetic RSI indicator is using 3 instances of RSI. Those 3 instances of RSI are then used to calculate the "synthetic" value (that is not an average of the 3 since the calculation differs from an average).

The Composite Index was developed to solve the divergence failure problem in the RSI, but its ability to provide specific horizontal levels of support within the indicator adds to its value. The Composite Index takes the normalized formula of RSI and removes the normalization range restrictions. The formula for the Composite Index uses an embedded momentum calculation with a short-term RSI smoothed.

This version of Polychromatic Momentum is using double smoothed EMA for smoothing. DSEMA has been proven for producing very good smooth results with a lag that is almost non-existent, hence, in combination with it, the Polychromatic Momentum indicator becomes much more usable when it comes to signals.

Polychromatic momentum takes an weighted average of all significant lookback periods for the tradable.

Two lines representing positive and negative directional movement. These will intersect and cross during a change of trend and diverge wider and wider as the strength of the trend increases.

This indicator is using filtered prices for RSI (instead of using "raw" prices) and is using Discontinued Signal Line for trend assessment (instead of using slope or fixed levels).

Hull average is used prior to stochastic calculation thus filtering the prices before they are used in the stochastic calculation. This method is used since it adds much less lag than if the smoothing of the already calculated stochastic value would be used.

This version uses double smoothed EMA instead of using Hull average, and since double smoothed EMA is never overshooting, that issue is solved. Being a very smooth average too, double smoothed EMA is really a good filter/average to be used in the "triple" series.

Unlike the similar attempts of smoothing existing indicators, the Double smoothed EMA indicator is not lagging when compared to "regular" EMA.

Glitch Index represents the percentage move price has made above or below the detrended SMA.

1...676869707172737475767778798081...183