OPEN-SOURCE SCRIPT
PumpC ATR Line Levels

PumpC ATR Line Levels
Overview
PumpC ATR Line Levels is a volatility-based indicator that projects potential expansion levels from the previous session’s close using the Average True Range (ATR). This tool builds upon the Previous OHLC framework created by Nephew_Sam_ by extending its session-handling logic and adding ATR-based levels, statistical tracking, and flexible visualization options.
How It Works
Features
Use Cases
Acknowledgment
This script was developed on top of the Previous OHLC indicator by Nephew_Sam_, with major modifications to implement ATR-driven levels, extended statistics, and customizable table output.
Notes
Overview
PumpC ATR Line Levels is a volatility-based indicator that projects potential expansion levels from the previous session’s close using the Average True Range (ATR). This tool builds upon the Previous OHLC framework created by Nephew_Sam_ by extending its session-handling logic and adding ATR-based levels, statistical tracking, and flexible visualization options.
How It Works
- Calculates ATR from a user-selectable higher timeframe (default: Daily).
- Projects levels above and below the previous session’s close (or current close when preview mode is enabled).
- Supports up to 5 ATR multiples, each with independent toggles, colors, and labels.
- Optionally displays only the most recent ATR session for clarity.
- Includes a data table tracking how often ATR levels are reached or closed beyond.
Features
- Configurable ATR timeframe and length (default: 21).
- Default multiples: 0.30, 0.60, 0.90; optional: 1.236, 2.00.
- Toggle for preview mode (using current close vs. locked prior session close).
- Customizable line style, width, colors, and label placement.
- Visibility filter to show only on chart TF ≤ 60 minutes.
- Session statistics table with counts and percentages of level interactions.
Use Cases
- Identify intraday expansion targets or stop placement zones based on volatility.
- Evaluate historical tendencies of price respecting or breaking ATR bands.
- Support volatility-adjusted trade planning with statistical validation.
Acknowledgment
This script was developed on top of the Previous OHLC indicator by Nephew_Sam_, with major modifications to implement ATR-driven levels, extended statistics, and customizable table output.
Notes
- This indicator does not generate buy/sell signals.
- Best applied to intraday charts anchored to a higher-timeframe ATR.
- Keep charts clean and avoid non-standard bar types when publishing.
Skrypt open-source
W duchu TradingView twórca tego skryptu udostępnił go jako open-source, aby traderzy mogli analizować i weryfikować jego funkcjonalność. Brawo dla autora! Możesz korzystać z niego za darmo, ale pamiętaj, że ponowna publikacja kodu podlega naszym Zasadom Społeczności.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.
Skrypt open-source
W duchu TradingView twórca tego skryptu udostępnił go jako open-source, aby traderzy mogli analizować i weryfikować jego funkcjonalność. Brawo dla autora! Możesz korzystać z niego za darmo, ale pamiętaj, że ponowna publikacja kodu podlega naszym Zasadom Społeczności.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.