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

Submit your code

This script is used to convert history data from M1 to M5, M15, M30, H1, H3, D1, W1, MN.

Building good trading habits by seeing things in terms of percentage not in terms of money.

The DailyPivot Points indicator helps to get the idea of the future market movements, unlike other tools that are usually behind the market.

The Keltner Channel indicator locates the most important trends.

Adviser may trade in two modes: Martingale and antimartingeyl ...

An indicator based on three moving averages.

Tick chart of the price/spread/volume. Saves tick data in a file.

Rapid Application Development library.

This script removes all instruments with spread higher than the specified maximum requested and it also removes all non-trade enabled instruments from Market Watch, which allows you to concentrate on items you may want to trade without all the clutter.

This Martingale EA trades with one moving average, it is considered relatively safe because it takes a single trade at a time.

Indicator ZigZag System with Signal and Alert Added Alert and modify by Roberto Jacobs 3rjfx @ 2018/12/29

Let say you have an EA and you want it to trade in between an interval of time but you do not have the source codes to modify the EA. This utility allows you to automatically enable or disable the automated trading button. You can use the codes as an EA, Indicator or script but I used as an EA. You can remove Ordersend command because I set it only for the codes to past the test but it is meaningless.

An oscillator that duplicates the chart of a selected asset in a separate window in three ways: line, bars and candles. This is essentially an indicator Bollinger bands, displayed in a separate window. In my opinion, it will be useful for beginners as a way to look at various technical signals from a different angle. This indicator helped me in an adviser for filtering unfavorable moments for trades.

The indicator is replotted when a vertical line is moved.

This indicator is based on the first version of Sidus trading method. It shows market entry points.

The Expert Advisor creates equivolume charts using tick history.

The Stochastic Oscillator indicator compares where a security’s price closed relative to its price range over a given time period.

Market Facilitation Index Indicator (BW MFI) is the indicator which shows the change of price for on

A script for visualization of trades on the chart. It is useful when you change the account/PC.

Indicator Heiken_Ashi_Ma_T3.

Drawing all results from a strategy tester report file into a chart.

The indicator determines the patterns of the Woodies CCI trading system.

Buy Sell Customized With RefreshRates and Lots Manager

Universal EA scheme to enable easy multiple strategy implementation into one EA

Indicator that able to read doji with lenght set up

The indicator with market entry signals and stop lines

This indicator calculates and displays the Dollar Index and 2 definable moving averages. Edited 18 September 2015 - updated link to official description and calculation from ICE Futures U.S.

The Indicator analyses last 100 waves and shows its sizes, average volumes and average velocities (in pips/hour) for each wave.

An evolution of John Ehlers Inverse Fisher Transform of RSI.

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

Choosing between Heiken Ashi bars and candlesticks is a problem and measuring when the short term trend is losing strengh is another one. This indicator solves both.

X-liquidex is an Impulsive/Volatility/Breakout EA. It uses Range, Moving averages and Keltner channel. It's logics are simple yet powerful.

Correlation(strength) between eight currencies & Gold.

This script lists current open orders with profit.

The Expert Advisor trades based on the support/resistance levels set by the user, while trailing the Stop Loss order.

One of the implementation variants of the Quantum trading system.

The multitimeframe version of the ChannelsFIBO indicator.

Fast time range checking function. Doesn't use slow string parsing.

This is the semaphore indicator of candles that highlights the candles on the chart, which have same direction like all candles for your chosen timeframes.

MT4 Expert Advisor based on ADX indicator.

1...232425262728293031323334353637...104