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

Submit your code

This indicator measures the (smoothed) distance in pips between the close and an exponential moving average.

Negative Volume Index (NVI) with the timeframe selection option available in the input parameters.

Modified Donchian Channels indicator with Fibonacci levels.

The RSICloud indicator with the timeframe selection option available in the input parameters.

The indicator shows correlation between currencies.

This indicator is an example of smoothing the Bears Power indicator timeseries by filtering high-order harmonics.

Indicator of daily extremum zones. Flexible parameter setting is allowed.

Trading system based on STLMCandle indicator signals.

Byte-wise operation with structures and standard data types.

The Kijun-sen line with color customization and sending alert on trend changes

ZigZag based on RSI oscillator.

This is a trend-following indicator using the moving average and its smoothing. It features alerts, emails and push notifications.

Added the filled array for overbought and oversold zones.

Indicator in the form of a panel. Displays the resulting direction of the position: resulting lot size and up or down arrow.

Works based on the iMACD (MACD) indicators

Maksigen channels - extended version.

The Expert Advisor plays sound alerts when candlestick size exceeds a certain value.

The Expert Advisor synchronizes the local computer time in the interval from 9:50 to 9:59 (before the beginning of the morning session) with the MetaTrader 5 FORTS server time.

Averaging of values (RSI) using MovingAverages.mqh. Two MA indicators.

The trading system is based on iMACD (Moving Average Convergence/Divergence, MACD) and iStochastic (Stochastic Oscillator)

Increased accuracy of the standard timer.

Logarithmic regression channel.

Trend-following trading system Exp_AbsolutelyNoLagLwma_X2 based on the signals of two indicators AbsolutelyNoLagLwma

Historical Volatility bands constructed using average as the middle line, and upper and lower bands using the Historical Volatility high/low (instead of "regular" Historical Volatility) for bands calculation.

Indicator CaudateXPeriodCandle in the main chart, highlighting with colored points caudate candlesticks of the "Hammer" and "Reversed Hammer" types only.

Virtual Trailing Stop.

Candle amplitude indicator

Compared to the Volume Zone Oscillator indicator, this version is additionally using floating levels to determine the trend.

The Dinapoli Preferred Stochastic indicator uses the smoothing method described by Joe DiNapoli, which differs from the standard stochastic.

Stop loss and take profit initial setting. Trailing.

Elder Impulse System indicator

An Expert Advisor based on iMA (Moving Average, MA) and iMACD (Moving Average Convergence/Divergence, MACD). Averaging positions, in case of a loss. Improvement of the version 1.0

This indicator enhance the functionality of the standard crosshair of MetaTrader adding the difference in Percentage and the time span in a human readable form (not in bars, but in Hours, minutes, days, etc)

Separate the construction of a complex object from its representation so that the same construction process can create different representations.

The first really 3D indicator "Moving Average".

Create objects by copying a prototype

Smooth Algorithms - Corrected/Modified

to display trade history files(.csv) on charts.

The Gator Oscillator is based on the Alligator and shows the degree of convergence/divergence of the Balance Lines (Smoothed Moving Average).

The CGV class simplifies the work with global variables of MetaTrader 5 client terminal.

1...252627282930313233343536373839...189