OPEN-SOURCE SCRIPT
3 Bars Volatility + Sector & Industry

**VCP by Ram Sethi – 3 Bar Volatility (Dynamic Timeframe)**
This indicator helps identify short-term **volatility contraction** using a simple 3-bar range analysis, designed for traders focusing on clean price structure and breakout setups.
---
### 🔍 Key Features:
* Uses **3-bar volatility calculation** based on:
* Close Range
* High–Low Range
* Fully **dynamic timeframe-based**
* Works on any chart timeframe (1 min to yearly)
* Automatically adapts to the chart you are viewing
* Clean **table display (top-left)** for quick reference
* Displays **Sector and Industry** of the stock for better decision-making
---
### 📊 What It Shows:
* **Close Range (%)** → Measures tightness in closing prices
* **High–Low Range (%)** → Measures overall price volatility
* **Sector & Industry** → Helps identify where the stock belongs and track money flow
Lower values indicate **price contraction**, which is a key characteristic of potential breakout setups.
---
### 🎯 How to Use:
* Look for **low volatility readings (tight ranges)**
* Focus on stocks within **strong sectors or leading industries**
* Combine with:
* Trend direction
* Breakout levels
* Volume expansion
Best used for:
* VCP (Volatility Contraction Pattern)
* Breakout trading
* Swing setups
---
### ⚡ Important Note:
This indicator follows the **current chart timeframe**.
Example:
* On a 5-minute chart → calculates last 3 candles
* On a daily chart → calculates last 3 days
---
### 💡 Purpose:
To help traders quickly identify **tight price action + sector strength**, enabling better alignment with where the market money is flowing.
This indicator helps identify short-term **volatility contraction** using a simple 3-bar range analysis, designed for traders focusing on clean price structure and breakout setups.
---
### 🔍 Key Features:
* Uses **3-bar volatility calculation** based on:
* Close Range
* High–Low Range
* Fully **dynamic timeframe-based**
* Works on any chart timeframe (1 min to yearly)
* Automatically adapts to the chart you are viewing
* Clean **table display (top-left)** for quick reference
* Displays **Sector and Industry** of the stock for better decision-making
---
### 📊 What It Shows:
* **Close Range (%)** → Measures tightness in closing prices
* **High–Low Range (%)** → Measures overall price volatility
* **Sector & Industry** → Helps identify where the stock belongs and track money flow
Lower values indicate **price contraction**, which is a key characteristic of potential breakout setups.
---
### 🎯 How to Use:
* Look for **low volatility readings (tight ranges)**
* Focus on stocks within **strong sectors or leading industries**
* Combine with:
* Trend direction
* Breakout levels
* Volume expansion
Best used for:
* VCP (Volatility Contraction Pattern)
* Breakout trading
* Swing setups
---
### ⚡ Important Note:
This indicator follows the **current chart timeframe**.
Example:
* On a 5-minute chart → calculates last 3 candles
* On a daily chart → calculates last 3 days
---
### 💡 Purpose:
To help traders quickly identify **tight price action + sector strength**, enabling better alignment with where the market money is flowing.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。