OPEN-SOURCE SCRIPT
Güncellendi Swing-Based Volatility Index

Swing-Based Volatility Index
This indicator helps traders quickly determine whether the market has moved enough over the past few hours to justify scalping.
It measures the percentage price swing (high to low) over a configurable time window (e.g., last 4–8 hours) and compares it to a minimum threshold (e.g., 1%).
✅ If the percent move exceeds the threshold → Market is volatile enough to scalp (green background).
🚫 If it's below the threshold → Market is too quiet (red background).
Features:
Adjustable lookback period in hours
Custom threshold for volatility sensitivity
Automatically adapts to the current chart timeframe
This tool is ideal for scalpers and short-term traders who want to avoid entering trades in low-volatility environments.
This indicator helps traders quickly determine whether the market has moved enough over the past few hours to justify scalping.
It measures the percentage price swing (high to low) over a configurable time window (e.g., last 4–8 hours) and compares it to a minimum threshold (e.g., 1%).
✅ If the percent move exceeds the threshold → Market is volatile enough to scalp (green background).
🚫 If it's below the threshold → Market is too quiet (red background).
Features:
Adjustable lookback period in hours
Custom threshold for volatility sensitivity
Automatically adapts to the current chart timeframe
This tool is ideal for scalpers and short-term traders who want to avoid entering trades in low-volatility environments.
Sürüm Notları
📊 Swing-Based Volatility IndexThe Swing-Based Volatility Index is a tool for short-term traders and scalpers that evaluates whether the market has shown enough recent movement to justify initiating trades.
🧠 How It Works
This indicator measures the percentage swing between the highest and lowest prices over a user-defined lookback period (in hours). It dynamically calculates how many candles that represents based on the chart's current timeframe.
It then computes:
Swing % = (Highest High - Lowest Low) / Lowest Low × 100
This swing percentage is compared to a minimum volatility threshold (e.g., 1%). If the market has moved more than the threshold, it's considered sufficiently volatile for scalping.
✅ Signal Conditions
Green Background = Swing % exceeds your threshold → market is active, favorable for scalping.
Red Background = Swing % is below your threshold → market is calm, avoid trades.
⚙️ Features
Adjustable lookback period (in hours)
Configurable volatility threshold
Automatically adapts to any chart timeframe
Visual background coloring to guide decision-making
🎯 Use Case
This indicator is best used as a volatility filter before entering trades. It helps avoid choppy, range-bound environments where scalping strategies may perform poorly. Instead, it highlights conditions where price has moved significantly over recent hours — often indicating momentum or breakout potential.
Updated Indicator Name.
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.