PROTECTED SOURCE SCRIPT
BOX + 50% + 75% N CANDLES BACK (Freeze v2.7c)

📦 BOX + 50% + 75% N CANDLES BACK (Freeze v2.7c)
Author: Eng. Vicente Budzinski
This indicator automatically draws a consolidation box based on the closing and opening prices of a specified number of bars behind the most recent one, helping traders visualize short-term balance zones and potential breakout areas.
🧭 Key Features
Dynamic Box Calculation:
The box is defined by the highest and lowest body prices (open/close) within a user-defined window of bars (Bars Back), extended into the future for projection.
Right-Side Filter (RightBar):
Allows you to ignore the most recent N bars (including the current one) when calculating the top and bottom, keeping the box anchored to slightly older structure and filtering out recent noise or spikes.
50% and 75% Levels:
Automatically plots 50% and 75% internal zones inside the consolidation box for refined reference levels.
Freeze Mode:
Lets you “lock in” the current box geometry, preventing it from being recalculated on new bars — perfect for marking static consolidation zones or backtesting breakouts.
Fully Customizable:
Choose to display internal guides, borders, labels, and extension distance into future bars.
⚙️ Typical Use Cases
Identifying price compression zones before breakouts.
Marking balance areas for pullback or breakout strategies.
Studying price behavior after consolidation (range expansion).
💡 Usage Tips
Increase Bars Back for broader consolidation zones.
Adjust RightBar to ignore the latest volatility or wick extensions.
Use Freeze to keep your box fixed for analysis or screenshots.
Author: Eng. Vicente Budzinski
This indicator automatically draws a consolidation box based on the closing and opening prices of a specified number of bars behind the most recent one, helping traders visualize short-term balance zones and potential breakout areas.
🧭 Key Features
Dynamic Box Calculation:
The box is defined by the highest and lowest body prices (open/close) within a user-defined window of bars (Bars Back), extended into the future for projection.
Right-Side Filter (RightBar):
Allows you to ignore the most recent N bars (including the current one) when calculating the top and bottom, keeping the box anchored to slightly older structure and filtering out recent noise or spikes.
50% and 75% Levels:
Automatically plots 50% and 75% internal zones inside the consolidation box for refined reference levels.
Freeze Mode:
Lets you “lock in” the current box geometry, preventing it from being recalculated on new bars — perfect for marking static consolidation zones or backtesting breakouts.
Fully Customizable:
Choose to display internal guides, borders, labels, and extension distance into future bars.
⚙️ Typical Use Cases
Identifying price compression zones before breakouts.
Marking balance areas for pullback or breakout strategies.
Studying price behavior after consolidation (range expansion).
💡 Usage Tips
Increase Bars Back for broader consolidation zones.
Adjust RightBar to ignore the latest volatility or wick extensions.
Use Freeze to keep your box fixed for analysis or screenshots.
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Możesz jednak używać go swobodnie i bez żadnych ograniczeń – więcej informacji tutaj.
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 chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Możesz jednak używać go swobodnie i bez żadnych ograniczeń – więcej informacji tutaj.
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.