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

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.

latest|best

The indicator displays the average amplitude of the price movement.

The indicator displays the average amplitude of the price movement for the specified period.

Lot = 0.2, you can change into 0.1 or set whatever value you want

The amplitude of price movement statistics in a text file. Quickly and comfortably.

The indicator displays the time between sending a quote by the broker and receiving it by you.

The EA was developed to test the strategy published at "Kroufr".

The script draws on the chart the curve of the Polynomial regression with the channel of the mean square deviation.

Displays the time of last quote coming for the current symbol in the HH:MM:SS format.

Draw Dayly , Weekly and Monthly Pivot with BackTest.

A trade system in the Price Channel based on kickback

Choosing a size of the working volume. 3 variants. It can be easily inserted into an EA code.

Simple coding/decoding of entries in Base64.

An EA that demostrates the excellent properties on the H1 with EUR/USD. The MA indicators were used.

The analysis of history data for the absence of bars, identifies their size, length and gap.

A new High and Low Levels every day .. it is perfect levels

The DailyPivot Points indicator helps to compose a picture of market future movements, in distinct from the other tools that hang behind the market.

An indicator of support and resistance levels. The levels themselves are not calculated, as for example the pivot ones, but they are read from the text file of a specific format.

The receiving of the EA testing results by the days of week.

The parameters of working - Places two starting pending orders for buying and selling (the size of the lot is calculated automatically on the basis of the deposit size and the maximum increase of leverage from 0.01 to 0.07 lots) taking into account th

The correlation coefficient between the quotes charts of two currency pairs.

A trade strategy that functions with the pattern MACD "head and shoulders"

At Bookkeeper's request, I've made an "egzpert advizor" by the ZigAndZag indicator, published at: http://codebase.mql4.com/ru/3681

The EA uses 5 indicators.

A universal EA for the long-time, portfolio trading.

A universal template for MTS developing.

Stochastic and RSI | 10K to 25.5K in 3 Months | 3 Lots Maximum

Indicator Weekly_HILO. It represents HiGH and LOW prices.

This EA based on indicators: RSI, WPR%, Stochastic, Moving Average, deMarker. Only 15 MIN charts I recommend

10K Flipped to 666K Under 3 Months, 60.04 Profit Factor...Have Fun! Code Pushes 3 Lots(Maximum) at a Time.

A TS based on the kickback from intraday levels calculated by indicator Pivot is implemented.

A try to formalize three parameters of a candle - the upper, lower shadows and the body.

The indicator informs about that the price is approaching to support/resistance line in 3 positions.

Sell when Up >>> Buy when Down

It's a complete analog of indicator LSMA

TEMA and DEMA are next of kin

The MACD indicator is built on the basis of RSI that, in its turn, is built on MA.

Besides already fixed bars, the indicator shows the intermediate static positions of the ZigZag indicator. It will be helpful for those developing systems based on ZigZag.

An expanded version of the Normalized Volume indicator. Added means facilitating visual analysis of the indicator's values.

The indicator is build on the basis of moving averages. Its main feature is entering/leaving signal - the indicator's line is colored in a certain color signaling for the user to buy or to sell. The accuracy of the signal is very high.

Demo it First... $5000 Flipped To $243K in 3 Months. Coders Needed, Not Finished.

1...545556575859606162636465666768...83