Download MetaTrader 5

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

MQL4 Source Codes of Technical Indicators for MetaTrader 4 - 11

The library of technical indicators for MetaTrader 4 developed in MQL4. Regardless of the market (forex, securities or commodity market), indicators help to represent quotes in an accessible form for easy perception.

This section contains thousands of applications that analyze financial markets using different algorithms. Conventionally, they can be divided into a few categories: trend indicators, oscillators, volume indicators and so on. In addition, there are sets of indicators based on algorithms by famous financiers. For example, Bill Williams' indicators and likes of it. All of them are characterized by different parameters of reliability, efficiency, lagging and others. There are more than 2000 indicators for technical analysis: trend indicators, reversal indicators, indicators of levels, predictors, scalping indicators and many others.

latest|best

The OsMACD indicator is a combination of the colored Moving Average of Oscillator(OsMA) and Moving Average Convergence/Divergence(MACD) indicators.

A simple indicator of the floating reference center and its nearest resistance and support levels.

A simple trend indicator that clearly shows the direction of the current trend. It can be used in the breakout trading systems.

The New Fractal Lines indicator implements not the "squat" bar, but the "squat" fractal and draws the fractal lines.

The MA-4H indicator displays the moving average of the selected timeframe on the chart of the current timeframe. The intersection of the two moving averages is implemented as optional. The external parameters allow to activate the second moving average in order to see their intersection.

Commentary on behalf of Exponential Moving Average.

Simple display any time zone daily channel.

This is an indicator which totally based on RSI. The reason to amend this indicator is knowing the strength of a currency.

This indicator shows MACD in the main chart.

The indicator shows the current possibilities for getting buy, sell, or exit positions. No need to attach 6 indicators at a time.

The indicator is for seasonal trade.

The RSI indicator in the main chart window.

Areas of the potential price reversals.

The multi-timeframe version of the ChannelsFIBO_v2 indicator.

The signal indicator that detects potential market entry points.

The indicator points to the potential entry points.

The RSI indicator implemented as a histogram with a designation of the overbought and oversold levels.

The Fibonacci channel with the ability to select the type of the reference distance.

The indicator draws a price channel using the Hodrick-Prescott Filter.

The indicator based on the moving averages shifted to the left relative to the chart.

The presented indicator plots a fully-functional tick chart similar to the standard price charts, with the ability of the analysis using all the MetaTrader features.

The indicator was developed to help analyze the interesting strategies, and also to practice and gain experience in analyzing the signals on history data in the selected strategy.

The indicator shows the identification (magic) number and the profit of the order.

The indicator displays the pairs with the current price most/least distant from the opening price.

The indicator points at the reverse bars based on the Profitunity system by Bill Williams excluding the angulation relative to the Alligator indicator mouth.

This indicator can be useful for arbitrageurs.

The Slope Direction Line trend indicator, used by the Hammering EA from the Market section.

The indicator uses Move Average to draw the level line of up and down.

The indicator shows: the remaining time on each candle, the changing value of the Bid price, tick by tick, the relative price position of the Bid/Ask spread.

A round-number horizontal web with continuous auto-adjusting.

View current and historical trends of every timeframe.

Non-optimized version of Kaufman's adaptive moving average.

Standard MACD diagram with bullish and bearish bars colored differently.

The indicator places two price marks for the expected candle close, based on the candle range and the chart type.

Spread, its moving average (EMA), its maximum and minimum, and ticks per second (market speed) in the Comment. The version 1.01 is made with the normal average, instead of the moving average.

The indicator for the floating spread. Displays the change in spread of multiple currency pairs.

The multitimeframe version of the ChannelsFIBO indicator.

The indicator marks the bars, the size of which exceeds the value specified in the settings.

The arrow indicator that displays the potential market entry points based on the simultaneous presence of three Stochastic indicators with different periods in the overbought/oversold areas.

The indicator plots a channel based on fractals.

1...456789101112131415161718...54