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

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.

To post a new code, please log in or register
latest|best

Indicator DayPivotPoint System with Signal and Alert for MetaTrader 4

ForexCandlestickPatterns with alert are forex indicators based on Japanese Candlestick Strategies.

iTrend_new is base on iTrend Indicator by MetaQuotes Software Corp. Update and modify by Roberto Jacobs 3rjfx @ 2019/03/18, for MT4 with Signal and Alert and options to display signal on the chart.

Separate window! Uses daily open price and current price (close price for closed candles) to compute % change for the day.

Uses open price on D1 timeframe and current price to calculate % change for the day, and comments it in the main chart window.

Indicator OBVMTF base on the On Balance Volume indicator with Signal and Alert for MetaTrader 4 with options to display signal on the chart. with Signal and Alert, email alert, Push Notification and option to display trader info and signal.

Buffer-free indicator implemented on iCanvas

high-low channel

Instead of having to analyze each pair individually, you can see at a glance what are the most promising pairs according to your own criteria.

Displays colored bars for MACD indicator above or below the zero level. Configurable with alerts.

This indicator calculates and displays the Euro Index and 2 definable moving averages. In order for it to work, the broker must provide prices for all the reference pairs, i.e. EURUSD, EURJPY, EURGBP, EURSEK, EURCHF.

Indicator WaveMTF Bull and Bear System with Signal and Alert for MetaTrader 4 with options to display signal on the chart. with Signal and Alert, email alert, Push Notification and option to display trader info and signal.

A simple indicator to draw vertical lines at specified time in the settings.

Software is the modifying indicator base on BrainTrend2SigALERTS by BrainTrading Inc. with Signal and Alert, email alert and option to display trader info and signal. Hopefully useful for fellow traders.

Indicator ZigZag System with Signal and Alert Added Alert and modify by Roberto Jacobs 3rjfx @ 2018/12/29

Forex Indicator Price Movement Degrees with Trend Alerts. This indicator will write value degrees of the latest position of price at the current time frames according to the Daily price movement, and when position and condition of trend status was changed the indicator will give an alerts.

This indicator is based on the Money Management approach used by VP from nononsenseforex.com It uses ATR to calculate Stop Loss, Take Profit and Volume you should enter into a trade based on the percentage of your Equity you want to risk.

This indicator will display the combined values of all stop losses and take profits.

Scans multiple symbols looking for when the price crosses a pivot point then it alerts the trader.

The indicator pivot points consist of support and resistance.

StochasticAlerts is base of the Indicator Stochastic Oscillator by MetaQuotes Software Corp. with alert and email alert and option to display trader info and signal.

Parabolic Stop-And-Reversal system with Alert is base of the Indicator Parabolic by MetaQuotes Software Corp. with alert and email alert and option to display trader info and signal.

KeltnerChannels is base of the Indicator Keltner_Channels by MetaQuotes Software Corp. with alert and email alert and option to display trader info and signal. Hopefully useful for fellow traders.

FractalsAlert is base of the Indicator Fractals by MetaQuotes Software Corp. with alert and email alert and option to display trader info and signal.

MACD indicator, red color mean bullish, blue color mean bearish.

A dynamic version of the standard Heikin Ashi indicator (code compatible with both MQL4 or MQL5).

This is just another version of the well known Super Trend indicator. The code is simplified but it has the same output on the chart screen.

Displays a line when the markets are opened.

Relative Strength Levy can be abbreviated as RSL.

Creates Fibonacci Retracement on the chart based on the ZigZag indicator. Tap the "X" or "Z" key to scroll through each swing in the ZigZag, to the right or to the left. For those who do not like clutter on their charts. The indicator can scroll to the right until it disappears from the chart, but it is still there. Scroll left to bring it back. This is one of the most useful tools in my trading toolbox!

AutoFibLinesMrVB indicator draws automatically the Fibonacci levels on the chart.

Tipu CCI is one of the popular indicators in the Market. The original code for Tipu CCI is modified by removing compatibility with Tipu Panel. This version of Tipu CCI is open for everyone who is interested in developing an Expert Advisor.

Calculate Pivot Points based on H1 bar, according to normal formula and Fibonacci, with color filling.

This indicator is based on original RSI, but more features are added to general signals and watch the strength of the price movement. The main purpose is to general buy/sell signals using smoothed RSI and its MA.

The indicator is based on the idea that before the price and the indicator itself turn, the indicator rate slows down first and only then turns.

This is the semaphore indicator with arrows based on BB and RSI.

This is the semaphore indicator of candles that highlights the candles on the chart, which have same direction like all candles for your chosen timeframes.

Displays the relative strengths of chosen currencies on one chart.

Get entry signals from specific candles based on your rules.

Displays a Histogram of Momentum, ATR, CCI or RSI indicators relative to a specified level.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354