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

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

If you like plotting channels, I recommend plotting them yourself. This is particularly true for the slope channels. However, if you use channels merely as filters or simply like to set alerts on these levels, then the indicator will be useful.

Really useful channel indicator.

In classical literature, the relative strength index is described as the "price-following oscillator that ranges between 0 and 100, and signals the market sentiment to change the trend at high (close to 100%) or low (close to 0%)...

The most common and essential modification of Bollinger bands. Displays the standard deviation in a separate window, without disturbing the trading psychologically.

A modification of the popular ADX indicator.

Kaufman Moving Average.

The 4Period RSI Arrows indicator

Moving average channel based on the Fibo levels

Indicator based on the data of multiple RSI, Bollinger, MAverage. Beautifully displays the areas for buying and selling. Recoups 30-90 points, depending on the currency.

Indicates the number of periods for the calculation of the average line.

Through the use of more sophisticated smoothing algorithms this RSI has less delay and smoother shape of the curve.

The FanSimple displays the correctness of reversal of the moving averages fan on different timeframes. The indicator includes four moving averages with the values 5, 21, 55, 233, that are displayed on the chart.

The name of the indicator is left as it was: Plagiat. In the original version it was HMA.mq4 (based on a publication in ForexMagazine #104").

The currency indices indicator with the ability to calculate CCI, RSI, Momentum, MACD and Stochastic.

The CatFX50 is an easy and winning system, but it is not so simple. Be sensible and place stops at the distance of 34 pips.

Shows when to buy and when to sell. Position is opened when the indicator color changes: if there is a green dot - buy, if there is a red dot - sell.

Displays the situation when the directions of price movement and technical indicators do not coincide. This is mostly seen when the indicator reaches an overbought or oversold area (20;80).

The indicator displays the ranges. Useful for the visualization of various "zones".

Simple indicator with great potential for the analysis of data and its use.

Displays the difference between the long-term and short-term market sentiments relative to the price.

A solution for those who can not devote much time to the analysis of the current situation on the Forex market and to making correct and confident decisions, that are an integral part of online trading.

The LSMA is used for confirmation of counter-trend signals.

The Range indicator displays the index of the range expansion and is an oscillator for the market calculation.

Indicators for the "Chaos" trading system described in the third book by Bill Williams (Bill Williams and Justin Williams. Trading Chaos - Second Edition).

The indicator shows direction of movement and rollbacks.

Universal trend utility for near predictions and making decisions by "stops" and/or "stops/reversals" of the orders.

The CurrencyChart indicator allows to display the charts of multiple currencies (symbols) in a single window.

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.

1...34567891011121314151617...53