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

Submit your code

WPRfast is an indicator based on Larry Williams' oscillator %R, or WPR (Williams’ Percent Range). It shows a short-term market tone.

Opens and closes orders using parabolic SAR signals now with improved features.

Betting Strategies Simulator

AggZ is a composite trend and mean-reversion indicator.

ForexLine indicator provide signals for trade, white line (sell signal) and the blue line (buy signal).

Showing how to trade FX market trend using the (SMA: Simple Moving Average) with the Japanese indicator Heiken Ashi.

The indicator shows the current possibilities for getting buy, sell, or exit positions. No need to attach 6 indicators at a time. Now available with all notifications.

Code based on MetaTrader 4 Moving Average indicator.

Closure of all winning positions. (You can indicate a specific instrument if you want to).

Various helper functions for sending messages of different types to different sources.

Price_ActionEA trades with "PRICE ACTION" strategy has Trailing Stop Loss &Take Profit works on all time frames major forex pairs and stocks NASDAQ.

Macd Secrets EA uses 3 different time frames to find a trend,has Trailing Stop Loss &Take Profit works with all time frame major forex pairs and stocks NASDAQ.

Advisor for a currency pair Gbp/Ghf. Algorithm - by opening the bar. Timeframe - H1.

The indicator is shown in a histogram the Stochastic uptrend and downtrend uses a different way. You can set period of indicator and levels for trend.

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

The Avalanche_v1.0 Expert Advisor.

Simple Expert Advisor that simultaneously opens two positions in different directions, provided that the stop loss of the losing position triggers 5 points earlier than the take profit of the profitable one.

This indicator allows you to draw candles of an higher timeframe on your chart. Example: Draw H1 candles on your M1 chart.

The Expert Advisor is based on the lot management according to the Labouchere system.

5 Minutes Scalper EA retracement strategy has Trailing Stop Loss &Take Profit,works best on 5 minute time frame EUR/USD and stocks NASDAQ.

The One Hour Stoc Trader uses a simple trigger criteria of: Stochastic rising while in Over-Sold zone (stocval<Stoc_Lo) and specific hour of day for Buy trades; and Stochastic falling while in Over-Bought zone (stocval>Stoc_Hi) and specific hour of day for Sell trades. The one hour chart is used. The algorithm works well, after optimization, for the following currency pairs: EURUSD, GBPUSD, USDCAD, USDCHF, USDJPY, EURGBP and AUDUSD. The following chart shows the Tester performance for the EURUSD currency pair on the 1hr chart for the period Jan 2010 thru Dec 2018.

Buys when price breaks above the MA and Sells when price breaks below the MA. User can choose the time range (server time) to trade in.

Expert Advisor work with one hour chart, and is the best robot for now, plays a sound when orders/alarms are executed and multiply positions by 10 when 5 digits is true, trailing stops every tick regardless of Execution Mode.

Murrey Math (ММ) is a trading system suitable for any markets. The MM system comprises two main components: geometry, used for measuring the price movements of the specified market, and a set of rules based on the Gann technique and Japanese candlesticks.

Indicator 1 FISH

Adviser ASCV. Uses indicators ASCTrend1sig, BrainTrend1Sig and Pivot_AllLevels.

Binario is not an automated trading system but a trading idea. It consists of entering at a breakout and following the trend. The suggested method can be used on all time frames.

The purpose of this EA is to find good entry in a well established trend. The EA was developed on 1 Hour EUR_USD graph, but I think that the similar concept can works in a good manner on the other crosses too. I’m happy about the drawdown.

Have audio output of latest price in stereo! Revised to cater for fractional pips as now offered by some brokers to MT4.

The trading strategy presented here is based on breakthrough strategy using FOREX time sessions characteristics.

Zerolagstochs Indicator.

Expert Advisors MySystem using indicators BullsPower and BearsPower.

A simple way of managing orders and other features through horizontal lines.

Opens sell, buy or both orders at a specified time.

An EA meant as advanced Order-Placement tool, which tries to help its user to set the "Stop-Loss"-level farther away with the same or less losses than normally expected.

STRATEGY MARKET Tickmill-Live; EURGBP; H4 EA will trade a fix lot as you select and close as per the EA base indicator. ITs work only on Tickmill live broker account. without selected any date to back test

Advanced EA optimized on selling positions on EURUSD.

Relative price trend

1...808182838485868788899091929394...102