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

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

This indicator is intended for the trading with the huge enough amount of symbols but it is not necessarily. The indicator calculates the percentage of growth of every symbol from the beginning of the day by a group of symbols, it's not a secret that the

The indicator shows the average between the maximum and the minimum price within a time range.

Indicator LargeTimeFrame. It draws the candlesticks of a larger timeframe on the chart.

How a trend changes? How to determine a flat? ... etc. This indicator will help to answer these questions.

Indicator QStick represents a simple n-period moving average for the difference of the close and open prices.

A modified verion of the Chande & Kroll's Stop indicator. The author consider that the ChandelierStops_v1 is very similar to it and look better than the Chande & Kroll's Stop.

Expert Advisor Kijun Sen Robot. It uses the following indicators: Ichimoku, MA, SAR. It is optimized for the following currency pairs: GBPUSD and EURUSD with M30 period. You can view the full description in the code.

Expert Advisor ASC++.

Indicator Impulse CD, an extension of the impulse approach.

Forecasting of price daily ranges. This indicator shows the resistance and support levels of the current day.

The minimums and maximums of the previous day are used. I'm sorry that I wrote it without comments.

It is developed on the other principle, not on ADX's. Chand suggests 13-weeks SMA as a basis of the indicator.

Expert Advisor Based on FXRaider's Trade Strategy by ForTrader.ru.

The drawing of the moving average is performed on the basis of Demark's method "Daily Range Projections". Indicator on a zero bar points at the future price change.

The script selectively clears the chart by the part of the name and/or by the type of the object.

The script closes any position using the Drag'n'Drop method, i.e. the method of "drag the script with the mouse and drop it on the order lines".

EA that opens a trade when a candlestick closes out of the specified level on a break through. An update to the graphical treminal. But the help in code further development is necessary.

Moving Averages show the average value of the price of the symbol for a period of time.

Steve Nison 'three line break' strategy on chart.

The indicator of peaks.

Trading by a simple principle

I made this indicator colored at Zet's request.

The script is intended for gathering some statistics by the symbols and its comparison.

The indicator searches for the patterns, displays the end of the D and C points on the screen.

An effective trade system, it determines the levels of support/resistance, rollback, trend reverse by a complex mathematical algorithm.

It uses three timeframes to determine a trend.

The indicator is based on CandlesticksBW. It colors the japanese candlesticks by B. Williams displaying the "black" and "white" candlesticks.

The 2_Otkat_Sys_v1.1. expert advisor. The system from thursday to friday on 0(МТ) hours, it trades only on a reverse.

The indicator is written by the fourth dimension of B. Williams - Trading Zone.

It represents a standard MovingAverage indicator with the function of smoothing by the second-order Butterworth filter added.

Indicator of Bollinger bands.

Another version of the Madeleine indicator.

Rabbit 2 updated with correct set!

The indicator shows the break through line.

Using a combination of MA for the trend and Williams %R wth Commodoties Channel Inex to trigger, and a Dochian band to exit the RabbitM2 is designed to get from zero to hero. I would welcome anyone willing to perform live testing and give me feedback.

The indicator shows the probabilistic reverses.

The indicator of Fibo levels and arcs drawing.

ZigZag with rays (on a break through)

An analogue of the intersection of two stochastics.

A simple indicator that displays the chart of the symbol in the window of another symbol.

1...474849505152535455565758596061...84