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

Submit your code

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

The HaDelta indicator can help to be ahead the crowd.

The renko (renko) chart in a separate subwindow. No matter on what chart timeframe the indicator is attached, the renko is drawn on close price of М1 timeframe.

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.

Buy a security (open BUY positions) at a lower price, sell (open SELL positions) at a higher price.

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

Filtered price using self adjusting deviation for price filtering

Stochastic of average(s)

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)

The Detrended Price Oscillator eliminates the trend effect of price movement. This simplifies the process of finding out cycles and overbought/oversold levels.

Dual Trix Indicator : 2 Moving Averages.

This indicator will allow you to perform the recalculation of the indicator's data only when the new bar on the chart has appeared.

The DRAW_ARROW drawing style plots the arrows (chars).

2pbIdeal1MA.mq5 and 2pbIdeal3MA.mq5 indicators are the moving averages with the smoothing algorithm developed by Neutron.

The indicator plots the Fibonacci retracement levels for a user-defined number of bars.

Standard Heiken Ashi calculated using smoothed price time series.

Instantaneous Trendline shows buy and sell signals, while crossing the moving averages.

This indicator shows the "inner market structure" close to the real one in contrast to the standard "fractals" and all sorts of zig zags.

The Ultimate Oscillator by Larry Williams is calculated as weighted value of three Stochastic, indicators, calculated for fast, middle and short periods.

Adaptive Market Level shows the current reference level of the market price. The level is shifted only in case of the price trend movement.

The signal indicator based on the Aroon indicator values.

The Expert Advisor based on the Breakout Bars Trend v2 indicator. In dependence of settings the entry is performed as in the trend reversal, so after missing the set number of false signals.

This indicator simply alerts and sends email every time the trend line touched by the price.

The simple, smoothed, less lag indicator drawn on the principle of the smoothed shift using the EMA price by increments of the first 3 orders

A simple trend indicator based on counting of the number of bullish and bearish candlesticks.

1...474849505152535455565758596061...183