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.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。