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 de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.