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

Soumettre votre code

A script for placing two Buy and Sell Stop orders at an equal distance.

A fractal based indicator.

The Exp_XROC2_VG_X2 trend-following trading system is based on the signals of two XROC2_VG indicators.

The script saves current chart settings to a template with the specified name.

The indicator displays trend power and direction based on four moving averages.

HTML file converter for the economic calendar. The script parses a page downloaded from http://www.investing.com/economic-calendar, and forms a CSV file with the list of news.

The Keltner channel with customizable calculation parameters.

A moving average drawn as candlesticks on a chart.

Instead of using Simple Moving Average it uses EMA (Exponential Moving Average), and instead of using mean deviation it uses EMA deviation (originally published here EMA Deviation).

Quadratic Regression MA is a sort of a linear regression value variation, but faster in response to market changes.

The Expert Advisor places four positions with different Take Profit levels per time. As soon as one Take Profit triggers, the other positions will be moved to breakeven.

This version of the Accumulative Swing Index indicator is attempting to add some more functionality to it by producing much smoother results.

An indicator for constructing Renko bars in the chart sub-window.

The indicator implements a breakout system using the XHullTrend_Digit indicator cloud

CCI JMA based

The JMACandleTrend_HTF_Signal indicator shows the trend direction or a signal for performing a trade generated by the Skyscraper_Fix indicator at the chosen bar as a graphic object with colored indication of the trend or the trade direction, generates alerts or sound notifications if there are signals for performing trades or sends push notifications to a smartphone

BB stops JMA - multiple stops

DSL Chande momentum oscillator - smoothed

Indicator Volatility Quality Index

Volatility adjusted WPR (Williams Percent Range)

A channel is a trading range between support and resistance levels that a stock price oscillates in for a period of time. This indicator draws the resistance and support lines based on the peaks and valleys that are found within a defined period of time.

Indicator Double-deviation Bollinger Band with cloud

Smoothed WPR with floating levels and on chart support / resistance levels

Donchian channel - extended, multi time frame version

ATR

Average true range

Range BreakOut EA. The range is defined by the min number of bars and max width in pips. This expert advisor is designed with visual strategy builder - Mission Automate. Code is generated automatically. More info: https://www.mql5.com/en/articles/4951

Monster Trend indicator that uses data from several time periods.

This script allows a user to find out instance_id of the running MetaTrader instance/installation.

This is MQL5 project packer: assemble all source and resource files from dependencies into a single ZIP.

Doulble MA Cross Draw Histogram MT5

Weighted deviation bands

I wanted to build a moving average which would create an alert when the price moves over the line by a user defined amount of points. It creates both bullish and bearish signals depending on the direction of market price moving through the MA. It is designed for slow length moving averages (default is 200-day MA). EDIT: I now added a second version of the indicator which uses Arrow buffers instead of ObjectCreate.

Cet indicateur calcule le nombre de mouvements dans une direction au cours de la période sélectionnée.

Un indicateur de signal simple basé sur le RSI et la moyenne mobile. Il trace des flèches d'achat/vente lorsque le RSI est supérieur/inférieur à 50 et que le prix est supérieur/inférieur à la moyenne mobile.

Utility MT5 EA that sends BUY/SELL deal notifications to Telegram via Bot API (WebRequest)

Le script illustre le contrôle des propriétés du graphique à l'aide des classes de la bibliothèque standard (CChart).

Utilisation du perceptron, apprentissage automatique

Les signaux de trading basés sur le modèle de chandelier "Bullish Engulfing/Bearish Engulfing", confirmé par l'indicateur Relative Strength Index (RSI) 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.

CCI (Commodity Channel Index) normalisé symétrique avec différents algorithmes de calcul de moyenne - ultralinéaire et JMA.

L'indicateur Stalin appartient au type "signal", c'est-à-dire qu'il donne au trader des points d'entrée précis sur le marché.

1...798081828384858687888990919293...198