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

Submit your code

An Expert Advisor based on the iMA (Moving Average, MA) and iMACD (Moving Average Convergence/Divergence, MACD) indicators

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.

Filtered deviation scaled MA

A trading system based on breaking through iFractals

Indicator Micro Pivots

McGinley dynamic (official version - as described by John R. McGinley)

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.

The MQL5 keywords and aliases for autoreplace are presented.

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.

Conjunto de Bandas de Bollinger ® criado com base no algoritmo de média universal.

Adaptive Stochastic oscillator.

The indicator draws the channel using ZigZag extreme points.

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

XMACD_HTF_Signal displays trend directions from three last bars of the XMACD indicator as three graphical objects.

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.

The channel is based on the prices extreme values for a period. Central line, upper and lower channel borders values are determined by calculation of the Pivot Points used as assumed support and resistance levels.

Indicator of market instability.

MACD histogram with bars coloring according to Elder Impulse System.

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.

Trading system using the FigurelliSeries trend indicator

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.

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

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

This indicator helps determine the end and the beginning of trends based on the inclination of the matches.

An example of using the MasterWindows library for creating a trade panel.

How many buffers does your indicator use? What's it calculating? Is it efficient? If you want to know what's going on behind the scenes, you'll now be able to.

The Exp_Bear_Bulls_Power Expert Advisor is based on the Bear_Bulls_Power indicator color change.

1...676869707172737475767778798081...195