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.
สคริปต์แบบเฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้งานที่ผู้เขียนอนุมัตเท่านั้นจึงจะสามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องขอและได้รับอนุญาตก่อนใช้งาน ซึ่งโดยทั่วไปจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม โปรดทำตามคำแนะนำของผู้เขียนด้านล่าง หรือติดต่อ baberzayn โดยตรง
TradingView ไม่แนะนำให้จ่ายเงินหรือใช้สคริปต์ เว้นแต่คุณจะเชื่อถือผู้เขียนและเข้าใจวิธีการทำงานของสคริปต์นั้นอย่างถ่องแท้ คุณยังสามารถหาทางเลือกแบบโอเพนซอร์สฟรีได้ใน สคริปต์ชุมชนของเรา
คำแนะนำของผู้เขียน
คำจำกัดสิทธิ์ความรับผิดชอบ
สคริปต์แบบเฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้งานที่ผู้เขียนอนุมัตเท่านั้นจึงจะสามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องขอและได้รับอนุญาตก่อนใช้งาน ซึ่งโดยทั่วไปจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม โปรดทำตามคำแนะนำของผู้เขียนด้านล่าง หรือติดต่อ baberzayn โดยตรง
TradingView ไม่แนะนำให้จ่ายเงินหรือใช้สคริปต์ เว้นแต่คุณจะเชื่อถือผู้เขียนและเข้าใจวิธีการทำงานของสคริปต์นั้นอย่างถ่องแท้ คุณยังสามารถหาทางเลือกแบบโอเพนซอร์สฟรีได้ใน สคริปต์ชุมชนของเรา