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

Soumettre votre code

This MQL4 EA is designed to close positions for a basket of currency pairs based on certain profit and loss thresholds.

This script will close all active trades and delete pending orders based on the order type passed on the input.

This code can detect if its a friday of the first week of the month. It is usually to detect days with NFP. Sone trader dont want to trade at that day. Maybe this code can help some one who need it

This is a template switcher script mq4 file. This script will work with your MT4 (Metatrader 4) platform. It is to switch between templates.

The script creates a text object on the chart that continuously rotates and changes its position based on price levels.

The indicator displays the actual range of the hourly candle in percent and the calculated range based on average statistics.

ZigZag with automatic step size detection for changing wave direction.

This EA is a cleaned and minimized version of the RRS Randomness in Nature EA. It opens trades randomly with random currency pairs, random lot sizes, and random order types. This EA does not rely on any technical skillset such as indicators, price action, news calendar events, or candlestick patterns. It offers multiple trading strategies, risk management plans, and other customizable settings.

This is an indicator to calculate 14 types of moving averages based on close price.

A modified verion of the Chande & Kroll's Stop indicator. The author consider that the ChandelierStops_v1 is very similar to it and look better than the Chande & Kroll's Stop.

A modified parabolic. It readjusts the entering/leaving points according to the situation on the market.

Indicator FFS CrossTiming. Shows a trend of all cros'ов, connected with the considered pair. Further see in a code of the indicator.

MTF-Dinapoli_Target indicator. Works together with DinapoliTargets.

Indicator ToR_1.20. The indicator shows development of a currency pair.

One more indicator Demarka, is under construction on the basis of comparisons of a maximum of a current bar is compared to a maximum previous.

The strategy underlying this EA is based on the indicator of MA.

Предсказание цен пересечения графика CCI с заданным уровнем FindCCI.

Forex Second Chance EA is a modification of Moving Average Convergence Divergence EA. Here, I have included "TrendShift" to the parameters and it is doing good.

Now with more options. Opens and closes orders on first parabolic SAR signals.

early Range, Break with RSI-Filter, Hedging, TrailingSL/TP with Vola-Filter, DayTrading Start- and Endtime, autoClosing, all Comments and Alerts.

This indicator reflects the positive difference between the High and Low of the period.

This indicator is a tool to show history orders on the chart.

Spread MetaTrader indicator — displays current spread in the main window of the chart. You can modify the font parameters, indicator's position and the normalization of the spread value. The spread is redrawn after each tick, ensuring the most current and active spread value. This can be useful for brokers with variable spreads or with spreads that are widened often. You can also enable a spread label to be shown near the current Bid line. The indicator is available for both MT4 and MT5.

Support and Resistance MetaTrader indicator — as the name of this indicator suggests, it displays the support and resistance levels. It shows them directly on the chart, providing an easy help when you want to set stop-loss or take-profit level, or when you want to see the next market target. This indicator uses the standard MetaTrader Fractals indicator (by Bill Williams' method) and has no changeable input parameters. This indicator is available for MetaTrader version 4 and 5.

2 Moving Averages is a custom MQL4 indicator that uses two moving averages (fast and slow) to identify potential trend changes and generate buy or sell signals based on crossover points. It enhances signal reliability by optionally integrating support and resistance levels, helping traders confirm entry and exit zones. This tool is suitable for trend-following strategies and works across multiple time frames.

mt4 version of original indicator

Below you can find a super simple method to create a license based on MT4 account name. Place in your init function: CheckLicense(); The stringLower method makes sure the account name is in lowercase. Then you can check this value with the account name you want to check.

This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.

improved version of the standard Simple moving average indicator with a lower delay based on: https://www.mql5.com/en/code/30844 (author: https://www.mql5.com/en/users/mladen)

This indicator combines two moving averages to generate buy/sell signals based on crossovers. It also plots Fibonacci retracement levels using recent swing highs and lows for support/resistance. Visual arrows mark trade signals, and optional alerts notify users in real-time. Works on all timeframes for flexible technical analysis.

Set Auto TP and SL: Automatically setting Take Profit (TP) and Stop Loss (SL) helps manage risk and lock in profits without manual intervention. This feature ensures each trade has predefined exit levels, reducing emotional decision-making and improving trading discipline. Ideal for both beginners and experienced traders, it provides consistency and protection in volatile markets.

Belongs to the Pivot group.

Indicator ITrend.

KAGI-1 indicator.

Modified indicator HMA.

three indicators to use with the Raghee Horner method

Another version of ZigZag, where the step size for changing the direction of the segment is set in price points.

Multi_BreakEven is a script file that allows multiples entry positions to set to breakeven using pips or target price when the trade is in your favor.

12345678910...104