Williams %R Ribbon
Williams %R Ribbon
Most traders know Williams %R as a classic overbought/oversold oscillator. Unfortunately, many stop there.
The Williams %R Ribbon reimagines this well-known indicator into a modern visualization designed to make momentum, trend transitions, and market extension easier to read at a glance. Instead of focusing solely on fixed overbought and oversold levels, this indicator emphasizes the relationship between Williams %R and its signal line, transforming that relationship into an intuitive gradient ribbon that helps reveal changes in market structure before they become obvious.
Features
Momentum Ribbon
The traditional Williams %R line is transformed into a dynamic ribbon that expands, contracts, and changes color based on the relationship between Williams %R and its signal line.
Bullish momentum is displayed with a green ribbon.
Bearish momentum is displayed with a red ribbon.
Neutral conditions automatically fade to gray when momentum becomes indecisive.
The ribbon allows traders to recognize momentum shifts without constantly watching for line crossovers.
Multi-Timeframe Analysis
Analyze higher timeframe Williams %R values directly on lower timeframe charts.
Choose from:
Chart Timeframe
2× Chart Timeframe
4× Chart Timeframe
Manual Timeframe Selection
This makes it possible to monitor higher-timeframe momentum while executing trades on lower timeframes without adding multiple indicators to the chart.
Optional Display Smoothing
The ribbon includes display-only smoothing designed to reduce visual stair-stepping that naturally occurs when displaying higher timeframe calculations on lower timeframe charts.
Importantly:
Indicator calculations remain unchanged.
Signal generation remains unchanged.
Alerts continue using the original data.
Only the visual appearance of the ribbon is smoothed.
Extension Grade
Instead of simply identifying whether Williams %R is overbought or oversold, the indicator continuously classifies the current level into extension categories such as:
Moderately Extended
Extended
Very Extended
Extremely Extended
This provides additional context regarding how far price has stretched relative to its recent trading range.
Flexible Display Modes
Choose the visualization that best fits your trading style.
Available display modes include:
Ribbon
Signal Line Only
Solid Signal Line Only
Ribbon + Signal Line
Whether you prefer a clean minimalist chart or a full ribbon visualization, the indicator adapts to your workflow.
Dynamic Coloring
The ribbon automatically adjusts its colors based on current market conditions.
Strong bullish momentum receives brighter bullish colors.
Strong bearish momentum receives brighter bearish colors.
Neutral conditions fade naturally, helping reduce visual noise during consolidation.
Built-In Alerts
Alerts are included for:
Bullish ribbon crosses
Bearish ribbon crosses
Oversold exits
Overbought exits
All Extension Grade thresholds
Because alerts use the original unsmoothed Williams %R values, visual smoothing never delays signal generation.
Designed for Clarity
Many oscillators overwhelm traders with unnecessary visual clutter.
The goal of this indicator is the opposite.
Every design decision was made with one objective:
Help traders understand what the oscillator is communicating as quickly as possible.
The gradient ribbon allows momentum, trend direction, and market extension to be interpreted almost instantly while maintaining the familiar foundation of the classic Williams %R.
Best Used For
Trend confirmation
Multi-timeframe analysis
Momentum analysis
Mean reversion strategies
Swing trading
Identifying overextended markets
Building rule-based trading systems
Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial, investment, legal, or tax advice and should not be considered a recommendation to buy or sell any financial instrument.
No indicator can predict future market movements or guarantee profitable results. Market conditions change continuously, and all trading involves risk, including the potential loss of all invested capital.
Past performance does not guarantee future results. Always perform your own analysis, practice sound risk management, and consult a qualified financial professional if you require investment advice. Indicator

Indicator

EMA + BB Pullback Strategy (Long & Short)Title: Trend-Aligned Bollinger Pullback Strategy
Description:
This is a comprehensive, fully customizable trend-pullback strategy built in Pine Script v6.0. It is designed to capture mean-reversion opportunities within an established trend. Instead of trading breakouts, this strategy waits for momentum to establish itself, and then targets temporary price extremes (pullbacks) to secure optimal entries.
It combines the momentum-tracking power of Dual EMAs with the volatility bands of Bollinger Bands, bundled with a robust suite of risk management and filtering options.
Core Strategy Logic
This strategy operates on the principle of buying the dip in an uptrend, and selling the rip in a downtrend.
1. Trend Alignment (EMAs)
The baseline momentum is determined by a fast and slow Exponential Moving Average.
Bullish Momentum: Fast EMA (14) is above the Slow EMA (34).
Bearish Momentum: Fast EMA (14) is below the Slow EMA (34).
2. The Pullback Entry (Bollinger Bands)
Once the trend is established, the strategy waits for price to overextend against the trend.
Long Entry: The candle's Low must pierce the Lower Bollinger Band, signaling an oversold dip in an uptrend.
Short Entry: The candle's High must pierce the Upper Bollinger Band, signaling an overbought spike in a downtrend.
3. Dynamic & Fixed Exits
The strategy features an advanced Take Profit engine. Because pullbacks can be volatile, you can customize how the strategy secures profits:
Fixed Stop Loss: Hardcoded at 3% (fully adjustable) to protect against trend reversals.
Take Profit Method: Choose between three distinct exit models directly from the settings:
Middle Band Only: Exits dynamically when price mean-reverts back to the Bollinger Band basis (20 SMA).
Fixed % Only: Exits purely on a mathematical target (default 5%).
Whichever Occurs First: The script automatically calculates both the fixed percentage and the dynamic Middle Band price, placing a limit order at whichever is closest to the entry price to secure profits as quickly as possible.
Fully Customizable Features
Every aspect of this script is modifiable via the PulseWire settings menu, allowing you to adapt it to different timeframes and asset classes:
Directional Toggles: Choose to trade Long only, Short only, or Both.
Confirmation Candle Filter: When enabled, the strategy won't just blindly buy a dip. It will wait for the current candle to close green (for longs) or red (for shorts) before executing, confirming that buyers/sellers are stepping back in.
Master Trend Filter (200 EMA): A built-in macro filter. When enabled, Longs will only execute if price is above the 200 EMA, and Shorts will only execute if price is below the 200 EMA.
Custom Parameters: Adjust EMA lengths, Bollinger Band lengths and standard deviations, and all Risk Management percentages to fit your backtesting needs.
++++++++++++++++++++++++++++++++++++++++++++++
⚠️ RISK WARNING & LEGAL DISCLAIMER ⚠️
DO NOT blindly deploy this strategy with real capital.
This Pine Script is provided for educational and backtesting purposes only and does not constitute financial, investment, or trading advice.
Backtesting is not reality: Historical performance does not guarantee future results. Backtests do not perfectly account for live market variables such as slippage, spread widening, liquidity issues, and exchange fees, all of which can turn a profitable backtest into a losing live strategy.
Automated Risk: Algorithmic trading carries a high level of risk. Market conditions change continuously, and a strategy that performs well in a ranging market may suffer severe drawdowns in a trending or highly volatile market.
Your Responsibility: You are solely responsible for your own trades, your money, and your risk management. The author assumes absolutely no liability for any financial losses incurred from using this script.
Best Practice: Always thoroughly forward-test any new script on a Paper Trading / Demo account for an extended period across multiple market conditions before ever considering risking real money. Use this tool as a baseline to study mechanics and build your own robust trading system.
++++++++++++++++++++++++++++++++++++++++++++++ Strategy

Momentum Consensus Heatmap [StrixEDGE]█ MOMENTUM CONSENSUS HEATMAP
A multi-timeframe momentum aggregation system that scans 6 oscillators across 4 customizable timeframes and fires high-conviction BUY/SHORT signals only when a critical mass of indicators reach overbought or oversold consensus simultaneously.
█ CONCEPT
Most momentum-based strategies rely on a single oscillator on a single timeframe — a setup prone to false signals and noise. This indicator solves that by requiring cross-timeframe and cross-indicator agreement before generating a signal.
The core logic works in two layers:
Layer 1 — Timeframe Consensus (per indicator):
Each oscillator is evaluated across 4 timeframes (default: 15m, 1H, 4H, 1D). An indicator only qualifies as "Overbought" or "Oversold" when at least 3 out of 4 timeframes agree (configurable: 2/4, 3/4, or 4/4).
Layer 2 — Indicator Consensus (overall signal):
A chart signal fires only when a user-defined number of indicators (default: 4 out of 6) have all independently reached Layer 1 consensus in the same direction.
This dual-filter architecture dramatically reduces noise and isolates moments of genuine, broad-based momentum exhaustion.
█ OSCILLATORS USED
• RSI (Relative Strength Index) — Classic momentum oscillator measuring speed and magnitude of price changes. Default OB/OS: 70/30.
• Stochastic RSI — Stochastic formula applied to RSI values, more sensitive to short-term momentum shifts than raw RSI. Default OB/OS: 80/20.
• Stochastic Oscillator — Compares closing price to the high-low range over a lookback period. Independent from Stoch RSI. Default OB/OS: 80/20.
• CCI (Commodity Channel Index) — Measures deviation from the statistical mean. Unbounded, making it useful for detecting extreme momentum. Default OB/OS: +100/−100.
• Williams %R — Reflects where the current close sits relative to the highest high. Inverted scale (−100 to 0). Default OB/OS: −20/−80.
• MFI (Money Flow Index) — Volume-weighted RSI. Adds a volume confirmation dimension that pure price-based oscillators lack. Default OB/OS: 80/20.
█ HEATMAP TABLE
The on-chart heatmap table provides a real-time dashboard of all 24 data points (6 indicators × 4 timeframes):
• Each cell shows the live oscillator value with color-coded background:
🔴 Red = Overbought zone
🟢 Green = Oversold zone
⚫ Gray = Neutral
• SCORE column shows how many timeframes agree for each indicator (e.g., "3/4 OB").
• SIGNAL column shows whether that individual indicator has reached consensus ("SHORT ▼" / "BUY ▲" / "—").
• CONSENSUS row at the bottom shows the overall verdict with a percentage score of indicator agreement.
Table position and text size are fully customizable through the settings panel.
█ CHART SIGNALS
When the overall consensus threshold is met:
▲ Green triangle below bar = BUY signal (oversold consensus)
▼ Red triangle above bar = SHORT signal (overbought consensus)
Signals fire only on the first bar of a new consensus event (no repeated signals while conditions persist). A subtle background color flash highlights the signal bar.
█ OPTIONAL TREND FILTER (EMA)
When enabled, signals are filtered by an EMA trend bias:
• BUY signals require price above the EMA (buying in an uptrend)
• SHORT signals require price below the EMA (shorting in a downtrend)
This is disabled by default to keep the indicator pure momentum-based, but can significantly improve signal quality in trending markets.
█ SETTINGS OVERVIEW
⏱ Timeframes — All 4 timeframes are independently configurable.
⚙ Indicator Lengths — Full control over each oscillator's lookback period.
📊 OB/OS Thresholds — Adjust overbought/oversold levels for every oscillator independently.
🎯 Signal Rules:
• Min TF Consensus: How many timeframes must agree per indicator (2-4, default 3).
• Min Indicators: How many indicators must reach consensus for a chart signal (1-6, default 4).
🎨 Table Appearance — Position, size, and full color customization (OB color, OS color, neutral, header, text).
🔔 Alerts — Native PulseWire alerts with detailed messages including ticker, timeframe, and consensus count.
█ HOW TO USE
1. Apply the indicator to any chart (works on all instruments and timeframes).
2. The heatmap table updates in real time — use it as a momentum dashboard.
3. Watch for chart signals:
• When 4+ indicators show oversold consensus across 3+ timeframes → BUY signal.
• When 4+ indicators show overbought consensus across 3+ timeframes → SHORT signal.
4. Set up PulseWire alerts to get notified when signals fire.
5. For higher conviction:
• Increase "Min Indicators" to 5 or 6 (fewer but stronger signals).
• Require 4/4 timeframe agreement instead of 3/4.
• Enable the EMA trend filter.
█ IMPORTANT NOTES
• This indicator uses request.security() to fetch multi-timeframe data. On the current timeframe, values update in real time. Higher timeframe values reflect the last closed bar of that timeframe.
• Signals are non-repainting once the bar closes. Intrabar, the table values and potential signals update as new ticks arrive (expected behavior for a real-time dashboard).
• This tool is designed for identifying momentum exhaustion zones. It does not predict direction — use it in confluence with price action, support/resistance, and your broader trading plan.
• Past performance is not indicative of future results. Always use proper risk management.
█ CREDITS & LICENSE
Open source under Mozilla Public License 2.0.
Built with Pine Script™ v6. Indicator

Williams %Rwilliams %r god mode
williams %r god mode is a modern momentum oscillator designed for clean reversal detection, trend continuation timing, multi-timeframe reading, higher-timeframe confirmation, and filtered buy/sell signals.
the tool is built around williams %r, but it does not behave like a basic overbought/oversold oscillator. it adds smoothing, signal logic, mtf mode, score filtering, trend confirmation, htf confirmation, anti-spam protection, visual zones, glow effects, labels, and a compact dashboard.
main idea
williams %r is often used to detect when price is overbought or oversold.
the problem with a basic williams %r is that it can give too many early signals, especially during strong trends.
this indicator is designed to reduce that noise by combining:
williams %r flow
signal line confirmation
overbought and oversold exits
midline reclaim
trend filter
mtf mode
htf confirmation
impulse candle filter
precision score
signal cooldown
clean visual dashboard
how the oscillator works
the oscillator is displayed from 0 to 100.
low values show bearish pressure or oversold conditions.
high values show bullish pressure or overbought conditions.
important zones:
0 to 20 = oversold area
20 to 50 = lower momentum zone
50 = midline
50 to 80 = upper momentum zone
80 to 100 = overbought area
a bullish setup usually becomes stronger when the flow exits oversold, crosses above the signal line, and starts reclaiming higher zones.
a bearish setup usually becomes stronger when the flow exits overbought, crosses below the signal line, and starts losing higher zones.
mtf mode
the indicator includes a real multi-timeframe mode.
you can choose the timeframe used by the oscillator.
available display modes:
chart tf
true mtf
smooth mtf
chart tf
uses the current chart timeframe.
this is the fastest and most responsive mode.
true mtf
uses the selected higher timeframe directly.
this is the most exact mtf reading, but it can look stepped because higher-timeframe values update only when the higher-timeframe candle updates.
smooth mtf
uses the selected mtf source and applies fixed smoothing to make the line cleaner.
this mode is useful when you want a higher-timeframe oscillator view without a harsh stair-step appearance.
buy/sell signal source
the signal source can be selected separately.
you can choose:
display mode
chart tf
true mtf
smooth mtf
when set to display mode, the signals follow the same source used by the visible oscillator.
beginner recommendation:
use mtf mode on
use smooth mtf display
use display mode as signal source
use confirmed mtf candle on
htf confirmator
the htf confirmator is an additional higher-timeframe filter.
it helps block lower-quality buy and sell signals when the larger trend does not agree.
available htf modes:
ema
williams
ema + williams
ema mode
uses price and ema direction.
williams mode
uses higher-timeframe oscillator direction.
ema + williams mode
requires both the higher-timeframe ema direction and higher-timeframe williams direction to agree.
this is the strictest and cleanest option.
signal modes
aggressive
more signals, faster reaction, more noise.
best for experienced scalpers who want early entries.
balanced
medium filtering.
good for traders who want a mix between frequency and quality.
sniper
strictest mode.
fewer signals, cleaner confirmation, better for beginners and trend-following setups.
entry logic
reversal
focuses on exits from overbought and oversold zones.
example: flow leaves oversold and begins to turn up.
continuation
focuses on midline continuation and momentum reclaim.
example: flow crosses back above the midline during a bullish continuation.
hybrid
uses both reversal and continuation logic.
this is the most flexible mode.
precision score
every signal receives a score from 0 to 100.
the score is based on multiple conditions:
extreme reclaim
trend alignment
flow slope
adx regime
candle impulse
flow/signal cross
higher scores mean stronger confirmation.
beginner recommendation:
minimum precision score: 75 to 85
lower score = more signals
higher score = fewer but cleaner signals
how to use the indicator
step 1: choose the timeframe mode
for normal trading, start with smooth mtf.
example:
chart: 5m
mtf timeframe: 15m or 1h
htf confirmator: 4h
this gives a cleaner view than using the 5m alone.
step 2: read the oscillator zone
if the flow is below 20, the market is oversold.
if the flow is above 80, the market is overbought.
if the flow is above 50, momentum is stronger on the bullish side.
if the flow is below 50, momentum is stronger on the bearish side.
step 3: wait for confirmation
for a buy setup, look for:
flow leaving oversold
flow crossing above the signal line
bullish score above the minimum threshold
htf confirmator bullish
bullish impulse candle if enabled
for a sell setup, look for:
flow leaving overbought
flow crossing below the signal line
bearish score above the minimum threshold
htf confirmator bearish
bearish impulse candle if enabled
step 4: use the dashboard
the dashboard shows:
current flow value
oscillator state
display mode
mtf timeframe
signal source
htf direction
buy score
sell score
last signal
this helps you understand why a signal is accepted or blocked.
step 5: manage risk
do not enter only because a label appears.
before taking a trade, define:
entry
stop loss
target
risk per trade
invalidation level
a clean oscillator signal is not a complete trading plan by itself.
beginner buy example
1. chart is on 5m
2. mtf mode is enabled
3. mtf timeframe is 15m
4. display mode is smooth mtf
5. htf confirmator is set to 4h
6. flow exits oversold
7. flow crosses above the signal line
8. buy score is above 75
9. htf direction is bullish
10. a buy label appears
this is a cleaner long condition than buying only because the oscillator touched oversold.
beginner sell example
1. chart is on 5m
2. mtf mode is enabled
3. mtf timeframe is 15m or 1h
4. display mode is smooth mtf
5. htf confirmator is enabled
6. flow exits overbought
7. flow crosses below the signal line
8. sell score is above 75
9. htf direction is bearish
10. a sell label appears
this helps avoid shorting too early while momentum is still strong.
best settings for scalping
mtf mode: on
mtf timeframe: 15m
display mode: smooth mtf
signal source: display mode
use confirmed mtf candle: on
htf confirmator: on
htf timeframe: 1h or 4h
htf mode: ema + williams
signal mode: balanced or sniper
minimum precision score: 70 to 80
cooldown: 8 to 15 bars
best settings for cleaner trend trades
mtf mode: on
mtf timeframe: 1h
display mode: smooth mtf
signal source: display mode
use confirmed mtf candle: on
htf confirmator: on
htf timeframe: 4h or daily
htf mode: ema + williams
signal mode: sniper
minimum precision score: 80 to 90
require flow / signal cross: on
signals on confirmed candle only: on
tips
use smooth mtf when you want a clean higher-timeframe oscillator view.
use true mtf only when you want the exact higher-timeframe value, even if the line looks stepped.
use sniper mode when the market is choppy.
use balanced mode when the market is moving cleanly.
raise the precision score when there are too many signals.
lower the precision score when signals are too rare.
keep htf confirmation enabled for safer entries.
avoid buying directly into strong resistance.
avoid selling directly into strong support.
the best signals usually happen when oscillator direction, trend direction, and htf confirmation all agree.
alerts
available alerts:
williams %r buy
williams %r sell
for cleaner alert behavior, use once per bar close.
risk warning
this indicator is designed to improve momentum reading and signal filtering, but no indicator can predict every market move.
always use risk management, position sizing, and confirmation from price structure.
Indicator

MACD Dive [TTM Squeeze | Dual Lock %R]Disclaimer : This indicator is not financial advice and is strictly for educational and informational purposes only. The metrics and signals provided herein (including momentum crosses, trend saturation state icons, and squeeze markers) are calculated based on historical market data and do not guarantee future performance. Trading stocks and commodities involves significant risk of loss. The user assumes full responsibility for all trading decisions and should always perform their own due diligence before executing trades.
MACD Dive is a multi-state momentum and volatility context engine. By layering momentum oscillation (MACD/PPO/MACD-V) with market stalemates (volatility squeeze) and trend exhaustion (Dual %R saturation), this suite transforms a standard MACD into a multi-dimensional 'No-Go' gatekeeper. This synergy is what gives the engine its edge: it actively blocks the trader from whipsawing in sideways chop or buying into a dying trend, highlighting high-probability market turns where momentum, volatility, and trend capacity perfectly align.
Standard oscillators have a scaling problem. This script lets you choose your engine:
MACD (Classic): Measures momentum in absolute dollars. Great for visual reactivity, but a "2.0" reading means something different on a $5 stock versus a $500 stock.
PPO (Percentage): Measures momentum in percentages. Standardizes the reading across all assets, making it ideal for fixed-rule algorithmic trading.
MACD-V (Volatility Normalized): This divides the MACD by the Average True Range (ATR). It measures momentum in "Units of Volatility," mathematically adapting to market chaos so that signals remain consistent across both different assets and shifting volatility regimes (quiet markets vs chaotic markets).
This suite includes a fully optimized divergence detection engine:
Regular Divergence (Solid Lines): Identifies Trend Reversals. Price pushes to a new extreme, but momentum fails to follow, signaling exhaustion.
Hidden Divergence (Dashed Lines): Identifies Trend Continuations (Slingshots). Price pulls back, but momentum fully resets, signaling a high-probability entry in the direction of the dominant trend.
Located in your chosen corner, the HUD provides an instant visual readout with hover tooltips for active Engine Mode, %R Fatigue state, Oscillator crossover validation, and Squeeze environment. Vertical background highlights in green or red represent filter-passed momentum crossovers, like the MACD bullish cross. Use the extensive inline tooltips in the indicator's settings panel for a comprehensive breakdown of every tunable parameter.
Adaptive Time-Frames & RSI Gatekeeper
Think of this as an automated gear shifter. When looking at lower timeframes (below a user-defined boundary, e.g. 1 hour), the engine automatically scales down to tight, agile lookback periods. When viewing high timeframes, it dials up to filter out noise.
Buying a bullish MACD cross when the RSI is already at 85 increases risk of buying the top when the tank is empty. The optional RSI Safety Filter acts as a strict ceiling/floor blocker. If momentum crosses upward but the asset is mathematically overbought, the indicator suppresses the background highlight. It prevents signals on MACD crosses that have no fuel left.
VOLATILITY ENGINE: BB-KC Squeeze Radar
Building on John Carter’s TTM Squeeze by mapping the contraction of Bollinger Bands inside Keltner Channels to identify market stalemates. The implementation here color codes between a Loose Squeeze (BB inside 1.5 KC) and a hyper-compressed Tight Squeeze (BB inside 1.0 KC) to show the staged intensity of the coiled spring.
While the market coils sideways, a 20-period Linear Regression calculates the trajectory of price deviation inside the bands. The directional bias is shown by customizable markers on the zero line (default ⌃ or ⌄). This reveals hidden institutional accumulation or distribution before the trigger is pulled. To bypass "dead money" risk, the script tracks the first clean candle close or intraday pierce outside the Keltner bounds following a squeeze, catching the expansion phase exactly as it starts.
Furthermore, it accounts for the "Disappearing Mark" phenomenon. Bollinger Bands expand instantly when price moves, causing standard squeeze signals to vanish 1-3 bars before the real breakout candle. This script uses a memory state to remember recent compression, firing a "squeeze release" marker (default ❖) the exact moment price closes outside the Keltner bounds. Trade the release, not the waiting room.
Note: While MACD Dive tracks this compression mathematically on its zero-line, you can see the actual physical boundaries of the breakout by pairing it with my companion Swing Data suite . Plotting its Keltner Channel at 1.5 multiplier over your price chart allows you to visually verify the exact moment the squeeze release mark is ignited.
SATURATION ENGINE: Dual-Lock %R and Momentum Rot
This suite tracks sustained trend maturity using a fast/slow dual Williams %R setup. The conceptual pairing of a fast and slow %R to identify overbought/oversold exhaustion is credited to upslidedown's excellent Trend Exhaustion indicator . I highly recommend applying their script to your chart if you want to visually learn how the two %R lines interact.
While upslidedown’s implementation offers multiple display modes to paint visual boxes and exhaustion zones directly over price action, the focus here is on the discrete icons for trend status at the top and bottom of the MACD pane: Ignition (·), Saturation (□), and Fatigue (×). This suite adapts native ta.wpr() math assuming the trader is already familiar with Dual %R mechanics. Specific "Sprint" and "Marathon" tuning guidance is provided in the tooltips: heavily smoothing the fast line to ignore intraday noise, while lightly smoothing the macro slow line to preserve its reach into extreme zones.
It also features one major addition: the Stall. While Dual %R tracks Price Location (confirming price is structurally pinned at the highs), it doesn't track Velocity (confirming energy is sustained). To solve this, a Stoch RSI "Rot" detector runs quietly inside the saturation state. If price continues to float at the highs but internal velocity drops below a critical threshold, the script overlays a Stall marker (•). Designed as a "one-shot" early warning, it fires only on the first detection per trend saturation leg to prevent chart clutter. This differentiates a strong trend lock from a rotting lock, warning us that the move is running on fumes: giving us the exact cue to tighten stops, trim into parabolic strength, and strictly avoid adding new size.
BACKTESTER READY
Out-of-the-box compatibility with a comprehensive built-in README guide is available directly inside the settings menu. For traders who prefer a "Diamond Hands" approach, the indicator fully maps to Jason5480's TTS Framework convention, outputting strict integer states (1, -1, 2, -2) to hold full position size until the trailing macro baseline completely fractures. My personal backtester, Cosmos Signal Commander (which may be released to the public in the future), broadcasts a composite float signal capable of managing active trade positioning. It tracks entries, hard stops, and partial take-profits (swapping the trailing stop from tight to a wide "runner" buffer upon hitting extended ATR targets).
PERFORMANCE OPTIMIZATION
O(1) Memory States: Replaced lag-heavy ta.barssince() and 50-bar for loops in the Divergence engine with O(1) var state trackers.
String Caching: HUD table strings are built once in the global var scope to prevent constant memory allocation and garbage collection lag.
UI Mutation: The HUD uses table.cell_set_* to alter data dynamically, bypassing the stutter caused by destroying and redrawing tables on every tick.
Native C++ Backend: Replaced custom highest/lowest math arrays with native ta.wpr() functions for the %R engine to maximize computation speed.
Ghost State Resets: When switching the backtester logic to "Long Only" mode, the engine actively hunts and kills lingering short-memory variables so they don't inadvertently suppress valid long signals.
Indicator

Indicator

Williams %R Jaggedness fix
The standard Williams %R is extremely jagged. Relying on a naive (Highest - Close) / (Highest - Lowest) look-back formula makes it a victim of spatial illusion. It is highly vulnerable to "salt-and-pepper" noise, intraday microstructure stop-hunts, and high-frequency volatility spikes. It generates an erratic, jagged signal that triggers false regime shifts, trapping retail liquidity.
Solving the jaggedness problem is not about applying a single, lagging moving average. It requires a continuous-time signal processing pipeline. I developed 4, sovereign hypotheses to isolate the true kinematic intent of the market.
► HYPOTHESIS I: The Robust Nonlinear Butterworth %R (RNB-R)
The Mechanism: Amplitude and Noise Filtering.
The Execution: We cleanse the raw data using a 3-period Median Filter to instantly reject 1-bar liquidity sweeps without introducing lag. The resulting %R is then dynamically smoothed via a Volatility-Adaptive SuperSmoother. The lookback adapts kinematically—tightening during explosive volatility to capture breakouts, and expanding during consolidation to ignore chop.
► HYPOTHESIS II: The Decycled Zero-Lag Cycle Oscillator (DZL-R)
The Mechanism: Frequency Cancellation.
The Execution: We abandon the concept of "averaging" entirely. Using a 48-bar High-Pass filter, we isolate and subtract the high-frequency spectral noise directly from the price (Decycling). By mapping the Williams %R onto this Decycled Price, we produce a zero-lag, wave-like signal that perfectly reflects pure trend movement while ignoring micro-structural noise.
► HYPOTHESIS III: The IMF-Extracted Persistent Shape Wave (IMF-W)
The Mechanism: Spectral Shape Fitting & Empirical Mode Decomposition (EMD).
The Execution: We deconstruct the continuous price manifold into its intrinsic cyclical modes. We discard IMF 1 (high-frequency noise) and the residual (ultra-slow drift). By reconstructing the asset using only IMF 2 and IMF 3, we force the Williams %R to measure purely persistent, rhythmic structural cycles.
► HYPOTHESIS IV: The Bipolar Inverse Fisher Williams %R (BIF-R)
The Mechanism: Probability Distribution Transformation.
The Execution: To maximize state persistence, we smooth the standard oscillator with a 2-pole Gaussian filter, normalize it, and compress it through an Inverse Fisher Transform. This mathematical thermodynamic shift forces the oscillator into a bimodal, polarized state. It snaps quickly between extremes and stays there, eliminating nervous jaggedness in favor of pure regime tokenization. Indicator

Williams%R Trend Signals | Astral Vision Williams %R Trend Signals | Astral Vision 🌠💠
Williams %R measures where the current close sits within the high-low range of the past N bars, expressed on a scale from 0 to −100.
Values near 0 indicate price is closing at the top of its recent range; values near 100 indicate price is closing at the bottom. Unlike RSI, %R is not smoothed internally, it reacts immediately to price extremes, making it sensitive to momentum shifts at cycle turning points.
This indicator computes Williams %R on the weekly timeframe regardless of chart resolution, then applies a short SMA to reduce week-to-week noise.
Trend signals fire when the smoothed %R crosses a configurable bull or bear threshold, marking the weekly bars where momentum has definitively shifted regime.
Each signal is projected as a full-height glowing vertical line on the price chart, making the historical record of macro trend changes immediately visible across the entire chart history.
Calculation ⚙️
`%R = 100 × (close − Highest(close, length)) / (Highest(close, length) − Lowest(close, length))`
`SMA %R = SMA(%R, sma_length)`
Both are computed on the weekly timeframe. A bull signal fires when the smoothed %R crosses above the bull threshold; a bear signal fires when it crosses below the bear threshold.
Both thresholds are evaluated on the SMA, not the raw %R, preventing single-bar spikes from triggering signals.
Plots 📊
Raw Williams %R line (thin), colored by position relative to the bull threshold
Smoothed SMA %R line (thick), colored by the same logic
Bull and bear threshold lines
Full-height vertical lines on the price chart at each signal bar, rendered with a 4-layer glow (widths 3/6/12/20, transparencies 0/40/65/82) in positive or negative color
Inputs 🎛️
`Williams %R Length`: lookback period for highest/lowest range calculation (default 40 weeks)
`SMA Length`: smoothing applied to raw %R before threshold evaluation (default 4 weeks)
`Bull Threshold`: SMA %R level whose upward crossing fires a bull signal (default −90)
`Bear Threshold`: SMA %R level whose downward crossing fires a bear signal (default −30)
Colors 🎨
5 Astral Vision presets + custom override. Default: Futura. Positive color applies to bull signals and %R readings below the bull threshold; negative color applies to bear signals and readings above it.
Purpose 🎯
Standard Williams %R indicators operate on the chart's native timeframe and plot a raw oscillator with no signal logic, leaving the trader to visually interpret crosses manually across hundreds of bars. Daily %R generates excessive noise, while the macro-relevant signal is embedded in the weekly structure.
This indicator locks the calculation to the weekly timeframe and adds a smoothing layer specifically to filter noise before threshold evaluation, ensuring signals represent genuine momentum regime changes rather than transient fluctuations. The glowing vertical line output translates each weekly signal event directly onto any chart timeframe, daily, 4H, or lower, making the macro turning point visible at any resolution without requiring the trader to switch between timeframes.
Disclaimer ⭕️
It is not financial advice, not an investment recommendation, and not affiliated with any financial institution, research firm, or organization of any kind. All content is provided for educational and informational purposes only. Always conduct your own research before making any financial decision. Indicator

Indicator

Indicator

Combined Signal IndicatorCombined Signal Indicator (CSI)
What it is:
A multi-confirmation signal indicator that requires 6 independent indicators to align simultaneously before printing a Buy or Sell label on the chart. It's designed to filter out low-quality setups by demanding agreement across momentum, trend, correlation, and volume-weighted effort before triggering.
What each component is watching:
PSMA — Measures what percentage of a range of moving averages price is currently trading above. Both the raw reading and its smoothed version must be in extreme territory (below 20 for buys, above 80 for sells), confirming broad MA-based oversold/overbought conditions.
SupOsc — A SuperTrend-based oscillator that tracks whether price is positioned bullishly or bearishly relative to its ATR bands. A buy fires when the oscillator crosses up through -0.50, a sell when it crosses down through +0.50.
Willy (Williams %R) — A classic overbought/oversold oscillator. The CSI checks the previous candle — meaning %R had to have already been in oversold (<-80) for buys or overbought (>-20) for sells. This acts as a lookback confirmation rather than a same-bar trigger.
LCO — Measures the linear correlation of price over a rolling window. A green background means price is in a strongly negative correlation regime (potential reversal zone for buys), red means strongly positive (potential exhaustion for sells).
EvR — A volume-weighted effort vs. results oscillator. A rising RROF_s line (green background) signals bulls are in control; falling (red background) signals bears. This adds a volume-effort dimension most indicators miss.
StochSup — A SuperTrend applied directly to the Stochastic RSI. Buy signals only trigger when the trend flips bullish while StochRSI is still below 50 (room to run). Sell signals only trigger when the trend flips bearish while above 50.
Does it repaint?
Partially — and this is important. Because real-time tracking is enabled, signals can appear and disappear mid-candle as price moves. This is intentional by design — the indicator is always reflecting live conditions. However:
A signal that is visible when a candle closes is confirmed and will not move or disappear retroactively.
A signal that appears mid-candle but conditions break before close will vanish — it was never a confirmed signal.
The StochSup has a "Wait for Timeframe Close" toggle — when enabled it uses confirmed bars only (no repaint on that component). When disabled it updates live but may repaint on higher timeframe modes.
Best practice: Treat any signal as a live alert during the candle, and a confirmed signal only at candle close.
The Alert:
There is one unified alert condition — it fires on either a buy or a sell. When setting it up in PulseWire, choose "Once Per Bar" if you only want confirmed close signals, or "Once Per Bar Close" to strictly avoid any mid-candle noise. The alert message will display the ticker and timeframe automatically.
Things to keep in mind:
Because all 6 conditions must align, signals will be relatively rare — this is a feature, not a bug. It prioritizes quality over quantity.
The indicator works on any timeframe and any market that has volume data. On assets without volume (some forex pairs), the EvR component defaults to neutral behavior.
All settings for all 6 indicators are adjustable directly from the inputs panel, organized by group, so you can tune each component independently without touching the code.
Not enough signals? For more signals...
Highest Impact
PSMA — Buy Level → Raise from 20 up to 30 or 35. Both lines just need to be below this number, so widening it catches more setups.
PSMA — Sell Level → Lower from 80 down to 70 or 65. Same logic, opposite direction.
LCO — Upper Level → Lower from 0.8 toward 0.5 or 0.6. Less extreme correlation required for a red background.
LCO — Lower Level → Raise from -0.8 toward -0.5 or -0.6. Less extreme correlation required for a green background.
Medium Impact
Willy — Oversold Level → Raise from -80 to -70 or -65. Wider oversold zone means the previous candle qualifies more often for buys.
Willy — Overbought Level → Lower from -20 to -30 or -35. Same idea for sells.
SupOsc — ATR Multiplier → Lower from 2.0 toward 1.5. Tighter bands mean the oscillator crosses ±0.50 more frequently.
Lower Impact
StochSup — Multiplier → Lower from 10 toward 6 or 7. The SuperTrend on the Stoch RSI flips direction more often with tighter bands.
StochSup — RSI Length / K Period → Shorter values make the Stoch RSI more reactive, flipping the trend signal more frequently.
The Priority Order
Start with PSMA thresholds first, then LCO levels, then Willy levels. Those three alone will have the most noticeable effect on signal frequency without compromising the structural logic of the system. Indicator

Indicator

Indicator

SMC Toolkit - CHoCH, BoS, FVG, P/D [AvantCoin]SMC Toolkit - CHoCH, BoS, FVG, P/D
A focused market structure indicator covering the four foundational SMC concepts in a single, configurable tool.
What it shows
CHoCH (Change of Character): marks the first break that reverses the prevailing trend.
BoS (Break of Structure): marks continuation breaks in the direction of the current trend.
FVG (Fair Value Gaps): highlights 3-candle imbalance zones, with automatic tracking of mitigation, time expiry, and structural invalidation.
Premium / Discount: plots the equilibrium of the current swing range, with optional zone shading to identify where price sits relative to the range.
**Settings**
Independent visibility toggles for CHoCH, BoS, FVG, and Premium/Discount, show only what you need.
Swing lookback and break confirmation mode (close or wick) for structure detection.
FVG mitigation mode (first touch or full fill), max extension in bars, and option to hide inactive gaps.
Fully customizable colors, line styles, and opacity for every element.
Built-in alerts for bullish and bearish CHoCH and BoS events.
Design principles
Every rule the indicator uses is documented in the script header. Pivots do not repaint, swings are consumed once broken, and signals are drawn on the bar of confirmation, what you see live is what you see in backtest.
Designed for clarity on any timeframe and any market.
Indicator

Indicator

Indicator

AG Pro Williams %R Exhaustion Map [AGPro Series]AG Pro Williams %R Exhaustion Map
Overview / What it does
AG Pro Williams %R Exhaustion Map is a bounded-oscillator reaction map built to study exhaustion behavior around the extreme ends of Williams %R. Instead of treating Williams %R as a simple overbought/oversold trigger, this script maps whether an extreme reading is only being touched briefly, held with persistence, beginning to release, failing to release, or unwinding with more structure. The goal is to organize extreme-zone behavior into readable states rather than reduce the tool to a basic reversal shortcut.
The script is designed for traders who want to understand when an extreme condition is still being sustained and when that same condition may be starting to lose efficiency. In practice, that means the script focuses less on isolated crossings and more on the sequence around them: entry into an extreme zone, time spent there, the first release attempt, the possibility of a failed release, and the confirmation of an exhaustion unwind. This sequence-based framing is what gives the tool its map identity.
Within the AG Pro series, this script is intentionally separate from tools that revolve around trend confirmation, centerline balance, divergence, or generic momentum shifts. It is also intentionally separate from the series' Stochastic-based exhaustion work. Stochastic can be useful for reading swing rhythm and rotational turns, while this Williams %R version is centered more tightly on bounded extreme persistence and release behavior. In other words, this script is not presented as an alternative skin for another oscillator. It is a different framework for reading how price behaves when an oscillator remains pinned near an edge and then attempts to escape that condition.
Unique Edge
The unique edge of this script is not that it plots Williams %R, but that it classifies the life cycle of an extreme reading. The script distinguishes between stretch, locked conditions, release attempts, failed releases, and exhaustion unwinds. That structure helps separate three situations that are often mixed together in standard oscillator use:
1) an extreme reading that is still being sustained,
2) an extreme reading that has started to weaken but may still fail, and
3) an extreme reading that is releasing with enough follow-through to qualify as an exhaustion unwind.
This matters because many standard oscillator workflows treat every exit from an extreme zone as if it carried the same informational value. This script does not. It places more emphasis on persistence, release quality, and post-release follow-through, which can help users avoid treating every early reversal attempt as equivalent.
Methodology
The script begins with Williams %R and user-defined extreme thresholds. From there, it evaluates how long the oscillator remains in the upper or lower extreme zone and how deeply it is embedded in that zone. This forms the basis of the lock-strength logic. A fast touch into an extreme area and an extended embedded condition are therefore not interpreted in the same way.
Once an extreme condition has persisted long enough, the script begins monitoring for a release. A release is not defined as any random movement away from the boundary. It requires the prior extreme condition to have had sufficient persistence and then looks for a buffered move away from the threshold. This helps reduce noise from trivial fluctuations around the extreme lines.
After a release is detected, the script continues to track what happens next. If the oscillator quickly slips back into the same extreme region, the move can be classified as a failed release. If the move continues far enough away from the release anchor within the confirmation window, it can be classified as an exhaustion unwind. This post-release tracking is a central part of the script's design because it helps distinguish between temporary relief and more meaningful exhaustion release.
The panel summarizes this process using state, side, lock strength, and release quality. Lock strength is intended to reflect how established the prior extreme condition was. Release quality is intended to reflect the quality of the release sequence, not forecast what price must do next. These metrics are descriptive and contextual. They are not guarantees.
Signals & Alerts
This script provides event-style labels and alert conditions for the main transitions in the exhaustion sequence. The alerts are deterministic and tied to explicit script conditions rather than discretionary interpretation.
Main event types:
- Bullish release detected
- Bearish release detected
- Bullish release failed
- Bearish release failed
- Bull exhaustion unwind confirmed
- Bear exhaustion unwind confirmed
How to interpret them:
- A release event marks the first qualified move away from a persistent extreme condition.
- A failed release marks a release attempt that reverted back into the prior extreme condition too quickly.
- An exhaustion unwind confirmation marks a release that traveled far enough from its anchor within the configured window to qualify as a more established unwind sequence.
These events are intended to help structure chart reading. They are not standalone trade instructions, and they are not framed as guaranteed reversal signals.
Key Inputs
Williams %R Length
Controls the oscillator lookback period.
Upper Extreme / Lower Extreme
Define the zones used to classify upper and lower exhaustion behavior.
Lock Bars
Controls how much persistence is required before an extreme condition is treated as locked rather than only stretched.
Release Buffer
Adds distance beyond the raw threshold so the script does not treat every minor edge fluctuation as a release.
Confirm Distance / Confirm Window
Control how far and how quickly a release must extend to qualify as an exhaustion unwind.
Fail Window
Controls how quickly a release can revert back into the extreme zone and still be classified as a failed release.
Event Memory Bars
Controls how long the release state is remembered on the chart.
Visual Settings
Allow users to control event labels, minimum spacing between labels, background tint, and optional price-bar coloring.
Panel Settings
Allow users to control panel visibility, placement, font size, and theme.
How this differs from related AG Pro scripts
This script should not be confused with the series' other momentum or exhaustion tools.
Compared with Stochastic-based exhaustion work in the AG Pro series, this script is less about oscillator rhythm and more about the persistence and release structure of a bounded extreme condition. The emphasis here is on whether Williams %R remains pinned, whether the first escape attempt fails, and whether the unwind becomes established.
Compared with RSI-, CCI-, or MFI-oriented workflows, this script is not a centerline trend model, not a divergence engine, and not a money-flow proxy. Its purpose is narrower and more specific: to map the state transition of extreme Williams %R conditions.
Compared with broader trend or regime tools in the AG Pro series, this script is not trying to classify the full market environment by itself. It is better understood as a focused reaction map that can be used alongside a user's own structure, trend, or risk framework.
Limitations & Transparency
This is an indicator, not a strategy. It does not place orders, it does not calculate performance statistics, and it does not claim to predict future price direction. It visualizes oscillator-state transitions derived from Williams %R and user-defined thresholds.
Like all bounded oscillators, Williams %R can remain in extreme territory for extended periods during strong directional conditions. For that reason, an extreme reading should not automatically be interpreted as a reversal condition. This script attempts to improve that interpretation by separating stretch, lock, release, failed release, and unwind behavior, but it does not eliminate false positives.
Results can vary meaningfully with symbol, timeframe, volatility regime, and input configuration. Traders should expect the script to behave differently on very quiet markets, strongly trending markets, and highly reactive instruments. Label frequency and state persistence can also change materially when thresholds and confirmation settings are adjusted.
This tool is intended to support chart organization and decision framing. It should be used with the user's own market structure analysis, execution model, and risk management process.
Risk Disclosure
This script is provided for educational and analytical purposes only. It is not financial advice, not a solicitation, and not a promise of results. Trading and investing involve risk, including the risk of loss. No indicator can remove uncertainty from markets, and no exhaustion signal guarantees reversal, continuation, or trade success.
Users should validate any workflow with their own testing, judgment, and risk controls before using it in live decision-making.
Indicator

[ A L P H A X ] Reversal - RSI Divergence + WPR Timing EngineAlphaX Reversal — RSI Divergence Engine, Triple WPR Timing System, Multi-Confluence Confidence Scoring & Smart Entry/Exit Signals
AlphaX Reversal is a professional-grade reversal detection and signal system built on a dual-engine architecture combining RSI Divergence analysis with a triple-timeframe Williams %R timing system. It detects both regular and hidden divergences, scores every signal through a real-time multi-factor confidence engine, and produces clean tier-graded entry labels and exit markers — all governed by intelligent filters that eliminate low-quality setups automatically. Designed for reversal traders and swing scalpers on instruments like XAUUSD, indices, and forex majors.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 The Two-Engine Architecture — How It Works
AlphaX Reversal is powered by two independent engines that must both agree before any signal fires.
Engine 1 — RSI Divergence Detector
The first engine continuously monitors RSI pivot highs and lows against price pivot highs and lows, detecting four divergence types in real time:
Regular Bullish Divergence — price makes a lower low while RSI makes a higher low (classic exhaustion reversal)
Regular Bearish Divergence — price makes a higher high while RSI makes a lower high (classic distribution signal)
Hidden Bullish Divergence — price makes a higher low while RSI makes a lower low (trend continuation after pullback)
Hidden Bearish Divergence — price makes a lower high while RSI makes a higher high (distribution within a downtrend)
When a valid divergence pair is found, a line is drawn on the price chart between the two pivot points — immediate visual confirmation of the structure that triggered the signal.
Engine 2 — Triple WPR Timing System
The second engine runs three Williams %R oscillators simultaneously at different periods:
WPR Fast — the primary signal generator, reacting quickly to momentum shifts
WPR Medium — intermediate confirmation, filtering out fast WPR noise
WPR Slow — macro trend direction, used to gate counter-trend entries
A divergence signal from Engine 1 must be confirmed by a qualifying WPR condition from Engine 2 — a cross from an extreme zone, rising velocity, or a multi-bar recovery. This two-layer gate is what prevents AlphaX Reversal from firing on every minor oscillator wiggle.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Four Divergence Types
AlphaX Reversal detects and distinguishes between four divergence structures, each labeled directly on the signal:
REG Bull — Regular Bullish. Price exhaustion at a new low while momentum is already recovering. Strongest reversal signal.
REG Bear — Regular Bearish. Price making new highs on declining momentum. Classic distribution.
HID Bull — Hidden Bullish. A pullback within an uptrend — trend continuation setup.
HID Bear — Hidden Bearish. A bounce within a downtrend — continuation of the bear move.
Regular divergences receive a higher base confidence score than hidden divergences, reflecting their stronger reversal probability.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏷 Signal Tiers — S / A / B
Every entry signal is graded into one of three tiers based on its real-time confidence score:
S-Tier (70%+) — the highest quality setups. All major confluence factors aligned. Brightest label, strongest visual weight.
A-Tier (55–69%) — strong setups with most factors confirmed. Standard brightness.
B-Tier (35–54%) — valid setups that meet the minimum threshold. Dimmer label color.
Tier, divergence type, and confidence score are all displayed directly on every label — you always know the quality of the setup at a glance, without checking the dashboard.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 Multi-Confluence Confidence Scoring
Every signal is scored by a real-time engine evaluating eight independent factors. Only signals meeting your configured Min Confidence % threshold are displayed.
Divergence Type Quality (up to 30 points)
Regular divergence — 30 points
Hidden divergence — 22 points
WPR Extreme Depth (up to 20 points)
How deeply the Fast WPR penetrated into oversold or overbought territory before recovering — deeper penetration scores higher
WPR Cross Timing (up to 15 points)
Cross from extreme zone — 15 points
Strong WPR velocity — 10 points
Multi-bar recovery in progress — 6 points
WPR Multi-Timeframe Alignment (up to 10 points)
All three WPR timeframes simultaneously in extreme territory (Triple OS/OB) — 10 points
Medium WPR in extreme zone — 7 points
WPR Slow Structural Context (up to 8 points)
Slow WPR aligned with the signal direction adds structural confirmation
Candle Confirmation (up to 7 points)
Strong-bodied candle closing in the signal direction — 7 points
Weaker confirming close — 4 points
Volume (up to 5 points)
Volume spike (1.5× average) — 5 points
Above-average volume — 3 points
RSI Depth Bonus (up to 5 points)
RSI below 25 (bull) or above 75 (bear) adds a bonus for extreme readings that reinforce the divergence
Penalty Deductions
RSI at opposite extreme — up to 10 points deducted
WPR Slow against the signal direction — up to 8 points deducted
Extreme WPR velocity (likely spike or wick) — up to 5 points deducted
The default minimum confidence is 35% — optimized for XAUUSD 1-minute to filter noise while keeping valid reversal setups. Increase to 45–55% for cleaner signals on higher timeframes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚪 Exit Markers
Red dot markers indicating where the WPR system detects counter-trend momentum building — time to consider taking profit or tightening stops
Exit markers appear as small red dots and fire only after a position is open:
During a long position — a bearish WPR signal triggers an exit dot above the bar
During a short position — a bullish WPR signal triggers an exit dot below the bar
Two independent exit modes are available and can be toggled separately:
Exit on Opposite Signal — exits the current position when a full opposing entry signal fires
Exit on WPR Exhaustion — exits when WPR crosses into the opposing extreme zone beyond your configured threshold
Use exit markers to take partial or full profit, tighten your stop loss, or pause new entries until the next signal confirms continuation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 Live Dashboard
The built-in dashboard displays full system state in real time:
RSI — current value with color-coded extremes
WPR Fast / Medium / Slow — all three values with directional coloring
WPR Velocity — FLAT / RISING / FALLING / FAST with color grading
Divergence Status — the active divergence type on the current bar
Bull Confidence % — live score for the current bullish setup
Bear Confidence % — live score for the current bearish setup
Position — LONG / SHORT / FLAT tracking the active signal direction
Open P&L — real-time unrealized profit and loss in price and percentage
Volume — NORMAL / HIGH / SPIKE with current ratio vs 20-bar average
The dashboard can be positioned in any corner and text size is independently configurable.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX Reversal — Step by Step
Step 1 — Watch for a Divergence Line
When a divergence line appears connecting two pivots on the chart, Engine 1 has detected a valid structure
Check the dashboard Divergence Status row to confirm the type
Step 2 — Enter on the Signal Label
When the label fires, both engines have confirmed the setup
The label shows tier (S/A/B), divergence type (REG/HID), and confidence score directly on the bar
Place your stop loss beyond the price pivot that formed the divergence
Step 3 — Manage with the Dashboard
Monitor WPR Velocity and WPR Fast — rising values confirm the reversal is following through
Flat or reversing velocity warns that momentum is stalling early
Step 4 — Exit on the Red Dot
When a red exit dot appears, counter-trend momentum has built sufficiently to trigger the exit engine
Take partial or full profit, or tighten your stop
Step 5 — Reset and Wait
After an exit, wait for the next divergence structure before re-entering
Do not force entries between signals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🔬 Dual-engine architecture — RSI Divergence and triple WPR timing must both confirm before any signal fires
📐 Four divergence types — Regular Bullish, Regular Bearish, Hidden Bullish, Hidden Bearish — detected and labeled distinctly
🏷 Three signal tiers (S / A / B) — confidence-graded labels with visual weight matching signal quality
🧠 Multi-factor confidence scoring — divergence type, WPR depth, velocity, timing, candle body, volume, RSI depth, and penalties
📉 Divergence lines drawn automatically — visual confirmation of the exact pivot pair that triggered the signal
🔴 Smart exit markers — red dots that fire only after a position is open, triggered by WPR exhaustion or opposing signal
📋 Full live dashboard — RSI, three WPR values, velocity, divergence status, confidence scores, position, P&L, and volume in one panel
⏱ Signal cooldown filter — prevents repeated signals during volatile whipsaw conditions
🎨 Cohesive dual-tone color theme — yellow-green for bullish, red for bearish, gray for exits and neutral states
🔔 17 alert conditions — tiered entry alerts, exit alerts, divergence detection alerts, and WPR extreme alerts
⚙ Fully configurable — all periods, thresholds, divergence widths, colors, and exit modes adjustable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
RSI Divergence
RSI Period — base RSI calculation period (default: 9)
RSI Pivot Lookback — pivot detection sensitivity (default: 3)
Max Divergence Width — maximum bars between the two pivot points (default: 40)
Min Divergence Width — minimum bars between the two pivot points (default: 5)
Show Divergence Lines — toggle the connecting lines on the price chart
WPR Timing
WPR Fast / Medium / Slow Period — three independent WPR periods (defaults: 8 / 21 / 55)
WPR Oversold / Overbought Levels — extreme zone thresholds (defaults: -82 / -18)
Signal Filters
Min Confidence % — minimum score to display a signal (default: 35%)
Signal Cooldown — minimum bars between consecutive signals (default: 6)
Require Volume Confirm — optional volume gate using a minimum ratio vs 20-bar average
Exits
Exit on Opposite Signal — exit the current position when an opposing signal fires
Exit on WPR Exhaustion — exit when WPR crosses into the opposing extreme zone
WPR Exit Bull / Bear Levels — configurable WPR thresholds for the exhaustion exit
Appearance & Dashboard
Label Size — Tiny / Small / Normal
Dashboard Text Size — Tiny / Small / Normal
Show Dashboard — toggle the live overlay panel
Dashboard Position — Top Left / Top Right / Bottom Left / Bottom Right
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions
S-Tier Bull Reversal — bullish signals scoring 70%+
A-Tier Bull Reversal — bullish signals scoring 55–69%
B-Tier Bull Reversal — bullish signals scoring 35–54%
S-Tier Bear Reversal — bearish signals scoring 70%+
A-Tier Bear Reversal — bearish signals scoring 55–69%
B-Tier Bear Reversal — bearish signals scoring 35–54%
Any Bull Reversal — all bullish entry signals combined
Any Bear Reversal — all bearish entry signals combined
Any Reversal Signal — all entries combined
Bull Exit — long position exit signal
Bear Exit — short position exit signal
Any Exit — all exits combined
Regular Bull Divergence Detected
Regular Bear Divergence Detected
Hidden Bull Divergence Detected
Hidden Bear Divergence Detected
Triple WPR Oversold — all three WPR periods simultaneously in oversold territory
Triple WPR Overbought — all three WPR periods simultaneously in overbought territory
All alert messages include {{ticker}} and {{interval}} placeholders for clean webhook integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Default Settings — Optimized For
The default configuration is specifically tuned for XAUUSD (Gold) on the 1-minute and 5-minute timeframes :
Confidence threshold at 35% filters low-quality setups while keeping valid reversal signals
Cooldown at 6 bars prevents label spam during volatile back-and-forth conditions
WPR periods (8 / 21 / 55) calibrated for gold's fast-moving intraday reversal structure
Divergence width of 5–40 bars captures the relevant reversal structures without reaching too far back
For other instruments or timeframes, adjust:
Higher timeframes (15m, 1H) — increase RSI Pivot Lookback to 4–5, increase Min Confidence to 40–50%, widen Max Divergence Width to 50–60
Forex majors — defaults work well; reduce RSI Period to 7 for faster detection
Indices (NAS100, US30) — increase WPR Slow to 89 for broader trend context
Less noise — increase Min Confidence %, increase Cooldown, reduce Max Divergence Width
More signals — decrease Min Confidence %, decrease Cooldown, widen divergence window
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🥇 Gold (XAUUSD) reversal traders — built and tested on gold's sharp intraday reversal character
📉 Forex and index swing traders — applicable to any instrument that exhibits momentum divergence at turning points
🧠 Systematic traders — the tiered confidence scoring gives a quantitative quality framework, not just visual arrows
📈 Traders who want to know why — every signal shows its tier, divergence type, and score directly on the label
⚠ Traders who struggle with overtrading — the dual-engine confirmation gate and confidence threshold physically prevent weak signals from appearing
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — no repainting
Divergence lines connect the actual price pivot points used to generate the signal
The position tracker and P&L display are internal to the indicator and do not connect to your broker account
Maximum 500 labels and 500 lines — on very low timeframes with extended history, oldest drawings may be removed automatically by PulseWire's rendering limits
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who want to see the divergence, understand the confirmation, and act with confidence. Indicator

Larry Williams Qualified Trend Break Signals [tradeviZion]Larry Williams Qualified Trend Break Signals - Description
📖 Introduction
Welcome to the Larry Williams Qualified Trend Break Signals indicator. This description explains how the indicator works, its settings, and how to use it.
This indicator demonstrates Larry Williams' Qualified Trend Line Break technique - his preferred method for timing precise entries on daily charts when you already have a confirmed market setup.
---
🎯 About This Script
This indicator implements the Qualified Trend Line Break system - an entry technique that qualifies trend line breaks for better timing.
Important: This is NOT a signal generator. It's an entry timing tool for traders who already have a market setup and confirmation. Use it only after establishing weekly bias and daily confirmation.
Why We Made This Indicator:
This indicator demonstrates Larry Williams' favorite entry technique for daily timeframe trading. It's designed to be used as part of his complete methodology:
How To Use It Properly:
First, establish your setup: Check weekly chart for overall market bias (bullish/bearish)
Then confirm on daily: Look for confirmation signals on daily timeframe
Finally, use trend breaks: Enter trades only when trend breaks align with your setup direction
Important Warning: This is NOT a standalone buy/sell signal indicator. Using trend breaks without proper setup and confirmation will likely produce poor results. It's a timing tool for entries, not a signal generator.
---
About The Qualification Rules
The system improves on qualification methodology with these key changes:
For BUY signals (breaking above downtrend lines):
Break is usually bad if previous bar closed higher
But can still be good if:
Previous bar was inside the prior bar AND that prior bar closed lower
Price gaps above trend line and moves up at least one tick
Previous bar closed below its own opening price
For SELL signals (breaking below uptrend lines):
Break is usually bad if previous bar closed lower
But can still be good if:
Previous bar was inside the prior bar AND that prior bar closed higher
Price gaps below trend line and moves down at least one tick
Previous bar closed above its own opening price
---
📐 How The Qualification System Works
The trend break system is based on qualification methodology as developed by Larry Williams . It solves the problem where trend line breaks often fail and price goes back.
Trend Line Setup:
For BUY signals: Connect the two most recent declining swing highs to make a downtrend line
For SELL signals: Connect the two most recent rising swing lows to make an uptrend line
Inside Bar Rule:
A key principle: Trend breaks that occur on inside bars are completely ignored. The system only evaluates breaks that occur on regular bars, making signals more reliable.
How It Works In The Code
The indicator follows these steps:
Finds swing points: Identifies highs and lows in the price action
Draws trend lines: Connects 2 recent swing points to make trend lines
Checks inside bars: Ignores breaks that happen on inside bars
Qualifies signals: Uses the rules to check if breaks are good or bad
Shows signals: Only displays qualified BUY/SELL signals
Optional feature: Can show disqualified signals
⚙️ Settings
The indicator has 3 groups of settings to customize how it works.
---
📊 Signal Settings
Show Signals
Default: ON
ON: Displays green/red labels when trend breaks qualify for entry
OFF: Hides entry labels (trend lines still show for analysis)
Remember: These are entry TIMING signals, not standalone buy/sell signals
Signal Selection
Default: Both | Options: Buy Only, Sell Only, Both
Buy Only: Shows only BUY signals
Sell Only: Shows only SELL signals
Both: Shows both BUY and SELL signals
Break Validation
Default: Close | Options: Break Level, Close
Break Level: Signal when price touches the trend line (more signals)
Close: Signal when bar closes beyond trend line (fewer signals)
Tip: Try "Close" first for better signals
Show Disqualified
Default: OFF | Options: ON/OFF
What it does: Shows bad breaks
ON: Shows gray ❌ labels with explanations
OFF: Hides bad signals
👁️ Display Settings
Show Trend Lines
Default: ON
What it does: Shows trend lines on the chart
Looks like: Dashed blue lines connecting swing points
Goes to: Extends into future bars
Why: Shows where breakouts are expected
Show Swing Points
Default: ON
What it does: Marks highs/lows used for trend lines
Looks like: Shape markers at swing locations
Shows: How trend lines are constructed
Marker Style
Default: Circle | Options: Circle, Triangle, Square, Diamond, Cross
What it does: Choose shape for swing markers
Options: Circle, Triangle, Square, Diamond, Cross
Best choice: Circle is clear without being busy
Marker Size
Default: 3 | Range: 1-10
What it does: Controls marker size
Range: 1 (tiny) to 10 (large)
Show Inside Bars
Default: ON
What it does: Highlights inside bars
Looks like: Light orange background on inside bars
Note: These bars are ignored for break qualification
Important: Inside bars are ignored for break qualification
🎨 Colors
Signal Colors
Buy Signal (Default: Green) - Color for good BUY signals
Sell Signal (Default: Red) - Color for good SELL signals
Disqualified (Default: Gray) - Color for bad signals
Display Colors
Trend Line (Default: Blue) - Color for trend lines and markers
Inside Bar (Default: Light Orange) - Background for inside bars
💡 How To Use It In Larry Williams Methodology
Step 1 - Weekly Setup: Identify market bias on weekly chart (clear bullish/bearish trend)
Step 2 - Daily Confirmation: Find confirmation signals on daily timeframe
Step 3 - Trend Break Entry: Use qualified trend breaks only in setup direction
Important: Never enter based on trend breaks alone - always require setup + confirmation first
⚠️ Important Notice
This indicator implements Larry Williams' trend break entry technique. It should NOT be used as standalone buy/sell signals. Only use trend breaks for entry timing after you have established a proper market setup and confirmation. Poor results will occur if using signals without the complete Larry Williams methodology.
Credits: Based on Larry Williams' trading approach and qualification methodology. Swing detection logic adapted from "Larry Williams: Market Structure" by Smollet.
Indicator

Filtered Fractals (2-Stage + Alerts)Filtered Fractals
Overview
This indicator is an advanced evolution of the classic Fractal logic (like the WICK.ED or Bill Williams models). Standard fractals are often "noisy," marking every minor local peak or trough, which can lead to false signals in volatile markets.
This script solves the "noise" problem by introducing a Dual-Stage Filtering Process. Instead of displaying every fractal, it treats them as "candidates" and only confirms those that represent a dominant extremum relative to their neighboring fractals.
How It Works
The script operates in two distinct stages to ensure only the most significant structural pivot points are plotted:
Stage 1: Detection
The script identifies "Raw Fractals" based on your preferred sensitivity (Left/Right bars). By default, it uses a 5-bar lookback/lookforward, but these remain hidden from the chart initially.
Stage 2: Sliding Window Competition
The script monitors a rolling sequence of the last three identified fractals. It compares their prices to find the "True Extremum":
For Highs , it compares the 3 most recent fractal peaks.
For Lows , it compares the 3 most recent fractal troughs.
The Point System: Every time a fractal is the "winner" (the highest high or lowest low) within its 3-fractal window, it receives a confirmation point.
The Priority Rule: In cases where two fractals have the exact same price, the script gives priority to the earlier one (the "left" peak), reducing late entries.
Visual Confirmation
A fractal is only plotted on your chart once it achieves two confirmations . This means it has proven to be a significant price extreme compared to both its predecessor and its successor.
Key Features
Noise Reduction: Eliminates "crowded" fractals, leaving only the structural backbone of the trend.
Non-Repainting Logic: The script only processes confirmed closed bars. The current developing candle will never trigger a false fractal or a premature alert.
Smart Alerts: Built-in alert() functionality. You can set a single alert to notify you the exact moment a Bullish or Bearish fractal is confirmed.
Customizable Sensitivity: Adjust the Left/Right Bars in the settings to fit your specific timeframe (e.g., higher values for macro trends, lower for scalping).
How to use
Support/Resistance: Use these filtered fractals to draw more reliable S/R zones.
Stop Loss Placement: Ideal for trailing stops behind truly significant swing points.
Trend Confirmation: A series of higher-high filtered fractals provides a much cleaner view of an uptrend than standard indicators.
Indicator

Indicator

HaP Williams %R Pro+This indicator combines the classic Williams %R (Percent Range) oscillator with multi-timeframe (MTF) analysis, allowing you to visualize the general market direction on a single chart. Thanks to its advanced dashboard feature, you can instantly monitor overbought/oversold conditions across all periods, ranging from the 1-minute chart to the 1-month chart.
With the AVG F feature added to the table, short-term price movements and momentum changes (specifically for Scalping) can be detected much faster.
🚀 Key Features
Multi-Timeframe (MTF) Support: Simultaneously calculates Williams %R values for 1m, 5m, 15m, 30m, 1h, 2h, 4h, Daily, Weekly, and Monthly periods.
Smart Dashboard: The table located in the corner of the screen displays values and color codes for all timeframes.
AVG S (Slow Average): This is the average of 5m, 15m, 30m, and 1h data. It indicates the general trend direction.
AVG F (Fast Average) : This is the average of 1m, 5m, and 15m data. It is used for instant momentum and scalping entries.
Signal Smoothing: Williams %R data is smoothed with a Simple Moving Average (SMA) to reduce market noise.
Dynamic Coloring: Colors on the dashboard and chart automatically change according to the strength of the trend.
🎨 Color Codes and Meanings
The dashboard and chart lines are colored according to the following logic:
🟢 Bright Green (Lime): If the value is above -20. This is the "Overbought" zone, but it indicates a strong Bullish trend. Momentum is very high.
🌿 Dark Green: If the value is between -20 and -50. The market is in the positive zone; the upward tendency continues.
🔴 Red: If the value is between -50 and -80. The market is in the negative zone; the downward tendency dominates.
🛑 Bright Red: If the value is below -80. This is the "Oversold" zone. Momentum is very low, and the Bearish trend is strong.
💡 How to Use? (Strategy Suggestions)
General Trend Tracking: Look at the AVG S (Slow Average) column in the dashboard. If it is green, the general direction is up; if red, it is down.
Scalp Trades: The AVG F (Fast Average) column is ideal for catching short-term reversals. Entry reliability increases when the AVG F color aligns with AVG S.
Crossovers: Crossovers between the Fast Average (Red Line) and Slow Average (Black Line) on the chart can signal potential trend changes.
Dashboard Harmony: If all boxes (or the vast majority) in the dashboard are the same color (e.g., all green), it indicates a very strong trend in that direction. You should avoid opening positions in the opposite direction.
⚙️ Settings
Williams %R Period: Default is 14; you can change it according to your strategy.
Dashboard Position: You can move the dashboard to the top-right, bottom-right, or bottom-left corner of the screen.
Show Lines: If you want to prevent chart clutter, you can toggle off the lines and use only the dashboard.
Disclaimer: This indicator is a support tool and does not contain definitive buy/sell signals. You should make your investment decisions based on your own analysis and risk management. Indicator
