OPEN-SOURCE SCRIPT

ATR Volatility giua64

107
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

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.