OPEN-SOURCE SCRIPT

TechniTrend: Average Volatility

Theo 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

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Thông báo miễn trừ trách nhiệm