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

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

Awesome Oscillator (AO) is a 34-period simple Moving Average, which is subtracted from the 5-period simple Moving Average.

Average True Range Indicator (ATR) is an indicator that shows volatility of the market.

Alligator indicator is a combination of Balance Lines that use fractal geometry and nonlinear dynamics.

Accumulation/Distribution Indicator is determined by the changes in price and volume.

Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Sample Trading Sistem for cross 2MA & CCI

Stdlib - example of library

Example of file read and write operations

Easy example working with object: object creation, modification properties, redraw chart.

Example: Moving Average indicator filling by different colors

Classical MACD Sample.