present
Sign up and get $50 off your first purchase
Trading product for Swing HighsLows detector with divergence mapping Indicator Key Levels RSI, image 1
Swing HighsLows detector with divergence mapping
Indicator
61 downloads
Version 1.0, Aug 2026
Windows, Mac
Trading product for Swing HighsLows detector with divergence mapping Indicator Key Levels RSI, image 2
Trading product for Swing HighsLows detector with divergence mapping Indicator Key Levels RSI, image 3
Trading product for Swing HighsLows detector with divergence mapping Indicator Key Levels RSI, image 4
Trading product for Swing HighsLows detector with divergence mapping Indicator Key Levels RSI, image 5
Trading product for Swing HighsLows detector with divergence mapping Indicator Key Levels RSI, image 6
Trading product for Swing HighsLows detector with divergence mapping Indicator Key Levels RSI, image 7
Since 14/01/2025
4
Sales
332
Free installs

Description

SWING HIGHS LOWS DETECTOR


Swing Detection with Divergence Analysis


--------------------------------------------------


Identify swings. Spot divergences. Trade with confluence.


--------------------------------------------------


WHAT THIS INDICATOR DOES


This indicator automatically detects structural swing highs and lows using configurable depth and deviation filtering. It then analyzes RSI and MACD to detect regular and hidden divergences between consecutive swings of the same type.


Divergences are powerful reversal signals. Regular divergence indicates a potential trend reversal, while hidden divergence indicates a potential trend continuation. This indicator identifies both and displays them directly on your chart.


--------------------------------------------------


CORE LOGIC AND CALCULATION


The indicator detects swing points using a local extrema algorithm with configurable depth. Each swing point is validated against a deviation threshold, ensuring only significant swings are displayed. The deviation can be fixed in pips or adaptive to volatility using ATR.


Once swings are identified, the indicator computes RSI and MACD values at each swing point. It then compares consecutive swings of the same type (high to high, low to low) to detect regular and hidden divergences. Regular divergence occurs when price makes a higher high but RSI/MACD makes a lower high (bearish) or price makes a lower low but RSI/MACD makes a higher low (bullish). Hidden divergence occurs when price makes a lower high but RSI/MACD makes a higher high (bearish) or price makes a higher low but RSI/MACD makes a lower low (bullish).


The divergence source can be selected as RSI, MACD, or both. The divergence type can be regular only, hidden only, or both. Unconfirmed swings can be included in divergence detection, providing earlier signals.


The current swing state machine tracks unconfirmed swings (U) that are still forming. These swings appear in yellow and can be promoted to confirmed or invalidated as price action develops.


--------------------------------------------------


KEY FEATURES


- AUTOMATIC SWING DETECTION: Identifies swing highs and lows using configurable depth and deviation filtering.

- REGULAR DIVERGENCE DETECTION: Identifies classic divergence signals indicating potential trend reversal.

- HIDDEN DIVERGENCE DETECTION: Identifies hidden divergence signals indicating potential trend continuation.

- RSI AND MACD DIVERGENCE: Choose RSI, MACD, or both as the divergence source.

- CONFIGURABLE DEVIATION: Fixed pips or ATR-based deviation adapts to market volatility.

- UNCONFIRMED SWING TRACKING: Shows potential swings (U) while they are still forming.

- LOOKBACK CONTROL: Limit the number of swing points displayed for performance optimization.

- CUSTOMIZABLE COLORS: Separate colors for confirmed highs, confirmed lows, unconfirmed swings, and divergence types.

- NO REPAINTING: All calculations are based on historical data.


--------------------------------------------------


PARAMETER GUIDE


SWING SETTINGS


Swing Depth: This parameter controls how many bars are checked on each side of a bar to determine if it is a swing high or low. Higher values produce fewer, more significant swings. Lower values produce more swings. The default is 10. For lower timeframes such as M5 and M15, consider using 6 to 8. For higher timeframes such as H4 and above, consider using 12 to 16.


Deviation Mode: This parameter selects between Fixed Pips and ATR-Based deviation. Fixed Pips uses a constant minimum price distance between swings. ATR-Based adapts to volatility, using a multiplier of the current ATR value. The default is Fixed Pips.


Fixed Deviation (Pips): When using Fixed Pips mode, this parameter sets the minimum pip distance between consecutive swings. The default is 5.0. Increase this value to filter out smaller swings and focus on larger structural moves. Decrease to capture more swings.


ATR Deviation Multiplier: When using ATR-Based mode, this parameter multiplies the current ATR value to determine the minimum deviation. The default is 0.5. Higher values produce fewer swings. Lower values produce more swings.


ATR Period for Deviation: When using ATR-Based mode, this parameter sets the period for ATR calculation. The default is 14. Shorter periods produce more responsive ATR values. Longer periods produce smoother values.


Backstep: This parameter sets the minimum number of bars between swings. The default is 3. Increase this value to prevent swings from appearing too close together. Decrease to allow more frequent swings.


Lookback Swing Points: This parameter limits the number of swing points displayed for performance optimization. The default is 50. Increase for more historical context. Decrease for faster performance on slower machines.


Unconfirmed Swing Bars: This parameter sets how many bars after a potential swing the indicator looks for a better candidate. The default is 3. Higher values allow more time for a better swing to form. Lower values produce faster signals.


Show Unconfirmed Swings: When enabled, potential swings (U) are displayed in yellow before they are confirmed. The default is true. Disable for a cleaner chart showing only confirmed swings.


DIVERGENCE SETTINGS


Divergence Source: This parameter selects the indicator used for divergence detection. Options are RSI, MACD, or RSIAndMACD. RSIAndMACD requires both indicators to show divergence for a signal to be generated. The default is RSI.


Divergence Type: This parameter selects which divergence types to detect. Options are RegularOnly, HiddenOnly, or RegularAndHidden. The default is RegularAndHidden.


Include Unconfirmed in Divergence: When enabled, unconfirmed swings can be used as the current swing in divergence detection. The default is true. Disable to require both swings to be fully confirmed before divergence is displayed.


RSI SETTINGS


RSI Period: This parameter sets the period for RSI calculation. The default is 14. Standard values range from 9 to 25. Shorter periods produce more sensitive RSI values. Longer periods produce smoother values.


RSI Price Type: This parameter selects the price series used for RSI calculation. Options include Close, Open, High, Low, Typical, Median, and Weighted. The default is Close.


MACD SETTINGS


MACD Fast Period: This parameter sets the fast EMA period for MACD calculation. The default is 12.


MACD Slow Period: This parameter sets the slow EMA period for MACD calculation. The default is 26.


MACD Signal Period: This parameter sets the signal line period for MACD calculation. The default is 9.


VISUALS


High Swing Color: Color for confirmed swing highs. Default is Red.


Low Swing Color: Color for confirmed swing lows. Default is LimeGreen.


Unconfirmed High Swing Color: Color for unconfirmed swing highs (U). Default is Yellow.


Unconfirmed Low Swing Color: Color for unconfirmed swing lows (U). Default is Yellow.


Bullish Regular Divergence Color: Color for bullish regular divergence lines. Default is DodgerBlue.


Bearish Regular Divergence Color: Color for bearish regular divergence lines. Default is Orange.


Bullish Hidden Divergence Color: Color for bullish hidden divergence lines. Default is Cyan.


Bearish Hidden Divergence Color: Color for bearish hidden divergence lines. Default is Magenta.


Show Labels: When enabled, divergence labels are displayed on the chart. The default is true.


Label Font Size: This parameter sets the font size for divergence labels. The default is 8.


Divergence Label Offset (Pips): This parameter controls how far the divergence label is offset from the divergence line. The default is 10.


--------------------------------------------------


USE CASES


- Identify structural swing highs and lows for market structure analysis

- Detect regular divergences for potential reversal signals

- Detect hidden divergences for potential trend continuation signals

- Combine divergence signals with price action for higher probability trades

- Use RSI and MACD divergence confirmation for entry and exit decisions

- Track unconfirmed swings for early signal detection


--------------------------------------------------


RECOMMENDED WORKFLOW


Step 1: Attach the indicator to your chart with default settings.

Step 2: Identify confirmed swing highs and lows (red and green triangles).

Step 3: Look for divergence lines (blue, orange, cyan, magenta) connecting consecutive swings.

Step 4: Interpret regular divergences as potential reversals and hidden divergences as potential continuations.

Step 5: Confirm divergence signals with price action or other indicators before entering trades.


--------------------------------------------------


TECHNICAL NOTES


- Overlay indicator that draws directly on the price chart

- Works on any timeframe and symbol

- Configurable swing detection and divergence parameters

- No repainting; all calculations are based on historical data

- Optimized for performance with lookback control

- Compatible with cTrader


--------------------------------------------------


SUPPORT


Lifetime updates included.


FOR MORE INFORMATION - Click Developer's Profile below.

Summary

AI summary
This indicator automatically detects structural swing highs and lows on price charts using configurable depth and deviation filters, adaptable via fixed pips or ATR-based volatility measures. It analyzes RSI and MACD momentum indicators to identify both regular and hidden divergences between consecutive swings of the same type. Regular divergences signal potential trend reversals, while hidden divergences suggest trend continuations. Users can select divergence sources (RSI, MACD, or both) and divergence types (regular, hidden, or both). The indicator tracks unconfirmed swings in real-time, displaying them distinctly to provide early signals. Visual elements include customizable colors for confirmed and unconfirmed swings and divergence lines, with optional labels for clarity. It operates as an overlay on any timeframe and symbol within the cTrader platform, using historical data only to avoid repainting. Performance is optimized through lookback limits on swing points. Key parameters allow users to tailor swing detection sensitivity, divergence criteria, and visual presentation. Typical use cases include market structure analysis, identifying reversal and continuation signals, and combining divergence with price action for trade decision support. The indicator supports systematic swing and divergence analysis to assist traders in interpreting momentum shifts and structural price changes.
Indicator profile
Indicator category
Support & resistance
Output type
Visualisation
Signals
Filter
Data requirements
Bars only
Supported signals
Divergence
Breakout
Reversal
Trend strength
Volatility
Level touch
Level break

Customer reviews

0.0
Reviews: 0
Customer reviews
No reviews for this product yet. Already tried it? Be the first to tell others!

Discussion

FAQ

Key Levels
RSI
BOS
Market Structure
ATR
MACD
Support & Resistance
Products available through cTrader Store, including trading bots, indicators and plugins, are provided by third-party developers and made available for informational and technical access purposes only. cTrader Store is not a broker and does not provide investment advice, personal recommendations or any guarantee of future performance.

More from this author

Indicator
ATR
RSI
+5
Free swing detector with Fibonacci retracement and RSI overlay. Auto-deviation adapts to any timeframe
Indicator
Volume
Imbalance
+1
Volume profile indicator that auto-detects the latest trendline. Shows POC, Value Area (VAH/VAL), and High Volume Nodes
Indicator
ATR
RSI
+4
VWAP with ATR ribbon bands and RSI labels on completed breakouts — live forming labels on cTrader.
Indicator
BOS
Flag
+5
Detect consolidation zones. Heatmap shows activity density. Body vs wick scoring reveals true strength zones.
Indicator
ATR
EMA
+5
Multi-factor volatility squeeze detector, dual-trend scoring & breakout validation dashboard. No repaint.
Indicator
EMA
Channel
+3
Real-time squeeze detection, dual-horizon trend scoring & institutional breakout validation HUD dashboard.
Indicator
ATR
RSI
+5
Multi-factor VWAP mean-reversion signals with ATR bands, volume exhaustion, and RSI gate on cTrader.
Indicator
MSS
Volume
+3
Rejection-based volume profile with tiered heat zones, POC levels and a fully draggable anchor on cTrader.
cBot
ATR
Wedge
+5
15 YEARS RESULTS :Win rate:93% | ROI+19000% | Trades:87,000 | Profit Factor 1.2 | Currency Pairs:22 | $10k to 500k$ |
1.2
Profit factor
Indicator
MSS
VWAP
+5
VWAP mean-reversion signals combined with a ribbon-anchored volume profile, VAH/VAL, POC and HVN levels.
Indicator
ATR
BOS
+5
Heat intensity mapping of structural participation. See where price fights, where it accepts, and where it rejects .
Indicator
RSI
Volume
+3
Auto-detects swings, Includes POC, Value Area (VAH/VAL), High Volume Nodes (HVN), Fibonacci retracement, and RSI overlay

You may also like

Indicator
ADX
ATR
+5
Free EURUSD M1 preview of the Adaptive Fibonacci Trailing System — full signal engine, 60 minute sessions, no setup.
Indicator
SMC
Breakout
+1
Delta Peak Bubbles is a tick‑chart overlay for cTrader that highlights the strongest momentum spikes.
Indicator
Volume
Imbalance
+5
Spot Institutional Order Flow with Proportional Volume Bubbles & Integrated Cumulative Volume Delta (CVD) Intelligence.
Indicator
Prop
Forex
+11
🌊 See when the market is truly in play. Tsunami measures Relative Volume by time-of-day 🌊
Indicator
Laguerre RSI: smoother, faster RSI with less noise. Great for spotting reversals and timing entries.
Indicator
AI
ATR
+20
Detects smart money activity using advanced tick volume and price divergence analysis.
Indicator
AI
ATR
+27
Patter Scanner all Chart Let your chart tell you when patterns appear
Indicator
AI
Prop
+14
Professional Trading Indicator Transform Your Trading with Intelligent Signal Detection RenkoProfit
Indicator
Prop
Forex
+12
Identify and trade breakouts with Consolidation Zones! Visualize price consolidation areas for trading opportunities.
Indicator
Drawdown Monitor
Protect your funded account. Real-time Daily Equity Drawdown monitor with Green / Orange / Red flashing alerts.
Indicator
VWAP
Volume
+5
Multi VWAP. Three timeframes. One clean chart. Your Essential Trading Tool.
Indicator
Prop
Forex
+5
Color Volume Bars – Visualize Market Strength Instantly
Indicator
BOS
Volume
+5
The Volume Delta Indicator using Institutional Level 2 DOM Data, The Edge Institutions Pay Millions For, now on cTrader
Indicator
BOS
CHOCH
+5
A professional-grade cTrader indicator for traders following the Inner Circle Trader (ICT) methodology. It replaces 6–8
Indicator
BB Breakout Oscillator with alerts! Spot trend reversals using Bollinger Bands. Bullish/Bearish crossovers Alerts.
Indicator
Prop
Forex
+3
🚀 Simplify Your Trading Decisions With Powerful Technical Analysis.
Indicator
RSI
Stochastic
+2
Composite mean-reversion oscillator merging Z-Score, RSI & Bollinger %B into one clear overbought/oversold signal.
Indicator
ATR
RSI
+5
Multi-factor VWAP mean-reversion signals with ATR bands, volume exhaustion, and RSI gate on cTrader.

Price

Since 14/01/2025
4
Sales
332
Free installs