MB Break & Retest

Trades are not taken on the breakout candle. Instead, the script waits for price to retest the Opening Range midpoint and enter only when that retest shows acceptable confirmation. Optional filters include a close-position filter (requiring the candle to close in the top/bottom portion of its range), a minimum retest volume requirement, and a midpoint “respect” filter that requires price to reject away from the midpoint by a set distance rather than simply touching it.
An optional VWAP filter adds directional bias: longs are allowed only when the midpoint is sufficiently below VWAP (with a configurable buffer), and shorts are allowed only when the midpoint is sufficiently above VWAP. The VWAP line can be displayed, and the script tracks how many potential trades were filtered out by the VWAP rule.
The indicator also includes built-in trade management and visual risk tools. It plots stop-loss and take-profit zones, supports a partial profit target (taking 50% off at a specified move), and can move the stop to break-even once a configurable R:R threshold is reached. Entry, partial, break-even, stop, and target events can be labeled on the chart.
A live status panel shows the current state (watching, breakout detected, trade active, session closed, or choppy), along with OR levels, midpoint, VWAP context, and volume information. A backtest dashboard summarizes performance metrics such as net P/L, win rate, profit factor, average win/loss, long vs short stats, breakeven exits, partial exits, streaks, and VWAP-filtered counts.
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact baberzayn directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Disclaimer
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact baberzayn directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.