OPEN-SOURCE SCRIPT
ATR Spike Kienthogo

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.
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的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。