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

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

to show the proportion of filled candle http://forum.m-e-c.biz/t28908.html

A hybrid indicator where three selectable phase shifted filtered signals can be used, either indivually, or collectively to detect price trends.

This indicator for draw an Arrows for buy & sell, it's Depends on RSI Indicator http://forum.m-e-c.biz/t25109.html

This indicator for draw an Arrows for buy & sell, it's Depends on Cross 3 Moving Averages http://forum.m-e-c.biz/t29278.html

A rework of a script by iliko, with the addition of the standard deviation of the estimator of the box-counting dimension

This indicator for draw an Arrows for buy & sell , it's Depends on T3 Indicator http://forum.m-e-c.biz/t29283.html

This is stochasticzation of Chaikin's Volatility

This indicator uses a combination of Bollinger Bands and Keltner Channels to capture moves from low to high volatility.

The indicator of price levels fractals.

%BB is indicator comes from Bollinger Bands.

This indicator is used to show the trend of the 30 min charts. You can then apply your Long Strategy when the market is UP and Short Strategy when the market is DOWN.

This tool combines the original Bands with Bollinger Bandwidth and removes the extra window for Bollinger Bandwidth. Instead Bandwidth is now a value in the comment in the top left corner. This makes more efficient use of the chart space and still allow

An investigation of the Bollinger band has shown that when the bandwidth (distance between the top and bottom bands) is below 4, the market is compressed and about to break out. When the bandwidth reaches 11, there is a strong wave for scalp trading. Be

Basic indicator that displays the strength of a move, based either on either moving averages, MACD, or stochastics.

For all they need some "play" for visualing the USDx. Use for testing only, not finished and free of errors yet.

This indicator shows the moving average (simple or exponential) of the Standard Deviation.

This indicator gives you Buy or Sell signal.

This indicator paints Point & Figure chart.

This is a Simple Moving Average (contrary to Ehlers FRAMA that starts from an EMA), smoothed using findings from the fractal analysis of the on-going price changes.

RSI with MA and Label value/phase indicator

This indicator uses five different indicators from 6 different timeframes to give a signal.

This indicator shows some Support/Resistance lines. The number of lines is variable (max 6). The more support lines are, the stronger "bull" will be expected. It also displays entry signals.These signals may be often disappointing, but sometimes good.

Display risk/reward ratio in the chart (UPDATED)

This indicator is another implementation of daily pivot points that allows the time for pivot point calculation to be advanced or delayed from the server time. It considers any Saturday trading to be Friday and any Sunday trading to be Monday.

This code of Parabolic SAR doesn't make the errors when working together with the same second indicator located on the same chart.

The indicator of peak price values.

The divergences of the Stochastic, the continuation of the divergences topic.

BO

Oscillator.

The digital filter of the price.

The indicator of 2 МАs of different currency pairs in one window.

The trend indicator RAVI (Range Action Verification Index) invented by T. Chand.

It shows the levels: SPREAD and STOPLEVEL - the minimum allowed levels of the StopLoss/TakeProfit in points. It informs if these values are changed.

A signal indicator based on the signal from AO and AC - the changing of the hystogram color.

It is a simple indicator that consists of four trend lines that show the distance between the trend line and the price via the numbers and that give the signals when the price goes for the specified number of points.

The indicator draws the arrows at the intersection of the MA and the RSI of the 50 level.

Another Avocational Indicator by Hidden Divergence of OsMA.

The indicator applies Hodrick-Prescott low-frequency filter to predict future prices

The different colored snippets of MA are shown on the current chart depending on the direction of the MA moving at on the chosen timeframes, or they're not drawn at all if the moving on the chosen timeframes is differently directed.

Indicator of the morning flat.

The indicators that can display several larger timeframes, japanese candlesticks and Fibo levels on a single chart.

1...313233343536373839404142434445...61