OPEN-SOURCE SCRIPT
업데이트됨 ATR Volatility giua64

ATR Volatility giua64 – Smart Signal + VIX Filter
📘 Script Explanation (in English)
Title: ATR Volatility giua64 – Smart Signal + VIX Filter
This script analyzes market volatility using the Average True Range (ATR) and compares it to its moving average to determine whether volatility is HIGH, MEDIUM, or LOW.
It includes:
✅ Custom or preset configurations for different asset classes (Forex, Indices, Gold, etc.).
✅ An optional external volatility index input (like the VIX) to refine directional bias.
✅ A directional signal (LONG, SHORT, FLAT) based on ATR strength, direction, and external volatility conditions.
✅ A clean visual table showing key values such as ATR, ATR average, ATR %, VIX level, current range, extended range, and final signal.
This tool is ideal for traders looking to:
Monitor the intensity of price movements
Filter trading strategies based on volatility conditions
Identify momentum acceleration or exhaustion
⚙️ Settings Guide
Here’s a breakdown of the user inputs:
🔹 ATR Settings
Setting Description
ATR Length Number of periods for ATR calculation (default: 14)
ATR Smoothing Type of moving average used (RMA, SMA, EMA, WMA)
ATR Average Length Period for the ATR moving average baseline
🔹 Asset Class Preset
Choose between:
Manual – Define your own point multiplier and thresholds
Forex (Pips) – Auto-set for FX markets (high precision)
Indices (0.1 Points) – For index instruments like DAX or S&P
Gold (USD) – Preset suitable for XAU/USD
If Manual is selected, configure:
Setting Description
[Manual] Points Multiplier Multiplies raw price ranges into useful units (e.g., 10 for Gold)
[Manual] Low Volatility Threshold Threshold to define "LOW" volatility
[Manual] High Volatility Threshold Threshold to define "HIGH" volatility
🔹 Extended Range and VIX
Setting Description
Timeframe for Extended High/Low Used to compare larger price ranges (e.g., Daily or Weekly)
External Volatility Index (VIX) Symbol for a volatility index like "VIX" or "EUVI"
Low VIX Threshold Below this level, VIX is considered "low" (default: 20)
High VIX Threshold Above this level, VIX is considered "high" (default: 30)
🔹 Table Display
Setting Description
Table Position Where the visual table appears on the chart (e.g., bottom_center, top_left)
Show ATR Line on Chart Whether to display the ATR line directly on the chart
✅ Signal Logic Summary
The script determines the final signal based on:
ATR being above or below its average
ATR rising or falling
ATR percentage being significant (>2%)
VIX being high or low
Conditions Signal
ATR rising + high volatility + low VIX LONG
ATR falling + high volatility + high VIX SHORT
ATR flat or low volatility or low %ATR FLAT
📘 Script Explanation (in English)
Title: ATR Volatility giua64 – Smart Signal + VIX Filter
This script analyzes market volatility using the Average True Range (ATR) and compares it to its moving average to determine whether volatility is HIGH, MEDIUM, or LOW.
It includes:
✅ Custom or preset configurations for different asset classes (Forex, Indices, Gold, etc.).
✅ An optional external volatility index input (like the VIX) to refine directional bias.
✅ A directional signal (LONG, SHORT, FLAT) based on ATR strength, direction, and external volatility conditions.
✅ A clean visual table showing key values such as ATR, ATR average, ATR %, VIX level, current range, extended range, and final signal.
This tool is ideal for traders looking to:
Monitor the intensity of price movements
Filter trading strategies based on volatility conditions
Identify momentum acceleration or exhaustion
⚙️ Settings Guide
Here’s a breakdown of the user inputs:
🔹 ATR Settings
Setting Description
ATR Length Number of periods for ATR calculation (default: 14)
ATR Smoothing Type of moving average used (RMA, SMA, EMA, WMA)
ATR Average Length Period for the ATR moving average baseline
🔹 Asset Class Preset
Choose between:
Manual – Define your own point multiplier and thresholds
Forex (Pips) – Auto-set for FX markets (high precision)
Indices (0.1 Points) – For index instruments like DAX or S&P
Gold (USD) – Preset suitable for XAU/USD
If Manual is selected, configure:
Setting Description
[Manual] Points Multiplier Multiplies raw price ranges into useful units (e.g., 10 for Gold)
[Manual] Low Volatility Threshold Threshold to define "LOW" volatility
[Manual] High Volatility Threshold Threshold to define "HIGH" volatility
🔹 Extended Range and VIX
Setting Description
Timeframe for Extended High/Low Used to compare larger price ranges (e.g., Daily or Weekly)
External Volatility Index (VIX) Symbol for a volatility index like "VIX" or "EUVI"
Low VIX Threshold Below this level, VIX is considered "low" (default: 20)
High VIX Threshold Above this level, VIX is considered "high" (default: 30)
🔹 Table Display
Setting Description
Table Position Where the visual table appears on the chart (e.g., bottom_center, top_left)
Show ATR Line on Chart Whether to display the ATR line directly on the chart
✅ Signal Logic Summary
The script determines the final signal based on:
ATR being above or below its average
ATR rising or falling
ATR percentage being significant (>2%)
VIX being high or low
Conditions Signal
ATR rising + high volatility + low VIX LONG
ATR falling + high volatility + high VIX SHORT
ATR flat or low volatility or low %ATR FLAT
릴리즈 노트
v8.2— Updates:Upgraded to Pine Script v6
Fixed volatility signal colors: 🟢 = high volatility (good conditions to trade), 🔴 = low volatility (wait)
Added compact/detail toggle — compact shows only: signal, ATR, VIX, Saturation%, 4H trend, Final signal
Added selectable table position (9 options)
Added table size input
Fixed 4H filter logic
Default preset changed to Gold
Improved alert conditions — specific alerts for LONG, SHORT, WARNING, EXHAUST, State Change
릴리즈 노트
v2.1 — Bug fixes & improvements[Fix] WARN signals (WARN: FINE LONG / WARN: FINE SHORT) now correctly use the 4H trend filter (is_bull_4h) instead of the current timeframe EMA — previously the warning could trigger on a trend that the system would never have traded
[Fix] Removed trend4hShort variable that was declared but never used
[Fix] Table is now initialized as na and created only on barstate.islast, removing the unnecessary table.new(1,1) call on bar 0
[Improvement] warn_bars (number of consecutive ATR declining bars to trigger WARN) is now a configurable input (default: 3, range: 2–10)
[Improvement] exhaust_thresh default changed from 110% to 90% — more realistic for intraday XAUUSD
[New] Added ATR ↑ / ATR ↓ cell in both compact and detail table modes — green if ATR is rising, red if falling
릴리즈 노트
ATR Analytics PRO | giua64 — v2.2 Update🐛 Bug Fix — BULL/BEAR missing in compact mode
The BULL/BEAR signal was only visible in the full detail view. Now it appears in compact mode as well.
🆕 Current TF Saturation added (Sat TF)
In addition to the Daily saturation, a real-time saturation indicator for the current timeframe is now displayed in both compact and detail views. Useful for spotting local exhaustion on lower timeframes.
🆕 VIX Timeframe now selectable
VIX was previously fixed to the Daily timeframe. You can now choose between Daily and 1H for a more reactive reading during intraday sessions.
🆕 WARN lookback rebalanced
The price lookback for WARN signals was set to 5 bars — too sensitive on fast timeframes. Now defaults to 10 bars and is fully configurable via input. Fewer false warnings on 3M and 5M charts.
📌 Usage Note
This indicator works best as a context panel, not as an entry signal for scalping on 3M/5M. Recommended use: monitor 4H:BULL/BEAR for dominant direction and ATR ↑/↓ for volatility state. For scalping entries, rely on faster tools (UT Bot, LRSI).
Amateur indicator — not financial advice.
giua64
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
AQUILE REALI – Educational tools by giua64
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
AQUILE REALI – Educational tools by giua64
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.