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

Submit your code

The Expert Advisor based on iMA (Moving Average, MA) and OHLC

DWMA with JMA oscillator

ATR adaptive Laguerre filter

Moving positions to breakeven

The iRSI (Relative Strength Index, RSI) indicator features new settings allowing users to manage the display of levels and main level color and width from an Expert Advisor. Smoothing has been added.

Stochastic extended with the choices of the prices

The Bigger Time Frame Bollinger Bands indicator

A trading system with a very simple neural network unit. It uses an iMA (Moving Average, MA) on H1, H4, and D1.

Indicator Market Session

Indicator Micro Pivots

Indicator XXDPO_Candle with the timeframe selection option in its input parameters

This will display the Account Trading Report for real trade.

Chaikin's volatility indicator calculates the spread between the maximum and minimum prices. It judges the value of volatility basing on the amplitude between the maximum and the minimum. Unlike Average True Range, Chaikin's indicator doesn't take gaps into account.

This Expert Advisor allows you to save infomation about the ticks, actual or simulated in Strategy Tester.

The MQL5 keywords and aliases for autoreplace are presented.

The MACD oscillator with zero lag.

Trade signals based on "3 Black Crows/3 White Soldiers" candlestick pattern, confirmed by Stochastic indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

This indicator compares four types of regression (linear, quadratic, logarithmic and exponential) and chooses the one that best fits the data analyzed.

The indicator that demonstrates the power of price changes entropy.

Range Bound Channel Index (RBCI) digital filter removes low frequency trend, generated by low frequency spectrum components, and high frequency noise, generated by high frequency spectrum components.

The universal moving average with double smoothing and possibility to select each of this smoothings from the dozen of possible variants.

The indicator draws the channel using ZigZag extreme points.

The indicator that displays "averaged" candlesticks of a larger timeframe at a smaller one.

Vertical time grid with one day step.

The moving average, calculated by using the simplest algebraic combination of two other moving averages with different periods. Smoothing algorithms can be selected out of ten possible versions.

Indicator of market instability.

MACD histogram with bars coloring according to Elder Impulse System.

This indicator is a modified version of RSI that can be placed on a chart having another timeframe. It also allows users to change RSI and the signal line's smoothing algorithms.

This Expert Advisor uses support vector machine learning to analyze historical price data and signal future trades.

The Heikin Ashi indicator drawn in a separate subwindow with the ability to choose a period

The "Day of Week" function is designed to determine the number of required month according to data of the week and the day of the week inside this month

MPC is a script which measures (searches) the most frequently occurring candlesticks

Donchian channel is a technical indicator developed by Richard Davoud Donchian.

A semaphore arrow indicator using two moving averages.

A set of support and resistance levels with five different timeframes.

The TrendTriggerMod indicator with the timeframe selection option available in input parameters.

The indicator implements a breakthrough system using the Renko channel.

Recursive implementation of multi-timeframe smoothed RSI indicator.

The iMirror indicator shows a prices mirrored upside down. When the mouse is on the indicator, its color changes to the chart color, while the chart is dimmed. When you click on the indicator, it remains in the foreground till another click.

A trendless indicator (based on the book "Trading with DiNapoli Levels") made as a colored histogram.

1...515253545556575859606162636465...183