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

Bibliothèque de code source MQL4 pour MetaTrader 4 - 37

icon

La plus grande bibliothèque comprend des codes de Expert Advisors, d'indicateurs techniques et de scripts de trading gratuits. Grâce aux applications disponibles, vous pouvez effectuer des transactions en mode automatisé et analyser la dynamique des prix. Utilisez la bibliothèque de codes pour en savoir plus sur les sentiments des marchés financiers.

Téléchargez des applications gratuites, testez-les et exécutez-les dans votre MetaTrader 4. Vous pouvez y accéder depuis la plateforme MetaTrader 4 et l'environnement de développement MetaEditor.

Soumettre votre code

The indicator displays the number of ticks inside the candlestick.

When the stochastic enters the overbought or oversold area, the first lot is opened, if the chart is reversed, then operate with one lot.

The new version of the Mc_valute_v8_final EA. It works well on a flat market.

The unique FX_FISH indicator is widely used by the Western experts to trade in the foreign exchange market, stock market, and others.

Plotting principle - digital filtering.

(Fast Adaptive Trend Line)– the «fast» adaptive trend line is calculated using a digital low-pass filter with a small cutoff period.

A simple indicator of dynamic support and resistance levels.

The Lines_Create script creates 2 horizontal lines on the chart with the names UP_LEVEL and DOWN_LEVEL. The Lines_Delete deletes the lines created by the Lines_Create script from the chart. The Lines_RASST script is an addition to the Lines_Create script.

This script is designed for obtaining various statistical data on the chart candlesticks on the selected timeframe.

2 scripts for the analysis of trading results. Useful both for investors and traders.

The calculator estimates the value of one point of a currency pair and the maximum stop loss for the user-defined lot.

System concept: The Donchian Channels are quite popular among the trend following systems.

The operation logic is as follows: Once a local maximum\minimum has been determined several horizontal lines will be drawn. The white one is an entry point, the following lines in its direction are targets. Naturally, the first one is the most reachable.... Red line is a stop line.

This indicator is a conversion of the Darma indicator set from MT3 to MT4.

Originally the DT mode was used by klot in his DT-ZigZag.mq4 indicator.

DM

The "Directional Movement" (+/-DM) indicator. Developed by Wilder to improve the PTP indicator.

The EA was created similarly to EA that won the first place in the championship.

This indicator help you keep 3 different timeframes on the screen to see the price action clearly on both short term and long term without switching buttons.

This library is made for experts that need to calculate StopLoss and TakeProfit without putting SL/TP points on the trade.

This is an indicator which draws Fibonacci levels as indicator indexes.

This library made to simplify calculating your stop loss.

This library has SmartTrail trail function that depends on the previous candle.

It calculates the lot size depending on risk percentage entered by user in input parameters.

PriceAction indicator based on indicating Price Action candles. It indicates each candle type by different colored histogram bars.

This library has two functions: first to count OP_BUY positions and second to count OP_SELL positions.

This library has two functions: BreakEven & TrailingStop.

This function calculates your lot size depending on definite conditions explained in input variables.

This Expert Advisor depends on Moving Average 400 to indicate trend and "slope-direction-line" indicator, it will be attached with EA.

Buy and Sell arrows for Alligator signals.

This indicator will write value degrees of the lastest position of Price / MA / WPR / RSI / Stochastic at the current Timeframes.

Expert Advisor created using hedge function and the moving average indicator.

Show multi timeframe Moving Average on one chart.

Expert Advisor based on Commodity Channel Index (CCI) indicator.

Harami slightly modified.

This is my first expert totally based on RSI.

Institutional-grade MTF RSI Dashboard v2.0. Re-engineered for 2025 with Zero-Lag engine, Divergence detection, and Multi-TF Confluence. Architecturally reviewed by Opus 4.5 for maximum reliability

Click "Close All" button to close all your open & pending orders at once.

Roboost is an EA for MetaTrader 4 trading using several half-scalping and traditional trade management techniques. It shall work on different pairs and TF. Target is H1 for major pairs.

The multi-currency arbitrage tactics.

This tiny script visually demonstrates the identity of two common Moving Averages

1...303132333435363738394041424344...105