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

icon

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.

Submit your code
latest | best

Adaptive grid expert for mt4

CCI of Moving Average with Dynamic Signal Lines

A simple indicator plotting a channel with a constant range

Advanced Get Oscillator

Colors bars when their volume has exceeded more than a standard deviation, or a multiple of it. Volume is commonly used as confirmation for a break of a significant level.

Solar Winds Joy Histo

On-Balance Volume with Alert

Slope Buffers

Trade classes CTrade, CPositionInfo, COrderInfo, CSymbolInfo from MT5 rewritten for MT4

SmoothStep (generalized) - metatrader 4 version

SmoothStep (metatrader 4 version)

Detecting the start of a new bar or candle, in the OnTick() event handler of an expert advisor.

This simple quick & dirty script code will output a CSV file of all the Signals' properties as reported by the MQL4 Trade Signals functionality.

Just simple codes to Disable/Enable Auto/Algo-Trading in both MT5 and MT4. Of course, DLLs must be allowed, This cannot be done without DLLs

Export the history of transactions on the MT4 trading account.

ADXm experiment (metatrader 4 versions)

Adviser-Utility for copying transactions from one MT5 account or MT4 account to another MT4 account.

Adds the ability to automatically export the transaction history after running the Expert in the strategy Tester.

Chaikin Oscillator with smoothing option.

Fibonacci Morning

Fibonacci Daily

Fibonacci Intraday

Fibonacci Trade Zones

Fibonacci Channel 1

Fibonacci Channel 3

Fibonacci Calculator with Alert

Fibonacci Trade Zones

Auto Pivot Plotter

Axel Pivot

Pivot All Levels

Contrarian Scalping

FXI Stochastic

Inverse Fisher Stochastic

Simple Slope Oscillator Normalized with symbol overlay for MT4

Doda Stochastic

Non-lag MA Stochastic

Adaptative Stochastic

Stochastic Cross with Alert

ETOF Intraday Strategy

Moving Average Cross with Alert

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100