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

Submit your code

The Expert Advisor uses four iMA (Moving Average, MA) indicators from two timeframes. Two indicators with averaging periods 1 and 8 are created on the H1 timeframe and two indicators with averaging periods 1 and 8 are also created on the H4 timeframe.

Compute the daylight saving time changes (start/end of the summer time).

A simple and easy to understand function that calculates todays profit, written to the Expert Journal.

Custom Hammer and Inverted Hammer

This is a basic library to create and manage grids.

The indicator plots Murrey Math Lines for all available history, it doesn't uses any objects.

The Moving Average indicator, based on the Quasi-Digital Filter. The MACD indicator as example of its use is presented.

This Expert Advisor uses the Index Moving Average indicator.

This Expert Advisor is based on Bollinger Bands. It uses trend-following strategy and Bollinger Bands indicator.

This trend indicator is based on moving averages.

Four digital filters that form the basis of the V. Kravchuk's AT&CF method in one separate window.

The indicator of covariation, correlation and Beta ratio of two symbols.

Value Charts is a detrended price indicator, it shows the overbought and oversold states using the detrended price extremes.

The indicator shows the size of Highs and Lows and their values over the specified period.

Inspired by Pirat's Expert Advisor submitted to the Automated Trading Championship 2011.

The HaDelta indicator can help to be ahead the crowd.

The trend indicator drawn on the basis of a Moving Average

A trend indicator with three states. During strong trends it colors bars in red or green depending on trend direction.

This trading system uses the BlauTSStochastic oscillator.

Show the aspect of two planets, the declination of planets or just the Body position.

A trading system based on the signals of the BykovTrend indicator.

The Expert Advisor using artificial intelligence - a single-layer neural network. The "Perceptron" is used for identification of the quotes movement direction. Both iAC indicator and CopyTime calls are used.

Original Turtle Rule Trader Expert Advisor implements a trading system described in the book "The Original Turtle Trading Rules". The EA code implements the visual display of the three Donchian channels, money management, opening and adding trades and moving stop levels.

Corr RSI - "step" or "corrected" RSI.

The trading system is based on direction changes of the wighted oscillator WeightOscillator

VTS

Trend indicator.

The indicator draws a color filled channel at a distance from the current price, which is equal to the current spread multiplied by ten.

A set of thirty popular candlestick patterns.

The EA based on three iMA (Moving Average, MA) indicators.

Draw your horizontal and trendlines and be notified when price crosses them

Super trend - simple

Filtered price using self adjusting deviation for price filtering

Stochastic of average(s)

Hull moving average

The good old MT4 indicator! Now for MetaTrader 5.

MetaTrader 5 indicator that displays the spread meter on the chart.

FiboPivotCandleBar MetaTrader 5 is a composite of several forex indicators, Fibonacci, Pivot Point, ZigZag, MACD and Moving Average which are combined in this indicator.

Random walk index (optimized version)

MovingAverages.mqh Part I A multi timeframe version is available with colors for orientation, for developers or profitable traders for free. Offer under conditions. Other multi timeframe indicators are also available.

1...484950515253545556575859606162...185