Trading robot ยท MT4

Edelweiss EA

by Attornado

Edelweiss EA is an educational trading robot for MetaTrader 4 that utilizes a multi-indicator framework to generate buy and sell signals.

GitHub stars3
Forks1
Last update11 months ago26 Oct 2025
LicenceMIT

Overview

Edelweiss EA combines exponential moving averages, stochastic oscillators, the awesome oscillator, ADX, and Bollinger Bands to identify market entries. Trade management includes dynamic ATR-based stop loss and take profit levels, along with trailing stops and risk-based lot sizing. Users can filter noise by requiring multiple consecutive signals before execution. While the repository includes a PyTorch LSTM implementation for research, the EA operates as a rule-based technical system.

Details

Author

Attornado on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Indicator crossover, Mean reversion, Trend following, Multi-strategy

Markets

Any symbol

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.

Input parameters

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

NameTypeDefaultDescription
optimize_lotbooltrue
lotdouble0.1lots to Trade
lot_decrease_factordouble3.0
price_slippageint3
max_riskdouble0.01max balance risk
default_trailing_stopint30to compute default stop-loss
default_take_profitint50default take profit
buy_signals_tint1
sell_signals_tint1
use_ma_signalsbooltrue
ma_window_slowint50may also try 21
ma_window_fastint20may also try 7
Show all 40 inputs
NameTypeDefaultDescription
ma_shiftint0
ma_methodENUM_MA_METHODMODE_EMA
ma_price_typeENUM_APPLIED_PRICEPRICE_CLOSE
use_atr_sl_tpbooltrue
atr_stop_loss_factordouble2.0
atr_take_profit_factordouble4.0
atr_windowint14
atr_normalized_volatility_tdouble0.1
use_stochastic_signalsbooltrue
stochastic_k_periodint14
stochastic_d_periodint3
stochastic_slowingint3
stochastic_ma_methodENUM_MA_METHODMODE_SMA
stochastic_price_fieldint0type of price type used to compute stochastic oscillator 0=Low/High or 1=Close/Close
stochastic_over_bought_tdouble80stochastic overbought
stochastic_over_sold_tdouble20stochastic oversold
stochastic_use_atr_volatility_signalbooltruewhether to use the ATR-based volatility signal in stochastic oscillator
use_awesome_signalsbooltrue
awesome_saucers_bar_numberint3number of consecutive bars to evaluate with the awesome oscillator saucers strategy
awesome_check_stochasticbooltruecombine signals with oversold/overbought signals by stochastic oscillator
use_adx_signalsbooltrue
adx_use_parabolic_signalbooltrue
adx_periodint14
adx_price_typeENUM_APPLIED_PRICEPRICE_CLOSE
adx_min_market_trending_tdouble20.0
parabolic_stepdouble0.02
parabolic_max_stepdouble0.2
use_bollinger_signalsbooltrue

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Attornado/EdelweissEA from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
  3. 3Copy the filesCopy the .mq4 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
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

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

Golden7

by edisonq
1 stars

Golden7 is an automated trading system for MetaTrader 5 that utilizes a weighted confluence engine across seven technical indicators, such as Moving Averages, RSI, and Bollinger Bands. It uniquely allows users to input a manual fundamental bias score to influence trade direction. The robot includes a robust filtering s

MT5 Trading robot Trend followingIndicator crossoverMean reversion
Updated 11 months ago None stated GitHub repository of Golden7
1 stars

This MetaTrader 5 expert advisor implements a multi-timeframe trading strategy across M1, M5, and M15 intervals. It utilizes a seven-period Exponential Moving Average system ranging from EMA 30 to EMA 60 to identify market conditions. When EMAs are aligned, it executes trend-following trades; in consolidated markets, i

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 3 months ago None stated GitHub repository of Multi Filter MA MT5
7 stars

This MetaTrader 4 expert advisor implements a flexible strategy based on the directional consensus of multiple technical indicators. It allows users to combine Moving Averages, Stochastic Oscillators, THV3 T3, Babon Slope, and AMA Optimized modules. A trade is initiated only when all selected indicators align in the sa

MT4 Trading robot Trend followingMulti-strategyIndicator crossover

More trading robots

Need a broker for MT4?

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

Compare brokers