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 aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.