OPEN-SOURCE SCRIPT

Volatility-Driven Candle

474
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.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.