Watch how to download trading robots for free
Find us on Facebook!
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 - 64

Submit your code

Trade signals based on "Bullish Harami/Bearish Harami" candlestick pattern, confirmed by Market Facilitation Index (MFI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

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.

The indicator shows the moments of the market acceleration. Besides, it indicates appropriate time for buying, selling and market exit.

An indicator to put correlated currency charts on a given currency chart. It shows only bars currently. Color/monochrome mode is configurable. It also supports currency inversion for handling EURUSD & USDCHF like pairs.

CERDOnArray class is designed to calculate the Efficiency Ratio (ER) used in the Adaptive Moving Average (AMA) considering price movement direction. When the price is moving upwards the indicator has positive values, when it is moving downwards, - negative ones.

CMomentumOnArray class is designed for calculation of Momentum values on indicator buffers. Test_MomentumOnArray indicator is provided as the example of the class use.

Trend Indicator. There are 10 possible variants of changing the averaging of the signal line in this indicator.

This indicator shows the "ultimate support/resistance" levels of current trend. Trend changes is shown with color rectangles, trend direction is shown with colored dots.

The CEnvelopesOnArray class is intended for calculation of Envelopes on an indicator buffer.

Trading signals module for MQL5 Wizard. The moment, when a candlestick formed by FiboCandles changes its color, indicates the time for market entry.

A simple script for switching basic timeframes. It allows to change a chart period using hot keys.

Two-Line MACD. This indicator is available by default in a great deal of trading platforms. But it cannot be found in Metatrader 5.

The function that calculates the lot size depending on the amount of money in the deposit currency being used.

Digital filtration of the variation indicator.

Bill William's Gator Oscillator which is drawn on the high and displayed on the lower timeframe.

The variant of the UltraFatl indicator which can be placed by fixing timeframe of the indicator on a value different from the chart timeframe.

This indicator is calculated on the basis of currency pair volatility displaying the nearest support and resistance level depending on the trend direction.

A digital filter of rapid trend with a reference line, implemented in the form of a cloud.

Ergodic MACD-Oscillator implemented in the form of a color histogram.

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

The indicator draws candlesticks of a larger timeframe as color filled rectangles.

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

A trend indicator that uses Standard Deviation.

A trendless indicator (oscillator).

The ColorJFatl indicator with additional trend strength indication using colored dots based on the standard deviation algorithm.

The Laguerre indicator implemented as a sequence of candlesticks.

The BinaryWave indicator with additional trend strength indication using colored dots based on the standard deviation algorithm.

The Donchian_Fibo indicator implemented as a cloud.

Extended CCI indicator based on a standard indicator bundled with MetaTrader 5.

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

The ColorSchaffTrendCycle indicator implemented as a sequence of candlesticks.

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

The JMA adaptive moving average with additional trend strength indication using colored dots based on the standard deviation algorithm.

The LeManTrendHist with the timeframe selection option available in the input parameters.

The MACD ColorMACD histogram with the timeframe selection option available in input parameters.

MaChannel indicator with the timeframe selection option available in input parameters.

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

1...575859606162636465666768697071...183