OPEN-SOURCE SCRIPT

TechniTrend: Average Volatility

Od itsKraken
TechniTrend: Average Volatility

Description:
The "Average Volatility" indicator provides a comprehensive measure of market volatility by offering three different types of volatility calculations: High to Low, Body, and Shadows. The indicator allows users to apply various types of moving averages (SMA, EMA, SMMA, WMA, and VWMA) on these volatility measures, enabling a more flexible approach to trend analysis and volatility tracking.

Key Features:

Customizable Volatility Types:
High to Low: Measures the range between the highest and lowest prices in the selected period.
Body: Measures the absolute difference between the opening and closing prices of each candle (just the body of the candle).
Shadows: Measures the difference between the wicks (shadows) of the candle.

Flexible Moving Averages:
Choose from five different types of moving averages to apply on the calculated volatility:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
SMMA (RMA) (Smoothed Moving Average)
WMA (Weighted Moving Average)
VWMA (Volume-Weighted Moving Average)

Custom Length:
Users can customize the period length for the moving averages through the Length input.

Visualization:
Three separate plots are displayed, each representing the average volatility of a different type:
Blue: High to Low volatility.
Green: Candle body volatility.
Red: Candle shadows volatility.
-------------------------------------------
This indicator offers a versatile and highly customizable tool for analyzing volatility across different components of price movement, and it can be adapted to different trading styles or market conditions.
Exponential Moving Average (EMA)Moving AveragespricevolatilitysmaTechnical AnalysisVolatility

Skrypt open-source

W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Chcesz użyć tego skryptu na wykresie?

Wyłączenie odpowiedzialności