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

Submit your code

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

This version of Heiken Ashi Zone Trade indicator is made to display values in a separate window - that way it will not interfere with the other on-chart indicators and can be easier to read the states in some cases.

The indicator of the lowest tops and the highest bottoms.

Handy functions for comparison, rounding, formatting and debugging of doubles (prices, lots and money).

Fibonacci Pivot points indicator that can draw any number of levels for any of the known timeframes usable by MetaTrader 5.

The EA uses the following indicators: iADX (Average Directional Movement Index, ADX), two iMAs (Moving Average,MA) - one indicator at CLOSE prices and another one at OPEN prices, iOsMA (Moving Average of Oscillator, OsMA).

Trend Envelopes indicator that uses ATR for the price change calculation.

Trend direction and force

Average Penetration indicator displayed as bars.

Fan WRSI indicator

Ergodic TSI (True Strength Index) as described by William Blau

Indicator RSI Overlay

Advance Parabolic Time/Price System

A logging library similar to Log4j but for MQL.

Hurst Exponent - optimized version

The Indicator paints the bars according to the Trade Zones, as proposed by Bill Williams.

The Volumes indicator shows volumes with different colors depending on the volume changes.

Draws 96 line MAs with only 100 lines of code (uses CMyBuffer class).

The advantage of FRAMA is the possibility to follow strong trend movements and to sufficiently slow down at the moments of price consolidation.

This oscillator measures the ratio between the sum of positive increments and sum of negative increments for a certain period.

Indicator for Woodie’s CCI trading strategy.

It uses martingale, the number of doublings is limited.

Adaptive Momentum from John Ehlers' book "Cybernetic Analysis for Stocks and Futures: Cutting-Edge DSP Technology to Improve Your Trading".

The indicator shows the average percentage value of the last candlesticks overlap. It is useful for those, who enters the market manually using limit orders during price consolidation, as it allows to select order direction. Blue line - recommended BUY-LIMIT, red one - SELL-LIMIT.

The indicator building Stop Loss levels lines according to BrainTrend1 trading system data with preliminary price timeseries smoothing.

Typical unnormalized oscillator displayed as a color histogram.

Moving Average Envelopes.

Trading signals module for MQL5 Wizard. Karacatica indicator's color arrow serves as a market entry signal.

The indicator creates a channel and provides the possibility to configure it with automatic tuning.

Introducing the example of visualization of optimization results in real time (balance curve dynamics and an Expert Advisor statistical parameters).

The class for localization/multilingual support of text messages in user MQL5 programs

The indicator to display time ranges

The narrowest range indicator defines the moments when the market is in the "compressed" state that says of the future breakthrough in this or that side

This indicator will plot divergence lines on the Awesome_Oscillator indicator and will give buy and sell signal by displaying arrows.

The script switches all opened charts at a certain interval. It is also possible to display only the charts of certain symbols.

StocksBG indicator displays the activity of major stock exchanges on a chart with M15 or less timeframe.

The indicator places a horizontal non-trade level on a chart that helps intraday traders to evaluate trend change within a day.

Trading system based on the signals of the PA_Oscillator indicator.

A trading system based on the signals of the WPR_Histogram indicator.

Trading system based on Elliott_Wave_Oscillator indicator signals.

1...202122232425262728293031323334...183