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 Code Library for MetaTrader 4 - 82

The largest library features codes of free trading Expert Advisors, technical indicators and scripts. With the available applications you can trade in automated mode and analyze price dynamics. Use the library of codes to learn more about financial market sentiments.

Download free applications, test them and run in your MetaTrader 4. You can access them from the MetaTrader 4 platform and the MetaEditor development environment.


Schaff Trend Indicator.

Price Channel Indicator.

NRTR Indicator.

The Keltner Channel indicator locates the most important trends.

iTrend Indicator determines where the trend starts and ends.

Instantaneous Trend Line indicator InsTrend.

Average Volume indicator.

High_Low (ZigZag) indicator.

Hi-Lo indicator.

Elliott Wave Oscillator

Detrended Price Oscillator

Two CCI indicators with different periods in the same indicator subwindow.

The oscillator quickly finds out the trend stop and the start of sideways trend in horizontal interv

Adaptive Moving Average

Indicator that signals about trend turns.

This script evaluates in points account history loaded into client terminal.

Set of functions for calculating optimization results.

Famous AROON Indicator, though someone will need it

Shades New York or other exchange while in session. SetImmediacyON parameter allows shading after fi

Indicator that can be used for entry and exit.

It is realized by the Trading System on a release from intraday time levels, which pay off on indica

This script takes orders from trade history and places arrows on chart for trades.

It is realized by the Trade Sistem on breakdown of day time levels which pay off on indicator Pivot

The Price Channel indicator calculates the highest high and lowest low of the trailing number of bars specified by the input Length.

The indicator displays Buy/Sell arrows as the MACD or RVI indicators are changing.

The DailyPivot Points indicator helps to get the idea of the future market movements, unlike other tools that are usually behind the market.

The main point of Relative Vigor Index Indicator (RVI) is that on the bull market the closing price is, as a rule, higher, than the opening price.

Money Flow Index (MFI) is the indicator, which indicates the rate at which money is invested into a security and then withdrawn from it.

The Standard Deviation Indicator (StdDev) measures the market volatility.

Force Index (FRC) indicator measures the Bulls Power at each increase, and the Bulls Power at each decrease.

Williams’ Percent Range Indicator (%R) is a dynamic technical indicator, which determines whether the market is overbought/oversold.

On Balance Volume Indicator (OBV) is a momentum technical indicator that relates volume to price change.

The Indicator Volumes displays volumes as histogram in separate window and paints the histogram in two colours.

Market Facilitation Index Indicator (BW MFI) is the indicator which shows the change of price for on

Gator Oscillator is based on the Alligator and shows the degree of convergence/divergence of the bal

Fractals indicator it is a series of at least five successive bars, with the highest HIGH in the middle, and two lower HIGHs on both sides.

Envelopes technical indicator is formed with two Moving Averages one of which is shifted upward and another one is shifted downward.

Demarker indicator is based on the comparison of the period maximum with the previous period maximum.

Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

A form of trading system using Price Channel principles has been implemented.