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 - 80

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.


The Expert Advisor Stoch works with SellLimit and BuyLimit pending orders.

The Expert Advisor MACD_signal is founded on signals of Average Directional Movement Index (ADX) and Moving Average Convergence/Divergence (MACD) indicators.

The Expert Adviser MARE5.1 is much simple and uses values of Simple Moving Average (SMA) on Close Price of 0, 2 and 5 bars.

The Expert Advisor TDSGlobal uses the indicators MACD, OsMA and WPR.

Expert Advisors MySystem using indicators BullsPower and BearsPower.

Expert shows how Backtest results are unreliable when you open and close an order on the same bar.

Trix Indicator - oscillator based on a triple smoothed EMA.

Drive is a comparision between total up & down movement of each bar. Identifies Trend.

Zerolagstochs Indicator.

Support and Resistance Indicator.

CoeffofLine Indicator.

RobotPowerM5_meta4V12 Expert Advisors.

ROC Indicator.

Multi_Lot_Scalper Expert Advisors.

BB_MACD Indicator.

ATR ratio Indicator.

ATR Channels Indicator.

ADXcrosses Indicator.

Smoothed ADX BARS Indicator.

wlxFractals Indicator.

wlxBWWiseMan Indicator.

NRTR_ATR_STOP Indicator.

AMA STL Indicator.

TSI_MACD Indicator.

FX Sniper's T3 CCI Indicator.

Hull Trend Indicator.

b-clock Indicator.

Fibo Pivot Lines GMT Indicator.

ForexOFFTrend Indicator.

Fractal Channel Indicator.

Carter MA Indicator.

newMACD Indicator.

Pattern Recognition v1.0 Indicator.

RD-ForecastOsc Indicator.

Fractal ZigZag Expert Advisors.

Murrey_Math_Modified Indicator.

Murrey_Math_MT_VG Indicator.

Trigger Line Indicator.

Nina Indicator.

IND Inverse Indicator.