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

Submit your code

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

Discontinued signal line QQE - histogram

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

Three standard deviation channels using indicator buffers based on the number of bars defined in the indicator inputs with the channels' background filling.

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.

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

Breakout Trader 1.0 trades breakouts from the range.

Better Volume is an advanced indicator designed to analyse the behaviour of volume on price charts. It combines volume information with metrics such as candlestick range and moving averages to identify important patterns in the market, such as buy/sell climaxes, churn and weak candles. With its dynamic visual interface and volume categorisation, the indicator offers valuable insights for traders who want to make informed decisions based on volume flow.

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.

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.

True Strength Index (TSI) indicator by William Blau.

Ergodic Oscillator by William Blau.

KRI

While creating Kairi (KRI) oscillator, deviation of a price from its simple moving average is calculated. The result is shown in percentage of the average.

Fine Fractals can show important price curves, highs and lows in the cases where the standard Fractals indicator fails.

1...727374757677787980818283848586...193