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


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

NRMA is the famous indicator by Konstantin Kopyrkin.

The volatility indicator by Chaikin accounts for the spread changes between the maximal and minimal prices. It defines the volatility value based on the range width between the maximum and minimum.

Zigzag2_R_ is a variant of the indicator Zigzag with an added option of drawing two extremums on one bar.

Chaikin Oscillator (CHO). Based on the book by Eric. L. Nyman Malaya entsiklopedia treidera (Small Encyclopedia of Trader)

Accumulative Swing Index is used to analyze futures.

A variation of a well-known Nick Rypock Trailing Reverse indicator.

The script pumps over all quotations.

Library of functions usefull for time calculations and determining if a report is imminent.

Functions for processing the orders of Spot currency pairs, Spot Gold and Spot Silver with error handling.

RoundPriceExp indicator.

Advisor True Scalper Profit Lock.

TradePrice-T03 indicator.

The indicator shows the channel

Pivot RS Session indicator. Shows trading sessions.

The indicator shows the channel

Fib SR indicator.

CwlxBW5Zone indicator.

Indicator BBand Width Ratio.

Indicator i-RoundPrice-T01m

Indicator iFXAnalyser

Indicator iMA Cross

Indicator iMA Fibs.

At_Itp(t)Env indicator.

Advisor Trend Me Leave Me.

The indicator shows the channel.

KLines indicator.

Absolute Strength_v1 indicator.

The Expert Advisor creates equivolume charts using tick history.

The Expert Advisor collects tick history for specified symbols into csv-files.

Indicator DT-RSI-Sig.

Indicator Average Size Bar

Indicator Avg Daily Range

Indicator 5 Min RSI 12.

Indicator 5 day Breakout

Indicator 5 Bars

Indicator 4Hour Vegas Model

Indicator Camarilla dt Historical V4

Signal indicator.


Indicator HMA

Indicator RSI-3TF