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

Submit your code

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.

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.

An Expert Advisor for trading during the night.

This script generates a file with its source code (solution of the classical program in MQL5). It may be useful to study programming and algorithms.

The DRAW_COLOR_CANDLES style (as DRAW_CANDLES) draws candlesticks based on values of four indicator buffers, containing Open, High, Low and Close prices. In additions it allows you to specify color for each candlestick from a given set.

In this MACD histogram the JMA smoothing is used instead of the standard smoothing.

The indicator consists of support and resistance levels based on a trading range for a certain period of time.

Smoothed Larry Williams' Percent Range using Inverse Fisher Transform.

StepXCCX_HTF_Signal displays trend directions from three last bars of the ColorStepXCCX indicator as three graphical objects with a trend color indication.

Trend indicator. Trend reversal is calculated by the number of candlesticks set in the indicator input parameters.

This indicator is based on WPR (Larry Williams' Percent Range) and its multiple signal lines analysis.

1...9293949596979899100101102103104105106...195