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

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

A slightly different EA based off daily opening breaks.

This indicator uses the position and direction of 7 pairs to gauge the overall effect that (by default) the USD currency may have on the pair that you are trading. Base currency can be changed.

Opens and closes orders using parabolic SAR

Plots price level and open positions from the IFR trading pages provided via the FXNews program offered to accounts registered with OANDA's FXTrade and FXGame platforms.

The indicator will show how many ticks occurred every minute of an hour and the number of points.

The adviser uses the indicator Moving Average.

Average Change Indicator

This indicator shows both powers of the Bull and Bear, the market volume excluded.

Close-Low indicator by mt-coder

Four Legs Indicator

This indicator trys to indentify the dominanting power in the market.

This indicator shows the interaction between price open and the period's volume.

This indicator is based upon the Channels indicator. It calculates, percentagewise, whether price action is towards the top or bottom of the channel.

This indicator calculates the high / low channel that price action has been moving in, for a given currency pair and a given (parameter) number of candles. This indicator, on the one hand, is interesting because it allows you to see the "road" that price

placed utility functions from ryaz's server socket into socket.mqh, makes it really easy to use. comes with similar server example.

Bollinger Bands on the current TimeFrame and from next three "Up"

2 indicators(MA_Support and Para_B) in 1. TimeFrame from M1 to H4.

Bollinger Bands on M1 from major TimeFrames

A simple EA that sends e-mail alert whenever there is moving average crossover

The indicator will draw vertical lines every hour or any minute that you desire within the hour as long as a candle closes on that minute over the top of other indicators in the sub window.

Two indicators MA_Support and Para_B

The RSI indicator, applied to Moving Average

My version of the famous indicator

A simple indicator that shows the price change, in pips, per candle.

Parabolic SAR on the M1 from all Time Frames

A volume-adjusted reading of the net flow of USD as measured by all 7 major currency pairs.

This indicator looks at local high/lows. It connects the points and finds where a local high and low appears many times. Depending on how many times a local high/low appears, it draws colored lines into the chart.

I got this EA from a friend. It is based on the previous day's open and close price, but I would want it to close all trade on friday at a certain time.

The indicator shows the power of the trend that is in place and whether a pair is trending or ranging. Many user adjustable variables.

All Moving Average on the M1 Time Frame

Forex Second Chance EA is a modification of Moving Average Convergence Divergence EA. Here, I have included "TrendShift" to the parameters and it is doing good.

The indicator displays the ratio of lengths of the bodies last N candles

THIS IS THE LAST VERSION for EA DEVELOPMENT

Zero values characterizes the Flat Trend. V-shaped pulse indicates the entrance to the opposite direction. U-shaped ilpuls - entry in the same direction.

Drop Level Lines with the level value inserted above or below the line and the color changing automatically for bottom level or top level.

This indicator allows you to draw candles of an higher timeframe on your chart. Example: Draw H1 candles on your M1 chart.

This systems allows you to progressively enter and exit the market. You define the amount you want to risk (%) and it calculates automatically the different levels of entering and exiting the market according to the amount of levels you have defined.

Draw several resistance and support lines as a "little segment line", differentiating the color of both types of line

A day Hi Lo

Прорыв трендовых линий

1...353637383940414243444546474849...84