PROTECTED SOURCE SCRIPT
Cập nhật 3 Days Volatility

3 Days Volatility (Final) is a price-action based volatility indicator designed to measure the true market movement over the last 3 trading days.
It helps traders quickly understand whether the market is in consolidation, expansion, or high-risk volatility.
The indicator always uses daily (D) timeframe data, so it works consistently on intraday, swing, and positional charts without repainting.
🔍 What does this indicator measure?
This indicator calculates three different types of volatility, each serving a specific trading purpose:
1️⃣ Close Range %
Calculated using Highest Close – Lowest Close of the last 3 days
Measures close-to-close price movement
Useful for identifying trend smoothness and controlled movement
👉 Best suited for swing traders who focus on closing prices.
2️⃣ Body Range % (NO WICKS)
Calculated using the highest and lowest candle bodies of the last 3 daily candles
Completely ignores wicks and spikes
Shows real buying and selling strength
👉 This is the most important component of the indicator, as it reflects pure price acceptance rather than noise.
3️⃣ High–Low %
Calculated using Highest High – Lowest Low of the last 3 days
Measures total volatility including wicks, news moves, and extreme spikes
👉 Very useful for risk assessment, options trading, and volatility awareness.
🎨 Smart Colour Coding System
Each volatility value is automatically highlighted using a three-level colour system:
🟢 Green → Low volatility (tight range, consolidation phase)
🟠 Orange → Medium volatility (expansion, active market)
🔴 Red → High volatility (breakout, strong momentum, or high risk)
This allows traders to instantly read market conditions without manual calculations.
📊 Visual Output
Clean table-based display
Updates only on the latest bar
Does not clutter the chart
Non-repainting and safe for analysis
💡 Best Use Cases
Identifying consolidation before breakouts
Measuring volatility expansion in futures trading
Understanding risk levels for options buying/selling
Filtering trades based on market volatility conditions
⚠️ Important Disclaimer
This indicator does NOT provide buy or sell signals
It is designed as a volatility and market condition tool
Always use it with your own trading strategy and proper risk management
It helps traders quickly understand whether the market is in consolidation, expansion, or high-risk volatility.
The indicator always uses daily (D) timeframe data, so it works consistently on intraday, swing, and positional charts without repainting.
🔍 What does this indicator measure?
This indicator calculates three different types of volatility, each serving a specific trading purpose:
1️⃣ Close Range %
Calculated using Highest Close – Lowest Close of the last 3 days
Measures close-to-close price movement
Useful for identifying trend smoothness and controlled movement
👉 Best suited for swing traders who focus on closing prices.
2️⃣ Body Range % (NO WICKS)
Calculated using the highest and lowest candle bodies of the last 3 daily candles
Completely ignores wicks and spikes
Shows real buying and selling strength
👉 This is the most important component of the indicator, as it reflects pure price acceptance rather than noise.
3️⃣ High–Low %
Calculated using Highest High – Lowest Low of the last 3 days
Measures total volatility including wicks, news moves, and extreme spikes
👉 Very useful for risk assessment, options trading, and volatility awareness.
🎨 Smart Colour Coding System
Each volatility value is automatically highlighted using a three-level colour system:
🟢 Green → Low volatility (tight range, consolidation phase)
🟠 Orange → Medium volatility (expansion, active market)
🔴 Red → High volatility (breakout, strong momentum, or high risk)
This allows traders to instantly read market conditions without manual calculations.
📊 Visual Output
Clean table-based display
Updates only on the latest bar
Does not clutter the chart
Non-repainting and safe for analysis
💡 Best Use Cases
Identifying consolidation before breakouts
Measuring volatility expansion in futures trading
Understanding risk levels for options buying/selling
Filtering trades based on market volatility conditions
⚠️ Important Disclaimer
This indicator does NOT provide buy or sell signals
It is designed as a volatility and market condition tool
Always use it with your own trading strategy and proper risk management
Phát hành các Ghi chú
3 Bars Volatility – Major Update 🚀Now fully timeframe adaptive 🔄
• Works on 1H, Daily & Weekly charts
• Shows 1 Bar Ago vs Now volatility clearly
• Clean table layout
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.