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

Submit your code

The indicator shows the number of bullish and bearish bars in the given interval.

The Expert Advisor is based on the iOsMA (Moving Average of Oscillator, OsMA) indicator signals.

The Expert Advisor is based on the iRSI (Relative Strength Index, RSI) indicator signals.

The indicator shows a text block with the values ​​of the user defined Stochastic Oscillator period for each timeframe.

The Dtm indicator with the possibility to change the indicator timeframe from input parameters.

The Internal Bar Strength indicator implemented in the form of a colored histogram.

The ColorDerivative indicator with the possibility to change the indicator timeframe in its input parameters.

Standard RSI on the price chart.

Range Action Verification Index (RAVI) with inverse Fisher transform.

The Advance Trend Pressure oscillator shows the trend direction and strength line. It can additionally show the bullish and bearish components of the trend.

The indicator searches for divergences and displays them on the chart of the custom AO indicator.

An Expert Advisor trading MACD signals. For those who prefer trading CFDs and futures symbols.

The New High New Low Index indicator.

A simple ZigZag with an adjustable step.

MACD+SAR - Trend Analyzer Tool.

This version differs from the original Instantaneous Trend Line in one important part: instead of using fractional alpha parameter for calculation, this version uses period which makes it the same category as averages are and the usage becomes a bit more intuitive than the original version.

The indicator adds signal marks to a price chart when the CCI indicator crosses its zero line.

Indicator that shows the current estimated state of the market based on a correlation of 3 Moving Averages.

Detrended Price Oscillator Bar - price chart without a trend.

DMA

Dynamic Moving Average

The Performance Index indicator.

The Composite Index was developed to solve the divergence failure problem in the RSI, but its ability to provide specific horizontal levels of support within the indicator adds to its value. The Composite Index takes the normalized formula of RSI and removes the normalization range restrictions. The formula for the Composite Index uses an embedded momentum calculation with a short-term RSI smoothed.

William Blau Stochastic.

Implementation of Alexander Elder's power system indicator, it will show the price trend and trend reversal.

An Expert Advisor based on indicator iMA (Moving Average, MA) and implemented as a class.

QQE

The QQE (Quantitative Qualitative Estimator) indicator consists of a smoothed Relative Strength Index (RSI) indicator and two volatility-based trailing levels (fast and slow).

Indicator XStdDevSpeed with the timeframe selection option in input parameters.

Placing Buy Stop and Sell Stop on the 5-minute timeframe.

A financial asset strength indicator as a candlestick chart.

TQ

Indicator Trend Quality.

The EA determines the overbought (OB) and oversold (OS) zones, for which it generates trading signals for selling or buying.

A moving average using double LWMA-averaging and implemented in color.

This oscillator shows the differences in points between the successive High of bars/candlesticks and Low of bars/candlesticks. It also shows them in different colors, depending on the directions and amount of points set in the properties.

A typical oscillator using Average True Range in form of a multicolor histogram.

A trading system based on the signales of indicator ATR_Normalize_Histogram

Intraday Intensity Index.

Indicator John Ehlers Trend Component

EMA Deviation is similar to Standard Deviation, but on a first glance you shall notice that it is "faster" than the Standard Deviation and that makes it useful when the speed of reaction to volatility is expected from any code or trading system.

Indicator CandlesticksBWx10 shows the color of the CandlesticksBW indicator candlesticks from ten different timeframes from the bar defined in the indicator input parameters.

Indicator CandleStop_Cloud with the timeframe selection option available in input parameters.

1...99100101102103104105106107108109110111112113...189