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

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 indicator will draw vertical lines every hour or any minute that you desire within the hour as long as a candle closes on that minute over the top of other indicators in the sub window.

Two indicators MA_Support and Para_B

The RSI indicator, applied to Moving Average

My version of the famous indicator

A simple indicator that shows the price change, in pips, per candle.

Parabolic SAR on the M1 from all Time Frames

A volume-adjusted reading of the net flow of USD as measured by all 7 major currency pairs.

This indicator looks at local high/lows. It connects the points and finds where a local high and low appears many times. Depending on how many times a local high/low appears, it draws colored lines into the chart.

The indicator shows the power of the trend that is in place and whether a pair is trending or ranging. Many user adjustable variables.

All Moving Average on the M1 Time Frame

The indicator displays the ratio of lengths of the bodies last N candles

Zero values characterizes the Flat Trend. V-shaped pulse indicates the entrance to the opposite direction. U-shaped ilpuls - entry in the same direction.

This indicator allows you to draw candles of an higher timeframe on your chart. Example: Draw H1 candles on your M1 chart.

A day Hi Lo

Прорыв трендовых линий

Three indicators MA, RSI and Stoxastic with the ability to select the desired timeframe.

This indicator displays the variations of the Hurst Exponent which are seen as a predictor of the variations of volatility, therefore giving an indication on when to enter the market.

Indicator draw green and red lines similar to wavy dash. Green is a buy signal, red is a sell signal.

Multi function price indicator

Indicators Multi pairs and multi-functions

The Variant of the oscillator. Entry on change the sign (intersection 0 axise ) . It Is Painted depending on positions of the indicator for 0 axises (+or-) for two senior periods to the current. The Example: m1 red if m5+ m15- , м1 crimson if m5+ m15+.

The indicator alerts at order closing, and reports about its profit.

Displaying of any instrument, synchronisation on bars or on days.

This a bollinger band indicator with an extra deviation level. If you keep the period at 25 and deviations of 1.0 and 2.0, It will show you all your resistance and support lines. And also overbought and oversold levels.

Shows you the value of the highest high, the lowest low and the average of both over the last x Bars (to be set in the input tab).

This indicator is EMAs drawn by Fibonacci numbers.

Detection of a pattern "three Indians" on the basis of the ZigZag.

This indicator measure the dispersion of the fractal dimension of various timeframes around the fractal dimension of a reference timeframe (which is the longer timeframe considered).

With this system you will be able to evaluate strategies in an objective way, to develop strategies and see immediate trading results after making changes, to test multi-currency strategies, etc. Sample trading indicator is also included.

VSA is about reading the market and mapping it out to give you a better understanding of what it might do next.

This indicator combines the best traditions of oscillators and indicators for tracking the trend

three indicators to use with the Raghee Horner method

This indicator displays on the current (lower) timeframe the overall trend on a higher timeframe. It also displays & alerts RSI overbought oversold conditions.

The Indicator analyses 4 currency pairs, compares them and prints the current divergence on the chart.

Displaying of candles of any instrument of any period.

Multi Moving Average v2 - is a new version of the indicator Multi Moving Average.

In this field give a brief description of your script (1-2 sentences).

On of my books says about moving average, that there is no "magic settings", this indicator tries out a lot of possible combinations between a long and a short moving average.

KoliEr Bands give you a step by step view for support and resistant levels. If Bollinger Bands is Batman, KoliEr Bands is Robin. Use them together.

This indicator shows changes in the direction of a moving average. It works like looking with a microscope at a moving average curve.

1...181920212223242526272829303132...53