Mpx Ibs4 Inside Bar

MPX-IBS4 — Inside Bar Breakout EA

Gold (XAUUSD) | H1 | MetaTrader 5

Overview

MPX-IBS4 is an Inside Bar Breakout Expert Advisor for Gold (XAUUSD) on the H1 timeframe. It identifies Inside Bar patterns where the current bar is fully contained within the previous bar's range, then filters for only the tightest setups using a Narrow Range Filter. Entries are placed as pending BuyStop/SellStop orders at the mother bar's extremes, aligned with the EMA trend direction.

The EA uses an OCO (One-Cancels-Other) system — once one pending order is triggered, the opposite is automatically cancelled.

MPX-IBS4 is part of the MPX Series — a collection of 6 EAs, each built on a distinct trading strategy, designed to be run together as a diversified portfolio.

Backtest Results

Symbol XAUUSD
Timeframe H1
Period 2024.01.01 – 2026.06.12
History Quality 100%
Metric Value
Initial Deposit $500
Total Net Profit $1,576.62 (315%)
Profit Factor 2.05
Sharpe Ratio 3.90
Recovery Factor 5.30
Max Drawdown 25.47% ($271.90)
Total Trades 87
Win Rate 40.23%
Avg. Profit per Trade $87.83
Avg. Loss per Trade -$28.80

⚠️ Past performance does not guarantee future results. Results may vary depending on broker, spread, and market conditions. Always backtest before going live.

How It Works

Entry Logic

  • Inside Bar: current bar's high and low must be fully inside the previous (mother) bar
  • Narrow Range Filter: inside bar width must be less than 40% of the mother bar width — only the tightest compressions qualify
  • EMA Trend Filter (50): BuyStop placed only when price is above EMA; SellStop placed only when price is below EMA
  • Entry is a pending stop order at the mother bar's extreme + ATR buffer
  • OCO System: if one side triggers, the opposite pending order is immediately cancelled
  • Pending orders expire automatically after a set number of bars if not triggered

Position Sizing

  • Lot size calculated automatically based on % risk per trade
  • SL set at the opposite extreme of the mother bar + ATR buffer

Risk:Reward

  • Fixed RR ratio (default 2.5R) — TP = entry + (SL distance × RR Ratio)

Parameters

Strategy Settings

Parameter Default Description
EMA_Period 50 EMA trend filter period
NR_Filter 0.4 Narrow Range Filter (inside bar width < mother bar × this)
ATR_Buffer_Mult 0.3 Entry/SL buffer beyond mother bar extreme (× ATR)

Risk & Management

Parameter Default Description
Risk_Percent 1.0 Risk per trade (% of balance)
Max_Lot 5.0 Maximum lot size (hard cap)
RR_Ratio 2.5 Risk:Reward ratio
Max_Pending_Bars 5 Cancel pending order after this many bars

EA Settings

Parameter Default Description
MagicNumber 40004 Unique EA identifier

Recommended Usage

  • Default parameters are optimized for XAUUSD H1 and can be used as-is
  • Lowering Risk_Percent (e.g. to 0.5%) will reduce drawdown proportionally
  • Max_Pending_Bars controls how long to wait for a breakout — increase for wider patterns, decrease for tighter timing

Important Notes

  • MPX-IBS4 is a Pattern-based Breakout EA — win rate is below 50% by design, compensated by a 2.5R reward ratio
  • Performs best in trending markets where inside bars resolve cleanly in one direction
  • Requires a Hedging account — does not support Netting accounts
  • Always test on a Demo account first before going live
  • Results will vary across brokers due to differences in spread and execution

Requirements

Platform MetaTrader 5
Account Type Hedging
Recommended Symbol XAUUSD
Recommended Timeframe H1
Minimum Deposit $500 (at 1% risk)

Другие продукты этого автора
Mpx Trf1 Trend Follower
Punyakorn Prathueangsaenyakorn
MPX-TRF1 — Trend Follower EA Gold (XAUUSD) | H1 | MetaTrader 5 Overview MPX-TRF1 is a Trend Following Expert Advisor for Gold (XAUUSD) on the H1 timeframe. It uses ADX to confirm trend strength and ATR to dynamically calculate Stop Loss, Take Profit, and position size — adapting automatically to market volatility. The EA opens a maximum of 1 position per symbol at a time, with built-in Breakeven and Trailing Stop systems to protect profits as the trend develops. MPX-TRF1 is part of the MPX Serie
Mpx Mrv2 Mean Reversion
Punyakorn Prathueangsaenyakorn
MPX-MRV2 — Mean Reversion EA Gold (XAUUSD) | M30 | MetaTrader 5 ## Overview MPX-MRV2 is a Mean Reversion Expert Advisor for Gold (XAUUSD) on the M30 timeframe. It identifies extreme price deviations using Bollinger Bands (3.1σ), confirmed by RSI exhaustion and an ADX sideways filter — entering counter-moves only when the market is ranging, not trending. The EA opens a maximum of 1 position per symbol at a time, with built-in Breakeven and Trailing Stop systems to lock in profit as price rev
Mpx Brk3 Breakout Specialist
Punyakorn Prathueangsaenyakorn
MPX-BRK3 — Breakout Specialist EA Gold (XAUUSD) | H1 | MetaTrader 5 Overview MPX-BRK3 is a Breakout Expert Advisor for Gold (XAUUSD) on the H1 timeframe. It detects Bollinger Band squeeze conditions — periods when volatility compresses and the market coils for a move — then enters in the direction of the breakout when price closes beyond the bands. The EA opens a maximum of 1 position per symbol at a time, with built-in Breakeven and Trailing Stop systems to ride the breakout move as far as poss
Фильтр:
Нет отзывов
Ответ на отзыв