OPEN-SOURCE SCRIPT
COTE Volatility

COTE Volatility
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. WHAT THIS INDICATOR DOES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
COTE Volatility is a price-based volatility indicator designed to detect abnormal price expansion using ATR (Average True Range).
Its main purpose:
→ Identify **volatility spikes**
→ Highlight **explosive candles (expansion bars)**
→ Separate bullish and bearish momentum bursts
It answers:
→ “Is this move normal or abnormal?”
→ “Is this candle driven by strong participation?”
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2. CORE LOGIC / UNIQUE EDGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This is NOT just an ATR indicator.
It simplifies volatility into a **clear decision signal**:
━━━━━━━━━━
1) ATR-Based Dynamic Threshold
━━━━━━━━━━
Instead of fixed thresholds:
→ Uses ATR (market volatility baseline)
→ Adapts automatically to market conditions
Formula:
ATR × Multiplier = volatility threshold
---
━━━━━━━━━━
2) Expansion Detection (Core Mechanism)
━━━━━━━━━━
Measures candle size:
candleRange = high - low
Then compares:
candleRange > ATR × multiplier
If TRUE:
→ This is a **volatility spike**
Meaning:
→ Market moved more than expected
---
━━━━━━━━━━
3) Directional Filtering
━━━━━━━━━━
Not all spikes are equal.
The indicator separates:
• Bullish Spike → close > open
• Bearish Spike → close < open
This gives:
→ Direction + strength in one signal
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3. HOW IT WORKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
STEP 1 — Calculate ATR
→ Measures average volatility
STEP 2 — Measure Candle Range
→ high - low
STEP 3 — Compare with Threshold
If:
candleRange > ATR × multiplier
→ Volatility Spike detected
STEP 4 — Classify Direction
• Close > Open → Bullish Spike
• Close < Open → Bearish Spike
STEP 5 — Plot Signals
• Green triangle → Bullish expansion
• Red triangle → Bearish expansion
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4. HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━
1) Breakout Confirmation
━━━━━━━━━━
Large spike after consolidation:
→ Confirms breakout strength
→ Not a fake move
---
━━━━━━━━━━
2) Momentum Entry
━━━━━━━━━━
Bullish spike:
→ Strong buying pressure
Bearish spike:
→ Strong selling pressure
Best used with:
→ Trend direction
→ Support / resistance
---
━━━━━━━━━━
3) Trap Detection
━━━━━━━━━━
Spike against higher timeframe trend:
→ Possible trap / fake move
Example:
→ Bear spike in strong uptrend → absorption
---
━━━━━━━━━━
4) Volatility Regime Shift
━━━━━━━━━━
Clusters of spikes:
→ Market transitioning from low → high volatility
Important for:
→ Timing expansion phases
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5. SETTINGS GUIDE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
atrLength
→ ATR sensitivity
Low → reacts faster
High → smoother, slower
multiplier
→ Spike threshold
Low (1.5–2.0) → more signals
High (2.5–3.0) → only extreme moves
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
6. IMPORTANT NOTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• This indicator does NOT predict direction
→ Only shows volatility expansion
• A spike ≠ automatic entry
→ Must be combined with context
• Works best with:
→ Trend
→ Liquidity zones
→ Volume analysis
• In low volatility markets:
→ Signals will be rare
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 KEY INSIGHT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is designed to detect:
→ Abnormal price expansion
→ Institutional activity moments
→ High-impact candles
Not just volatility — but **meaningful volatility**
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. WHAT THIS INDICATOR DOES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
COTE Volatility is a price-based volatility indicator designed to detect abnormal price expansion using ATR (Average True Range).
Its main purpose:
→ Identify **volatility spikes**
→ Highlight **explosive candles (expansion bars)**
→ Separate bullish and bearish momentum bursts
It answers:
→ “Is this move normal or abnormal?”
→ “Is this candle driven by strong participation?”
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2. CORE LOGIC / UNIQUE EDGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This is NOT just an ATR indicator.
It simplifies volatility into a **clear decision signal**:
━━━━━━━━━━
1) ATR-Based Dynamic Threshold
━━━━━━━━━━
Instead of fixed thresholds:
→ Uses ATR (market volatility baseline)
→ Adapts automatically to market conditions
Formula:
ATR × Multiplier = volatility threshold
---
━━━━━━━━━━
2) Expansion Detection (Core Mechanism)
━━━━━━━━━━
Measures candle size:
candleRange = high - low
Then compares:
candleRange > ATR × multiplier
If TRUE:
→ This is a **volatility spike**
Meaning:
→ Market moved more than expected
---
━━━━━━━━━━
3) Directional Filtering
━━━━━━━━━━
Not all spikes are equal.
The indicator separates:
• Bullish Spike → close > open
• Bearish Spike → close < open
This gives:
→ Direction + strength in one signal
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3. HOW IT WORKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
STEP 1 — Calculate ATR
→ Measures average volatility
STEP 2 — Measure Candle Range
→ high - low
STEP 3 — Compare with Threshold
If:
candleRange > ATR × multiplier
→ Volatility Spike detected
STEP 4 — Classify Direction
• Close > Open → Bullish Spike
• Close < Open → Bearish Spike
STEP 5 — Plot Signals
• Green triangle → Bullish expansion
• Red triangle → Bearish expansion
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4. HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━
1) Breakout Confirmation
━━━━━━━━━━
Large spike after consolidation:
→ Confirms breakout strength
→ Not a fake move
---
━━━━━━━━━━
2) Momentum Entry
━━━━━━━━━━
Bullish spike:
→ Strong buying pressure
Bearish spike:
→ Strong selling pressure
Best used with:
→ Trend direction
→ Support / resistance
---
━━━━━━━━━━
3) Trap Detection
━━━━━━━━━━
Spike against higher timeframe trend:
→ Possible trap / fake move
Example:
→ Bear spike in strong uptrend → absorption
---
━━━━━━━━━━
4) Volatility Regime Shift
━━━━━━━━━━
Clusters of spikes:
→ Market transitioning from low → high volatility
Important for:
→ Timing expansion phases
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5. SETTINGS GUIDE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
atrLength
→ ATR sensitivity
Low → reacts faster
High → smoother, slower
multiplier
→ Spike threshold
Low (1.5–2.0) → more signals
High (2.5–3.0) → only extreme moves
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
6. IMPORTANT NOTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• This indicator does NOT predict direction
→ Only shows volatility expansion
• A spike ≠ automatic entry
→ Must be combined with context
• Works best with:
→ Trend
→ Liquidity zones
→ Volume analysis
• In low volatility markets:
→ Signals will be rare
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 KEY INSIGHT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is designed to detect:
→ Abnormal price expansion
→ Institutional activity moments
→ High-impact candles
Not just volatility — but **meaningful volatility**
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.