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

Submit your code

Indicator ColorX2MA with the timeframe selection option available in the input parameters

Indicator Heikin-Ashi Difference.

A trading system using oscillator UltraAbsolutelyNoLagLwma.

Difference of two moving averages within the range of one-direction candlesticks

A market state indicator

RSI of JMA

An RSI smoothed by Wilder's moving average

Ozymandias_System indicator with the timeframe selection option available in input parameters

Period Extreme signal indicator

Compared to the original QQE indicator, this version instead of using trailing levels uses fixed levels to estimate overbought and oversold conditions.

The STPMT (Medium Term Weighted Stochastics) indicator.

A channel filter indicator Darvas Box.

The indicator of expanding time zone corridors with eleven corridors, middle line and background color filling

Stochastic expansion indicator

Normalized Moving Average Slope indicator

At the specified hour, the Expert Advisor analyzes OHLC of the previous bar and sets pending orders

Expert Advisor based on iAO (Awesome Oscillator, AO)

Gann HiLo Activator/SuperTrend Bar indicator

True Strength Index (as originaly described by William Blau)

Indicator Round_Levels_XN draws multiple "round" levels nearest to the current price above and below it

RSI candles with Keltner channels

Two identical trading systems (for long and short deals) based on the AdaptiveRenko indicator signals that can be configured in different ways within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system

TrendStrength of deviation scaled MA

Volatility bands

Market mode - discontinued signal lines

Corrected extended (volatility ratio adaptive) Wilder's double smoothed ema - multi time frame version

Builds a sliding line with a polynomial of 4 degrees. Extrapolates as a section of a given function with a sinusoid and its axial one. One value is taken from the constructed lines on each bar and a line of extrapolated values is plotted, which does not redraw.

This script will change the SL and TP of all open trades of the symbol to the price where the script is dropped off.

Simple script to see your current Profit Losses in Pips.

This indicator shows the amount of price movement within a certain time, compared to the actual price movement range. Good to detect consolidation areas, as well as new trends being formed

Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation

A simple indicator which may help you in manual backtest by just moving a vertical line to show hide bars.

MQL5 version of geometric moving average.

The EA automatically trades based on trend and mean reversion signals with validated parameters.

The Chaikin's Oscillator (CHO) is the difference of moving averages of Accumulation/Distribution.

Bollinger Bands +-3sigma. You can change period and sigma ratio (Proper size of Deviation is 0.5~1.0)

The eInTradePanel is a panel for manual trading, it has some useful functions. It needs the minimum space on the chart.

Control panel for the MQL5 Best Graphic Panel Contest.

This Expert Advisor performs the synchronization of charts.

Trade signals based on "Morning Star/Evening Star" candlestick patterns, confirmed by Commodity Channel Index (CCI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

1...656667686970717273747576777879...188