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

Submit your code

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.

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.

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.

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

A EURGBP/GBPUSD non-scalper robot

This is the updated version of the indicator i uploaded previously at http://codebase.mql4.com/7121.

The EA based on break-outs with money management. It is able to trade on multiple pairs.

This Expert Advisor is based on SMA, ADX and SAR indicators.

Pivot points - Midpoints, H4, Daily, Weekly, Monthly.

This indicator combines two groups of six exponential moving averages of different periods to elucidate the direction and the strength of the short-term and long-term trend.

The RSI indicator implemented as a histogram with a designation of the overbought and oversold levels.

This EA is for testing No Nonsense Forex algos. With this EA you can test your algos much faster than eyeballing, using Soft4x or using any other EAs in Strategy tester.

The indicator displays the selected day of the week.

Adviser Volume trader.

CyberiaTrader Expert Advisor.

1...656667686970717273747576777879...102