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

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.


Different view of the figures and the patterns of the day ....

Writes days of week above candles.

Moving average on the basis of individual price

Indicator displays information about the current positions

This is a new implementation of the SuperTrend indicator for MetaTrader 4. The SuperTrend indicator is an application of the concept of MAE (maximum adverse excursion), which was introduced by John Sweeney in the mid-nineties.

See for getting a connection between highs and a connection between lows. I made a zigzag this way.

The indicator specifies on trend and lateral movements of the price.

The moving average that divides the prices for classes. The classes with extreme price get bigger weight (importance)

I'm looking for a skilled programmer that can take my existing EA alert and fine tune it. I have a solid set of rules that consistantly make me money, and I am looking to automate the signals so that I can effectively manage several currency charts at th

Shows you profit history in real time.

Moving Average on Moving Average

Schaff Trend + Signal EMA

For those trader who can't stand having the Market Watch or Navigator boxes up on their platform but like to have a time displayed on chart a Simple Clock Indicator

Indicator BoDi for finding signals to close position.

MFI indicator with possibility to establish applied price.

Scalper system. It shows the entry, takeprofit and stoploss levels.

Scalper system. It shows the entry, takeprofit and stoploss levels.

This indicator gives BUY and SELL signals and entry level.

Simple multicurrency trend indicator. You can modify it according to your taste.

PEMA is the Pentuple Exponential Moving Average.

QEMA is the Quadruple Exponential Moving Average.

This indicator computes the median of odd span. It is often considered as one of the most robust smoothing operator in the presence of outlier values, and particularly more robust than the mean.

MACD indicator with possibility to establish mode of moving average and applied price.

Detects and displays fixed value of Constant Range Candles - Range Bars and Renko Boxes. Place any position on chart.

Bollinger Bands indicator with possibility to establish mode of moving average, applied price and deviation as a double value.

Find the highest and lowest price in the specified period,then draw four 25~85-degree angle line for forecast price .

This is the standard MACD indicator drawing two flat lines instead of a signal line. It allows you to detect and trade flat markets.

Regression channel for long period, per variable is number of candle, deviation variable is a standard deviation.

Draws a Horizontal Line at Session Open: On the hour (09:00, 15:00 etc) or any minute past the hour (9:30, 18:47 etc).

Displays open position: Profit or Loss + Lots Long or Short + Pips or Points

The new idea of the classical Bears Bulls Indicator.

This is classic implementation of the Turtle Trading system, with clear entry/exits signals within the same trend and enter/exit alerts. It should be used together with my other indicator, The Turtle Trading Channel to get further entry signals if you h

A trend following indicator that implements Dennis Gartman and Bill Eckhart trading system. Commonly known as "The Turtle Trader".

Draws a Vertical Line at Session Open - Eurozone/London - USA - Asia.

Another suggested way to track Heiken Ashi candles and trading short-term price swings

Indicator based on MACFibo trading strategy

3 TF Zigag Level with same settings.

Choosing between Heiken Ashi bars and candlesticks is a problem and measuring when the short term trend is losing strengh is another one. This indicator solves both.

Multi Time Frame Standard Deviation

Draws an ATR envelope surrounding price action and assists you in setting proper stoploss and takeprofit levels.