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

Submit your code

Multi T3 Slopes indicator checks slopes of 5 (different period) T3 Moving Averages and adds them up to show overall trend.

Trend Trigger Factor indicator ported to MQL5 from wrongly coded version for MetaTrader 4.

One of the variations of the "Avalanche" strategy. Martingale is used.

The Mirror MA indicator features two mirrored moving averages in a separate chart window calculated based on a difference between two MAs with different calculation data, and one signal line calculated based on a direct moving average data.

Choppy market index - smoothed

Gann high/low activator JMA

Skyscraper_Fix_x10 shows the direction of Skyscraper_Fix indicator signals from ten different timeframes from the bar defined in the indicator input parameters

MACD Flat Trend indicator

Instantaneous trend line - using levels for signals filtering

ATR adaptive Laguerre RSI

Momentum of average with dynamic levels

Directional smoothed momentum (momentum of averages)

An indicator that shows buy and sell signals of three indicators (iSAR, iWPR, and iMA) on nine timeframes with full settings

A redrawing channel, which looks into the future by a certain amount of bars specified in the appropriate input parameter

Center of Gravity - extended version

Rsi slope divergence

Indicator Linear Regression MA

Indicator Multi timeframes Stochastic RSI

Indicator ZigZag Oscillator

Indicator Advanced Fractal Overlay

The EA compares the difference between the Close price of bar #1 and the Close price of bar #Candle shift.

First script selects symbols having spread below specified value on the marketwatch, then opens corresponding charts by appyling timeframe and template stated.

Just for experiment and to demonstrate the possibilities of Canvas. The price is drawn in the polar coordinate system by winding circles.

Ocean theory - natural market slope

Alerts on engulfing bar below or above rsi levels

The ColorCandlesDaily indicator draws candles with different colors depending on the day of the week.

TEMA can be used instead of traditional moving averages. It can be used for smoothing price data, as well as for smoothing other indicators.

The Multicurrency Expert Advisor.

The indicator draws (in a separate window) the Bollinger Bands relative to the moving average and projection of the price bars.

This Indicator is used for calculating trend.

Comparative study of sorting algorithms.

The script calculates candles statistics (the minimal, maximal and average values of candles body and shadows) of the current chart.

The indicator displays expected time of position opening and closing.

The linear regression line with data placed in the indicator buffer.

A multi-currency trading system, based on Bollinger Bands and trend catching technique. Capable of trading up to 6 currencies simultaneously. System has build in optimization parameter sharing.

The indicator of price levels with round numbers 00, 20, 50, 80.

Another version of the RSI using smoothed prices.

ADXm - version for MetaTrader 5

MACD ca - sort of a "step MACD" or "corrected MACD".

Trading on a new bar only. The rules are simple: if MAIN_LINE MACD (1) > MAIN_LINE MACD (2) -> Buy, if MAIN_LINE MACD (1) < MAIN_LINE MACD (2) -> Sell". When a signal opposite to open positions is received, close all positions.

1...383940414243444546474849505152...185