Collection · MT5

MQL5 Bots Collection

by Xavopls

This repository contains a collection of MetaTrader 5 expert advisors created to test various trading concepts.

GitHub stars1
Forks0
Last update2 years ago29 Dec 2023
LicenceNone stated

Overview

The included bots trade diverse markets, utilizing indicators like moving averages, Bollinger Bands, Stochastic, and VWAP. The primary highlighted expert advisor executes trend-following trades on gold using a multiple moving average setup. It manages risk by sizing positions based on account equity, scaling into trades with pyramiding entries, taking partial exits, and employing dynamic trailing stops. The author notes that the repository is deprecated and serves primarily as an educational resource for MQL5 development.

Details

Author

Xavopls on GitHub

Type

Collection

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following, Breakout, Scalping, Mean reversion

Markets

Forex, Gold, Crypto, Indices, Oil & commodities

Timeframes

M1-M5, M15-H1, H4 and above

Risk profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

Input parameters

Read from XAUUSD_EMAs.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
short_allowedbooltrueShort allowed
long_allowedbooltrueLong allowed
partial_exits_allowedbooltruePartial exits allowed
live_trading_allowedboolfalseLive trading allowed
trailing_stop_allowedboolfalseTrailing stop allowed
equity_percentage_per_tradefloat40Equity percentage per trade
partial_tp_ratiodouble1.5Ratio SL:TP of the partial exit
partial_percentagedouble50Position size in % to reduce when partially closing
ts_typeTRAILING_STOP_TYPEswingTrailing stop type
ts_swing_candles_longint3Swing TS Long Candles
ts_swing_candles_shortint3Swing TS Short Candles
ts_percentage_longdouble5Percentage TS Long value
Show all 15 inputs
NameTypeDefaultDescription
ts_percentage_shortdouble5Percentage TS Short value
ts_ema_long_valueint50EMA TS Long period
ts_ema_short_valueint50EMA TS Short period

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Xavopls/MQL5-Bots from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 file into Experts.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar expert advisors

3 stars

A collection of systematic Expert Advisors for MetaTrader 5 designed for session-specific execution. The repository includes multiple specialized engines for strategies such as range reversion, breakouts, and trend following. It features a centralized risk management layer with spread caps, daily loss limits, and conse

MT5 Collection Mean reversionBreakoutTrend following

FINS QQQ Development

by atanasvasilevjourney
1 stars

This MetaTrader 5 repository contains a collection of expert advisors centered on opening range breakouts and statistical mean reversion. The primary breakout tool defines trading zones based on specific time intervals and executes trades using price bias or candle closes. It incorporates robust risk management feature

MT5 Collection BreakoutMean reversionScalping
Updated 7 months ago None stated GitHub repository of FINS QQQ Development

Shakuni Trap

by vedkanani123
1 stars

Shakuni Trap is a MetaTrader 5 research laboratory focusing on systematic gold trading. The collection features multiple Expert Advisors, with the primary OneShot version utilizing M1 to M5 timeframes. This strategy executes trades based on EMA bounces or Donchian Channel breakouts, requiring alignment with higher time

MT5 Collection Trend followingBreakoutMean reversion
Updated 4 weeks ago None stated GitHub repository of Shakuni Trap

NetAlgo EA Collection

by santiago-cruzlopez
55 stars

This repository contains a diverse collection of automated trading robots for the MetaTrader 5 platform. The strategies range from trend-following systems using True Strength Index (TSI) and Moving Average crossovers to mean-reversion tools utilizing Relative Strength Index (RSI) and Bollinger Bands. Most experts inclu

MT5 Collection Trend followingScalpingMartingale High risk
49 stars

This repository contains a diverse collection of MetaTrader 5 expert advisors ranging from RSI-based scalping robots to multi-timeframe trend following systems. The EAs utilize various technical indicators including EMA crossovers, MACD momentum, and ATR for volatility-based exits. The core logic often incorporates mul

MT5 Collection ScalpingTrend followingBreakout High risk
Updated 2 months ago Custom licence GitHub repository of Frontline MT5 Strategy Collection

Gold Pro Scalper

by n30dyn4m1c
15 stars

This collection of MetaTrader 5 expert advisors focuses on mean-reversion and breakout strategies for gold (XAUUSD) on the M1 timeframe. The primary logic identifies statistical extremes using Z-Score calculations to trade price snap-backs. It includes a TickRobust variant designed to filter execution noise and a dual-

MT5 Collection Mean reversionBreakoutScalping

More collections

Need a broker for MT5?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers