OPEN-SOURCE SCRIPT

Adjustable ORB with ORB Multipliers 1x or 2x by dhaval chhayani

Key Features:
Adjustable Timeframe:

The ORB is calculated using a user-defined timeframe, which defaults to 15 minutes.
Dynamic High/Low Levels:

Identifies the high and low of the first bar of the specified timeframe for each trading day.
Resets these levels at the start of each new day.
Multipliers for Breakout Levels:

Calculates breakout levels using 1.3x and 2x the ORB range, both above and below the opening range.
Displays these levels on the chart with user-controlled visibility.
Labels for Breakout Levels:

Adds labels (1x, 2x) at the breakout levels for better visualization.
Dynamically updates or removes labels based on current conditions.
Visual Representation:

The opening range (high and low) is plotted with blue lines and filled with a shaded area for clarity.
Breakout levels are plotted in white and yellow, representing the respective multipliers.
Day-Specific Logic:

Ensures the indicator only operates for the current day and clears data for previous or upcoming days.
Breadth IndicatorsCandlestick analysisPivot points and levels

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer