Trading robot · MT5

SwingOlly

by ngush67

SwingOlly is an automated MetaTrader 5 expert advisor designed for forex trading.

GitHub stars1
Forks0
Last update4 weeks ago31 Aug 2026
LicenceNone stated

Overview

SwingOlly generates trade entry and exit signals by combining multiple technical indicators, specifically the Double Exponential Moving Average (DEMA), Parabolic SAR, Stochastic Oscillator, and Relative Strength Index (RSI). The expert advisor manages risk using configurable, point-based stop loss and take profit levels. Position sizing can be defined as either a fixed lot size or a risk-based percentage. Additionally, a dynamic trailing stop based on a customizable Moving Average is included to lock in profits.

Details

Author

ngush67 on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following, Mean reversion

Markets

Forex

Timeframes

Any timeframe

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.

EA Files

Input Parameters

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

NameTypeDefaultDescription
Expert_TitlestringSwingOllyIIDocument name
Signal_ThresholdOpenint10Signal threshold value to open [0...100]
Signal_ThresholdCloseint10Signal threshold value to close [0...100]
Signal_PriceLeveldouble0.0Price level to execute a deal
Signal_StopLeveldouble50.0Stop Loss level (in points)
Signal_TakeLeveldouble50.0Take Profit level (in points)
Signal_Expirationint4Expiration of pending orders (in bars)
Signal_DEMA_PeriodMAint12Double Exponential Moving Average Period of averaging
Signal_DEMA_Shiftint0Double Exponential Moving Average Time shift
Signal_DEMA_AppliedENUM_APPLIED_PRICEPRICE_CLOSEDouble Exponential Moving Average Prices series
Signal_DEMA_Weightdouble1.0Double Exponential Moving Average Weight [0...1.0]
Signal_SAR_Stepdouble0.02Parabolic SAR(0.02,0.2) Speed increment
Show all 28 inputs
NameTypeDefaultDescription
Signal_SAR_Maximumdouble0.2Parabolic SAR(0.02,0.2) Maximum rate
Signal_SAR_Weightdouble1.0Parabolic SAR(0.02,0.2) Weight [0...1.0]
Signal_Stoch_PeriodKint8Stochastic(8,3,3,...) K-period
Signal_Stoch_PeriodDint3Stochastic(8,3,3,...) D-period
Signal_Stoch_PeriodSlowint3Stochastic(8,3,3,...) Period of slowing
Signal_Stoch_AppliedENUM_STO_PRICESTO_LOWHIGHStochastic(8,3,3,...) Prices to apply to
Signal_Stoch_Weightdouble1.0Stochastic(8,3,3,...) Weight [0...1.0]
Signal_RSI_PeriodRSIint8Relative Strength Index(8,...) Period of calculation
Signal_RSI_AppliedENUM_APPLIED_PRICEPRICE_CLOSERelative Strength Index(8,...) Prices series
Signal_RSI_Weightdouble1.0Relative Strength Index(8,...) Weight [0...1.0]
Trailing_MA_Periodint12Period of MA
Trailing_MA_Shiftint0Shift of MA
Trailing_MA_MethodENUM_MA_METHODMODE_SMAMethod of averaging
Trailing_MA_AppliedENUM_APPLIED_PRICEPRICE_CLOSEPrices series
Money_FixLot_Percentdouble10.0Percent
Money_FixLot_Lotsdouble0.1Fixed volume

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone ngush67/SwingOlly 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

EA31337 Libre

by EA31337
256 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

Scalpflip EA

by anthonycdp
25 stars

Scalpflip EA is an automated scalping robot for MetaTrader 5 that utilizes a multi-layered technical analysis approach. It offers three entry modes: trend-following, mean-reversion, and a smart mode that selects the strategy based on current market conditions. The system filters trades using the Relative Strength Index

MT5 Trading robot ScalpingTrend followingMean reversion
Updated 1 year ago None stated GitHub repository of Scalpflip EA

Basic Bollinger Bands EA

by terencebeauj
21 stars

This MetaTrader 5 expert advisor utilizes the Bollinger Bands and Parabolic SAR indicators to execute trades based on market volatility. It functions as an entry-level algorithmic trading template, allowing users to modify strategy logic or optimize parameters using the MT5 Strategy Tester. The bot manages risk through

MT5 Trading robot Mean reversionTrend following

Heiken Ashi Naive

by EarnForex
17 stars

Heiken Ashi Naive is a trading robot for MetaTrader 4 and 5 that executes trades based on Heiken Ashi candle characteristics, including body length and wick presence. It evaluates candle sequences to enter positions and can be configured to either follow the trend or operate in an inverted mode for mean-reversion. Risk

MT4MT5 Trading robot Trend followingMean reversion
Updated 1 year ago Apache-2.0 GitHub repository of Heiken Ashi Naive

MonsterFX Reliable Trader

by NadirAliOfficial
12 stars

This MetaTrader 5 expert advisor combines automated Forex trading with a Discord notification system via a Python Flask webhook. It executes a dual-timeframe strategy using EMA crossovers, a 200-period trend filter, RSI, and VWAP on the M5 and M15 charts. The EA manages trades with ATR-based stop loss and take profit l

MT5 Trading robot Indicator crossoverTrend followingMean reversion

FG Scalping Pro

by FaizGusion00
11 stars

FG Scalping Pro is an automated trading system for MetaTrader 5 that utilizes a multi-indicator approach to identify entry points. It combines exponential moving average crossovers with RSI momentum and Bollinger Band volatility filters to execute trades. The EA manages risk through dynamic ATR-based stop loss and take

MT5 Trading robot ScalpingIndicator crossoverMean reversion
Updated 1 year ago Custom licence GitHub repository of FG Scalping Pro

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