Swing Detector with Rsi and Fibonacci
- インディケータ
- バージョン: 1.0
SWING DETECTOR WITH RSI AND FIBONACCI
Structural Swing Points + Fibonacci Retracement + RSI Overlay
--------------------------------------------------
FREE INDICATOR
Identify swings. See Fibonacci levels. Check RSI. All in one free indicator.
--------------------------------------------------
WHAT THIS INDICATOR DOES
This indicator automatically detects structural swing highs and lows using configurable depth and deviation filtering. It connects swings with trend lines, overlays standard Fibonacci retracement levels, and displays current RSI near price.
Works on any timeframe from M1 to MN1.
--------------------------------------------------
KEY STRENGTHS
- AUTO-DEVIATION: ATR-based filtering adapts dynamically to any timeframe. No manual adjustment needed when switching charts.
- NO REPAINTING: Swings are calculated historically and do not change on the last bar (unlike standard Zig Zag).
- ALL-IN-ONE: Combines swing detection, Fibonacci retracement, and RSI overlay in a single indicator.
- FULLY CUSTOMIZABLE: Colors, sizes, deviation mode, Fib toggles, RSI period — all configurable.
- OPTIMIZED PERFORMANCE: Max bars to draw limits processing for fast backtesting and live use.
--------------------------------------------------
HIGHLIGHTS
- Red down arrows = Swing highs
- Green up arrows = Swing lows
- Blue lines = Upswing (low to high)
- Orange lines = Downswing (high to low)
- Gold horizontal lines = Fibonacci levels (0, 23.6, 38.2, 50, 61.8, 78.6, 100)
- White labels = Fibonacci percentages
- RSI value near current price (red = overbought, green = oversold, white = neutral)
- Info panel = Depth, deviation, backstep, swing count, Fib and RSI status
--------------------------------------------------
AUTO-DEVIATION - KEY FEATURE
Two deviation modes:
- FIXED PIPS: Set a fixed minimum pip distance between swings
- ATR-BASED (AUTO): Dynamic deviation based on current volatility
Why auto-deviation matters:
- M1 to M5: Tight deviation (captures small swings)
- H1 to H4: Medium deviation (captures structure)
- D1 to MN1: Wide deviation (captures major swings)
The indicator automatically adapts to the timeframe you are using. One indicator. All timeframes.
--------------------------------------------------
FIBONACCI RETRACEMENT - KEY FEATURE
For the last completed swing, the indicator draws:
- 0.0 percent (start of swing)
- 23.6 percent
- 38.2 percent
- 50.0 percent
- 61.8 percent
- 78.6 percent
- 100.0 percent (end of swing)
Toggle lines and labels on and off. All levels color-coded.
--------------------------------------------------
RSI OVERLAY - KEY FEATURE
Current RSI displayed near price with color coding:
- RED: RSI above 70 (overbought)
- GREEN: RSI below 30 (oversold)
- WHITE: RSI between 30 and 70 (neutral)
Provides immediate momentum context without opening a separate RSI window.
--------------------------------------------------
PARAMETER OVERVIEW
SWING SETTINGS:
- Swing Depth: Bars to check for local extrema (higher = fewer swings)
- Deviation Mode: Fixed Pips or ATR-Based (Auto)
- Fixed Deviation: Minimum pip distance between swings
- ATR Deviation Multiplier: Multiplier for ATR-based deviation
- ATR Period: Period for ATR calculation
- Backstep: Minimum bars between swings
VISUAL - SWINGS:
- Show Swing Points: Toggle arrows
- Show Swing Lines: Toggle trend lines
- Show Labels: Toggle price labels
VISUAL - FIBONACCI:
- Show Fib Retracement: Toggle Fibonacci overlay
- Show Fib Lines: Toggle horizontal lines
- Show Fib Labels: Toggle percentage labels
VISUAL - RSI:
- Show RSI Value: Toggle RSI overlay
- RSI Period: Period for RSI calculation
COLORS:
- High Swing Color
- Low Swing Color
- Upswing Line Color
- Downswing Line Color
- Fib Line Color
- Fib Text Color
- RSI Label Color
PERFORMANCE:
- Max Bars to Draw: Limits drawing for faster performance
--------------------------------------------------
USE CASES
- Identify structural swing points on any timeframe
- Draw trend lines between swings for trend analysis
- Use Fibonacci levels for entries, exits, and profit targets
- Confirm trades with RSI confluence (overbought or oversold)
- Understand market structure at a glance
- Switch timeframes without adjusting parameters (Auto-Deviation)
--------------------------------------------------
TIMEFRAME USABILITY
With auto-deviation enabled, the indicator works across:
- M1, M5, M15 (scalping)
- M30, H1, H4 (day trading)
- D1 (swing trading)
- W1, MN1 (position trading)
One indicator. All timeframes.
--------------------------------------------------
TECHNICAL NOTES
- Overlay indicator (draws on price chart)
- Works on any timeframe and symbol
- No repainting (swings are historical)
- Optimized for performance
- Compatible with MetaTrader 5
--------------------------------------------------
SUPPORT
Lifetime updates included.
For more information, click Developer's Profile below.
