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

Submit your code

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.

The channel indicator plots a linear regression channel.

The indicator performs the calculation of the derivative of the price.

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

When run on the price chart, the script modifies the stop loss or take profit of all open orders for the current instrument.

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.

"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.

Linear Regression Channel EA draws "Linear Regression Channel" on chart and trades with its trend,has Trailing Stop Loss &Take Profit works best on all time frames major forex pairs and stocks NASDAQ.

This indicator uses various SMA to indicate a possible reversal point.

STOCH in MA is an indicator which applies the stochastic changes to the iMA. It can help to detect the trend of prices. For more information about the indicator, you can visit the product's page: https://www.mql5.com/en/market/product/26467

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

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.

Convert historical data from M1 to M1, M5, M15, M30, H1, H4, D1, W1 and MN, specifying the start date.

This script will place hedge trade of unbalanced type in MT4.

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.

Any account type,leverage and deposit

The indicator is similar to ASCTrend, in my opinion it is even better. Works by the system: High - Low.

Entry and exit signals by the "Monday" system.

A simple alternative to the Alligator.

An indicator of support and resistance levels. The levels themselves are not calculated, as for example the pivot ones, but they are read from the text file of a specific format.

Visual and Audio alerts when reversal or continuation candle patterns occur.

The indicator of the visual and sound control of speed and size coming tick.

A EURGBP/GBPUSD non-scalper robot

Indicator which draws daily, weekly and monthly pivots, support and resistance levels.

1...616263646566676869707172737475...102