ToolTack Divergence Radar
A non-repainting divergence indicator that detects regular and hidden bullish and bearish divergences between price and an oscillator, with a confirmed-bar zigzag engine and a built-in status table.
Multi-Asset (Forex, Stocks, Crypto, Futures, Indices, Commodities) A professional TradingView indicator that automatically detects four types of divergence — Regular Bullish, Regular Bearish, Hidden Bullish, and Hidden Bearish — between price action and an oscillator. Divergence Radar uses a zigzag pivot engine with a 13-bar left lookback and a 1-bar right confirmation to identify swing points the moment they are mathematically valid, then draws clean connecting lines on both the oscillator pane and the price chart so the divergence is visible in both layers at once. Each detection is labelled “D” for a regular divergence or “H” for a hidden divergence, ships with a detailed tooltip, and feeds an on-screen status table that shows the active oscillator, its live value, the detection parameters, and a clear NO-repaint indicator. The default oscillator is RSI(14), with built-in support for CCI, CMO, COG, MFI, ROC, Stochastic, and Williams %R.
ToolTack Divergence Radar
Overview
Divergence Radar — non-repainting price-oscillator divergence detection with regular and hidden signals. Divergence Radar is an automated divergence detection indicator for TradingView. It runs in its own oscillator pane below the price chart and continuously compares price swing points to oscillator swing points to find the four classic divergence patterns. A regular bullish divergence appears when price prints a lower low while the oscillator prints a higher low — a sign that downside momentum is fading. A regular bearish divergence appears when price prints a higher high while the oscillator prints a lower high — a sign that upside momentum is weakening. A hidden bullish divergence appears when price prints a higher low while the oscillator prints a lower low — a continuation signal inside an uptrend. A hidden bearish divergence appears when price prints a lower high while the oscillator prints a higher high — a continuation signal inside a downtrend. Every detection is automatically labelled “D” for a regular divergence or “H” for a hidden divergence, colour-coded green for bullish and red for bearish, and drawn as a clean connecting line on both the oscillator and the price chart at the same time. The detection engine uses a zigzag pivot model with a 13-bar left lookback and just a 1-bar right confirmation. That 13-1 configuration is the sweet spot between speed and quality — 13 bars on the left filter out micro-noise pivots, while only 1 bar on the right is required to confirm the swing. Because the pivot is mathematically locked after that single confirmation bar, every divergence signal is non-repainting by design. A divergence drawn on Monday will sit on the same two pivots on Tuesday, next week, and next year. There are no “maybe” signals, no flickering lines, and no after-the-fact re-drawing of history. Divergence Radar ships with eight oscillator choices. The default is RSI(14), and the tool also supports CCI, Chande Momentum Oscillator, Center of Gravity, Money Flow Index, Rate of Change, Stochastic, and Williams %R. Each oscillator is plotted with the ToolTack green fill above the 50-line and red fill below, giving an instant read of whether momentum is in bullish or bearish territory. A “use external oscillator” mode is also available in the code for advanced users who want to feed the indicator a custom input. Once a divergence is detected, Divergence Radar does three things at once. First, it draws the diagonal divergence line connecting the two oscillator pivots inside the oscillator pane. Second, it draws the matching diagonal line connecting the two price pivots directly on the candlestick chart above. Third, it places a small “D” or “H” label at each endpoint, colour-matched to the divergence type. Each label carries a detailed tooltip you can hover for the full diagnostic. The tooltip lists the divergence name, the price at the swing, the price ratio between the two swings, the oscillator value at the swing, and the oscillator ratio. This makes it easy to judge the strength of a divergence at a glance — wide ratio gaps generally indicate a stronger, more meaningful signal than narrow ones. Divergence Radar also tracks the lifecycle of every divergence after it appears. Each detection is monitored bar-by-bar, and the indicator flags a divergence as “broken” the moment price closes beyond the second pivot in the wrong direction for that signal. Bullish divergences are marked broken when price closes above the second pivot, and bearish divergences when price closes below. This internal broken-state flag is what powers the “last active divergence” output in the data window — so users always know whether the most recent divergence is still in play. The bottom-right of the chart hosts a compact status table that you can read at a glance. The header carries the indicator name in ToolTack green and the tooltack.com brand mark. Below the header, the table reports the active oscillator and its period (e.g. RSI(14)), the current oscillator value in green if above 50 and red if below 50, the detection parameters (L13 · R1 fastest), and a final repaint status that simply reads NO. The table uses the same dark-green theme as the rest of the indicator and stays unobtrusive even on busy charts. Divergence Radar works on every asset class supported by TradingView. It also works on every timeframe, from one-minute charts up to monthly charts. Scalpers use it on lower timeframes to catch fast momentum failures at intraday extremes. Day traders apply it on 5-minute to 1-hour charts to time entries against the prevailing intraday trend. Swing traders use it on 1-hour to daily charts to catch reversals at major support and resistance. Position traders use it on daily and weekly charts to spot multi-week momentum exhaustion at trend tops and bottoms. The most common way to trade with Divergence Radar is to use regular divergences as reversal cues and hidden divergences as continuation cues. Regular bullish at the bottom of a swing low and regular bearish at the top of a swing high suggest the move is running out of steam and a counter-move is likely. Hidden bullish during a pullback inside an uptrend and hidden bearish during a bounce inside a downtrend suggest the existing trend is still in charge and the pullback is buyable or sellable. Traders typically wait for a confirmation event — a candlestick pattern, a break of structure, or a fast moving average cross — before entering on the signal. Divergence Radar includes four built-in TradingView alerts — one for each divergence type. All four alerts use confirmed-bar logic, firing only after the bar that completes the second pivot has closed. This means no false alerts from intra-bar wicks or speculative swings. Alerts can be delivered as popups, emails, mobile push notifications, SMS, or webhooks. Webhook alerts can connect Divergence Radar directly to trading bots, Discord channels, Telegram chats, or third-party automation platforms. Divergence Radar is a momentum-divergence detection tool, not a complete trading system. Divergences can persist for many bars before price reacts, and in very strong trends they can fail entirely. For best results, always combine Divergence Radar with proper risk management. Also combine it with at least one independent confirmation tool such as support and resistance, market structure, or a volume-based indicator.
Who It's For
Divergence Radar is designed for active traders who want an automated, non-repainting divergence layer on top of their existing chart workflow. It suits reversal traders looking for momentum exhaustion at swing highs and lows, trend traders using hidden divergences to time pullback entries, scalpers who need a fast-confirming signal on a 1-bar right pivot, and swing or position traders monitoring multi-week and multi-month momentum shifts on the higher timeframes. It works equally well for discretionary chart traders and as a signal layer inside webhook-driven bot workflows that need clean, confirmed-bar inputs.
Why It's Useful
Manual divergence spotting is one of the most error-prone tasks in technical analysis — traders miss valid setups, force invalid ones, and routinely confuse regular and hidden patterns. Divergence Radar removes the guesswork by detecting all four divergence types automatically using a strict zigzag pivot rule, drawing them simultaneously on the oscillator and the price chart, and labelling each as “D” or “H” so the type is never ambiguous. The 13-bar-left, 1-bar-right pivot configuration gives the fastest possible confirmation that is still mathematically valid, which means signals appear within one bar of the swing while remaining fully non-repainting. The eight built-in oscillator choices, the live status table, the broken-divergence tracker, and the four confirmed-bar alerts together turn what used to be a slow, subjective scan into a single, glanceable, always-on monitor.
Use Cases
- • Reversal trading at swing highs and lows
- • Trend-continuation entries on pullbacks
- • Momentum exhaustion detection
- • Hidden-divergence pullback timing
- • Confluence with support and resistance
- • Multi-timeframe divergence analysis
- • Counter-trend trade identification
- • Trend strength assessment
- • Exit timing on opposing divergences
- • Take-profit zone confirmation
- • Stop-loss placement at pivot extremes
- • Breakout exhaustion warning
- • Fakeout and false-break detection
- • Risk management and trade filtering
- • Alert automation
- • Webhook and bot integration
- • Confluence with volume indicators
- • Confluence with market structure tools
- • Discretionary trade confirmation
- • Higher-timeframe bias confirmation
ToolTack Divergence Radar — User Manual
Setup Guide
Setup Guide
Subscribers see the full step-by-step setup guide here. Subscribe to unlock.
Create account