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

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

Indicator BreakOut_Panca_eagle.

Indicator LinearRegSlope_v1.

Indicator Heiken_Ashi_Ma_T3.

Indicator has a rekomendatsionny nature. Shows signals on the basis stohastika.

A simple indicator will be useful for beginners. Even the present optimization.

Shows when to sell and when to buy, but not so simple.

Another indicator showing recommendations for each currency pair and period.

Indicator Triggerlines Shift Modified.

Indicator colours prices of certain areas hh: mm_start before hh: mm_finish.

The indicator shows the volatility of a currency pair. This knowledge may be very helpful when using one strategy or another.

The indicator colored in the AC/AO style with disabled zero bar. It is proposed not to display the forming bar of the indicator, but to show only a signal line of the bar being formed.

A version of indicators to detect Support/Resistance levels.

Building in the current window a ZigZag calculated on a larger timeframe.

Leading Edge trend estimator with bands.

It allows you to calculate profits, StopOuts, and margin, just moving in the chart three lines that correspond with the opening level, StopLoss and TakeProfit of the position.

The indicator shows in the chart the current time in different time zones.

Trading strategy named Fx-chaos is the result of integration of Bill Williams' Chaos Theory, A. Elders' trading strategy (triple choice), and Ryan Jones' Fixed Ratio money management method.

The indicator displays the ratio between the length of the current down-trend (in bars) and the total length of the period barsToProcess (of course, in bars, as well) where the down-trend is searched for.

The indicator represents the ratio between the length of the up-trend found and the length of the entire range where the indicator is searching for an up-trend.

The indicator shows the trend on a daily chart(2) using indicator ZIGZAG-FRACTALS. It also shows the enter price for HIGH/LOW of the preceding bar on the current timeframe.

A fast oscillatorб also suited for scalping.

The indicator shows support/resistance levels calculated using the methods by V.B. Antonov (A_Vlad).

One more interpretation of the well-known ZigZag. The indicator is written to work according the trading system described here: http://forum.fibo-forex.ru/viewtopic.php?t=1368 The indicator works with ZigZag by Rosh (Zigzag2_R_).

The indicator prints net positions for all currencies in the screen. This is a monitor of a multicurrency portfolio.

This indicator has already been placed here. This given modification is more visual.

Indicator OSC-MTF_CF_SYS-v1.1

Indicator Squize_MA.

Simple indicator BBflat_sw.

The indicator displays helpful information for the trader.

It draws a channel with recommendations.

Indicator Impulse CD (Color) is a sequel of impulse approach. By users' requests, colors and signal line are added.

An example of using graphical object OBJ_LABEL for tabular display.

A code/method to test the redrawing indicators, by the example of FxmFish

Indicator RoundLevels draws two "round" nearest levels above and below the current price level. Short English comments are in the MQ4 file.

I modified the original MACD. This resulted in such an interesting indicator.

Indicator StochCandles. Paints candles on the basis of stochastic.

Indicator Stoch Crossing is a modification of EMA-Crossover_Signal based on Stochastic Oscillator.

Indicator Traders Dynamic Index, helps traders to supervise the market.

Indicator MTF_4TF_Supertrend_BarM. Works together with SuperTrend and uses signals CCI.

Percentage Price Oscillator displays more precise signals of divergences between prices and the value of the oscillator. It also emphasizes price extremums more precisely, it moves faster.

1...313233343536373839404142434445...53