OPEN-SOURCE SCRIPT
OpenFrame Range Map

OpenFrame Range Map is an intraday opening-range framework built for traders who want more than a basic session box.
Instead of only plotting the first range of the session, this script turns that range into a structured map for the rest of the day. It measures the opening range, plots its internal levels, builds expansion targets from the completed range, tracks session VWAP, and then monitors how price behaves after the range is finished.
The default setup is based on an Asian-session workflow in UTC:
Opening Range Window: 0000-0100
Trading Session Window: 0000-0900
Both can be changed from the settings, so the script can also be adapted to London, New York, or any custom intraday session.
Why use this indicator
Many opening-range tools stop at plotting a high and a low. That is useful, but often incomplete.
This script is designed for traders who want to answer questions like:
The goal is not to predict the future. The goal is to give intraday traders a cleaner structure for context, bias, and target mapping once the first range of the session is known.
What makes this script different
This script is not just an opening-range box.
It combines several components into one workflow:
So the script is not only about drawing levels. It is also about helping traders read what happens after the range is built.
How it works:
During the selected Opening Range Window, the script builds the range high and range low.
While the range is forming, the dashboard shows Building.
When the window ends, the range is locked.
The script then calculates:
During the selected Trading Session Window, the script monitors whether price accepts above or below the completed range.
If enabled, it also marks the first clean retest of the broken range boundary.
How to use it
A common workflow is:
Default session logic:
The script defaults to an Asian-session intraday structure in UTC, but the sessions are fully editable.
This script works best on intraday charts.
Higher timeframes can still display the levels, but the intended use is intraday session analysis.
Important limitations
Summary
OpenFrame Range Map is built for traders who want to turn the first part of a session into a usable framework for the rest of the day.
It helps answer:
That makes it more than a simple session box and more useful as a daily intraday structure map.
Instead of only plotting the first range of the session, this script turns that range into a structured map for the rest of the day. It measures the opening range, plots its internal levels, builds expansion targets from the completed range, tracks session VWAP, and then monitors how price behaves after the range is finished.
The default setup is based on an Asian-session workflow in UTC:
Opening Range Window: 0000-0100
Trading Session Window: 0000-0900
Both can be changed from the settings, so the script can also be adapted to London, New York, or any custom intraday session.
Why use this indicator
Many opening-range tools stop at plotting a high and a low. That is useful, but often incomplete.
This script is designed for traders who want to answer questions like:
- Is today’s opening range relatively small or already stretched?
- Is price accepting above the range, rejecting it, or staying trapped inside it?
- Where are the next objective expansion levels once the range is complete?
- Is post-range movement happening with clean session structure or not?
- How is price behaving relative to the session VWAP after the opening range is established?
The goal is not to predict the future. The goal is to give intraday traders a cleaner structure for context, bias, and target mapping once the first range of the session is known.
What makes this script different
This script is not just an opening-range box.
It combines several components into one workflow:
- Opening Range Structure
- Range high
- Range low
- Midpoint
- 25% and 75% internal levels
- Optional opening-range box
- Expansion Target Ladder
- 0.5x
- 1.0x
- 1.5x
- 2.0x
- optional custom multiplier
- Session VWAP
- A custom session VWAP that resets at the start of the selected trading session, instead of relying only on a generic daily reset
- Range Quality Classification
- The completed opening range is compared against confirmed daily ATR context
- This helps classify the day as Compressed, Balanced, or Expanded
- Post-Range Behavior Tracking
- Bullish acceptance above the completed range
- Bearish acceptance below the completed range
- Optional first retest markers after acceptance
So the script is not only about drawing levels. It is also about helping traders read what happens after the range is built.
How it works:
During the selected Opening Range Window, the script builds the range high and range low.
While the range is forming, the dashboard shows Building.
When the window ends, the range is locked.
The script then calculates:
- midpoint
- quartiles
- expansion targets
- range size relative to confirmed daily ATR
During the selected Trading Session Window, the script monitors whether price accepts above or below the completed range.
If enabled, it also marks the first clean retest of the broken range boundary.
How to use it
A common workflow is:
- Wait for the opening range to complete
- Observe the range size and quality classification
- Watch whether price remains inside the range or accepts outside it
- Use the target ladder as objective reference levels
- Use session VWAP as an extra intraday context layer
- Use acceptance and retest markers as structure events, not as guaranteed outcomes
Default session logic:
The script defaults to an Asian-session intraday structure in UTC, but the sessions are fully editable.
This script works best on intraday charts.
Higher timeframes can still display the levels, but the intended use is intraday session analysis.
Important limitations
- This is not a prediction engine
- It does not guarantee profitable outcomes
- Acceptance and retest markers are structure events, not certainty signals
- Session choice matters and can significantly change behavior
- Opening-range logic is most useful on intraday charts
Summary
OpenFrame Range Map is built for traders who want to turn the first part of a session into a usable framework for the rest of the day.
It helps answer:
- how large the session range is
- whether the day started compressed or expanded
- whether price is accepting outside the range
- where objective expansion levels sit
- how price behaves around the session VWAP after the range is complete
That makes it more than a simple session box and more useful as a daily intraday structure map.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.