OPEN-SOURCE SCRIPT
Updated

OPR Asia-New-York [Elykia]

714
This Pine Script indicator, called "OPR Asia-New-York [Elykia]", displays time-based boxes corresponding to two specific trading periods known as OPR (Opening Price Range):
🎯 Purpose of the Indicator:

To visualize two key market time windows (morning and afternoon) as extended boxes, helping with technical analysis around opening ranges.
🕒 Two sessions displayed as boxes:
🔹 Morning OPR:

Default: from 09:00 to 09:15 (configurable)

The box extends until 10:30.

It captures the highest and lowest candle within this interval.

🔸 Afternoon OPR:

Default: from 15:30 to 15:45

The box extends until 17:30.

Follows the same logic as the morning session.

⚙️ Dashboard Options:

Enable or disable the morning or afternoon box individually

Select the timezone (e.g., GMT+2)

Customize all colors (morning/afternoon boxes, median line)

Set your own start/end/extension times for each session

📦 Each box includes:

A colored rectangle showing the price range (high/low)

A dotted median line between the high and low

The box and line extend until the end time defined

🧠 Usefulness for Traders:

Identify liquidity zones or consolidation areas

Trade setups like liquidity grabs, breakouts, or fakeouts around the OPR

Align with ICT methods or scalping strategies based on session behavior

Release Notes
This Pine Script indicator, called "OPR Asia-New-York [Elykia]", displays time-based boxes corresponding to two specific trading periods known as OPR (Opening Price Range):
🎯 Purpose of the Indicator:

To visualize two key market time windows (morning and afternoon) as extended boxes, helping with technical analysis around opening ranges.
🕒 Two sessions displayed as boxes:
🔹 Morning OPR:

Default: from 09:00 to 09:15 (configurable)

The box extends until 10:30.

It captures the highest and lowest candle within this interval.

🔸 Afternoon OPR:

Default: from 15:30 to 15:45

The box extends until 17:30.

Follows the same logic as the morning session.

⚙️ Dashboard Options:

Enable or disable the morning or afternoon box individually

Select the timezone (e.g., GMT+2)

Customize all colors (morning/afternoon boxes, median line)

Set your own start/end/extension times for each session

📦 Each box includes:

A colored rectangle showing the price range (high/low)

A dotted median line between the high and low

The box and line extend until the end time defined

🧠 Usefulness for Traders:

Identify liquidity zones or consolidation areas

Trade setups like liquidity grabs, breakouts, or fakeouts around the OPR

Align with ICT methods or scalping strategies based on session behavior

08/07/2025
The RSI is now visible directly either at the top right of the chart or at the price level.

Release Notes
dynamic label size, color and offset adjustment
Release Notes
activate
Release Notes
configurable OPR zones background
Release Notes
Start of the OPR zone from the 1st candle.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.