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.
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน