Mt5Booo Smart New EA
- エキスパート
- Taha Saber Ashour Kamel
- バージョン: 1.0
- アクティベーション: 20
Boom Ea is a fully automated MT5 expert advisor
BOOOM EA v4.18 — MQL5 MARKET DESCRIPTION
=========================================
Mul-signal Expert Advisor with five profit lock levels, ATR-based
stop loss and take profit, session filtering, and an adaptive trailing
stop. Works on any symbol and timeframe supported by MetaTrader 5.
Overview
BOOOM EA is a fully automated Expert Advisor for MetaTrader 5. It
combines multiple technical indicators to generate trading signals,
manages open positions through five configurable profit lock levels,
and uses an adaptive trailing stop to protect accumulated gains. The
advisor includes a built-in session filter and daily risk limits
expressed as a percentage of the account balance, making it suitable
for both standard accounts and accounts with small starting capital.
The EA contains two independent trading engines in a single file.
Engine A is active by default. It uses a simple moving average
crossover and is designed to demonstrate all EA functions during the
MQL5 Market evaluation period. Engine B provides the full multi-signal
system and can be activated at any time by setting the EA_B Enable
parameter to true. Both engines run on separate magic numbers and do
not interfere with each other.
How the Signal System Works
Engine B scores market conditions using seven indicators: EMA
crossover, trend direction relative to a 200-period EMA, RSI momentum,
MACD crossover, Stochastic position, Bollinger Band touch, and an
optional higher-timeframe EMA filter on H4. A trade is opened only
when the number of confirming indicators reaches the minimum threshold
set by the user (default: 2 out of 7).
Stop Loss and Take Profit
The EA calculates stop loss and take profit distances from the Average
True Range of the current bar. The ATR multipliers are set separately
for stop loss and take profit. Manual pip distances can be used instead
if ATR is disabled. All stop and take profit levels are validated
against the broker minimum distance before the order is sent.
Profit Lock System
Five sequential profit lock levels protect open trades as they move
into profit. Each level has three settings: a trigger amount in account
currency, a lock-in amount in account currency, and an optional partial
close percentage. When the trigger is reached, the stop loss is moved
to protect the lock-in amount and the specified portion of the position
is closed. The fifth level closes the full remaining position by
default.
Trailing Stop
The trailing stop activates after a configurable profit threshold is
reached. Three trailing modes are available: pip distance, ATR
distance, and dollar distance. The trailing stop only moves in the
favourable direction and respects the broker freeze level.
Risk and Daily Limits
The EA measures daily profit and loss as a percentage of the balance at
the start of each trading day. Trading stops for the day when the daily
profit target or daily loss limit is reached. An equity drawdown limit
is also enforced: if the drawdown from the equity peak exceeds the
configured percentage, all positions are closed immediately. All limit
thresholds reset automatically at the start of each new day.
Session Filter
Trading can be restricted to one of four sessions: London, New York,
Asian, or the London/New York overlap. When a session filter is active,
new entries are paused outside the selected hours. Open positions
continue to be managed regardless of session.
Lot Size Calculation
Four lot sizing modes are available.
Fixed: a constant lot size for every trade.
Balance percent: lot size scaled to a percentage of current balance.
Risk percent: lot size calculated from a fixed risk amount per trade
based on the stop loss distance.
Scale on wins: lot size increases by a multiplier after a configurable
number of consecutive winning trades.
The EA always validates the calculated lot against the broker minimum
volume, maximum volume, and available margin before sending the order.
Input Parameters
Engine A parameters
EA_A Enable: activates or deactivates Engine A.
EA_A Magic Number: unique identifier for Engine A orders.
EA_A Order Comment: text appended to order comments.
EA_A Fixed Lot: lot size used by Engine A.
EA_A Fast MA Period: period of the fast EMA.
EA_A Slow MA Period: period of the slow EMA.
EA_A Stop Loss Pips: stop loss distance in pips.
EA_A Take Profit Pips: take profit distance in pips.
EA_A Max Open Trades: maximum number of concurrent trades.
EA_A Close Opposite: closes an opposing trade when a new signal fires.
Engine B parameters
EA_B Enable: activates or deactivates Engine B.
EA_B Magic Number: unique identifier for Engine B orders.
EA_B Strategy: selects the signal mode (Trend, Revert, Breakout,
Scalp, or Combined).
EA_B Session: restricts entries to a selected trading session.
EA_B Min Signals: minimum number of confirming indicators required
before a trade is opened.
EA_B Lot Mode: selects the lot calculation method.
EA_B Fixed Lot: lot size used in Fixed mode.
EA_B Balance Percent: risk percentage used in Balance Percent mode.
EA_B Risk Percent: risk percentage used in Risk Percent mode.
EA_B Max Lot: hard ceiling on the calculated lot size.
EA_B Scale After Wins: number of consecutive wins before scaling begins.
EA_B Scale Multiplier: lot multiplier applied at each scaling step.
EA_B Use Stop Loss: enables or disables the stop loss on new orders.
EA_B Use ATR: switches between ATR-based and manual pip distances.
EA_B ATR Period: period used for the ATR calculation.
EA_B ATR SL Multiplier: ATR multiplier applied to the stop loss.
EA_B ATR TP Multiplier: ATR multiplier applied to the take profit.
EA_B Manual SL Pips: stop loss in pips when ATR is disabled.
EA_B Manual TP Pips: take profit in pips when ATR is disabled.
EA_B RR Ratio: overrides the take profit to maintain a fixed
risk-to-reward ratio when greater than zero.
EA_B Lock 1 through 5 Enable: activates each profit lock level
individually.
EA_B Lock Trigger: profit amount in account currency that activates the
lock.
EA_B Lock Keep: profit amount in account currency protected by the lock.
EA_B Lock Close Percent: percentage of the position closed at the lock.
EA_B Trail Mode: selects the trailing stop method.
EA_B Trail Activate: floating profit required to start trailing.
EA_B Trail Pips: trailing distance when Pips mode is selected.
EA_B Trail ATR Multiplier: ATR multiplier when ATR mode is selected.
EA_B Trail USD: trailing distance in account currency when Dollar mode
is selected.
EA_B Fast MA, Slow MA, Trend MA: periods for the three EMA lines.
EA_B RSI Period, Overbought, Oversold: RSI configuration.
EA_B BB Period, BB Deviation: Bollinger Bands configuration.
EA_B MACD Fast, Slow, Signal: MACD configuration.
EA_B Stochastic K, D, Slowing: Stochastic configuration.
EA_B MTF Filter: enables the H4 EMA filter.
EA_B Volume Filter: enables the volume confirmation filter.
EA_B Volume Multiplier: volume multiple required for the volume filter.
EA_B Max Trades, Max Buys, Max Sells: position count limits.
EA_B Cooldown Bars: minimum bars between consecutive entries.
EA_B Daily Profit Target: daily profit target as a percentage of
balance.
EA_B Daily Loss Limit: daily loss limit as a percentage of balance.
EA_B Max Drawdown: maximum equity drawdown as a percentage.
EA_B Friday Close: closes all positions on Friday evening when enabled.
EA_B Panel: shows or hides the on-chart information panel.
EA_B Arrows: shows or hides entry arrows on the chart.
Recommendations
Use a broker with low spreads and fast execution for best results.
Test all settings in the MetaTrader 5 Strategy Tester on your target
symbol and timeframe before using on a live account. Start with the
default fixed lot size of 0.01 and adjust risk parameters only after
reviewing backtest results. The EA does not use martingale or grid
strategies by default. Enabling the Scale on Wins lot mode increases
position sizes after winning trades, which carries additional risk.
Requirements
MetaTrader 5 build 2390 or higher.
Any symbol and timeframe.
Minimum deposit: no enforced minimum. The default lot size of 0.01 is
compatible with accounts starting from 100 units of account currency
on most standard brokers.
