Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
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 - 8

Soumettre votre code

Candle Closing Time Remaining (CCTR) is an indicator which displays the remaining time for an open candle to be closed.

Taking a Closer Look at the Workings of the ZigZag Indicator.

The function will filter the trade positon. If the current time in the time you set, the function will return true.

Modified Nick Bilak's b-clock with spread (ask-bid) and font customization (font, color, size).

The indicator of divergences on 30 oscillators of choice.

Scans multiple symbols looking for when the price crosses a pivot point or when xxPoints Near or bounce off pivot then it alerts the trader.

Displays the gains and losses for all candles where the given threshold is surpassed. The values are calculated in points and percentage.

This script will place hedge trade of unbalanced type in MT4.

Backtesting Trade Assistant Panel

Cet Expert Advisor ouvre des transactions basées sur le croisement de deux moyennes mobiles ajustables. Vous pouvez entièrement personnaliser les périodes, le type (par exemple, EMA, SMA), et la direction (long-only, short-only, ou les deux). Il comprend des paramètres optionnels de Stop Loss, Take Profit et Trailing Stop.

The TRIX indicator represents the rate-of-change percentage, smoothed by the exponential МА of the closing price.

Close all multi currency open orders and cancel pending orders according to various scenarios. Slippage for open orders is calculated for each currency. Choose only one scenario per visit, the script processes the first menu item selected.

This is indicators used divergence theory. Red arrow = sell signal and green arrow = buy signal.

Simple coding/decoding of entries in Base64.

It draws a channel with recommendations.

Ensemble de fonctions pour le calcul des résultats d'optimisation.

automatically converts M1-data to M5/M15/M30/H1/H4/D1 in a single run

A trend following indicator that implements Dennis Gartman and Bill Eckhart trading system. Commonly known as "The Turtle Trader".

Connect your indicator to Telegram with 3 lines of code This sample code enables to connect your indicator to Ofir Blue, the first trading application for Telegram

Multi buylimit and buystop orders are script files that enable traders to place multiple orders with ease. With just one command, traders can place multiple buylimit or buystop orders using either a target price or pips. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. This setup includes stop-loss and take-profit levels, which can be adjusted based on the trader's preferences. Notably, these orders come with a level of flexibility that enables traders to fine-tune their trading strategies. For instance, a trader can opt to set the stop-loss level to zero if they do not use stop-loss.

This is another flavour of the original divergence indicator. It detects divergence between price and MACD indicator and gives Buy or Sell signals according to the divergence type.

This indicator places semaphore points on the maximum and minimum of a higher, medium and lower period. Similar to Advanced Get, but without waves numeration.

An effective trade system, it determines the levels of support/resistance, rollback, trend reverse by a complex mathematical algorithm.

Indicator RSI with Trend Catcher signal.

Alert indicator that allows to move the signal via the mouse.

Variable Index Dynamic Average indicator

It opens and closes positions using the crossing of the movable lines.

The MACD Ichimoku indicator uses the Ichimoku structure but applied to MACD values. It tells an entire story in itself which is one of the Ichimoku system strengths.

Close all trades after reaching defined profit or loss

Check out any MQL5 closed positions on a chart.

Connecting to MySQL server from new MQL4.

The purpose of the present code is to demonstrate how easy it is to create color scales, color gradients and heatmaps with the MQL4 language and functions.

The indicator shows candle end time and current spread.

The script closes all charts for the specified symbol.

This is a pretty simple startegy that follows trend. Recommended time frams is D1. when close price brakes up the EMA build based on high prices given that RSI is above 55 and RSI is above its Moving average - we buy. when close price brakes down the EMA build based on low prices given that RSI is below 45 and RSI is below its moving average - we sell. system closes previose trade if there is opposite signal system uses take profit and stop loss as well as trailing stop

L'Indice de Masse est destiné à la détection des virages de tendance en fonction des changements dans la bande passante entre le prix maximal et le prix minimal. Si la bande passante s'élargit, l'Indice de Masse augmente, s'il se rétrécit, l'indice diminue.

The OsMACD indicator is a combination of the colored Moving Average of Oscillator(OsMA) and Moving Average Convergence/Divergence(MACD) indicators.

Universal trend utility for near predictions and making decisions by "stops" and/or "stops/reversals" of the orders.

A set of scripts for quick drawing the Elliott waves.

CustomCandle draws candlesticks of a larger and, perhaps, non-standard (for MT 4) timeframe in the current chart.

123456789101112131415...104