PROTECTED SOURCE SCRIPT
Swing % Visualizer

Swing % Visualizer is a clean, intuitive indicator that automatically detects pivot points (swing highs and lows) and displays the percentage change between each swing directly on your chart.
█ HOW IT WORKS
The indicator uses pivot detection logic to identify significant turning points in price action. When a new pivot is confirmed, it calculates the percentage move from the previous pivot and displays it as a label:
- Green labels show upward moves (rallies)
- Red labels show downward moves (pullbacks/corrections)
█ FEATURES
- Automatic pivot detection with adjustable sensitivity (Lookback parameter)
- Minimum move filter to ignore small, insignificant swings
- Real-time statistics panel with iOS-inspired design displaying:
- Average Up/Down percentages
- Maximum Up/Down moves
- Total swing count with breakdown
█ USE CASES
- Quickly assess the typical retracement depth of an asset
- Identify changes in volatility by comparing swing sizes
- Understand average rally/pullback percentages for better position sizing
- Compare swing behavior across different timeframes
█ SETTINGS
- Pivot Lookback: Number of bars to confirm a pivot (higher = fewer, more significant pivots)
- Minimum Move %: Filter out swings smaller than this threshold
- Visual customization: Label size, colors, show/hide options
Works on all markets and timeframes.
█ HOW IT WORKS
The indicator uses pivot detection logic to identify significant turning points in price action. When a new pivot is confirmed, it calculates the percentage move from the previous pivot and displays it as a label:
- Green labels show upward moves (rallies)
- Red labels show downward moves (pullbacks/corrections)
█ FEATURES
- Automatic pivot detection with adjustable sensitivity (Lookback parameter)
- Minimum move filter to ignore small, insignificant swings
- Real-time statistics panel with iOS-inspired design displaying:
- Average Up/Down percentages
- Maximum Up/Down moves
- Total swing count with breakdown
█ USE CASES
- Quickly assess the typical retracement depth of an asset
- Identify changes in volatility by comparing swing sizes
- Understand average rally/pullback percentages for better position sizing
- Compare swing behavior across different timeframes
█ SETTINGS
- Pivot Lookback: Number of bars to confirm a pivot (higher = fewer, more significant pivots)
- Minimum Move %: Filter out swings smaller than this threshold
- Visual customization: Label size, colors, show/hide options
Works on all markets and timeframes.
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Można z tego korzystać swobodnie i bez żadnych ograniczeń — więcej informacji znajduje się tutaj.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Można z tego korzystać swobodnie i bez żadnych ograniczeń — więcej informacji znajduje się tutaj.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.