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

Submit your code

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

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.

An simple Indicator displaying daily opening line.

Trend composed by a series of averages

This indicator is a combination of moving average and ATR indicators.

Trade signals based on "Dark Cloud Cover/Piercing Line" 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.

Moving average indicator with the linear regression smoothing algorithm.

Center of gravity is the oscillator developed by John Ehlers and presented in the "Stocks & Commodities" magazine (May, 2002).

This indicator paints the candlesticks in different colors depending on a trend power and direction.

BB XMACD is a simple MACD indicator variation.

Laguerre_HTF_Signal shows a trend direction or a signal for performing a deal generated by Laguerre indicator as a graphic object with colored trend indication or deal direction.

Non-linear regression with interpolation of a price chart future values.

The indicator displays trend power and direction.

Trading signals module for MQL5 Wizard. The moment, when the oscillator line formed by ColorLaguerre changes its color, indicates the time for market entry.

Parkinson's historical volatility.

There's a lot of Fibonacci indicators out there but I decided to make my own indicator for you.

The classic CCI with the colored signal levels. For the moments of time, when the CCI indicator is in oversold and overbought zones, there are change of the indicator color corresponding to the trend direction. The growing trend colors the indicator in lettuce green, the falling into the red one.

A set of Fibo levels (pivot points) drawn on day candlesticks.

Ergodic Oscillator from the book "Momentum, direction and divergence" by William Blau, implemented in the form of a color histogram with a signal line implemented as a colored cloud.

Slow-Stoch_HTF_Signal shows information about trend direction based on the data of the Slow-Stoch indicator and generates alerts or audio signals and sends push notifications if trading signals appear.

The Triple Exponential Moving Average indicator implemented as a sequence of candlesticks.

The Exp_CronexCCI EA is based on signals generated by the CronexCCI oscillator.

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

This file replaces the WndContainer.mqh original file. It prevents the chart from being affected when you click and hold the mouse inside a container area.

The Exp_CHOWithFlat Expert Advisor is based on the change of color of the CHOWithFlat indicator.

This script closes all windows of selected symbol or all windows of any symbol.

The Expert Advisor transfers to break-even and/or trails positions on every currency pairs or only on the current one.

Trading system based on Bezier_StDev indicator signals.

The Exp_Fisher_org_v1 EA is based on the signals generated by the Fisher_org_v1 oscillator.

Semaphore signal indicator based on the relative smoothed rate of price change.

A simple trend indicator with calculation of rise and fall in High and Low prices.

The JSatl indicator implemented as a sequence of candlesticks.

Cauchy difference. The indicator shows the difference of arithmetic mean and geometric mean of the price.

Exp_X2MA_JJRSX trend-following trading system is based on ColorX2MA and ColorJJRSX indicator signals.

The trading system based on the three Stochastics signals from three different timeframes.

1...373839404142434445464748495051...183