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

Submit your code

A Moving Average with double smoothing

Delta ZigZag defines the reversal on a minimal height of the swing and also identifies trend on breakthrough of local minimum/maximum levels and colors zigzag sections in current trend color

The class is designed for calculation of the technical indicator Adaptive Moving Average (Adaptive Moving Average, AMA) using the algorithm of the ring buffer.

Example of getting world index quotes from Google Finance.

The indicator uses the least squares method for the construction of the "most suitable" straight line through a series of points of price values​​.

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

The ChandelierStops_v1Trend_x10 indicator shows the ChandelierStops_v1 trend indicator position from ten different timeframes.

The Expert Advisor enables and disables the "AutoTrading" button at a certain time and closes all opened positions on the account once the specified period of time expires.

Adds period separators to your window, at a time of your choice.

The ZZ Fibo Trader is a simple illustration of the use of the Simple ZZ Fibo, which plots Fibonacci lines on long impulse waves of the ZigZag. In addition, the algorithm illustrates operation of the parabolic system for moving the stop loss.

The Balance of Power (BOP) indicator as a color histogram of strength and direction of the current trend.

Arithmetic and geometric moving averages.

The idea of this one is simple: it should "imitate" as much other moving averages as it can.

The version of well known Woodies CCI with correct implementation of trend changing rules

A variation of Hull moving average that allows speed adjusting of the HMA.

The gradient version of double smoothed EMA indicator.

The semi-automated Expert Advisor using a trend line (TrendLIne).

The simplest EA based on the fractal WPR.

iCrosshairClickTarget indicator for MetaTrader 5 is an improved version of iCrosshair indicator for MetaTrader 4.

A multi-currency Expert Advisor that opens a market position at the user defined time.

The WATR_HTF_Signal indicator shows a trend direction or a trade signal generated by the WATR indicator at the chosen bar as a graphical object with colored trend indication or deal direction. It also triggers alerts and plays audio signals.

The Expert Advisor moves trailing stops of all positions on the current symbol.

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

The class monitors the emergence of a candlestick

A trading system based on the Omni_Trend indicator signals.

The indicator allows displaying on a chart eight Moving Averages with the same averaging methods and calculation prices, but with different periods.

An indicator based on Elder's "Safe Zone".

LRL

Linear regression line (LSMA) - a moving average calculated by the linear regression method.

An indicator of important extremums.

This EA uses indicators iCCI (Commodity Channel Index, CCI), ZigZag, and Impulse. Position trailing is possible.

A trading system based on the KWAN_CCC indicator signals.

Indicator PCaudateXPeriodCandleRange with the timeframe selection option available in its input parameters.

CRF

Indicator CRF (Cumulative Rotation Factor) displays the states of the market: Uptrends/downtrends/consolidation.

The SilverTrend indicator with the ability to change the indicator timeframe using the input parameters.

Trend direction and force

Flat/trend indicator.

Extreme TMA Line indicator

Generalized double DEMA

ATRStops_v1 indicator in the candle form

Ehler's Center of Gravity indicator

1...192021222324252627282930313233...191