OPEN-SOURCE SCRIPT

ATR Spike Kienthogo

168
ATR Spike Kienthogo
This indicator, titled "ATR Spike Kienthogo", is designed to visualize volatility spikes in the market by comparing the current Average True Range (ATR) against a dynamic threshold. The threshold is calculated as an EMA-smoothed ATR multiplied by a user-defined factor. When the current ATR exceeds this threshold, the indicator highlights it as a spike event, further classified by price direction (up or down).

The script features:

Configurable ATR smoothing methods: RMA, SMA, EMA, WMA.

Customizable spike detection threshold via spike_multiple.

Conditional color plotting of ATR:

Spike + Price Up → Green

Spike + Price Down → Red

Non-spike → User-defined neutral color, adaptive to candle direction (greenish for bullish candles, reddish for bearish candles).

This script is especially useful for:

Detecting volatility expansions.

Enhancing entry/exit timing during strong directional moves.

Confirming breakout strength or trap signals in low-volatility regimes.

The logic maintains clean separation between spike vs. non-spike conditions and offers full control over color coding for better visual integration in multi-indicator environments.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。