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

Submit your code

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

The Exp_XKRI_Histogram Expert Advisor is based on the XKRI_Histogram oscillator change of direction.

A semaphore signal indicator that uses two FatlMacd indicators, based on Open and Close values of the price series.

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

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.

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.

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.

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

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

The Expert Advisor searches for N identical candlesticks in a row. It buys on bullish candlesticks and sells on bearish ones. The account type is taken into consideration, i.e., whether it is a netting or a hedging one.

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.

Trend Trigger Factor indicator with JMA (Jurik Moving Average) smoothing to lessen false signals and some extras in order to make the trend triggering state easier.

Average penetration

1...8687888990919293949596979899100...191