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.
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.