OPEN-SOURCE SCRIPT

TechniTrend: Average Volatility

От 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

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?

Отказ от ответственности