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

Top MQL4 and MQL5 source codes based on user ratings

To post a new code, please log in or register

The Next Generation of MA Mirror, completed with SignalSMA.

The indicator finds and draws linear channels using all timeframes from M1 minute to MN.

Indicator MTF_MAMy3. Works with indicator MAMy v.3

Indicator KaufWMAcross. Works with indicator Kaufma.

This indicator is based on the Money Management approach used by VP from It uses ATR to calculate Stop Loss, Take Profit and Volume you should enter into a trade based on the percentage of your Equity you want to risk.

Hull moving average (non-repainting version)

The library and iCanvas class simplify writing programs using Canvas.

The library contains the function that monitors the appearance of the trading events in the MT4 client terrminal.

Automatic Andrews, Schiff or modified Schiff pitchforks.

In conjunction with Miranda IM, you can use this library to control your Mirand IM client. E.g. Send and receive messages, set the status, read the contact list, etc..

Indicator displays information about the current positions

Simple one click trade panel, typically useful for scalpers and day traders.

This indicator shows ADX indicator in another easy way. Buy when Bars is Green, Sell When Bars is Red.

A DLL to manage and exchange data between MT4 and MS Excel. OLE is used. The description of the DLL functions is given in the attached example. The example is a script that sends quotes to Excel and builds the diagram of daily price changes. At exiting,

CustomCandle draws candlesticks of a larger and, perhaps, non-standard (for MT 4) timeframe in the current chart.

This Indicator Draws 7 Level Of monthly Fibo With Back Test. Its very power Levels

The indicator showing the supply and demand zones.

Overlay two or more charts on the same window.

The indicator of divergences on 30 oscillators of choice.

It allows you to calculate profits, StopOuts, and margin, just moving in the chart three lines that correspond with the opening level, StopLoss and TakeProfit of the position.

Trading and analysis dashboard which usually provides great trading opportunities during daytime.

Simple coding/decoding of entries in Base64.

Close all trades after reaching defined profit or loss

With this indicator you can follow the evolution of account profit.

The indicator that facilitates the interpretation of the Ichimoku signals.

Description of the FXT file header, functions of reading and writing of the header.

Close all positions on a basket of currencies when the profit target has been reached.

A collection of scripts for closing various types of orders.

Indicator Schaff Trend.

A moving average calculated according to the method of the linear regression and complemented buy the Bollinger bands.

ATRStops_v1[1].1 indicator.

This indicator will Draw Fibonacci Tools such as Retracement, Arc, Fan, Expansion, Time Zones. Based on ZigZag indicator.

Rapid Application Development library.

Guide 'how to' make different expert adviser license protections

The original cluster CC and CCFP indicators by Simeon Semenych and can be found on from and this artical also descripted how to use the cluster indicator. This updated version has features below: 1) the indicator refeshed

The indicator calculates the correlation of the currency pairs.

Steve Nison 'three line break' strategy on chart.

The script draws on the chart the curve of the Polynomial regression with the channel of the mean square deviation.

Indicator to trade divergence. One of 30 indicators can be selected.

Two modified COG indicators. Center of Gravity on Stochastic in sub window and enhanced On Chart COG.