Ultimate Opening Range Breakout [LuxAlgo]The Ultimate Opening Range Breakout indicator is a comprehensive toolkit designed to identify, visualize, and analyze price movements following the initial market session. It empowers traders to define a specific opening range and monitor subsequent breakouts with integrated volume analysis, automated trailing stops, and a performance-tracking dashboard.
🔶 USAGE
The indicator identifies the high and low prices of a user-defined session (e.g., the first 30 minutes of the New York open) and projects potential expansion targets based on that range. Traders can use these levels to identify breakout opportunities and set realistic price targets.
🔹 Breakout Signals & Volume
When price crosses above the range high or below the range low, the script generates "BULL BREAK" or "BEAR BREAK" labels. These signals include a volume context suffix:
(HV) : High Volume breakout, where current volume exceeds the 20-period average. (LV) : Low Volume breakout, suggesting a potential lack of conviction behind the move.
🔹 Trailing Stop & Optimization
A dynamic ATR-based trailing stop can be enabled to manage open positions. To help refine your strategy, the built-in Stop Optimizer runs simultaneous simulations of five different ATR multipliers in the background. It identifies which multiplier would have yielded the highest cumulative profit based on historical session data.
🔹 Hit Rate Dashboard
The indicator includes a real-time statistical table that tracks the "Hit Rate" of each expansion target. This allows you to see at a glance what percentage of sessions successfully reached Target 1, 2, or 3, helping you gauge the probability of price reaching specific levels on any given day.
🔶 DETAILS
🔹 Opening Range Volume Profile (ORVP)
Unlike standard range indicators, this tool includes an intra-range Volume Profile. It calculates the distribution of volume within the opening range itself, highlighting the Point of Control (POC). This helps traders identify where the most significant positioning occurred before the breakout.
🔹 Adaptive Scaling
The Volume Profile utilizes an asset-adaptive scaling mechanism. By using the Average True Range (ATR) to determine "price buckets," the profile remains visually consistent whether you are trading high-priced indices or low-priced penny stocks.
🔶 SETTINGS
🔹 Session Settings
Opening Range Session : Define the time window for the range (e.g., 0930-1000). Timezone : Adjust the session time to match your local or exchange timezone.
🔹 Calculation Settings
Range Source : Choose between using the High/Low or the candle Close to define the range. Extension Type : Switch between standard Multiples or Fibonacci levels (0.382, 0.618, 1.0).
🔹 Volume Profile
Number of Rows : Adjusts the vertical granularity of the profile. Profile Width : Controls how far the profile extends horizontally from the range.
🔹 Trailing Stop & Optimizer
ATR Multiplier : The sensitivity of the active trailing stop. Show Stop Optimizer : Enables the background simulation to find the most profitable multiplier.
🔹 Plotting Duration
End Plotting At : Choose to stop drawing levels at specific market closes (NY, London, or Manual) to keep the chart clean after trading hours.
Pine Script® Indikator






















