Watch how to download trading robots for free
Find us on Twitter!
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 - 26

icon

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.

Submit your code

The indicator draws support & resistance levels based on the last MN1, W1, D1, H4 and H1 fractals.

Detects and displays the fixed value of Constant Range Bars/Candles.

Detects and displays the fixed size of Renko Bars/Candles on offline chart.

Value Chart as developed by David Stendhal. Value Chart was designed to show the valuation of the market.

Time indicator displays broker time and local computer time on the chart.

Draws label of the chart symbol and Period. Any text size, color and position on chart.

Shows the distance to assumed stop with two lines located at a predetermined distance from the current price.

Alerts on New Bar. Alert options - 1: Popup Alert, 2: Sound, 3: Email, 4: Push Notification for iOS and Android.

Triggerlines ported from NinjaTrader to be used with existing strategy and to help identify key buying and selling areas.

Draws a Weekly Open Horizontal Line and Horizontal Target Line above and below the Weekly Open Line.

EURX=34.38805726 x [(EURUSD x 0.3155) + (EURGBP x 0.3056) + (EURJPY x 0.1891) + (EURCHF x 0.1113) + (EURSEK x 0.0785)]

Indicator measures the momentary USD currency strength, using combined data from the following four USD pairs: EURUSD, GBPUSD, AUDUSD and USDJPY.

TRYBASK= 1 x [(USDTRY x 0.50) + (EURTRY x 0.50)]

Candle Closing Time Remaining (CCTR) is an indicator which displays the remaining time for an open candle to be closed.

Shows the Max and Min levels of the previos day and today's open price. Change the "up" and "dn" parameters to see the day candle.

The indicator shows the current market conditions.

The indicator shows the remaining candle time.

This scripts uploads data of open and pending trades to a webserver and with additional webscripting saves it to a database for further processing. May be a good basic for providing signals in your site.

this sideway or trend...confuse?? use this indicator

Specific support and resistance indicator is based on indicators MW_ZigZag.ex4 and High_Low v2.ex4.

You confuse where the next target? Use this indicator - it will show you where the next target.

Draws different color candles above and below MA lines. Supported MA methods: SMA, EMA, SMMA, WMA & TMA.

This Indicator draws different color candles above and below a Kijun Sen line.

Draws Tenkan and Kijun with Color Fill between 1. Price and Tenkan, 2. Price and Kijun, 3. Tenkan and Kijun and 4. No Fill.

The indicator draws 2 Moving Averges with different color filling.

Adds account information to chart: Profit, Balance, Equity, Free Margin, Margin and Margin Level %. On chart click hide/show account information. Show Profit only option.

Displays open position: Symbol + Lots + Points + Profit (Updated for MT4 Build 600)

Display up to six Times Zones. Hide Time Zones not required.

This indicator shows when to buy and sell in the right time..so you don't miss the train.

Tracking Variable Spreads with an Offline Chart

With the MTF RSI Indicator you can easily identify the oversold/overbought levels on several different timeframes by using only one chart.

Cloud indicator based on 2 Moving Averages.

This is an updated version of b Clock.

This is an indicator that uses horizontal lines for calculate lot size for next order. You can drag them up and down until you will get right numbers for your risk and money management that is based on your strategy scenarios.

Support and Resistance levels using the psar logic.

The indicator draws true Key Level on chart based on DiNapoli Fibonacci levels gives point of intraction by buyers and sellers.

Record, storage and displays of data, fully tick chart in MetaTrader.

Yet another pivot points indicator, light and customisable.

This indicator, recognizing trends in an early stage, can be used to get ready for a break-out scenario.

Indicator that shows you market push and future 80% of next big trend.

1...192021222324252627282930313233...61