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

Submit your code

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.

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

It has simple code and trading rules. It's doesn't use any martingale MM strategies.

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.

Smoothed Larry Williams' Percent Range using Inverse Fisher Transform.

Good old stochastic oscillator. The difference from the standard one is that it shows overbought and oversold areas in a more visually convenient fashion.

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

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.

The Expert Advisor based on the change in the 3rdGenXMA moving average direction.

The trading system based on the signals taken from the BrakeMA semaphore, signal, trend indicator

The Expert Advisor on a single-layer line Perceptron with 4 entries which analyzes the Accelerator Oscillator indicator's data

The Cynthia Case stochastic.

The indicator draws candlesticks depending on the trend direction.

1...858687888990919293949596979899...189