Watch how to download trading robots for free
Find us on Twitter!
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 - 80

Submit your code

The VKW_Bands_Modify indicator implemented as a sequence of candlesticks.

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

A trading system based on the signals of the ASCtrend indicator.

Trading system based on the signals of AroonHornSign indicator

TRIX indicator is displayed as a colored histogram and provides the ability to change the averaging algorithm

Donchian Channel indicator with the color filling inside the channel, drawn as a cloud, with the display of the last values as price labels and the possibility to round the channel levels up to a required number of digits, and a price grid with these rounded values.

Hybrid of the FATL (Fast Adaptive Trend Line) digital filter and analog adaptive averaging JMA — the ColorJFatl indicator that fills the chart space with a colored background and displays the most recent value as a price label with the possibility to round the channel levels up to a required number of digits, as well as displays a price grid with those rounded values.

FDI

A tool for measuring market volatility.

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

The indicator implements a breakout system using a channel based on the High and Low price series processed by the algorithm of Volume_Weighted_MA_Digit.

Semaphore signal indicator based on the relative smoothed rate of price change, which features alerts, sending emails and push-notifications to mobile devices.

Semaphore signal indicator based on the algorithm of the DSSBressert indicator, which features alerts, sending emails and push-notifications to mobile devices.

Trading system based on wlxBW5Zone indicator signals.

Trend indicator.

ZigZag based on RVI oscillator.

A stochastic indicator with a twist: it is calculating a stochastic, and then a stochastic of that stochastic.

The Expert Advisor is based on a standard trend strategy and the two-layer neural network that is trained to enter the market against a trend.

An Expert Advisor based on two indicators iMA (Moving Average, MA).

RSI experiment with floating levels.

Candels High Open indicator analyzes High and Open of the last three bars.

An example for calculating the lot value with a fixed margin level. That is, if you specify 10%, a position with the margin equal to 10% of free margin will be opened.

The XMA-XN indicator with the timeframe selection option available in the input parameters.

Keltner Channel built relative to the average value of the MomentumCandle oscillator as a sequence of candlesticks

Strategy: N bars up and one bar down. Trailing. Lot calculation based on the risk value as a percentage of free margin.

High and Low. For levels, you can specify an offset. You can specify the interval (PERIOD_D1) on which to search for levels.

We look for N identical candles in a row. If the found candles bull - we buy, if bear - we sell.

A moving average with the four-fold EMA averaging. It displays the most recent value as a price label with the possibility to round the indicator levels up to a required number of digits.

ZigZag with unusual properties

The Support_and_Resistance indicator with the possibility to change the indicator timeframe in input parameters.

The indicator shows the difference between two Moving Averages in the form of a colored histogram drawn in a separate window.

This version of Stochastic Oscillator allows you to use any of the 4 basic types of averages (default is SMA, but you can use EMA, SMMA or LWMA too) - some are "faster" then the default version (like EMA and LWMA versions) and SMMA is a bit "slower" but this way you can fine tune the "speed" to signals ratio.

Instantaneous Trend Line is one of the series of indicators created by John Ehlres.

This version extends the Instantaneous Trend Line indicator with a sort of bands to make it easier to spot trend change and to filter out some false signals that can be produced if only the slope of the ITL indicator is takes for a signal.

A module of trading signals based on the Moving Average indicator signal module.

HMA

Alan Hull's Moving Average is a non-lagging moving average.

Indicator based on Hull Moving Average.

Heiken Ashi Zone Trade indicator is based on 3 indicators: Heiken Ashi, Accelerator Oscillator, and Awesome Oscillator.

Working with two indicators, Fractals and Stochastic, simultaneously, or with only one of them.

Compared to the Price Zone Oscillator indicator, this version is using floating levels to find out the significant levels.

Keltner Channel calculated as Perry Kaufman's Adaptive Moving Average (KAMA) +- ATR distance for the bands.

1...737475767778798081828384858687...183