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

Submit your code

ZigZag with unusual properties

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

The indicator searches for a sequence of candlesticks on a chart and marks bullish and bearish sequences.

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.

The indicator paints candlesticks, which are beyond the i-AnyRangeCldTail channel. Candlesticks outside the channel limits are marked with color according to the trend.

Average penetration

SSL_NRTR indicator with the timeframe selection option available in input parameters

Classic version (on Chart) of Didi Needles indicator, now with a filtering threshold based on MA threshold differences.

Stochastic of adaptive lookback average

The trading system based on XDeMarker_Histogram_Vol_Direct indicator signals

RSX range expansion index - with floating levels

Multi pass average filter

Zero lag super smoother

Indicator FineTuningMA represented as candles

Two identical trading systems (for long and short positions) based on the signals of the FineTuningMACandle indicator, which can be configured in different ways within one Expert Advisor

Corrected generalized DEMA

Volume weighted awesome oscillator

Trading system based on iAC indicator (Acceleration/Deceleration, Accelerator/Decelerator Oscillator, AC)

Three SpearmanRankCorrelation indicators from different timeframes in a single window

A redrawing Super_Signals_Channel indicator

The XFisher_org_v1_Vol indicator with the possibility to change the indicator timeframe using input parameters

A trading system based on the SR-RateIndicator indicator signals

Center of Gravity (as originally described by John Ehlers)

A trading system based on indicators Custom Moving Average Levels and Stochastic Custom

Momentum ratio oscillator

Indicator ColorPEMA_Digit_r with the timeframe selection option in its input parameters, limiting the computer resources used in its calculations within the entire chart and on the current bar

Indicator ColorPEMA_Digit_Trend_x10 displays the directions of the ColorPEMA_Digit indicator signals from ten different timeframes from the bar specified in the indicator inputs

Heiken ashi - histogram

Smoother momentum MACD

Custom Price Chart using a simple Artificial Neural Network that tries to project price movements into the future. Not very useful for trading, but fun to watch and learn ;)

This is a helper function which enables you to find the price of the symbol (the prices on the Y-axis) wherever you click the mouse on the chart. Using OnChartEvent, we don't have an MQL5 function in the API to do this, we can only obtain X and Y pixel values with mouse click.

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.

Two adaptive moving averages that read the market differently. Crossovers signal trend shifts.

Bill Williams's Awesome Oscillator Indicator (AO) is a 34-period simple moving average, plotted through the middle points of the bars (H+L)/2, which is subtracted from the 5-period simple moving average, built across the central points of the bars (H+L)/2. It shows us quite clearly what’s happening to the market driving force at the present moment.

1...9596979899100101102103104105106107108109...199