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

The Fibonacci channel display, the axis of which is the moving average line.

The indicator displays a channel based on the moving averages.

Display of the Heiken Ashi candlestick indicator in a subwindow.

The RSI with dynamic levels.

The indicator showing the supply and demand zones.

Example of creating info panels.

Display of a symbol's chart in a subwindow of another symbol.

Triple Exponential Moving Average with customizable parameters.

The channel indicator plots a linear regression channel.

The Super Trend indicator not only determines the trend direction, but also helps to detect the Elliott waves.

The indicator displays the equity and balance charts.

Reveals distance from the actual price up to the breakthrough of recently set support or resistance levels.

The indicator shows the length of the trend line in points.

Plays sound alerts when the price reaches certain levels, specified by trader.

Shows the current gain and loss for the candlesticks on the chart.

A simple visualizer of trends.

The indicator shows current trend direction by placing colored dots on the main chart.

The indicator detects and marks the WRB (Wide Range Bars) or candlesticks with Wide Range Bodies.

The indicator of divergences on 30 oscillators of choice.

The Pinbar Detector indicator tries to identify the pin bars.

1...456789101112131415161718...53