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

MQL4 Source Codes of Technical Indicators for MetaTrader 4 - 13

icon

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.

Submit your code

Multi-timeframe PCCI indicator.

Another variation of the Macd. I do not remember it had already been published.

The indicator predicts (at least tries to) the RSI on a specified number of bars using the cluster analysis

Example of plotting a function spectrum using the FFT library

The MACD is not required to be present on the chart. However, if a standard MACD is attached, the divergence lines will be drawn both on the chart and in the indicator window, and the indicator will use the MACD settings.

Really helps in trading

Divergence based on a standard Stochastic with Alert and language selection.

This is a table of signals created based on the popular market indicators ... I think anyone can find it useful.

Allows to get the signals for entering and exiting the market.

Another attempt to adapt the moving average.

Simplified Parabolic

The Correlation USDCHF/EURUSD indicator.

MACD on the chart.

It displays the current location in time relative to the beginning and end of the current bar. It additionally displays the proportion of time elapsed from the beginning of the bar as a percentage of the duration of the whole bar. It is useful for monitoring the moment of making the trading decisions.

Revised Parabolic.

Trend indicator. It adapts to the history, unfortunately redraws.

The indicator displays in a separate subwindow of the chart the current symbol, Bid/Ask prices, the current swap, the expected deposit for long/short position as well as the floating spread for the symbol and the remaining time until the candle completion of the current timeframe... Let's see

Indicator PivotCustomTime.

Indicator AutoDayFibs.

ASCTrend1sig

Indicator T3 Bands.

Indicator Hi-Lo.

Plotting the ROC indicators of two custom types (including Momentum) and periods in one window.

The MDAC indicator by Elder

The SeNSetiVe indicator. The indicator displayed the market movement direction when the zero line is crossed.

The 3c_DM indicator.

The CandlesticksBW indicator. Plots bars by B. Williams.

The Commentator indicator analyzes and displays the possible action for a certain time interval.

The Ind-Widners Oscilator indicator. Draws the support and resistance levels.

The ind - Profitunity Bars indicator. Colors the bars in green, red and black.

Combined MA

The Bollinger Bands (BB) indicator is plotted at the distances equal to a certain number of standard deviations.

A simple alternative to the Alligator.

The indicator draws the linear regression line based on the closing prices of the last bars.

Indicator of channels on different timeframes.

Indicator that automatically draws Fibo Retracement.

Displaying ATR (Average True Range) value in pips or points with option for setting multiplier.

Buy and Sell arrows based on exit from overbought and oversold region in Stochastic Oscillator.

An indicator for drawing all important Pivot Points including: "Classic", "Camarilla", "Woodie", "Floor", "Fibonacci", "Fibonacci_Retracement".

The indicator shows computer time resolution. Normally it is about 15-16 ms. This is important, for example, to copy positions from other MetaTrader 4.

1...67891011121314151617181920...63