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

Submit your code

OBOS indicator

Rsi of average - with normalized zones

The indicator displays two indicators ATR with different averaging periods in a single window.

Pivot Oscillator

Double smoothed stochastic Blau

Three ATR Bands with multiple selection

Indicator 3 in 1 MTF Stochastic with MA Smoothing options

Working with pending Stop orders

Indicator "The 2 Pole Butterworth Filter". was created by John Ehlers ("Cybernetic Analysis For Stocks And Futures", p. 192)

Official example involve complex wrapper classes, Here is a simple one

It plots the bar-averaged price charts (median price).

This code is a template of an Expert Advisor, written by Valery Mazurenko (notused) for ATC-2010.

Trade signals based on "Dark Cloud Cover/Piercing Line" candlestick pattern, confirmed by Market Facilitation Index (MFI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

Trade signals based on "Morning Star/Evening Star" candlestick patterns, confirmed by Market Facilitation Index (MFI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

Ergodic MACD Oscillator by William Blau.

Stochastic Oscillator equivalent with a minimum lag.

Moving average indicator based on parabolic approximation of price.

Multi-currency trend following expert system using the Triple Exponential Moving Average technical indicator.

The indicator builds the trajectory of the front linear regression and standard deviation points.

This indicator is designed for measurement of a financial asset price change periodicity. Cycle Period allows to create adaptive versions of oscillators.

Function module for more convenient font selection display in the indicator input parameters. To free the indicator user from the necessity to manually enter a font name some changes to the code should be inserted.

Bollinger Bands displayed as colored background.

The CandleTrend indicator displays price movement directions from six different timeframes.

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

Bill William's magic oscillator (Awesome oscillator) which is drawn on the high and displayed on the low timeframe.

The Exp_CoeffofLine_true Expert Advisor based on the CoeffofLine_true indicator. A signal to perform a deal is formed at bar closing, if the histogram breakthroughs its zero level

The indicator uses in the calculation the deviation of its previous value from price

The Moving Average that represents itself a linear combination of the EMA smoothing series by the Exponential Moving Average (EMA).

The Expert Advisor on the breakthrough of the range defined by the signals of the Narrowest Range Signal indicator. Handling stop orders

The RMI (Relative Momentum Index) indicator is an improved version of RSI, momentum is included in the calculation.

William Blau's Directional Trend Index in the form of a colored histogram.

A version of the Fisher Transform indicator implemented in the form of a color histogram.

An indicator based on the crossover of two momentums with different periods, drawn in the form of a colored cloud.

The ROC indicator smoothed by Laguerre filter drawn as a color histogram.

The indicator colors candlesticks based on the highs and lows of previous bars.

Volume indicator.

A simple semaphore arrow signal indicator.

This Expert Advisor is based on signals generated by the Simple Trading System semaphore arrow signal indicator.

The ForexProfitBoost_2nb with the timeframe selection option available in the input parameters.

1...707172737475767778798081828384...188