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

The script deletes all orders of the type specified in settings, on the current symbol.

A histogram of maximum and minimum values of parameters SYMBOL_SESSION_BUY_ORDERS — "the total number of current buy orders" and SYMBOL_SESSION_SELL_ORDERS — "the total number of current sell orders". The drawing style is DRAW_HISTOGRAM.

This utility tracks positions opened manually or by another EA for the current symbol and opens an opposite position. Opening the positions is tracked in OnTradeTransaction.

Two ZigZag indicators are used for analysis.

Returns the profit of a position in points, as well as commission, swaps and profit in money based on the trading history.

A channel based on peaks and troughs of ZigZagOnParabolic.

The indicator calculates the ATR value based on the minimum price differences of the current and previous day, taking into account the volume of the current day.

Signals are generated by the iBands, Bollinger Bands indicator. When a signal is received, opposite positions are closed.

RMO

The tend indicator: Rahul Mohindar Oscillator

Indicator AnchoredMomentum with the timeframe selection option available in input parameters.

The oscillator shows standard deviation calculated on the difference between the High and the Low.

An information-forecast MACD on the price chart

Indicator Aroon.

An unorthodox approach to indicator MACD: The EA calculates the indicator's area displayed above and below zero line.

GB

Indicator GB (Gaussian Bands) works in the same manner as standard indicator Bollinger Bands. However, unlike the former, it performs filtering centerline and deviation lines by Gaussian method. It also has two deviation lines on each side of the centerline.

PAC

PAC (Periods After Crossing MA) is an oscillator displaying the number of bars elapsed after the last crossing of the price and the moving average.

A configurable RSI

The EA uses Martingale. Initial entry by indicator iStochastic (Stochastic Oscillator).

The indicator paints candles going beyond the CandleStop channel.

iATR (Average True Range, ATR) and iStdDev (Standard Deviation, StdDev) indicators are configured for crossing of the two iMAs (Moving Average, MA) plus for Buy and Sell separately.

Multi Averages Slopes indicator that checks slopes of 5 (different period) averages and adds them up to show overall trend. Averages that can be used in this indicator are the: SMA, EMA, SMMA, LWMA.

Multi timeframe version of the Trend Trigger Factor JMA indicator.

Force index - JMA

A trading system based on the signals of indicator FineTuningMACandle

Filtered price using self adjusting deviation for price filtering

Provides an interface for creating families of related or dependent objects without specifying their concrete class.

MACD beginner tutorial to learn how to code in MQL5

AMA - Adaptive Moving Average - beginner tutorial to learn how to code in MQL5

modification des prix des caractères sur un intervalle

This tool will calculate the acceptable lot size based on a stop loss distance and risk percentage

A sample pine code converted to MQL

L'indicateur SAR Parabolic a été développé pour analyser les tendances des marchés.

La bibliothèque MovingAverages contient des fonctions pour le calcul de différents types de moyennes mobiles.

The OnTick event handler is designed to proceed the ticks for a certain symbol. This is the version of Multicurrency tick event handler.

Chart reinitialization with recalculation of all chart indicators.

The script allows you to place the deals history on the chart using the graphic objects.

New version of the sChartsSynchroScroll script.

The Expert Advisor uses the Moving Average and Stochastic indicators.

Le style de dessin DRAW_HISTOGRAM est utilisé pour tracer les valeurs du tampon de l'indicateur sous forme d'histogramme.

SuperTrend trend indicator.

1...394041424344454647484950515253...188