OPEN-SOURCE SCRIPT

Volatility-Driven Candle

411
This indicator identifies and highlights "volatility-driven candles" on a price chart, based on their body size relative to market volatility. It calculates the Average True Range (ATR) over a 14-period window to measure volatility. A candle is considered "volatility-driven" if its body (the difference between the close and open prices) exceeds a user-defined threshold, which is specified as a multiple of the ATR.

The script distinguishes between bullish and bearish volatility-driven candles:

Bullish volatility-driven candles (where the close is greater than the open) are marked with a blue label.

Bearish volatility-driven candles (where the close is less than the open) are marked with an orange label.

Additionally, the background color of the chart is shaded:

Blue for bullish volatility-driven candles.

Orange for bearish volatility-driven candles.

This script helps traders easily spot significant price movements relative to volatility, highlighting potential reversal points based on candle body size.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.