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

Submit your code

Oscillator MACD Squeeze similar to indicator Trade The Markets Squeeze, but based on MACD.

Indicator of the difference between ADX and ADX as of N periods ago.

A trading strategy based on indicators iBands (Bollinger Bands, BB) and iRSI (Relative Strength Index, RSI).

RMI

Indicator RMI (Running Median Indicator) is a moving average with the "Running Median" filtering algorithm.

Indicator XPeriodCandle supplemented by Bollinger Bands, based on their candlesticks, and indicating with the bright candlestick color if the candlesticks go beyond the bands.

Synthetic Japanese candlesticks over the period defined in the indicator settings, calculating on each bar, based on the Bear_Bulls_Power_Candle indicator candlesticks.

The EA is based on two iMAs (Moving Average, MA) and iMomentum (Momentum) filter crossing.

Multi timeframe version of the Trend Trigger Factor indicator.

Deviation Oscillator - a volatility oscillator which represents a difference between the price and the MA, normalized within the selected range.

This version of Jurik Velocity extends the original by allowing you to change the "power" of the calculated averages used for velocity calculation.

Ultra Trend indicator that uses a "fast" (fast in response to market changes) Zero Lag DEMA for trend calculations.

Trend Envelopes indicator that uses ATR for the price change calculation and is adding prices smoothing prior to be used in calculations.

Smooth ATR

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

MACD Divergence indicator

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

1...565758596061626364656667686970...194