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

Submit your code

EA works at the "slow" time (OpenHour_1 = 0) - North American Eastern Standard Time. EURUSD, H1

The On Balance True Range Indicator is essentially based on the On Balance Volume indicator but uses the Average True Range Period 1 instead of Volume.

Power Wave Oscillator.

Indicator ang_PR (Din)-v1 represents an indicator based on polynomial regression.

Alerts you whenever there is a moving average cross

It is the bbsqueeze indicator but with OsMA as momentum.

This EA automatically moves your stop loss to break even at a predefined level.

LineOrder gives you the ability to place an order by using the horizontal line object from the toolbar menu. You can also control stop loss and take profit buy moving its horizontal lines.

Simple EA based on Alligator indicator.

StDev Bands with gaussian smoothing

This EA doesn't open orders, it takes PICTURES every time you (or another EA) opens or closes an order.

A simple robot to trade AUDUSD D1 chart only when MACD crosses.

This indicator computes the median of odd span. It is often considered as one of the most robust smoothing operator in the presence of outlier values, and particularly more robust than the mean.

Strategy is founded on support and resistance AND the theory that the market moves in trends or consolidated horizontal movement containing smaller ranges. It uses default custom indicator moving average and partial order closing. -WhooDoo22.

Aeron Expert Advisor is well known. I am the author of Aeron Expert Advosor. It is based on martingale pattern and all of its parameters are fully customisable.

Best used on monthly candlestick charts with four decimal points to a pip (use the JPY version for other pairs). This EA calculates the likelihood of your desired range of pips being hit based on two years of past trading ranges and a statistical forecast

EURX=34.38805726 x [(EURUSD x 0.3155) + (EURGBP x 0.3056) + (EURJPY x 0.1891) + (EURCHF x 0.1113) + (EURSEK x 0.0785)]

The EA will close all open orders across all charts corresponding to the EA chart symbol when Bid or Ask is equal to or crosses the Kijun Sen.

Draws either MACD, Stochastic, RSI or CCI of 3 timeframes in a separate window.

This library is made for experts that need to calculate StopLoss and TakeProfit without putting SL/TP points on the trade.

Continuously records tick data in format "DateTime, Bid, Ask, Volume" even after restart.

Immediately deletes the SL/TP of all positions.

Open orders / positions in MT4 with absolute control of the risk / reward ratio, automatically calculating the lot size.

Can be used for hedging or trading breakout systems.

A fast library for combinations and permutations in MQL.

Execute pending order(s) according to lines in the chart you have drawn before.

"Trend Finder" EA Trades when there is a breakout from historical minimum/maximum has Trailing Stop Loss &Take Profit works on all time frames major forex pairs and stocks NASDAQ.

"Candle Trailing Stop" EA trades with 3 MA's and uses candels for Trailing Stop Loss &Take Profit works best on 4H time frames major forex pairs and stocks NASDAQ.

The code consists of lines created according to the opening, closing, low and high values of prices.

I recently needed an indicator that, once placed in a window, is able to change the Time Frame of all open windows. In addition, I wanted this indicator to be able to react to Metatrader's Time Frame selection bar. Despite my various searches, I couldn't find anything suitable. So I decided to develop my own indicator. I propose it to you here.

Indicador Mass Index para Metatrader 4 con los niveles más importantes en donde se producen las señales de este indicador, de acuerdo a su autor. El MI es un indicador basado en la volatilidad del mercado.

It is not recommended to open a position when the histogram is red. If all indicators give entry signals, the final check is done according to this indicator. The histogram must be green.

Just trade looking at the arrows shown by indicator

Good For EURUSD. Start by Money $300.

New version of KNUX Expert Advisor. The strategy works with martingale.

This script will help you calculate your lot to open position.

The Expert Advisor based on the "New Trading Dimensions" book by Bill Williams.

My version of Squeeze Indicator for MetaTrader 4. This indicator is based on a strategy mentioned in John Carter's book, Mastering the Trade. It is also a fully improvised version of Squeeze_Break indicator by Des O'Regan.

The strategy of this EA is daily breakout which is compare previous high or low previous day candle then place a pending order for breakout.

Trades on price spikes around important financial announcements.

1...646566676869707172737475767778...102