Trading robot · MT4

BU ATR Breakeven Engulfing

by syarief02

The BU ATR Breakeven Engulfing is a MetaTrader 4 robot that executes trades based on candlestick price action and volatility indicators.

GitHub stars1
Forks0
Last update1 year ago29 Sep 2024
LicenceMIT
Latest release1.001 year ago

Overview

BU ATR Breakeven Engulfing identifies entry points using bullish and bearish engulfing patterns, which are then filtered through the Relative Strength Index to confirm momentum. The system incorporates dynamic risk management through an Average True Range trailing stop and a breakeven function that protects positions once they reach a user-defined profit level. Users can configure stop loss, take profit, and maximum concurrent layers. It is specifically designed for the five-minute timeframe on ranging forex pairs.

Details

Author

syarief02 on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

SMC / ICT / price action, Mean reversion, Scalping

Markets

Forex

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

NameTypeDefaultDescription
EA_NamestringExpertNameDeclare an external string variable for the EA name
MaxLayerint10Maximum number of layers (orders) allowed
LotSizedouble0.01Lot size for each order (keep this declaration)
StopLossdouble50Stop loss in pips (adjusted)
TakeProfitdouble10Take profit in pips (adjusted)
RSIPeriodint14Period for the RSI (Relative Strength Index)
RSIBuydouble30RSI value threshold for buy signals (adjusted)
RSISelldouble70RSI value threshold for sell signals (adjusted)
BreakevenPipsint20Number of pips to move to breakeven
TrailingPipsint100Number of pips for trailing stop
MagicNumberint12345Unique identifier for the EA's orders
ATRPeriodint14Period for the ATR (Average True Range)
Show all 14 inputs
NameTypeDefaultDescription
ATRMultiplierdouble1.5Multiplier for the ATR value
TradeAnalysisModeAnalysisModeOnNewBarDropdown input for analysis mode

How to install it

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

Gold Liquidity Scalper

by amirmohamadkazemi0933
1 stars

This MetaTrader 4 expert advisor is designed for XAUUSD scalping on the M1 timeframe. It switches logic based on market regimes: in trending markets, it follows the higher timeframe direction using EMA reversals and breakout entries, while in ranging markets, it executes trades based on liquidity sweeps at price extrem

MT4 Trading robot ScalpingSMC / ICT / price actionTrend following
Updated 2 months ago None stated GitHub repository of Gold Liquidity Scalper

Simba Sniper EA

by oriokie
6 stars

This MetaTrader 5 expert advisor focuses on XAUUSD using a multi-timeframe scalping approach based on Smart Money Concepts. It identifies institutional market structures by analyzing H4 trends, H1 supply and demand zones, and M5 entries. The logic incorporates order block detection, Fair Value Gaps (FVG), and liquidity

MT5 Trading robot SMC / ICT / price actionScalpingTrend following High risk
Updated 8 months ago Custom licence GitHub repository of Simba Sniper EA

Smart Trader Forex

by joseph8848
1 stars

Smart Trader Forex is an automated expert advisor for MetaTrader 5 that employs dual strategies for trend following and mean-reversion scalping. It monitors over 15 currency pairs simultaneously using a multi-symbol scanner and a signal quality filter. Risk management includes ATR-based stop losses, trailing stops, and

MT5 Trading robot Trend followingScalpingMean reversion

Gold Dual Engine Scalper

by MithunCyDev
1 stars

Gold Dual Engine Scalper is an MT5 expert advisor designed for XAUUSD trading. It utilizes a regime-based state machine to navigate market conditions, employing two distinct engines: one for volatility burst continuations and another for liquidity sweep reversals. The EA monitors for price compression and market exhaus

MT5 Trading robot ScalpingBreakoutSMC / ICT / price action
1 stars

Advanced Scalping Multi EA is a multi-strategy scalping robot for MetaTrader 5 that integrates multi-timeframe momentum, smart money concepts, and pattern recognition. It calculates a signal confidence score based on RSI, EMA crossovers, MACD, and institutional flow tracking. The expert advisor offers four distinct mod

MT5 Trading robot ScalpingSMC / ICT / price actionIndicator crossover
Updated 1 year ago None stated GitHub repository of Advanced Scalping Multi EA

Free Expert Advisor

by ersingencturk
35 stars

This MetaTrader 4 expert advisor is a scalper designed for the five-minute timeframe across several Forex pairs. It utilizes three strategies based on overbought and oversold market conditions to execute trades. Risk management features include a fixed hard stop loss, a virtual take profit and stop loss derived from an

MT4 Trading robot ScalpingMean reversion
Updated 9 years ago BSD-3-Clause GitHub repository of Free Expert Advisor

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