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

Submit your code

The EA focuses on the OHLC of timeframe W1

An Expert Advisor for placing Stop Loss and Take Profit.

This is Larray Williams's Variable Accumulation Distribution, used in volume analysis.

Protecting a position (hedging)

Indicator Non lag MACD

Indicator MACD OsmaX

Schaff trend cycle - Hull

Stochastic of average (on chart)

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.

Trend indicator

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

Forex Trade Manager MT5 simplifies managing open orders in MetaTrader 5.

Custom Hammer and Inverted Hammer

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.

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

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

1...464748495051525354555657585960...183