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.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.