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.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.