Trading robot · MT5

Autumn Harvest

by wait4signal

Autumn Harvest is a multi-strategy MetaTrader 5 expert advisor incorporating technical patterns such as RSI reversals, peak reversals, and the ignored bar strategy.

GitHub stars8
Forks4
Last update1 year ago16 Aug 2025
LicenceGPL-3.0

Overview

Autumn Harvest functions as both an automated trading robot and a position manager, allowing it to maintain external trades or its own. The EA includes risk controls like spread filters, trade cutoff times, and limits on the number of losing deals. It employs fixed lot sizing and manages exits through trailing profits and optional stop losses. Users can configure notifications for Telegram and email alerts.

Details

Author

wait4signal on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Mean reversion, Trend following, Multi-strategy

Markets

Any symbol

Timeframes

M1-M5, M15-H1

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 AutumnHarvest.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
FIXED_DEAL_AMOUNT_BUYdouble1000.00FIXED_DEAL_AMOUNT_BUY: Fixed amount to use per buy trade
FIXED_DEAL_AMOUNT_SELLdouble1000.00FIXED_DEAL_AMOUNT_SELL: Fixed amount to use per sell trade
ALLOW_BUYINGbooltrueALLOW_BUYING: EA is allowed to open BUY orders
ALLOW_SELLINGbooltrueALLOW_SELLING: EA is allowed to open SELL orders
MAINTAIN_ANY_TIMEFRAMEboolfalseMAINTAIN_ANY_TIMEFRAME: EA allowed to maintain any position even if not matching current timeframe
MAINTAIN_ANY_DEALbooltrueMAINTAIN_ANY_DEAL: EA allowed to maintain any position even if not opened by it
MAX_SPREADint10MAX_SPREAD: Max spread, won't place trade if spread is above this value
TRADE_CUTOFF_TIMEstring20:00TRADE_CUTOFF_TIME: No trading after this time
USE_IGNORED_BARbooltrueUSE_IGNORED_BAR: Use ignored bar strategy by OV
USE_RSI_REVERSAL_BUYbooltrueUSE_RSI_REVERSAL_BUY: Use rsi reversal strategy on BUY
USE_RSI_REVERSAL_SELLbooltrueUSE_RSI_REVERSAL_SELL: Use rsi reversal strategy on SELL
RSI_OB_LEVELdouble70.00RSI_OB_LEVEL: OverBought level marker
Show all 40 inputs
NameTypeDefaultDescription
RSI_OS_LEVELdouble30.00RSI_OS_LEVEL: OverSold level marker
PEAK_OB_LEVELdouble60.00PEAK_OB_LEVEL: OverBought level for peak reversal
PEAK_OS_LEVELdouble40.00PEAK_OS_LEVEL: OverSold level for peak reversal
USE_PEAK_REVERSAL_BUYbooltrueUSE_PEAK_REVERSAL_BUY: Use peak bar reversal strategy on BUY
USE_PEAK_REVERSAL_SELLbooltrueUSE_PEAK_REVERSAL_SELL: Use peak bar reversal strategy on SELL
MA_AWAY_PERCdouble0.0005MA_AWAY_PERC: Percentage by which price can be away from MA
USE_LONG_MA_IBboolfalseUSE_LONG_MA_IB: Use long MA (200MA) for trend IB guidance, this results in fewer but more accurate entries
USE_LONG_MA_PEAKboolfalseUSE_LONG_MA_PEAK: Use long MA (200MA) for trend PEAK guidance, this results in fewer but more accurate entries
USE_LONG_MA_RSIboolfalseUSE_LONG_MA_RSI: Use long MA (200MA) for trend RSI guidance, this results in fewer but more accurate entries
PRICE_TO_TRADEMA_ATR_PERCdouble1.50PRICE_TO_TRADEMA_ATR: Minimum distance between price and TradeMA
TRADE_INTERVAL_BARSint3TRADE_INTERVAL_BARS: Don't place trade if one exists within this interval (avoid duplicate)
MAX_LOSING_DEALSint2MAX_LOSING_DEALS: Max number of open losing deals for current symbol
MAX_HEAVY_DD_DEALSint6MAX_HEAVY_DD_DEALS: Max number of open deals whose drawndown is above 50% (no more deals till cleared)
ALLOW_ADD_TO_LOSING_BUY_POSITIONbooltrueALLOW_ADD_TO_LOSING_BUY_POSITION: Allow adding to losing buy position
ALLOW_ADD_TO_LOSING_SELL_POSITIONbooltrueALLOW_ADD_TO_LOSING_SELL_POSITION: Allow adding to losing sell position
TRAIL_PROFITbooltrueTRAIL_PROFIT: Enable trailing profit after reaching a certain level
TRAIL_LOSSboolfalseTRAIL_LOSS: Adjust initial stoploss while still in negative (follows positive move until breakeven)
BUY_MAX_LOSS_PERCdouble0.00BUY_MAX_LOSS_PERC: If > 0.00 then deal will be closed at this loss level to limit exposure
SELL_MAX_LOSS_PERCdouble0.00SELL_MAX_LOSS_PERC: If > 0.00 then deal will be closed at this loss level to limit exposure
TP_TRAIL_BUY_PERCdouble0.025TP_TRAIL_BUY_PERC: Distance between TP and current price when LONG
TP_TRAIL_SELL_PERCdouble0.020TP_TRAIL_SELL_PERC: Distance between TP and current price when SHORT
TP_PERCdouble0.05TP_PERC: Acceptable profit on deal, can start trailing from there
CLOSE_ON_BUY_REVERSALboolfalseCLOSE_ON_BUY_REVERSAL: Close long position and take profit when price starts reversing
CLOSE_ON_SELL_REVERSALboolfalseCLOSE_ON_SELL_REVERSAL: Close short position and take profit when price starts reversing
CLOSE_ON_REVERSAL_MIN_PROFIT_PERCdouble0.01CLOSE_ON_REVERSAL_MIN_PROFIT_PERC: Minimum required profit before closing on reversal
ADD_ATR_TO_SLboolfalseADD_ATR_TO_SL: Whether to add ATR to stoploss as a buffer
USE_SL_ON_BUYbooltrueUSE_SL_ON_BUY: Use stop loss on Long position
USE_SL_ON_SELLbooltrueUSE_SL_ON_SELL: Use stop loss on Short position

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone wait4signal/autumn-harvest 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, and any .mqh files into the Include folder the code expects.
  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

EA31337 Libre

by EA31337
252 stars

EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario

MT5 Trading robot Multi-strategyTrend followingMean reversion
Updated 1 year ago GPL-3.0 GitHub repository of EA31337 Libre

Nolo Trading Bot

by festomanolo
4 stars

This expert advisor for MetaTrader 5 is a multi-strategy system that utilizes market regime detection to switch between trend following, range trading, and breakout modes. It incorporates a wide array of technical indicators, including Moving Averages, RSI, MACD, Ichimoku, and SuperTrend. The bot manages risk through v

MT5 Trading robot Trend followingMean reversionBreakout High risk
Updated 6 months ago MIT GitHub repository of Nolo Trading Bot
4 stars

This MetaTrader 5 expert advisor utilizes a combination of Bollinger Bands, Relative Strength Index, and Average Directional Index to identify entries. It supports multi-timeframe analysis for trend confirmation and provides optional filters for Average True Range and price action patterns such as hammers. Risk managem

MT5 Trading robot Trend followingMean reversionSMC / ICT / price action High risk
Updated 1 year ago None stated GitHub repository of Alif BB RSI ADX MTFA

SOEA Master

by bfforex
3 stars

This MetaTrader 5 robot employs a dual-strategy approach, switching between trend-following moving average crossovers and RSI-based mean-reversion depending on detected market regimes. It features an integrated walk-forward optimization system that loads optimized parameters from external files to adapt to changing vol

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 11 months ago MIT GitHub repository of SOEA Master

Forex Master Multi Strategy

by simonokwundue-ops
2 stars

This MetaTrader 5 expert advisor utilizes a weighted signal scoring system to execute trades based on four technical indicators: Moving Average crossovers, RSI, Bollinger Bands, and MACD. It incorporates multi-timeframe analysis across M15, M30, and H1 periods to confirm trend direction. Risk management features includ

MT5 Trading robot Indicator crossoverMean reversionTrend following
Updated 10 months ago None stated GitHub repository of Forex Master Multi Strategy
2 stars

This MetaTrader 5 expert advisor focuses on institutional-style trading across forex, indices, and other assets. It utilizes market structure analysis, including liquidity sweeps and market structure shifts, to identify entries on a M15 timeframe guided by H1 trends. The robot categorizes market states into range, tren

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion

More trading robots

Need a broker for MT5?

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

Compare brokers