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

Submit your code

Quick scripts to remove Equity from a demo account for a broker that does not support anyway to withdraw.

Library to convert datetime to double and vice versa.

Macd 1 Min Scalper uses two moving averages and "MACD" indicator on 1 min time frame has Trailing Stop Loss &Take Profit works best on major forex pairs and stocks NASDAQ.

Handy functions for comparison, rounding, formatting and debugging of doubles (prices, lots and money).

5MinutesScalpingEA uses indicators (5) from 5MinutesScalpingSystem. This expert is to help any user of the system to try some different settings of indicators easy and quickly. Expert need indicators to generate signals. Has the ability to use all of the indicators, or some of them.

The Farhad EA. It has a lot of settings. It also uses the indicators: MACD, Stochastic, SAR, Momentum, MA.

BBWin is the Bollinger Bands® indicator in the separate window with trend lines.

Rsi & Cci Divergence EA Trades when there is a divergence of "RSI" or "CCI" indicator has Trailing Stop Loss &Take Profit works on all time frames major forex pairs and stocks NASDAQ.

The "Martingale Smart" EA trades with 2 strategies , If we lose a trade then the EA will change strategy and take a new trade with a multiplied/increased lot size,

volatility, flat

Displays the High and Low price for the specified number of bars.

Instantaneous Trend Line indicator InsTrend.

GodBot EA is using Bollinger Bands together with DEMA, Moving Average and Candlesticks. (EURUSD M5)

Two Moving Averages (MA) crossover indicator with alerts and filters.

This indicator shows Bollinger and ATR Bands.

This is a straightforward script for strategically managing open trades and pending orders.

Vegas Indicator.

This EA makes it possible to trade semi-automatically using manually pre-defined support/resistance or breakout levels.

Dsl (discontinued signal lines) - RSX

"Breakthrough volatility" breakdown robot scalper. Added function "roly-poly".

The unique FX_FISH indicator is widely used by the Western experts to trade in the foreign exchange market, stock market, and others.

This Expert Advisor is based on Murrey lines, Stochastic Oscillator, Bollinger Bands and Candles.

FIFO strategy When all the market movement makes you have lost, This ea makes a good profit with a little profit with many orders in a short time Just on a Candle.

Braid Filter indicator of Robert Hill stocks and commodities magazine 2006

Holt's double exponential smoothing - the trend component (mt4 version).

FileLog class for efficient logging at different Levels.

Mark your historical trades in you mt4 with lines and arrows. You can load data from your history or load data from a csv file.

CSPA is a multi currency Expert Advisor, it uses the currency strengths to open trades on the best pairs.

The Expert Advisor reverses the orders after closing.

This EA was created for learning purposes and can be developed for trading purposes.

Trade classes CTrade, CPositionInfo, COrderInfo, CSymbolInfo from MT5 rewritten for MT4

Indicator CCM2

Indicator DigFiltr

Displays the situation when the directions of price movement and technical indicators do not coincide. This is mostly seen when the indicator reaches an overbought or oversold area (20;80).

Indicator Elliott Wave

Indicator EMA Angle Zero.

Indicator Ind-SKB-1.

Clearly displays the gaps in points as a colored histogram.

VSI

The indicator that calculates the volume corresponding to MA per second (or period).

Indicator i-RoundPrice-T01m

1...798081828384858687888990919293...101