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

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

Live trade monitor that scores up to 10 EA's at once, tallying Pips, Wins, Trades, PF and profits.

Indicator displays News with a market clock.

Often times I find my chart is too cluttered with indicators to see the price action, however I still need those reference points. My solution was to create an indicator which displays the current level of some of the MA's of the current candle.

Three grades take profit Grid System, use it on weak market and fluctuating market, may need close all positions at some time.

This script is useful when you drop lines on chart and want to see the distance to current market price. You can drag line and see the distance in pips.

Basic combination of fractals, DiNapoli objectives and Fibo nodes.

Simple EA based on Alligator indicator.

GRUCHA Percentage Index

YangTrader is a good indicator, it core is price moving and return, when the value crosses 15, maybe it's the best buy time and down cross 80 it's the sell time.

Using 4 Stochastic + post-zigzag indicator(last post). The result is good!!! Profit trades (% of total --82.26%)

The post-zigzag can count the moving of zigzag line. If see many continuous post on screen, It's will more signal for changing the trend of price.

The channel indicator formed of 2 Kijun-Sen lines (Ichimoku system).

Scalping Bollinger Bands Breakout Reversals with RSI confirmation.

Just a simple script , that reads the HTML file a report , or detailed report , and draws a transaction from it on the chart

This script reads your unread GMail messages.

This uses the standard Bollinger Band calculations to further calculate the width of the Upper and Lower Bands, comparing that number to the Max and Min width of the bands for the last N periods. The results are plotted onto a histogram.

Expert advisor that trade in the trend of EMA and buy/sell signals get from Williams %R

Example of using optimization reports in an Expert Advisor.

Combines a strategy based on MA crossover with RSI and MACD confirmation by cmillion

This is the standard Heiken Ashi, but with the option to spot Dojis and color them differently.

Price Alert MetaTrader indicator plays sound alerts when the price reaches certain levels that are specified by the trader.

This is a tool for you to automatically close all orders when you have dozens of pending orders and open orders.

Simple chart to display the highest and lowest values for a data series over "n" bars period.

Grid is a money maker in weak market, while a disaster in trending market. Maybe you can consider close all positions at some time, and run it totally again at another time, just like a fisher. This is AIGrid System With Manual Control.

EA based on the indicator Fibo-Average-2B.mq4

These indicators are made to show how much profit your EA have made in a certain period.

Calculates the Moving average indicator based on Fibonacci value.

A 15min intrday trading strategy

The script prints the week day and time.

Based on RSI with Parabolic SAR trailing...

This is a template EA with onBar() event.

Based on Alligator and MA indicators.

This EA capitalises on four timeframes SAR, RSI and BB to determine entry as well as time zone.

trend trading EA

This is a control library for MT Tester.

Sicker_EA_DIGITS - daytrading EA

A small utility making MT4 input windows resizable.

An evolution of John Ehlers Inverse Fisher Transform of RSI.

Shows correlation between different MAs.

Reads all available instruments and their characteristics and generates an HTML report. Positive Swaps are highlighted.

1...293031323334353637383940414243...84