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

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

KMSI is short for Kolier Market Sessions Indicator. It can be use to check time periods of market sessions.

Check a MetaQuotes Language 4 program for basic syntax errors like unbalanced braces, parentheses, brackets,.single and double quote, and multi line comment symbol pairs.

The purpose of this indicator is to highlight the price zones that had the most activity : the hottest zones.

simple and successful, multiple functions

Use this Ea with an extreme attention, i got this amazing result searching to optimise setting several days. Work the best on Eur/Usd timeframe M5 long&short

EA for EURUSD, H4

Script closes all opened and pending positions.

TakeAllProfit

Random ZigZaG

This Ea operate the best setting on a daily time frame

Opens position when RSI returns from extreme level.

Draws arrows when RSI returns back from extreme zone

Works with open, high, and low prices of the current day.

Displays the stength of a currency based on 7 of its crosses. Origianally done by Brooky a few pages back in the code base.

Easiest daytrade robot ever - does the same what happened yesterday.

Simple Trend Detector. Use the same as RSI and DeM.

Auto Magic Nr. Calc The Magic Nr. per ASC II Code from Symbols

The purpose of this indicator is to highlight the price zones that had the most activity : the hotest zones.

The Expert Adviser uses the indicator OsMA.

Shows low high from the last bar from other timeframe. Timeframe can be changed

Simple Momentum x 2

This indicator reflects the positive difference between the High and Low of the period.

This is the basic version of the Average Change indicator

Indicator that shows two resistance levels, 2 levels of support and pivot, they calculated the traditional way.

It showed the peak/bottom at rsi14

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.

1...343536373839404142434445464748...84