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

Submit your code

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 ;)

Welcome to the Binary Testinator. The Purpose of this EA is for testing different Indicators to optimize a trade scenario. Everyone has an opinion on what is the best trade setup, and advice is never ending! Better if you test it out...

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.

iGDR_Fractal_Levels shows the fractals average values over a certain period of time.

Keltner Channel displayed as colored background.

LinearRegSlope_V1_HTF_Signal shows a trend direction as a graphic object with colored trend indication and sends alerts or audio signals in case the trend changes.

IBS

Internal Bar Strength Indicator measures the "inner strength" of each bar by subtracting the close price from the low and dividing the resulting number by the difference between high and low bars.

Normalized oscillator provided by the signal line and colored dots for making deals.

Typical semaphore signal indicator that shows market entry points using color arrows.

Simple trend indicator displayed in the form of NRTR.

XprofuterOverlay shows the line of the price future movement.

1...919293949596979899100101102103104105...194