Watch how to download trading robots for free
Find us on Twitter!
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 - 73

icon

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

It was developed on my order for working with the RPoint indicator. I reached this variant by changing the parameters of the indicator and the EA. Change the ReversePoint value to 250 when placing the indicator.

The EA is based on the MACD indicator.

The indicator draws the charts of equity and balance by the data of account's history, it uses the current opened positions for updating the charts in the real time mode as well.

Is it possible to take just 10 pips a day? This EA tries to do it.

The testing data is in the strategy tester.rar file. The EA was tested from 29.09 to 30.09 because the strategy is designed for M1. But unfortunately it works not by the strategy. In some cases it doesn't close when it should and so it goes negative.

Spread, swap, minimum stop limit, price of a point, calculated maximum lot!!!

The indicator draws the channel of regression by High and Low prices.

The ZigZag indicator is used.

I created this indicator on the basis of the MQL4 training material. This modified EA is almost from there. All functions are standard, I'm not able to develop something better yet. Only the "heart" of it was modified.

Trading by a break through of the support/resistance levels.

It draws three lines of different periods in one subwindow.

Because of the "supposedly" 24k of errors within the journal, this script did not make it into the championship. Maybe next year Folks : ) So far, There are no errors to be found. "The Grid" (A Massive Hedger)is Coming Soon...

The drawing of the channel's borders was added to the standard ZigZag by MetaQuotes.

On Bollinger Bands grounds

On Bollinger Bands grounds

Indicator V-TBv6. It draws buy and sell arrows.

Indicator i_EF_distance.

Indicator Kwan.

Indicator Elder Impulse System.

It draws the support line basing on two last lower fractals.

It draws the resistance line basing on two last upper fractals.

Work with any http servers...

Indicator Decema.

Another Demark indicator.

Indicator Market Time.

A percentage price oscillator allows you to compare the time periods independently on the price.

MACDVersion2_ Mod is amodification of MACDVersion2 to show some additional information.

Expert Advisor EMA_CROSS.

Indicator STLM_hist.

A script for reinitialization of all indicators attached to the current window.

A very interesting indicator. It gives trading signals!!! A unique system of forecasting is based on a floating moving average!

Indicator FiboCalc.

Indicator Vegas.

The indicator shows the difference between the open price of the zero bar and the close price of the first bar in points at the top-left corner of the main window.

Expert Advisor Divergence Trader.

An EA that works on the M1 period and with the symbols that have the spread of 2 points.

Expert Advisor Straddle&Trail. The code contains a comprehensive description.

Indicator FiboRetracement.

The indicator that shows the difference between the open and close prices in the form of a histogram.

A set of scripts that are intended for the automation of some routine operations in the terminal.

1...666768697071727374757677787980...101