OPEN-SOURCE SCRIPT
Prev Day & Week Levels with Extensions (Historical)

Overview
This indicator automatically plots key historical levels from the Previous Day and Previous Week, including high, low, and equilibrium (midpoint) levels. It is designed for intraday traders who use daily and weekly price ranges to identify potential support, resistance, and mean-reversion zones.
Key Features
Fibonacci Extensions: Beyond the standard H/L/Mid levels, it automatically calculates and plots extension levels (150%, 200%, -150%, and -200%) based on the prior period's range.
Dynamic Labels: All levels are clearly labeled on the right side of the chart with their specific price values for quick reference.
Historical Tracking: Includes an option to toggle between showing only the current active levels or keeping historical levels on the chart to analyze past reactions.
Clean Visuals: Fully customizable colors and line styles (solid, dashed, or dotted) to match any chart theme.
This indicator automatically plots key historical levels from the Previous Day and Previous Week, including high, low, and equilibrium (midpoint) levels. It is designed for intraday traders who use daily and weekly price ranges to identify potential support, resistance, and mean-reversion zones.
Key Features
Fibonacci Extensions: Beyond the standard H/L/Mid levels, it automatically calculates and plots extension levels (150%, 200%, -150%, and -200%) based on the prior period's range.
Dynamic Labels: All levels are clearly labeled on the right side of the chart with their specific price values for quick reference.
Historical Tracking: Includes an option to toggle between showing only the current active levels or keeping historical levels on the chart to analyze past reactions.
Clean Visuals: Fully customizable colors and line styles (solid, dashed, or dotted) to match any chart theme.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.