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

Submit your code

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

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

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

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

A tool which refreshes the chart automatically and will make active indicators update if something stopped plotting on the chart.

QuickTradeKeys 123 is a user-friendly Expert Advisor (EA) for MetaTrader 5, enabling traders to execute buy and sell operations quickly by simply pressing the numbers '1' and '2' on their keyboard. Pressing '3' closes all open positions. This EA is ideal for swift trading and testing purposes where manual intervention is required without using the mouse.

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.

Using Perceptron, Automatic Learning

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.

This script exports indicator's values to CSV file.

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.

Mean Deviation Index (MDI) by William Blau.

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.

The DailyPivot Points indicator helps to compose a picture of market future movements, in distinct from the other tools that hang behind the market.

1...838485868788899091929394959697...188