MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Source code library - Expert Advisors, Indicators and Scripts

Traders need developers' services
To post a new code, please log in or register

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 Jobs section

MQL4 Source Code Library for the MetaTrader 4 - Indicators

Want to learn the MQL4 programming language, but don't know where to start? Here you can find a lot of MQL4 programs for the MetaTrader 4 client terminal. Study these examples and develop your own indicators and Expert Advisors. Being published in the largest library of codes in the MQL4 language, your applications will be accessible from every MetaTrader 4 terminal and MetaEditor IDE.

Your examples in MQL5 will be distributed throughout the world and hundreds of thousands of traders will learn about you!

previous12345678...38next
latest|best

Draws horizontal grid lines at specified distances.

The indicator shows trade signals using combined Stohastic with breaking of High/Low by Moving Average.

Forex indicator ChainPriceRSI is based on the RSI and MA indicators.

The indicator shows top and bottom ranges of price movement.

Modified Nick Bilak's b-clock with spread (ask-bid) and font customization (font, color, size).

This indicator shows Bollinger and ATR Bands.

BBMACD_v2 is the Bollinger Bands® and MACD indicator in the same place at separate window version 2.

BBMACD is the Bollinger Bands® and MACD indicator in the same place at separate window.

TMA Slope indicator.

Smoothed RSI indicator.

Smoothed ATR indicator.

Smoothed CCI indicator.

The indicator plots trade history on the chart and account informaton.

Correlation between 8 currencies.

Implementation of zero lag countdown timer.

Some basic information which every trader needs.

MACD Momentum indicator (The Red line is the Momentum 10 of the histogram MACD, smoothed 3).

This indicator helps to find possible support/resistance areas after a trend has developed.

A few oscillators (RSI, CCI & PercentRange) drawn in the chart window.

Once the price closes above or below the two moving (60 &100) a signal is generated. Signal must be generated ONLY in-case the price closes above/below the TWO lines.

BBWin is the Bollinger Bands® indicator in the separate window with trend lines.

The indicator shows candle end time and current spread.

Traces the output of indicators by buffer. Output can be changed on the chart by moving the VL left or right.

The indicator helps to find the correct trend before enter the market.

Trading information with Fractal trend.

The indicator calculates and draws the highest, lowest and median point of certain period.

This indicator will write value degrees of the lastest position of price at the current timeframes, and when position and condition of trend status was changed, the indicator will give an alerts.

3 EMA Crossover Indicator.

This indicator based on a 5 period simple moving average detects trends: if there is an uptrend then shows green bars, if there is a downtrend then shows red bars, if there is a weak trend then shows yellow bars.

Average Modified Moving Average.

Detects Head Fake Patterns which are effective in trading reversals.

Advanced ADX indicator.

The spread_on_chart indicator shows the current values of spread, stop and freeze levels.

The oscillator for intraday trading.

The indicator shows entry points according to AC indicator.

MACD indicator.

Plot the STOPD Price Levels based on user specified timeframe.

Typical zigzag indicator

Step Up and Down Forex Indicator draws the price direction movement with single arrow Up or Down on the trading chart.

DailyLines Vertical lines starting new Day with above name of the DAY. Period Separators with options to choose different styles.

previous12345678...38