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

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.

To post a new code, please log in or register

The Multi pair MACD indicator. Another variant of MACD, shows the signals for the following pairs: EURUSD, GBPUSD и USDCAD.

A new version of indicator MACD Colored.

The indicator is rewritten from FXAccuCharts to MT4.

The indicator is almost 2 years old. I didn't lay it out, because I had no idea of how to use it.

An example of the script that writes the values of the RSI indicator to a CSV file.

The indicator MoR.

An excellent work for the future. A high profitableness.

Another version of indicator VoltyChannel_Stop.

EA named "gazonkos" produces small profits, but does it often.

The indicator is used to check price locations.

Placing two pending stop orders for breaking through some trade range, for example, before the important news are published.

It reverses all the positions on the current symbol.

The script performs the calculation of the average volatility of the symbol on the specified interval.

Almost classical TS based on the intersection of two MA.

The modification of an order (position) using the mouse - the second script from the "GMO" ("Graphical Management of Orders") series.

A script for visualization of trades on the chart. It is useful when you change the account/PC.

Another indicator that displays the signals for buying and selling.

The indicator InnBar_mtf.

The indicator MA-wpr.

It calculates the entropy by the relative position of benchmarks.

This library was created for testing the portfolio of expert advisors.

Who wanted 5 points per day?

The indicator OzFX_D1_IndAES_v1.0.

The main line, the Silver-channels is drawn on the base of it.

It draws the Kijun line with the specified period on the chart and allows to draw the line with the KijunShift periods forward.

MACD Histogram with outomatic divergent line .

Indicator T3.Lnx. It uses signals Heiken Ashi.

An update for the BW MFI with the displaying of volumes.

YURAZ's library, determining the switch to dayllight saving time and revert to standard time

An oscillator that signals in case of trend changing.

A script for valuation of trades history that is uploaded to the client terminal. The valuation is performed in points.

This expert advisor is based on the 3MACross indicator.

Placing a pending order using the mouse - the first script from the "GMO" ("Graphical Management of Orders") series.

The indicator shows the beginnings and the ends of three trading sessions: Asian, European, and American.

A "Moving" from the board without breaks!

The implementation of the pause between the trades for all EAs that are currently trading.

The library contains the function that monitors the appearance of the trading events in the MT4 client terrminal.

The library contains the functions that are intended to split the access to the trade flow.

The author insists that users may utilize this indicator as an external interface for all other indexes.

An oscillator with the signal lines that are received from the other pairs. It is intended to work with EURUSD on M1, the signals are synthesized from Yen and Franс, the summary mode is present, you can hide an unnecessary signal.