Opening Range Breakout
Mar 28, 2025

The Opening Range Breakout indicator identifies and visualizes the initial high and low price levels established during a specific opening session to help traders spot potential trend continuations and momentum shifts.
Usage
The tool is primarily used by intraday traders to identify the "Opening Range" (OR), which is defined by a user-specified time window (e.g., the first 15 minutes of the market session). Once this range is established, the script monitors for breakouts during a subsequent trading window.
To improve signal quality and filter out noise, the indicator incorporates an Exponential Moving Average (EMA). A valid breakout occurs when the price moves beyond the range boundaries while being confirmed by the EMA trend.
- Bullish Breakout: Occurs when price is above the OR High, the EMA is trending upward, price is above the EMA, and the EMA is also above the OR High.
- Bearish Breakout: Occurs when price is below the OR Low, the EMA is trending downward, price is below the EMA, and the EMA is also below the OR Low.
Details
The script functions by tracking the highest and lowest prices within the "Opening Range Start/Stop Time" inputs. Once that time window expires, the levels are locked until the next session. The breakout logic is only active during the "Opening Range Breakout Start/Stop Time" window, preventing signals during late-day chop or aftermarket hours. The use of an EMA filter ensures that breakouts are supported by short-term momentum rather than being isolated price spikes.
Settings
- Opening Range Start/Stop Time: Defines the time period used to calculate the session high and low.
- Opening Range Breakout Start/Stop Time: Defines the active window where breakout signals can be triggered.
- EMA Length: Determines the lookback period for the trend-confirming EMA.
- Source for EMA: The price data point (e.g., Close, HL2) used to calculate the EMA.
- Send a Single Alert on OR Breakout: If enabled, the script will only trigger one alert per session for each direction.
FAQ
How do I access Opening Range Breakout?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Can I change the opening range duration?
Yes, you can modify the "Opening Range Start/Stop Time" in the settings to accommodate different strategies, such as a 5-minute or 30-minute opening range.
Does this work on all timeframes?
While designed for intraday use, it is most effective on lower timeframes (1m, 5m, 15m) where the opening range can be clearly defined relative to the trading day.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

