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

Hull moving average (non-repainting version)

Simple decycler oscillator

Sell relative strength index (SRSi)

RSI in MA is an indicator to change color in iMA if iRSI crosses level up (uptrend) or crosses level down (downtrend). For more information about the indicator you can to visit the product's page: https://www.mql5.com/en/market/product/6446

CCI in MA is an indicator to change color in iMA if iCCI crosses level up (uptrend) or crosses level down (downtrend). For more information, you can visit the product's page: https://www.mql5.com/en/market/product/6444

It's an indicator to show some information about the account on the chart. For more information about indicator you can to visit the product's page https://www.mql5.com/en/market/product/7056

It is based on solar winds joy and modified based on that. It is giving some good performance

MT4 Indicator for Position Size Calculation

Fractals - adjustable period and prices

Volume indicator as modified by RonT, but histogram bar color will be red on a down candle, green on an up candle

This indicator uses various SMA to indicate a possible reversal point.

The indicator plots Pivot levels for 3 custom periods on chart.

Building a moving line by a polynomial of the 4th degree. Extrapolate a sine curve and its axis. One value on each bar is removed from the drawn lines and a sliding line of extrapolated values is drawn, which is not redrawn.

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.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455