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

Submit your code

Instantaneous trend line - using levels for signals filtering

An EA based on indicators iRSI (Relative Strength Index, RSI) and RFTL

Closing positions when reaching a profit level

Working by iMA (Moving Average, MA) and OHLC of W1 timeframe

Indicator Mean reversion

The Expert Advisor applies iADX (Average Directional Movement Index, ADX) and iBands (Bollinger Bands, BB) indicators

SpearmanRankCorrelation_Histogram indicator with the timeframe selection option available in input parameters

The Fib_SR indicator with three additional support and resistance zones

Indicator Heiken_Ashi_Smoothed_VolatilityStep without rounding, multiplied by the averaged volumes

Indicator MACD Overlay

Indicator Stochastic Overlay

Indicator Multi timeframe Gann Hi Lo Activator

Indicator Smoothed ADX

The script calculates the autocorrelation and partial autocorrelation functions and displays them on a graph

A volume oscillator is a useful technical analysis indicator that predicts the strength or weakness of price trends

The script MinMargins.mq5 is designed to help traders quickly calculate and document the minimum amount of money required to open a position with the smallest lot size for all symbols available in the Market Watch. This data is saved to a CSV file for easy review and analysis.

MACD Divergence indicator

Adaptive moving average crossover indicator for MT5. A range aware fast line and an efficiency aware slow line, color coded bias and arrows on each cross. Gold, forex and indices. Updated October 2026 (v1.2). Open source code.

A digital signal processing (DSP) engine that applies the Discrete Fourier Transform (DFT) to market data, isolating the dominant cyclical frequency to project turning points and eliminate phase-lag.

Professional Utility EA for prop firm risk management. It features daily equity monitoring, phased mitigation of losing positions, and absolute hard stops via a self-healing graphical dashboard.

Auto Fibo Extended is a MetaTrader 5 indicator designed to automatically identify significant swing highs and swing lows and draw Fibonacci Retracement and Extension levels directly on the chart.

This indicator is based on simple MACD but allows you to choose also timeframe of indicator, different from current. You can choose current timeframe of chart (then indicator shows the same values as common MACD) or any higher timeframe.

The MACD oscillator with zero lag.

There is a Price Channel indicator, but I don't like it, because it fills all the space between the upper and lower boundaries. This version of Price Channel looks like in MetaTrader 4.

Trade signals based on "Hammer/Hanging Man" 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.

The DRAW_COLOR_ARROW drawing style plots the color arrows (symbols from Windings font).

Fast Adaptive Trend Line (FATL) is based on the low frequency digital filter.

The Mass Index is intended for detection of trend reversals based on changes in the bandwidth between the highest and the lowest prices.

Simplified Ichimoku indicator (Ichimoku Kinko Hyo) containing only the cloud.

CBullsBearsOnArray class is designed for calculation of Bulls Power and Bears Power values on indicator buffers. The example of use of the class is provided.

The indicator displays the price location within a specified range.

USDX is an index which measures the dollar's value against a basket of six basic currencies

The trading system based on the signals taken from the CMO oscillator

Weighted Moving Average with a minimal lag using a damping cosine wave as the line of weight coefficients

The class is designed for calculation of the technical indicator Moving Average Convergence/Divergence (Moving Average Convergence/Divergence, MACD) using the algorithm of the ring buffer.

Variation on the non-trivial linear combination of stochastic oscillators

An Expert Advisor based on two indicators - Renko Line Break and RSI. It trades stop orders.

Another version of the indicator that calculates support/resistance levels.

Three Relative Vigor Index indicators from three different timeframes displayed on the same chart.

The indicator draws rectangle candlesticks of a higher timeframe based on the values of the BrainTrend2 indicator.

1...757677787980818283848586878889...218