Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Access the CodeBase from your MetaTrader 5 terminal
Couldn't find the right code? Order it in the Freelance section
How to Write an Expert Advisor or an Indicator

Top MQL4 and MQL5 source codes based on user ratings - 75

Submit your code

Trading the STRONG against the weak!

Regression Channel with variable polynomial degree - indicator for MetaTrader 5.

provides clear arrows which clearly show the direction of the currency pair.

MQL5 version of geometric moving average.

The Swing High/Low Identifier for MetaTrader 5 marks significant swing highs and swing lows directly on your chart with color-coded arrows. This tool helps traders quickly identify key price levels, which can serve as resistance and support, and is ideal for trend reversal analysis, support and resistance mapping, and enhancing price action strategies. By highlighting these crucial swing points, it provides valuable insights for making informed trading decisions and optimizing trading strategies.

Interface for implementing asynchronous execution of algorithms

3rd Generation Moving Average is an advanced version of the standard moving average (MA) indicator for MetaTrader. It implements a rather simple lag-reducing procedure based on the longer MA period. The method was first described by M. Duerschner in his article Gleitende Durchschnitte 3.0 (in German). The presented version uses λ = 2, which provides the best possible lag-reducing. Higher λ increases similarity with the classic moving average. The indicator is available for both MT4 and MT5. It does not require using any DLL

The ColorBars Indicator paints bars with different colors depending on the volume changes. If the volume has increased, the color is green, overwise the color is red.

The example of button, created using the object of OBJ_BITMAP_LABEL type.

Trade signals based on "Bullish Engulfing/Bearish Engulfing" candlestick pattern, confirmed by Commodity Channel Index (CCI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

Trade signals based on "Hammer/Hanging Man" candlestick pattern, confirmed by Relative Strength Index (RSI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

The strategy is following: when outer (outside) bar appears, it checks the fact of the inner bar breakthrough in trend direction and generates a signal to open position. A module of trade signals is compatible with the new version of MQL5 Wizard.

This indicator solves an issue of the use of digital filters in the client terminal.

The indicator for multi-currency technical analysis based on the related financial assets resonances.

More smoothed Momentum with colored indication of the current trend.

The DailyPivot Points indicator helps to compose a picture of market future movements, in distinct from the other tools that hang behind the market.

The library provides simple matrix operations: addition, subtraction, multiplication, inversion.

The CWPROnArray class is intended for calculation of Williams' Percent Range (%R) on indicator buffers. The example of use of the class is provided.

CCCIOnArray class is designed for calculation of Commodity Channel Index (CCI) values on indicator buffer. The example of use of the class is provided.

ZigZag indicator version displaying results of its calculations from the larger timeframe at the current one.

Two rectilinear channels of standard deviations + curvelinear channel of the parabolic regression with interpolation of a price chart future values.

The semaphore signal indicator with the values based on five technical indicators: LWMA, SMA, RSI, Stochastic, MACD.

The class is designed for calculation of the technical indicator Moving Average of Oscillator (Moving Average of Oscillator, OsMA) using the algorithm of the ring buffer.

The script for searching the maximum, minimum and average values of candlestick size

A trailing stop module based on the WPR indicator with short and long Stop Loss

When you drag this script onto the chart, it will calculate the price where you drop the script and use this price to figure out if a Buy Stop or Buy Limit pending order should be placed.

A trading system that uses the Candle Momentum indicator.

The indicator plots three equidistant channels with the calculation periods defined in input parameters.

The Fractal Dimension Index determines the amount of market volatility.

The JMASlope indicator with the timeframe selection option available in input parameters.

A set of Pivot levels.

Symbol for downloading the history data for the current symbol with indication of progress.

The Bezier indicator with additional trend strength indication using colored dots based on the standard deviation algorithm.

Semaphore signal indicator based on the i-Sadukey_v1 digital filter.

The BinaryWave_HTF_Signal indicator shows a trend direction or a signal based on the BinaryWaveSign indicator.

The ColorLeManTrend indicator with the timeframe selection option available in the input parameters.

The FX5_SelfAdjustingRVI indicator with the timeframe selection option available in the input parameters.

This indicator is an example of smoothing the Force Index indicator timeseries by filtering high-order harmonics.

The Kolier_SuperTrend with the timeframe selection option available in the input parameters.

The indicator paints candlesticks depending on the minimums and maximums of the previous bars.

1...686970717273747576777879808182...193