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

Submit your code

This indicator shows you the trend on every timeframe simultaneously

Trigger Line Indicator.

The script allows to use MetaTrader4 as netting platform. It has some advantages compared with MetaTrader5.

Creates a report in HTML about all pairs and symbols, for example how many days ago a cross moving average appeard. Pairs with a last recent cross moving average at daily timeframe have a chance for a trend reversal which may be traded.

This library implements two simple HTTP GET / POST function and does not require external dll(s).

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

Very fast zigzag. No suspended peaks. No wrong peaks. Designed for use in EA. Optimized peaks retrieval

This indicator gives BUY and SELL signals and entry level.

Shows the distance to assumed stop with two lines located at a predetermined distance from the current price.

Expert Advisor that closes orders after defined profit or loss.

The indicator points at the reverse bars based on the Profitunity system by Bill Williams excluding the angulation relative to the Alligator indicator mouth.

The Coppock indicator shows long-term opportunities for buying or selling.

The converter of the tick files created with the Ticks collector into different data representation formats.

This indicator plots bullish and bearish gaps, and crosses/hides closed gaps.

Simple utility that makes use of offline charts to facilitate training by enabling bar-by-bar display - both forward and backward, as well as reset to a pre-defined date/time.

Power of CHF indicator shows actual strength of currency CHF calculated of 7 pairs that contain CHF. Indicator can be used for strategies based on mean reversion and/or correlation. Included pairs: EUR CHF, USD CHF, GBP CHF, CAD CHF, AUD CHF, NZD CHF, CHF JPY.

Power of JPY indicator shows actual strength of currency JPY calculated of 7 pairs that contain JPY. Indicator can be used for strategies based on mean reversion and/or correlation. Included pairs: USD JPY, EUR JPY, GBP JPY, AUD JPY, CAD JPY, NZD JPY, CHF JPY.

When applied to financial markets this method is usually used to determine the moments of prices extreme deviation from the "standard" level.

The script helps to perform the visual analysis of multiple currency pairs on a custom time frame.

System concept: The Donchian Channels are quite popular among the trend following systems.

Indicator RSI DeMarker Super Position

Combined MA

The analysis of history data for the absence of bars, identifies their size, length and gap.

Trend indicator. It adapts to the history, unfortunately redraws.

Aggressiveness - the rate of price change. Volatility - the size of the channel

Creates a synthetic Hedge for any open position that you select. Use it only if are you completely understand synthetic derivatives or triangular arbitrage.

This indi draws renko boxes on normal TF window.

MetaCOT 2 CFTC ToolBox Indicators is a set of MetaCOT 2 indicators which provides access to data from CFTC reports. MetaCOT 2 supports COT reports, Disaggregated COT, TFF and CIT. All indicators are available in source code and can be used to build your trading system.

Variance (Welford’s method for computing)

A ready made expert adviser template to use for further development or use 'as is'

Mirror indicator with a dropdown list of base indicators to choose from with optional alerts, email, and push notifications.

The indicator colors rising and falling candlesticks.

Envelopes technical indicator is formed with two Moving Averages one of which is shifted upward and another one is shifted downward.

MACD Histogram with outomatic divergent line .

Another Demark indicator.

Script Calling Library for MT4 build 600 and later

This script automatically closes all open orders within few seconds.

The indicator draws candle objects in a separate window of any one of the following indicators: Percent Range, RSI, CCI, Price.

It shows the trend direction for multiple currency pairs on the current time frame.

This indicator downloads history of symbols which have open charts. It will no longer be necessary to wait for an update when switching timeframes.

1...111213141516171819202122232425...102