Indicator

Indicator

Indicator

Indicator

Smart Money Engine [WillyAlgoTrader]Smart Money Engine (SME) is a comprehensive overlay indicator that automates the core elements of Smart Money Concepts (SMC) analysis: multi-layer market structure detection (BOS / CHoCH), order block identification with strength grading, fair value gap tracking with fill monitoring, inverse FVG generation, and auto-anchored Fibonacci retracement — all in a single, unified tool.
Rather than stacking five separate indicators on your chart — one for structure, one for OBs, one for FVGs, one for IFVGs, and one for Fibonacci — SME integrates these components so they share a common structural context. Order blocks are created at actual structure break points, FVGs are filtered against volatility, IFVGs are born from filled FVGs, and the Fibonacci grid automatically anchors to the current strong high and strong low. Every component is aware of the others, producing a cleaner and more logically consistent chart than layering independent tools.
🔍 WHAT MAKES IT ORIGINAL
1. Dual-layer structure detection (Swing + Internal). The indicator runs two independent pivot-based structure engines simultaneously. The Swing layer (configurable length, default 10) captures major market structure — the higher-timeframe trend. The Internal layer (shorter length, default 5) captures minor structure shifts within the swing trend. Both label BOS (Break of Structure — continuation) and CHoCH (Change of Character — reversal) independently. This dual-layer approach lets you see whether an internal CHoCH is happening against or with the swing trend — a key distinction in SMC methodology that single-layer tools miss.
2. Order Blocks with contextual grading (A / B / C). OBs are not placed at arbitrary candles. They are created only when a swing-level BOS or CHoCH occurs — the script walks back from the break to find the last opposite-colored candle (the institutional candle that initiated the move). Each OB is then graded:
— Grade A : OB overlaps with an FVG and has a volume spike (highest confluence)
— Grade B : OB has one confluence factor (volume spike OR FVG overlap)
— Grade C : basic OB without additional confluence
Grading helps you prioritize which zones to trade from. OBs extend until mitigated (user choice: close-based or wick-based mitigation), and each OB displays a Consequent Encroachment (CE) midline — the 50% level that often acts as the reaction point within the block.
3. Fair Value Gaps with ATR auto-filter and fill tracking. FVGs are detected using the classic three-candle gap method (current low > high two bars ago for bullish, inverse for bearish). A built-in ATR filter (enabled by default) suppresses FVGs smaller than 0.5× ATR, removing the micro-gaps that clutter charts on lower timeframes. Each FVG extends until fully filled, displays a CE midline, and is automatically removed once price closes through the gap.
4. Inverse FVG (IFVG) generation. When an FVG is fully filled by price, it doesn't just disappear — it transforms into an Inverse FVG with flipped bias. A filled bullish FVG becomes a bearish IFVG (potential resistance); a filled bearish FVG becomes a bullish IFVG (potential support). This captures the SMC concept that once institutional imbalance is filled, the zone can flip polarity. IFVGs are displayed with distinct dashed borders and tracked until mitigated by a close through their zone.
5. Auto-anchored Fibonacci retracement. The Fibonacci grid automatically spans from the current Strong High to Strong Low — the trailing extremes of the active swing structure. When a new BOS/CHoCH shifts the structure, the anchor points update and the grid repositions. The OTE (Optimal Trade Entry) zone between 0.5 and 0.618 is highlighted, giving you an immediate visual reference for the premium/discount equilibrium.
6. Strong / Weak High and Low levels. After each structural break, the indicator identifies the trailing high and low as either "Strong" or "Weak" based on their position relative to the current trend direction. In a bullish swing, the low that initiated the trend is the Strong Low (protected) and the high is the Weak High (target). These levels are extended forward as dashed lines, providing clear reference for where the trend is protected and where it is vulnerable.
⚙️ HOW IT WORKS
Structure detection:
Swing pivots are identified using ta.pivothigh() and ta.pivotlow() with the configured lookback length. The script maintains the most recent swing high and swing low. When price closes above the previous swing high (confirmed bar close, no mid-bar signals), it registers a bullish break. If the prior trend was bearish, this is labeled CHoCH (reversal); if bullish, it is labeled BOS (continuation). The same logic applies in reverse for bearish breaks. Internal structure uses an identical algorithm with a shorter lookback, and its labels are drawn with dashed lines and lighter opacity to visually distinguish them from swing-level events.
Order Block detection:
When a swing-level break is confirmed, the script scans backward (up to 30 bars) from the pivot that was broken to find the last candle with opposite polarity — the candle whose body direction opposes the break direction. The full range (high to low) of that candle becomes the OB zone. A volume spike check (volume > 1.5× 20-period SMA) adds confluence for grading. OBs extend right until the mitigation condition is met.
FVG detection:
On every confirmed bar, the script checks whether the current bar's low exceeds the high of two bars ago (bullish FVG) or the current high is below the low of two bars ago (bearish FVG). If the gap size passes the ATR filter, an FVG box is created. The box extends right each bar. If price fills the gap completely (low touches the bottom of a bullish FVG, or high touches the top of a bearish FVG), the FVG is removed and — if IFVG mode is enabled — queued for conversion to an Inverse FVG.
HTF trend filter:
An optional higher-timeframe EMA(50) filter provides directional bias. The HTF data is fetched using request.security() with confirmed-bar referencing ( + lookahead_on pattern) to prevent repainting. When enabled, the dashboard displays the HTF bias, and the confluence can factor into OB grading.
Anti-repaint compliance:
All structure breaks, OB creation, and FVG detection require barstate.isconfirmed — signals fire only after the bar closes. The HTF filter uses the standard non-repainting security call pattern. No future data is accessed.
📖 HOW TO USE
Reading the chart:
— HH / HL / LH / LL labels at swing points classify the market structure
— Solid horizontal lines with BOS or CHoCH labels = swing-level structure breaks
— Dashed lines with BOS/CHoCH = internal (minor) structure breaks
— Colored boxes = Order Blocks (green-tinted = bullish, red-tinted = bearish)
— Letter labels (A/B/C) on OBs = strength grade
— Dotted midline inside OBs = Consequent Encroachment (CE)
— Blue-tinted boxes = bullish FVGs; orange-tinted = bearish FVGs
— Dashed-border boxes labeled IFVG = Inverse Fair Value Gaps
— Dotted horizontal Fibonacci lines with OTE zone highlight = auto retracement grid
— Dashed trailing lines labeled "Strong High/Low" or "Weak High/Low" = structural extremes
Suggested workflow:
— Identify the swing trend direction from BOS/CHoCH labels and Strong/Weak levels
— Check if internal structure aligns with or diverges from swing structure
— Look for entry opportunities at Order Blocks (prioritize Grade A/B) within the Fibonacci OTE zone
— Use FVGs as additional confluence — a bullish OB that overlaps a bullish FVG is a higher-probability zone
— Monitor IFVGs for polarity-flipped zones that may act as new support/resistance
— Use the dashboard to track active OB/FVG/IFVG counts and HTF bias alignment
Timeframe guidance:
— Scalping (1–5min): Swing Length 5–7, Internal 3, increase Max OBs/FVGs for more zones
— Intraday (15min–1H): Swing Length 8–12, Internal 5, default settings work well
— Swing (4H–Daily): Swing Length 15–25, Internal 7–10, reduce Max OBs to keep chart clean
— Use the HTF filter with 1 step up (e.g. 1H chart → 4H HTF, 4H chart → D HTF)
⚙️ KEY SETTINGS REFERENCE
— Swing Detection Length (default 10): lookback for major structure pivots
— Internal Structure Length (default 5): lookback for minor structure pivots (should be < Swing Length)
— OB Mitigation (default Wick): "Close" = OB removed on close through zone; "Wick" = removed on any touch
— Show OB Grade (default On): display A/B/C strength classification on OBs
— Show OB Midline (default On): display CE (50%) line inside order blocks
— Auto-Filter Small FVGs (default On): suppress FVGs smaller than 0.5× ATR
— Max Visible OBs / FVGs / IFVGs (default 5 each): cap on displayed zones to manage chart clutter
— Show Inverse FVGs (default Off): enable IFVG generation from filled FVGs
— Show Fibonacci Retracement (default On): auto-anchored grid with OTE zone highlight
— HTF Trend Filter (default Off): set a higher timeframe for directional bias via EMA(50)
— Volume Confirmation (default On): add confluence when volume > 1.5× average (auto-disabled on forex)
📊 Dashboard
The info panel (adjustable to any chart corner) displays in real time:
— Swing trend direction (Bullish / Bearish)
— Internal trend direction
— Fibonacci range (Strong High — Strong Low)
— Count of active OBs, FVGs, and IFVGs
— HTF bias (if enabled)
— Current timeframe and indicator version
⚠️ IMPORTANT NOTES
— This indicator does not repaint. All signals and zone creations require bar-close confirmation. The HTF filter uses the standard + lookahead_on non-repainting pattern.
— SME is a structural analysis and zone-mapping tool — it identifies where institutional activity likely occurred, but it does not generate explicit buy/sell signals. Trade decisions should incorporate your own entry triggers, risk management, and additional confluence.
— Past structure patterns and zone reactions do not guarantee future price behavior.
— Performance may vary across instruments and timeframes. Lower timeframes produce more zones and structure shifts; use the ATR filter and Max Visible caps to manage noise.
— The indicator works across all asset classes. Volume-based features (OB grading) are automatically adjusted on instruments without volume data. Indicator

Indicator

Indicator

Phantom Trend Cloud [WillyAlgoTrader]Phantom Trend Cloud is an adaptive trend-following system built on a Hull-weighted midline and ATR-based dynamic cloud. It automatically identifies trend direction and detects retest zones — moments where price pulls back into the cloud and bounces in the direction of the trend, offering high-probability entry opportunities.
━━━━━━━━━━━━━━━━━━━━━━━━
🔍 HOW IT WORKS
The indicator plots a dynamic envelope around a Hull Moving Average midline. The cloud width adapts to volatility via ATR — it expands during volatile conditions and contracts in calm markets. When price touches the cloud and rejects in the trend direction, that's a retest signal .
Unlike traditional moving averages, the Hull-weighted midline responds faster while staying smooth — fewer false signals during consolidation, quicker reaction to real reversals.
━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SIGNAL LOGIC
◆ Bull Retest — price dips into the cloud from above, closes above the midline with a bullish candle. Potential long entry.
◆ Bear Retest — price pushes into the cloud from below, closes below the midline with a bearish candle. Potential short entry.
◆ Trend Change — fast/slow EMA crossover signals a shift in trend direction.
Every signal is confirmed only on bar close — no repainting, ever.
━━━━━━━━━━━━━━━━━━━━━━━━
🛡️ BUILT-IN FILTERS
Signals pass through a multi-layer filtering system to reduce noise and improve quality:
◆ Volume Filter — signals fire only when volume exceeds SMA(20) × multiplier. Auto-disables on instruments with no volume data (Forex).
◆ RSI Momentum — bullish retests require RSI > 40, bearish retests require RSI < 60. Eliminates signals against the momentum.
◆ ADX Trend Strength — optional filter that only allows signals when ADX confirms a trending market (above threshold).
◆ HTF Trend Filter — optional higher timeframe alignment. Uses ` ` offset + `lookahead_on` to ensure zero repainting .
◆ Cooldown — minimum pause between consecutive signals (default 8 bars), prevents signal clustering during chop.
━━━━━━━━━━━━━━━━━━━━━━━━
📊 RETEST STRENGTH SCORE (0–100)
Each retest is assigned a composite quality score based on four components:
◆ Proximity (up to 50 pts) — how deep price penetrated into the cloud
◆ Volume (up to 25 pts) — current volume relative to its 20-bar average
◆ RSI (up to 15 pts) — how well momentum aligns with the signal direction
◆ ADX (up to 10 pts) — overall trend strength at the time of signal
Higher score = higher quality setup. The score is displayed in the signal tooltip and on the dashboard.
━━━━━━━━━━━━━━━━━━━━━━━━
🎨 VISUALS
◆ Gradient cloud fill with automatic theme detection (Dark / Light / Auto)
◆ Diamond ◆ markers at retest points with detailed tooltips (score, RSI, ADX)
◆ Dotted S/R lines from the latest retests — automatically removed when price breaks through
◆ Optional background tint based on trend direction
◆ Compact dashboard: trend, last signal, score, trend strength, timeframe, version
━━━━━━━━━━━━━━━━━━━━━━━━
🔔 ALERTS & WEBHOOKS
4 alert types: Bull Retest, Bear Retest, Trend Up, Trend Down.
Two output formats:
◆ Text — human-readable messages for Telegram, email, or mobile notifications
◆ JSON — structured webhook payloads for 3Commas, Alertatron, or custom bots
━━━━━━━━━━━━━━━━━━━━━━━━
📝 RECOMMENDED SETTINGS
◆ Ribbon Length: 14–30 (default 21) — higher values produce smoother clouds with fewer whipsaws
◆ Cloud Width: 1.0–2.5 × ATR (default 1.5) — wider clouds filter more noise, tighter clouds catch more retests
◆ Works best on timeframes 15m and above
◆ Enable Volume + RSI filters for balanced signal quality; add ADX and/or HTF filter for a more conservative approach
━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ DISCLAIMER
This indicator is a technical analysis tool and does not constitute financial advice . All trading decisions are made at your own risk. Always use proper risk management and backtest settings on historical data before live trading.
Indicator

Quantum RSI FusionQuantum RSI Fusion
This indicator was created by inspiration from the "Ultimate RSI" indicator by @LuxAlgo. Full credit and acknowledgment to LuxAlgo for the original RSI concept, foundational logic, and innovative approach to momentum oscillator design that served as the starting point for this implementation. This version was developed, restructured, and expanded by The Scalping Ant with additional features, modularity, comprehensive customization options, and structural refinements described in detail below.
What This Indicator Does
Quantum RSI Fusion is a sophisticated momentum oscillator displayed in a dedicated panel below your price chart. At its core, it produces a custom RSI value oscillating between 0 and 100, but unlike conventional RSI implementations, this version employs a range-normalized momentum calculation that fundamentally changes how price movement is interpreted and quantified.
The indicator outputs several interconnected visual and analytical components:
The primary output is the custom RSI line itself, which measures momentum through a unique lens focused on price range dynamics rather than simple directional closes. Layered on top of this is a configurable signal line — a smoothed moving average of the RSI that serves as the reference for crossover-based entry and exit signals. The space between the RSI and its signal line is filled with a color-coded ribbon that instantly communicates whether momentum is currently bullish or bearish and whether that momentum is accelerating or decelerating based on ribbon width.
Beyond these primary elements, the indicator provides optional macro divergence detection using pivot-point analysis, an EMA-based trend filter that restricts signals to align with the dominant market direction, higher timeframe RSI sourcing for multi-timeframe confluence, customizable overbought and oversold zone visualization, the ability to color your main chart candles based on the RSI momentum state, and a multi-layer confluence matrix panel that synthesizes all active analytical components into an instant directional assessment.
All crossover signals incorporate an optional candle-close confirmation mechanism that eliminates repainting, ensuring that once a signal appears on your chart, it remains there permanently and will not disappear due to subsequent price action.
How It Works — The Range-Normalized RSI Calculation Explained
Understanding the mathematical foundation of this RSI variant is essential for using it effectively, as it behaves differently from the standard Wilder RSI found in most trading platforms.
Standard Wilder RSI Review
The conventional RSI, developed by J. Welles Wilder Jr., calculates momentum by comparing the average magnitude of recent gains to the average magnitude of recent losses over a specified lookback period. Specifically, it computes the ratio of smoothed upward price changes to smoothed absolute price changes, then normalizes the result to a 0–100 scale. This approach treats every bar equally — a 1% gain on a low-volatility day counts the same as a 1% gain on a high-volatility day.
The Range-Normalized Approach
Quantum RSI Fusion takes a fundamentally different approach. Instead of measuring bar-to-bar price changes in isolation, it contextualizes each bar's movement within the dynamic price range established over the lookback period.
The calculation proceeds as follows:
First, the indicator identifies the highest high and lowest low over the RSI length lookback period, establishing the current trading range. This range represents the boundaries of recent price action and serves as the normalization reference.
Next, for each bar, the indicator evaluates how the range boundaries have changed:
-When the upper boundary expands — meaning the current bar's high exceeds the previous highest high within the lookback — the full range distance (highest high minus lowest low) is recorded as the directional movement value. This treats range expansion to the upside as a strong bullish signal, capturing breakout momentum in a way that standard RSI cannot.
-When the lower boundary contracts — meaning the current bar's low undercuts the previous lowest low within the lookback — the full range distance is recorded as negative directional movement. This captures breakdown momentum and treats range expansion to the downside as a strong bearish signal.
When neither boundary changes — the price action remains contained within the existing range — the simple bar-to-bar price change (current close minus previous close) is used as the directional movement value, similar to conventional momentum measurement.
This directional movement value is then smoothed using RMA (Running Moving Average, also known as Wilder's Smoothing Method) and normalized using the formula:
(RMA of directional movement / RMA of absolute directional movement) × 50 + 50
The result is a momentum oscillator that inherently responds to volatility and range dynamics. When markets are breaking out of consolidation, the RSI moves aggressively because the full range expansion is captured. When markets are consolidating within an established range, the RSI responds to the smaller bar-to-bar movements and tends to oscillate around the midline.
Volume Weighting Option
When the volume weighting option is enabled, each bar's directional movement is multiplied by its volume before the RMA smoothing is applied. This means that bars with higher trading volume have proportionally greater influence on the RSI value than low-volume bars.
Volume weighted RSI above, standard RSI below:
The rationale is straightforward: price movements backed by significant volume represent stronger conviction and should carry more weight in momentum calculations. A breakout on heavy volume will push the RSI more aggressively than an identical price movement on light volume. Conversely, low-volume noise has reduced impact on the oscillator.
This feature is particularly valuable for stocks, futures, and cryptocurrencies where volume data is reliable and meaningful. For instruments where volume data is absent, unreliable, or represents only a fraction of total market activity (such as spot forex from a single broker), volume weighting should remain disabled.
The Signal Line — Purpose, Methods, and Interaction
The signal line is a moving average calculated from the RSI values, serving multiple purposes within the indicator's framework.
Purpose of the Signal Line
The signal line smooths the RSI to reduce noise and provide a reference point for crossover-based signals. When the RSI crosses above the signal line, it indicates that current momentum is accelerating relative to recent average momentum — a bullish development. When the RSI crosses below the signal line, current momentum is decelerating relative to its recent average — a bearish development.
The signal line also anchors the ribbon fill visualization. The width of the ribbon between RSI and signal represents the magnitude of momentum acceleration or deceleration. A wide ribbon indicates strong directional conviction; a narrow ribbon approaching zero indicates an imminent crossover and potential momentum shift.
Available Smoothing Methods
Four smoothing methods are available for the signal line, each with distinct characteristics:
-EMA (Exponential Moving Average) applies greater weight to recent RSI values, making the signal line more responsive to current conditions. This produces earlier crossover signals but may generate more false signals during choppy price action.
-SMA (Simple Moving Average) applies equal weight to all RSI values within the lookback period. This produces a balanced signal line that is neither overly reactive nor excessively lagged, suitable for most trading styles.
-RMA (Running Moving Average / Wilder's Smoothing) is mathematically similar to EMA but with a longer effective lookback due to its smoothing constant calculation. This produces the smoothest signal line among single-pass averages and matches the smoothing philosophy used in classic RSI implementations. This is the default setting.
-TMA (Triangular Moving Average) applies SMA twice — it calculates an SMA of the RSI, then calculates an SMA of that result. This double-smoothing produces the smoothest and most lagged signal line, filtering out nearly all short-term noise. TMA is ideal for traders focused on larger swings who want to avoid frequent crossovers.
Selecting the Appropriate Method
Scalpers and short-term traders may prefer EMA for faster signals. Swing traders and position traders may prefer RMA or TMA for smoother, higher-conviction signals. The signal length parameter works in conjunction with the method choice — shorter lengths with EMA produce the most reactive signal line, while longer lengths with TMA produce the least reactive.
Crossover Signals and the Non-Repainting Mechanism
The primary trading signals generated by this indicator are based on RSI-to-signal-line crossovers.
Bullish Entry Signal
A bullish entry signal is generated when the RSI crosses above the signal line. This crossover indicates that current momentum has accelerated above its recent average, suggesting increasing bullish pressure. The signal is displayed as a green dot at the bottom of the indicator panel.
Bearish Entry Signal
A bearish entry signal is generated when the RSI crosses below the signal line. This crossover indicates that current momentum has decelerated below its recent average, suggesting increasing bearish pressure. The signal is displayed as a red dot at the top of the indicator panel.
The Repainting Problem and Solution
Repainting occurs when an indicator displays a signal while a candle is still forming, then removes or relocates that signal after subsequent price action invalidates the condition. This creates false historical records where the chart appears to show perfect signals that never actually existed in real-time. Repainting indicators produce misleading backtest results and unreliable live trading signals.
Quantum RSI Fusion addresses repainting through the "Confirm Signals at Candle Close" option, which is enabled by default.
When enabled, crossover signals are evaluated using the barstate.isconfirmed condition, which returns true only after a candle has fully closed and its values are finalized. This means:
A bullish crossover that occurs during an intrabar price spike will not display a signal until the candle closes. If the crossover is negated before close, no signal ever appears.
Once a signal appears after candle close, it is permanent. The historical record accurately reflects only signals that were confirmed in real-time.
Backtesting results align with what a live trader would have experienced, enabling realistic strategy evaluation.
When disabled, signals appear in real-time as the candle forms. This provides earlier notification of potential setups but comes with the explicit understanding that signals may appear and subsequently disappear if price reverses before candle close. This mode is appropriate only for traders who want real-time monitoring of forming conditions and fully understand the repainting implications.
Trend Filter — Aligning Signals with Market Direction
The optional EMA-based trend filter restricts crossover signals to those aligned with the prevailing market trend, significantly reducing false signals in trending markets.
How the Trend Filter Works
An Exponential Moving Average of the specified length (default 200 periods) is calculated on the close price of the current chart timeframe. This EMA serves as a dynamic trend reference:
-When the current close is above the EMA, the market is considered to be in an uptrend.
-When the current close is below the EMA, the market is considered to be in a downtrend.
-With the trend filter enabled:
-Bullish crossover signals appear only when price is above the EMA (uptrend confirmed).
-Bearish crossover signals appear only when price is below the EMA (downtrend confirmed).
Counter-trend signals are suppressed entirely. A bullish RSI crossover that occurs while price is below the EMA will not generate a signal. A bearish RSI crossover while price is above the EMA will not generate a signal.
Rationale and Use Cases
Trend-following is among the most robust trading methodologies across markets and timeframes. By filtering signals to align with the trend, the indicator eliminates many low-probability setups where momentum is temporarily shifting against the dominant direction only to resume trend shortly after.
The 200-period EMA is a widely recognized long-term trend reference on daily charts. On intraday charts, 200 periods represent the trend over the most recent 200 bars of the selected timeframe. Traders may adjust this value based on their timeframe and style:
-Shorter EMAs (50–100) capture intermediate-term trends and allow more signals through.
-Longer EMAs (200+) capture only major trends and filter more aggressively.
For ranging markets, mean-reversion strategies, or when intentionally trading counter-trend rotations, the trend filter should be disabled to allow all crossover signals.
Higher Timeframe RSI — Multi-Timeframe Analysis
The higher timeframe RSI feature allows you to source the RSI calculation from a timeframe higher than your chart, enabling multi-timeframe confluence without switching charts.
Example of a 15 m timeframe and 4 h higher timeframe
Practical Application
Consider a trader viewing a 5-minute chart for entry timing. With HTF RSI enabled and set to 60 minutes (1 hour), the indicator displays the hourly RSI values on the 5-minute chart. This provides visibility into the larger-timeframe momentum context:
If the hourly RSI is in a bullish state (above signal line, above midline), the trader knows that the higher timeframe momentum supports bullish entries and may be more confident taking long setups.
If the hourly RSI is in a bearish state, the trader may avoid bullish setups or tighten risk management knowing they are trading against higher-timeframe momentum.
Non-Repainting Implementation
The higher timeframe data is fetched using request.security() with lookahead explicitly set to barmerge.lookahead_off. This prevents the indicator from accessing future HTF data that would not have been available in real-time.
The HTF RSI value updates only when a new bar closes on the higher timeframe. Between HTF bar closes, the value remains constant. This is correct and expected behavior — it reflects the actual information that would have been available to a trader monitoring the higher timeframe in real-time.
Macro Divergence Detection — Identifying Potential Reversals
Classical divergences between price and momentum oscillators are among the most powerful early warning signals for potential trend exhaustion and reversal. Quantum RSI Fusion includes a pivot-based macro divergence detection system.
Understanding Classical Divergences
-Bullish Divergence occurs when price makes a lower low (new swing low below the previous swing low) while the RSI makes a higher low (the RSI value at the new price low is higher than the RSI value at the previous price low). This divergence indicates that although price is reaching new lows, the selling momentum required to push it there is weakening. The underlying energy driving the downtrend is dissipating, which often precedes a reversal or significant bounce.
-Bearish Divergence occurs when price makes a higher high (new swing high above the previous swing high) while the RSI makes a lower high (the RSI value at the new price high is lower than the RSI value at the previous price high). This divergence indicates that although price is reaching new highs, the buying momentum required to push it there is weakening. The underlying energy driving the uptrend is dissipating, which often precedes a reversal or pullback.
Example of divergences:
Pivot-Based Detection Method
The indicator identifies divergences using pivot point analysis. A pivot low is confirmed when a bar's RSI value is lower than the RSI values of a specified number of bars to its left (Pivot Left Lookback) and a specified number of bars to its right (Pivot Right Lookback). A pivot high is confirmed analogously for RSI highs.
The Pivot Right Lookback parameter is critical: it represents the number of bars required to confirm that a pivot has occurred. A pivot can only be identified after these confirmation bars have elapsed. This means divergence signals inherently appear with a delay equal to the Pivot Right Lookback value.
The divergence labels are plotted with a negative offset equal to Pivot Right Lookback, placing them at the correct historical bar where the pivot actually occurred. This maintains accurate visual alignment on the chart.
Non-Repainting Characteristics
Because pivots require right-side confirmation before being identified, divergence signals do not repaint in the traditional sense. Once a divergence label appears on the chart, it will not disappear. However, traders must understand that divergences are not real-time signals — they are identified only after confirmation, meaning the actual pivot occurred several bars earlier.
This is an inherent characteristic of pivot-based divergence detection across all platforms and indicators, not a limitation specific to this implementation. The delay is the cost of confirmation reliability.
Using Divergences Effectively
Divergences are confluence tools, not standalone entry signals. A divergence indicates potential exhaustion but does not guarantee reversal. Price can continue trending despite divergence, sometimes for extended periods.
Effective divergence usage involves:
Combining divergence with other confirming factors such as support/resistance levels, candlestick patterns, or trend filter alignment.
Waiting for price confirmation after divergence appears, such as a subsequent bullish crossover signal following a bullish divergence.
Recognizing that divergences on higher timeframes carry more significance than those on lower timeframes.
Overbought and Oversold Zones — Contextualizing Extreme Readings
The indicator includes configurable overbought and oversold levels with optional background highlighting.
Adjusted Default Levels
The default overbought level is set to 60 and the default oversold level is set to 40, rather than the traditional 70/30 levels used with standard RSI.
This adjustment reflects the mathematical characteristics of the range-normalized RSI calculation. Because this RSI responds to range dynamics rather than simple directional closes, its values tend to cluster closer to the 50 midline than standard Wilder RSI. The oscillator spends more time in the 40–60 zone and reaches traditional extreme levels (above 70 or below 30) less frequently.
The adjusted default levels ensure that overbought and oversold readings occur with meaningful frequency while still representing genuine extreme conditions.
Customization Guidelines
Traders should adjust these levels based on their specific instrument and timeframe:
Highly volatile instruments that exhibit wider RSI swings may warrant more extreme levels (65–70 overbought, 30–35 oversold).
Lower volatility instruments or longer timeframes where the RSI rarely reaches extremes may warrant tighter levels (55–60 overbought, 40–45 oversold).
Observing the RSI behavior on historical data for your specific instrument will reveal the appropriate levels for that context.
Background Visualization
When the "Show Overbought/Oversold Background" option is enabled, the zones above the overbought level (to 100) and below the oversold level (to 0) are filled with subtle colored backgrounds. This provides immediate visual recognition when the RSI enters extreme territory without requiring precise level monitoring.
Midline Reference and Context Fills
The 50 midline serves as the equilibrium reference for the RSI. Values above 50 indicate net bullish momentum over the lookback period; values below 50 indicate net bearish momentum.
The indicator fills the space between the signal line and the midline with configurable colors:
When the signal line is above 50, the fill uses the "Midline Fill — Signal Above 50" color, providing a visual background indicating bullish bias.
When the signal line is below 50, the fill uses the "Midline Fill — Signal Below 50" color, indicating bearish bias.
This fill provides at-a-glance context for the overall momentum state beyond just the RSI-to-signal relationship. A bullish crossover that occurs while both the RSI and signal are above 50 represents momentum accelerating within an already bullish context — generally a higher-probability setup than a bullish crossover occurring below 50 where overall momentum remains bearish.
Main Chart Candle Coloring
When enabled, the "Color Main Chart Candles" option overlays colored candles on your price chart based on the RSI-to-signal-line relationship:
Candles are colored with the bullish ribbon color when the RSI is above the signal line.
Candles are colored with the bearish ribbon color when the RSI is below the signal line.
This feature allows traders to monitor momentum state directly on the price chart without visually referencing the indicator panel. It is particularly useful for traders who prefer minimalist chart setups or who want momentum context while focusing on price action and structure.
The colored candles are overlaid using PulseWire's force_overlay capability, which projects the candle plot from this non-overlay indicator onto the main price chart.
Alert System — Comprehensive Notification Coverage
Quantum RSI Fusion includes eight configurable alert conditions covering all significant indicator events:
-Bullish Entry Signal — Triggers when the RSI crosses above the signal line with confirmation (if enabled). The alert message includes the ticker symbol and timeframe for context.
-Bearish Entry Signal — Triggers when the RSI crosses below the signal line with confirmation (if enabled).
-Bullish Macro Divergence — Triggers when a bullish divergence is detected and confirmed via pivot analysis.
-Bearish Macro Divergence — Triggers when a bearish divergence is detected and confirmed.
-RSI Entered Overbought Zone — Triggers when the RSI value rises above the overbought level.
-RSI Entered Oversold Zone — Triggers when the RSI value falls below the oversold level.
-RSI Crossed Above Midline — Triggers when the RSI crosses above 50, indicating a shift from bearish to bullish momentum.
-RSI Crossed Below Midline — Triggers when the RSI crosses below 50, indicating a shift from bullish to bearish momentum.
All alert messages include {{ticker}} and {{interval}} placeholders, which PulseWire automatically replaces with the symbol and timeframe when the alert triggers. This ensures you know exactly which chart generated the alert when monitoring multiple instruments.
Matrix Panel — Multi-Layer Confluence Dashboard
The matrix panel is an optional on-chart dashboard that provides instant visual assessment of the indicator's multiple analytical layers and their alignment status. Rather than requiring the trader to mentally synthesize information from the oscillator panel, trend context, and multiple timeframes, the matrix presents a consolidated view of each layer's current state and a computed confluence result.
Understanding the Matrix Structure
The matrix displays four rows, each representing a distinct analytical layer:
Row 1 — Macro Trend
This row reflects the EMA-based trend filter status. When the trend filter is enabled and price is above the EMA, the status displays "BULLISH" in the configured bullish color. When price is below the EMA, it displays "BEARISH" in the bearish color. When the trend filter is disabled in the indicator settings, this row displays "DISABLED" in the neutral color.
The macro trend represents the highest-level directional context based on the price chart itself, independent of the RSI oscillator. It answers the question: "What is the overall market direction according to the EMA?"
Row 2 — HTF RSI
This row reflects the higher timeframe RSI momentum status. When the HTF RSI feature is enabled and the higher timeframe RSI value is above 50 (the equilibrium midline), the status displays "BULLISH." When the HTF RSI is below 50, it displays "BEARISH." When the HTF RSI feature is disabled, this row displays "DISABLED."
The HTF RSI provides momentum context from a larger timeframe, helping traders understand whether the broader market momentum supports their current timeframe analysis. A trader on a 15-minute chart can instantly see whether the hourly or 4-hour RSI momentum aligns with their setup.
Row 3 — Micro RSI
This row reflects the current chart timeframe's RSI-to-signal-line relationship. When the RSI is above its signal line, indicating bullish momentum acceleration, the status displays "BULLISH." When the RSI is below the signal line, indicating bearish momentum, it displays "BEARISH."
This layer is never disabled as it represents the core functionality of the indicator. It answers the question: "What is the immediate momentum direction based on the RSI crossover system?"
Row 4 — Result
The result row synthesizes all enabled layers and displays a confluence-based directional bias:
LONG — Displayed when ALL enabled layers align bullish. If the trend filter is enabled, price must be above the EMA. If the HTF RSI is enabled, it must be above 50. The micro RSI must be above the signal line. When all conditions that are active simultaneously agree on bullish direction, the result is LONG. This represents maximum confluence for bullish positioning.
SHORT — Displayed when ALL enabled layers align bearish. If the trend filter is enabled, price must be below the EMA. If the HTF RSI is enabled, it must be below 50. The micro RSI must be below the signal line. When all active conditions agree on bearish direction, the result is SHORT. This represents maximum confluence for bearish positioning.
WAIT — Displayed when enabled layers conflict or contradict each other. For example, if the macro trend is bullish (price above EMA) but the micro RSI is bearish (RSI below signal), the result is WAIT. This indicates that the analytical layers are not aligned and the trader should wait for confluence before committing to a directional position.
Confluence Logic and Disabled Layers
When a layer is disabled, it is treated as neutral in the confluence calculation — it neither supports nor blocks the result. This means:
If you disable the trend filter, only the HTF RSI (if enabled) and micro RSI are evaluated for confluence. If both agree bullish, the result is LONG even though the trend filter is not contributing.
If you disable both the trend filter and HTF RSI, only the micro RSI determines the result — LONG when RSI is above signal, SHORT when below.
This flexible logic allows traders to customize which layers they consider important for their strategy while still receiving a synthesized confluence assessment based on their active configuration.
Customization Options
The matrix panel includes extensive customization to fit various chart themes and preferences:
Position can be set to any of six locations: Top Right, Middle Right, Bottom Right, Top Left, Middle Left, or Bottom Left. Choose a position that does not obstruct your view of the RSI oscillator or critical price levels.
Text size can be adjusted from Tiny to Large depending on your screen resolution and chart size.
Header background color controls the left column (row labels). Default is black for high contrast with white text.
Value background color controls the right column (status values). Default is white to make the colored status text clearly visible.
Bullish, bearish, and neutral text colors can be customized to match your chart color scheme or personal preference.
Practical Use of the Matrix
The matrix serves as a decision-support tool that reduces cognitive load during trading. Instead of separately checking:
Is price above or below the trend EMA?
Is the higher timeframe RSI bullish or bearish?
Is the current RSI above or below its signal?
Do all of these align?
The trader simply glances at the matrix result:
A LONG result provides confidence that all configured analytical layers support bullish positioning. Combined with a fresh bullish crossover signal, this represents a high-confluence long entry.
A SHORT result provides confidence that all configured analytical layers support bearish positioning. Combined with a fresh bearish crossunder signal, this represents a high-confluence short entry.
A WAIT result warns the trader that conditions are mixed. Even if a crossover signal appears, the lack of full confluence suggests caution. The trader may choose to pass on the trade, reduce position size, or wait for the conflicting layer to align.
The matrix does not generate trading signals itself — the crossover signals (green and red dots) remain the primary entry triggers. The matrix provides contextual assessment of whether those signals are supported by broader confluence.
How Components Work Together as an Integrated System
The individual features of Quantum RSI Fusion are designed to interact and reinforce each other:
The range-normalized RSI provides a momentum reading sensitive to volatility dynamics. The signal line smooths this reading to define trend direction within the oscillator. Crossovers between RSI and signal identify momentum acceleration shifts.
The trend filter ensures these momentum shifts align with the larger price trend, filtering out low-probability counter-trend signals. The candle-close confirmation ensures signals are final and non-repainting.
Divergences provide early warning of potential trend exhaustion, alerting traders to monitor for subsequent crossover signals that would confirm the reversal. The overbought/oversold zones contextualize divergences — a bullish divergence occurring in oversold territory carries more weight than one occurring near the midline.
The higher timeframe RSI option allows traders to verify that their current-timeframe signals align with higher-timeframe momentum, providing multi-timeframe confluence without chart switching.
The matrix panel synthesizes all of these layers into a single confluence assessment, immediately showing the trader whether conditions are aligned (LONG/SHORT) or conflicted (WAIT).
The visual system — ribbon fills, midline fills, candle coloring — provides instant pattern recognition without requiring numerical analysis, enabling faster decision-making.
Practical Application Across Markets and Trading Styles
This indicator is designed for universal application across all markets and asset classes where PulseWire provides data: stocks, ETFs, forex, cryptocurrencies, futures, indices, bonds, and commodities.
Scalping (1-minute to 5-minute charts)
For scalping, consider reducing the RSI length and signal length to 7–10 for faster response. Use EMA smoothing for the signal line. The trend filter can use a shorter EMA (50–100 periods) to define the intraday trend, or be disabled entirely if scalping mean-reversion setups. Keep candle-close confirmation enabled to ensure signals are reliable, accepting the one-candle delay. Volume weighting can be valuable for instruments with reliable volume data, helping to emphasize moves with participation. Divergences are less relevant on very short timeframes due to noise. The matrix provides instant confluence checks even at high-speed trading paces.
Day Trading (5-minute to 1-hour charts)
Default settings work well for day trading. The 14-period RSI and signal with RMA smoothing provide balanced sensitivity. Enable the trend filter with a 100–200 period EMA appropriate to your timeframe. Keep candle-close confirmation enabled. Consider enabling HTF RSI to monitor hourly or 4-hour momentum while timing entries on lower timeframes. Divergences can provide useful context for potential intraday reversals. The matrix is particularly valuable for day traders managing multiple instruments, providing at-a-glance confluence status.
Swing Trading (1-hour to Daily charts)
For swing trading, default or slightly longer settings (RSI 14–21, signal 14–21) work well. RMA or TMA smoothing reduces noise for multi-day holds. Enable the 200-period EMA trend filter to align with the dominant trend. Enable divergences to identify potential swing reversal points — divergences on these timeframes carry significant weight. HTF RSI (daily while on 4-hour, or weekly while on daily) provides valuable context. The matrix helps confirm swing entries by showing alignment across all timeframes and trend layers.
Position Trading and Investing (Daily to Weekly charts)
For longer-term positions, use extended RSI and signal lengths (21–50) to smooth out daily noise and focus on significant momentum shifts. Use the 200-period EMA trend filter to identify primary trends. Divergences on daily and weekly timeframes can signal major inflection points. TMA smoothing for the signal line provides the cleanest long-term signal. The matrix can be configured with HTF RSI on weekly or monthly timeframes to confirm major trend alignment for portfolio-level decisions.
What Makes This Implementation Original
While inspired by LuxAlgo's Ultimate RSI concept, this implementation includes substantial structural differences and additions:
-The range-normalized momentum calculation responds to high-low range dynamics rather than close-to-close changes, providing different behavior during breakouts, breakdowns, and consolidations compared to standard RSI.
-Optional volume weighting integrates participation data into momentum measurement.
-Four selectable signal smoothing methods allow customization of signal line responsiveness.
-The integrated EMA trend filter with user-configurable length provides trend alignment without requiring a separate indicator.
-Pivot-based macro divergence detection with configurable lookback parameters identifies classical divergences automatically.
-Higher timeframe RSI sourcing enables multi-timeframe analysis within a single indicator.
-The candle-close confirmation system provides robust non-repainting guarantees for all crossover signals.
-The multi-layer confluence matrix panel synthesizes trend filter status, HTF RSI bias, and current RSI state into an instant LONG/SHORT/WAIT assessment — a unique decision-support feature not found in standard RSI implementations.
-Full alert coverage across eight distinct conditions enables comprehensive automated monitoring.
-Customizable visual elements including ribbon colors, midline fills, overbought/oversold backgrounds, main chart candle coloring, and extensive matrix styling options allow adaptation to any chart theme and visual preference.
-These components work together as a unified system rather than a collection of independent features, with each element reinforcing signal quality and context.
Disclaimer
This indicator is a technical analysis tool intended for educational and informational purposes. It does not constitute financial advice, investment advice, trading advice, or any other form of advice. No indicator, regardless of sophistication, can predict future price movements with certainty or guarantee profitable trading outcomes.
Trading financial instruments involves substantial risk of loss. You should only trade with capital you can afford to lose. Past performance of any trading system, methodology, or indicator is not indicative of future results.
Always conduct your own research, combine indicator signals with your own analysis of market structure and context, apply proper risk management including appropriate position sizing and stop-loss placement, and consider consulting with a qualified financial advisor before making trading decisions.
The developer assumes no responsibility for any financial losses incurred through the use of this indicator.
Indicator

DDCA Composite Risk MetricA single 0–1 risk oscillator for Dynamic Dollar-Cost Averaging into Bitcoin. Combines 19 cross-domain indicators into one actionable signal — low readings mean opportunity, high readings mean risk.
What It Does
Instead of watching dozens of charts and trying to "feel" the market, this indicator distills macro conditions, on-chain data, technical structure, and sentiment into a single number between 0 and 1. That number maps directly to how aggressively you should be buying or selling.
0.0 = maximum opportunity → 1.0 = maximum risk
The indicator plots as a color-gradient line with 7 labeled action bands, a real-time score table, and an optional execution multiplier for position sizing.
The 19 Indicators
Organized into 4 weighted tiers:
TIER 1 — MACRO & LIQUIDITY (25%)
Answers: Is the environment cheap?
① FED Rate Direction — monetary policy stance
② Global M2 YoY — liquidity expansion/contraction
③ FED Balance Sheet — net liquidity proxy
④ US Real Yields — opportunity cost of risk assets
⑤ Unemployment Trend — economic stress signal
⑥ DXY Dollar Index — USD strength headwind/tailwind
TIER 2 — ON-CHAIN (35%)
Answers: Is there capitulation NOW?
⑦ MVRV Z-Score — market value vs realized value
⑧ NUPL — net unrealized profit/loss
⑨ Puell Multiple — miner revenue stress
⑩ LTH Behavior Proxy — price vs 365 SMA
⑪ Hash Ribbons — miner capitulation signal
TIER 3 — TECHNICAL (30%)
Answers: Is price at a structural bottom/top?
⑫ 200-Week MA Ratio — long-term mean reversion
⑬ Bull Market Support Band — trend health
⑭ Pi Cycle Top — cycle peak detection
⑮ BTC Dominance — capital rotation signal
⑯ Log Regression Band — position within long-term channel
⑰ Stablecoin Supply Ratio (SSR) — dry powder on sidelines
TIER 4 — SENTIMENT (10%)
Answers: Is the crowd panicking or euphoric?
⑱ Fear & Greed Proxy — volatility + momentum composite
⑲ Altcoin Breadth — speculative froth measurement
Each indicator uses adaptive normalization (percentile rank + rate-of-change blending) to stay calibrated across market regimes. A sigmoid rescale compresses extremes while keeping the middle responsive.
Action Bands
The composite maps to 7 symmetric zones centered on 0.50:
🟢 < 0.25 — ALL-IN → Maximum deployment, historically rare
🟢 0.25–0.35 — STRONG BUY → Aggressive accumulation
🟢 0.35–0.45 — BUY → Favorable conditions, steady buying
🟡 0.45–0.55 — HOLD → Neutral, do nothing
🔴 0.55–0.65 — SELL → Begin distribution
🔴 0.65–0.75 — STRONG SELL → Accelerated profit-taking
🔴 > 0.75 — ALL-OUT → Maximum risk, aggressive selling
Execution Layer (Optional)
Toggle "Show Execution Multiplier" in settings to overlay a position-sizing curve. The multiplier tells you how much to scale your base weekly allocation:
Buy side: Continuous curve from the HOLD boundary (0.45) down to the clamp point (0.15), where multiplier = 5×. At the buy pivot (0.35), multiplier = exactly 1.0×.
Sell side: Mirror curve from the HOLD boundary (0.55) up to the clamp point (0.85), where multiplier = 5×. At the sell pivot (0.60), multiplier = exactly 1.0×.
HOLD zone (0.45–0.55): Multiplier = 0. No action.
All parameters (ceiling, pivot, power, clamp) are fully configurable. The curve shape uses derived power exponents so that the maximum multiplier (5×) lands precisely at the clamp boundaries without any artificial cap.
How To Use
Weekly workflow:
Check the composite reading every Monday (buy day) and Wednesday (sell day)
Read the band label — it tells you what to do
If using the execution layer, multiply your base allocation by the multiplier
Enter your position
Customization:
Toggle individual tiers ON/OFF to see the composite with or without macro - Adjust individual indicator weights (must sum to 100) - Enable sub-score plots for debugging tier-level behavior - All execution layer parameters are editable in the settings panel
Design Philosophy
This indicator is built for portfolio management, not trading. It pushes you toward action rather than inaction — the narrow HOLD zone (only 10% of the range) means you're almost always either accumulating or distributing. The 7-band system is symmetric by design, and the continuous multiplier curve eliminates artificial cliff edges between zones.
The macro tier compresses the composite's range (typical operating band: 0.15–0.85 with macro enabled vs 0.05–0.95 without). This is intentional — macro conditions act as a stabilizer that prevents overreaction to short-term on-chain or technical signals.
Data Sources
Uses 22 request.security() calls pulling from FRED (macro), QUANDL/BLOCKCHAIN (on-chain), and standard BTC price data (technical + sentiment). All on-chain proxies are constructed from publicly available PulseWire data — no external API required.
Not financial advice. This is a systematic framework for informed decision-making, not a guarantee of returns. Always do your own research. Indicator

DDCA Composite Risk MetricA single 0–1 risk oscillator for Dynamic Dollar-Cost Averaging into Bitcoin. Combines 19 cross-domain indicators into one actionable signal — low readings mean opportunity, high readings mean risk.
What It Does
Instead of watching dozens of charts and trying to "feel" the market, this indicator distills macro conditions, on-chain data, technical structure, and sentiment into a single number between 0 and 1. That number maps directly to how aggressively you should be buying or selling.
0.0 = maximum opportunity → 1.0 = maximum risk
The indicator plots as a color-gradient line with 7 labeled action bands, a real-time score table, and an optional execution multiplier for position sizing.
The 19 Indicators
Organized into 4 weighted tiers:
TIER 1 — MACRO & LIQUIDITY (25%)
Answers: Is the environment cheap?
① FED Rate Direction — monetary policy stance
② Global M2 YoY — liquidity expansion/contraction
③ FED Balance Sheet — net liquidity proxy
④ US Real Yields — opportunity cost of risk assets
⑤ Unemployment Trend — economic stress signal
⑥ DXY Dollar Index — USD strength headwind/tailwind
TIER 2 — ON-CHAIN (35%)
Answers: Is there capitulation NOW?
⑦ MVRV Z-Score — market value vs realized value
⑧ NUPL — net unrealized profit/loss
⑨ Puell Multiple — miner revenue stress
⑩ LTH Behavior Proxy — price vs 365 SMA
⑪ Hash Ribbons — miner capitulation signal
TIER 3 — TECHNICAL (30%)
Answers: Is price at a structural bottom/top?
⑫ 200-Week MA Ratio — long-term mean reversion
⑬ Bull Market Support Band — trend health
⑭ Pi Cycle Top — cycle peak detection
⑮ BTC Dominance — capital rotation signal
⑯ Log Regression Band — position within long-term channel
⑰ Stablecoin Supply Ratio (SSR) — dry powder on sidelines
TIER 4 — SENTIMENT (10%)
Answers: Is the crowd panicking or euphoric?
⑱ Fear & Greed Proxy — volatility + momentum composite
⑲ Altcoin Breadth — speculative froth measurement
Each indicator uses adaptive normalization (percentile rank + rate-of-change blending) to stay calibrated across market regimes. A sigmoid rescale compresses extremes while keeping the middle responsive.
Action Bands
The composite maps to 7 symmetric zones centered on 0.50:
🟢 < 0.25 — ALL-IN → Maximum deployment, historically rare
🟢 0.25–0.35 — STRONG BUY → Aggressive accumulation
🟢 0.35–0.45 — BUY → Favorable conditions, steady buying
🟡 0.45–0.55 — HOLD → Neutral, do nothing
🔴 0.55–0.65 — SELL → Begin distribution
🔴 0.65–0.75 — STRONG SELL → Accelerated profit-taking
🔴 > 0.75 — ALL-OUT → Maximum risk, aggressive selling
Execution Layer (Optional)
Toggle "Show Execution Multiplier" in settings to overlay a position-sizing curve. The multiplier tells you how much to scale your base weekly allocation:
Buy side:
Continuous curve from the HOLD boundary (0.45) down to the clamp point (0.15), where multiplier = 5×. At the buy pivot (0.35), multiplier = exactly 1.0×.
Sell side:
Mirror curve from the HOLD boundary (0.55) up to the clamp point (0.85), where multiplier = 5×. At the sell pivot (0.60), multiplier = exactly 1.0×.
HOLD zone (0.45–0.55): Multiplier = 0. No action.
All parameters (ceiling, pivot, power, clamp) are fully configurable. The curve shape uses derived power exponents so that the maximum multiplier (5×) lands precisely at the clamp boundaries without any artificial cap.
How To Use
Weekly workflow:
Check the composite reading every Monday (buy day) and Wednesday (sell day)
Read the band label — it tells you what to do
If using the execution layer, multiply your base allocation by the multiplier
Enter your position
Customization:
Toggle individual tiers ON/OFF to see the composite with or without macro
Adjust individual indicator weights (must sum to 100)
Enable sub-score plots for debugging tier-level behavior
All execution layer parameters are editable in the settings panel
Design Philosophy
This indicator is built for portfolio management, not trading. It pushes you toward action rather than inaction — the narrow HOLD zone (only 10% of the range) means you're almost always either accumulating or distributing. The 7-band system is symmetric by design, and the continuous multiplier curve eliminates artificial cliff edges between zones.
The macro tier compresses the composite's range (typical operating band: 0.15–0.85 with macro enabled vs 0.05–0.95 without). This is intentional — macro conditions act as a stabilizer that prevents overreaction to short-term on-chain or technical signals.
Data Sources
Uses 22 request.security() calls pulling from FRED (macro), QUANDL/BLOCKCHAIN (on-chain), and standard BTC price data (technical + sentiment). All on-chain proxies are constructed from publicly available PulseWire data — no external API required.
Not financial advice. This is a systematic framework for informed decision-making, not a guarantee of returns. Always do your own research. Indicator

Synthetic IV Rank [UAlgo]Synthetic IV Rank is a volatility analysis indicator that creates a practical proxy for IV Rank when direct options implied volatility data is not available. Instead of reading an options chain, the script estimates a synthetic volatility series from price action using a Yang Zhang style historical volatility model, then normalizes that value into a 0 to 100 rank across a user defined lookback window.
This makes the tool especially useful for traders who want an IV Rank style workflow on instruments or markets where true implied volatility is unavailable, limited, or inconsistent. The indicator can be used on stocks, indices, forex, commodities, and crypto, with a dedicated Crypto Mode for annualization based on 365 days.
The script is built as a separate pane indicator and focuses on clear regime awareness. It plots a smooth IV Rank line, adds visual threshold references for high and low volatility zones, and shows a live status label on the most recent bar with both the current rank and the raw synthetic volatility value. The overall design makes it suitable for fast regime checks, mean reversion context, premium selling style filters, and volatility expansion monitoring.
Important note: This is a synthetic IV Rank approximation based on historical price volatility. It is not a substitute for true options implied volatility from an options chain.
🔹 Features
🔸 1) Synthetic IV Rank Using a Yang Zhang Style Volatility Model
The indicator estimates volatility from price data using a Yang Zhang style framework, then converts that estimate into an IV Rank style percentile scale. This gives users an IV Rank like signal even when broker feeds do not provide options implied volatility.
🔸 2) Engine Based Design with Structured Inputs
The script uses a custom VolatilityEngine type to organize the core calculation parameters:
hv_length for volatility estimation length
lookback_length for IV Rank normalization window
annual_factor for market specific annualization
This structure makes the logic easier to maintain and extend.
🔸 3) Stock and Crypto Annualization Modes
The engine supports two annualization conventions through a simple input toggle:
252 day convention for traditional markets
365 day convention for crypto markets
This is a practical detail because the same raw volatility process can produce different annualized values depending on the asset class.
🔸 4) Robust IV Rank Normalization with Safe Fallback
The script computes IV Rank by comparing the current synthetic volatility value against the lowest and highest values over the selected lookback period. If the range collapses to zero, the script safely assigns a neutral rank of 50 instead of causing a division issue.
This improves reliability in flat or low variance periods.
🔸 5) Clear Regime Visualization
The indicator includes a strong visual layout designed for quick interpretation:
A main IV Rank line
A mid reference line at 50
High and low threshold markers at 80 and 20
Gradient fills that visually emphasize extreme zones
This helps users recognize volatility regime shifts at a glance.
🔸 6) Dynamic Last Bar Status Labels
On the latest bar, the script prints a compact status label that shows:
Current IV Rank value
Regime label such as EXTREME FEAR, COMPLACENCY, or NEUTRAL
It also adds a secondary information label showing the raw Yang Zhang synthetic volatility percentage. This gives both normalized context and raw measurement at the same time.
🔸 7) Practical Regime Classification
The script uses simple but effective thresholds for regime tagging:
Above 80 signals elevated volatility conditions
Below 20 signals compressed volatility conditions
Between 20 and 80 is treated as neutral
These thresholds align with common IV Rank style interpretation used in discretionary and systematic workflows.
🔹 Calculations
1) Engine Initialization
On the first bar, the script initializes the custom volatility engine and stores:
The Yang Zhang calculation length
The IV Rank lookback window
The annualization factor based on asset class mode
If Crypto Mode is enabled, the annual factor uses the square root of 365. Otherwise it uses the square root of 252.
2) Synthetic Volatility Source Series
The indicator computes a Yang Zhang style historical volatility estimate from OHLC data. The model combines multiple variance components so it can capture more market behavior than a simple close to close volatility series.
The script calculates:
A first variance component labeled as overnight in the comments
An open to close variance component
A Rogers Satchell style intraday variance component from high, low, open, and close relationships
3) First Variance Component (Commented as Overnight)
In the current implementation, the first component is built from the logarithmic return of close / close , and its rolling variance is measured over the user defined length.
This is important to note because the code comments describe an overnight style component, while the actual formula uses consecutive closes in the current version.
4) Open to Close Variance Component
The script computes the logarithmic open to close return log(close / open) and then applies a rolling variance over the selected length. This measures intrabar movement relative to the bar open.
5) Rogers Satchell Intraday Variance Component
To improve intraday variance estimation, the script calculates a Rogers Satchell style daily variance term using four logarithmic relationships derived from high, low, open, and close. It then smooths this with a rolling simple average across the same volatility length.
This component is useful because it incorporates more intrabar range information than a simple close based measure.
6) Yang Zhang Weighting Factor
The script computes a weighting coefficient k that depends on the volatility length. This weight balances the contribution of the open to close variance and the Rogers Satchell component in the final combined variance.
The implementation follows the standard Yang Zhang style weighting formula shown in the script comments.
7) Combined Synthetic Volatility and Annualization
After computing the variance components, the script combines them into a single Yang Zhang style variance estimate, takes the square root to obtain volatility, and annualizes the result with the engine annual factor. The final synthetic volatility value is expressed as a percentage.
In practical terms, this output is the raw volatility series that the script later converts into Synthetic IV Rank.
8) IV Rank Calculation
The IV Rank logic measures where the current synthetic volatility sits relative to its historical range over the selected lookback:
It finds the lowest synthetic volatility in the lookback window
It finds the highest synthetic volatility in the lookback window
It scales the current value to a 0 to 100 rank
If the lookback range is flat, the script assigns 50.0 as a neutral fallback.
This normalization step is what makes the output behave like an IV Rank style regime indicator rather than a raw volatility plot.
9) Regime State Classification
On the latest bar, the script assigns a text state from the current IV Rank:
EXTREME FEAR when rank is above 80
COMPLACENCY when rank is below 20
NEUTRAL otherwise
The label color also changes with the state, which improves visual scanning.
10) Visual Layer Logic
The visualization includes:
A plotted IV Rank line
Hidden boundary plots for fill anchors
Visible threshold markers at 80 and 20
A midpoint reference line at 50
Gradient fills for high volatility and low volatility zones
The fill logic visually intensifies as the IV Rank moves deeper into an extreme zone, helping users identify volatility compression and expansion phases quickly.
11) What This Indicator Represents in Practice
This script is best understood as a normalized historical volatility regime tool designed to mimic the workflow of IV Rank when direct implied volatility data is not available. It is excellent for context filtering and regime awareness, but it should not be interpreted as a true options market implied volatility feed. Indicator

Strategy

Sati Dashboard 9-Box (Position Fixed)ATI Dashboard 9-Box (Position Fixed) is a trade management system built as a “Stable Architecture of Mindfulness”—turning market complexity into a simple checklist to reduce emotional decisions and strengthen discipline.
Core Philosophy
“Not to be the most accurate entry machine, but to keep you from losing your mind.”
This system isn’t designed to make you chase price arrows. It’s designed to verify market readiness across four key dimensions—Structure, Momentum, Context, and Volume—before you commit capital.
Key Features
9-Box Checklist Dashboard: A 9-cell binary (Yes/No) checklist that filters out market noise.
Structure: Validates price structure using EMA 21 and EMA 50.
Momentum: Confirms driving force via RSI and price swing/impulse strength.
Context: Confirms the higher-timeframe trend using 1H, so you don’t trade against the main trend.
Volume & Volatility: Confirms sufficient trading volume and appropriate volatility.
Signal Stability: An intelligent signal filter that reduces whipsaw in sideways markets by locking the BUY signal until a clear exit condition appears.
Hard Exit Protection: Triggers an immediate exit alert when structure breaks (e.g., a candle closes beyond the Base Line) to protect capital before major damage occurs.
Customizable UI (Position Fixed): You can move the Dashboard to different screen corners via Settings (Top Right, Bottom Left, etc.) to fit both desktop and mobile screens.
How to Use
Wait for the Checklist: Watch the 9-box Dashboard. If more than 6–7 boxes turn green (✓), the market is considered highly ready.
Entry: Enter when the “BUY” label appears while the readiness score meets the threshold.
Exit: Consider closing when “HARD EXIT” (red X) appears, or when multiple boxes start turning red (X), indicating weakening structure.
Settings
Dashboard Position: Choose the corner where the panel will appear.
Minimum Score: Adjust how “strict” the signal is (recommended: 7 for higher accuracy).
Base Line: Adjust the EMA value to match your preferred timeframe.
Risk Disclaimer: Trading involves risk. This indicator is only a decision-support tool based on statistics and mathematics. Users must apply their own risk management at all times.
Indicator

Crypto Fear & Greed IndexCrypto Fear & Greed Index
Sentiment drives crypto more than most people want to admit. The problem is that most sentiment gauges live outside your charts — you can't overlay them, backtest against them, or set alerts. So I built one that runs entirely on native PulseWire data.
What's in it:
Five components, each capturing a different angle of market psychology:
Volatility (25%) — Current realized vol vs a 30/90-day baseline. High volatility relative to recent history = fear. Calm markets = complacency/greed. This one's inverted — spikes in vol push the index down.
Momentum (25%) — Where price sits relative to its short and long moving averages. Well above both = greed. Well below = fear. Simple, but it works.
Volume (15%) — Not just raw volume, but directional volume. High volume in an uptrend reads as greed. High volume in a downtrend reads as fear. Low volume gets a neutral score regardless of direction.
BTC Dominance (15%) — When money rotates from alts back into BTC, that's a risk-off signal (fear). When BTC.D drops because people are aping into alts, that's greed. Measured as deviation from its own moving average baseline.
Stablecoin Dominance (20%) — Rising USDT.D means capital is parking in stables — people are scared. Falling USDT.D means money is flowing into risk assets. It's a surprisingly clean fear/greed proxy and serves as a stand-in for the social sentiment data that isn't available on-chart.
Reading it:
ScoreSentiment:
0–25 ExtremeFear
25–47 Fear
47–53 Neutral
53–75 Greed
75–100 Extreme Greed
The info table breaks down each component's individual score so you can see exactly what's driving the reading. If the composite says "Fear" but momentum is still showing greed, that tells you something different than all five components agreeing.
Customization:
All weights are adjustable if you disagree with the defaults. Lookback periods are configurable. Smoothing EMA is off by default (set to 1) but you can turn it up if you want a less noisy signal.
Setup:
Apply to BTCUSDT daily. The indicator pulls BTC.D and USDT.D automatically. Everything works out of the box on a free PulseWire plan.
Alerts included for extreme fear entries, extreme greed entries, and midline crosses.
Not financial advice. Just a tool I built for my own analysis and decided to share. Do your own research and manage your risk. Indicator

AMT Multi-Ticker Imbalance Dashboard [AMT] + Strength/Age ScoreAMT Multi-Ticker Imbalance Dashboard + Strength/Age Score
The AMT Multi-Ticker Imbalance Dashboard is a multi-asset volume imbalance scanner designed to detect, rank, and compare stacked buying or selling pressure across up to six symbols — all from a single chart.
This tool does not rely on simple candle direction or trend signals. Instead, it builds a structured micro-profile of price and volume distribution over a rolling lookback window, then identifies stacked volume dominance inside price bins. The result is a real-time dashboard that highlights where aggressive participation is building — and how strong and fresh that imbalance is.
What This Script Does
This script:
• Scans up to 6 user-defined tickers simultaneously
• Builds a rolling price-volume profile over a configurable lookback
• Detects stacked buy or sell imbalances inside price bins
• Measures imbalance strength (stack size)
• Tracks imbalance age (how recent it triggered)
• Calculates a weighted strength score
• Displays everything in a color-graded dashboard
It functions as a cross-market orderflow pressure monitor, helping traders identify where initiative activity is expanding across correlated or leading assets.
The Core Concept: Stacked Volume Imbalances
Instead of evaluating the whole bar as bullish or bearish, the script:
Takes the last Profile Lookback bars.
Finds the highest high and lowest low.
Divides that range into Profile Resolution bins (price slices).
Inside each bin, it calculates:
Total buy volume (close > open)
Total sell volume (open > close)
It then measures dominance:
Buy imbalance = Buy volume ≥ threshold % of total volume
Sell imbalance = Sell volume ≥ threshold % of total volume
If multiple consecutive bins meet that dominance threshold, they form a stack.
Stack size represents how many adjacent price zones show aggressive one-sided participation.
Why Stacked Imbalances Matter
Single imbalances can be noise.
Stacked imbalances suggest:
• Aggressive initiative activity
• Strong directional conviction
• Potential continuation pressure
• Possible structural repricing
The script only signals when the stack size meets or exceeds the Stack Size Trigger, filtering weak participation.
Dashboard Columns Explained
1️⃣ Ticker
The symbol being scanned.
2️⃣ Stack
Displays:
“X BUY” → number of consecutive buy imbalance bins
“X SELL” → number of consecutive sell imbalance bins
“—” → no qualifying imbalance
3️⃣ Bias
Directional interpretation:
Bullish Imbalance
Bearish Imbalance
Neutral
4️⃣ Score (Strength + Recency Weighted)
The score combines:
Stack Size × Age Weight
Age weighting logic:
New signal (age = 0 bars): 1.5x multiplier
1–3 bars old: 1.0x multiplier
Older than 3 bars: 0.5x multiplier
This means:
• Fresh imbalances rank higher
• Older signals decay in importance
• Strong and new stacks visually dominate
Color Logic
Color intensity reflects both direction and weighted strength:
Bullish
Bright Green → Strong + Fresh
Medium Green → Moderate
Dim Green → Weak or Aging
Bearish
Bright Red → Strong + Fresh
Medium Red → Moderate
Dim Red → Weak or Aging
Neutral = Gray
This allows instant visual ranking across assets.
Inputs Explained
Profile Lookback
Number of bars used to build the rolling profile.
Smaller values:
• Faster responsiveness
• More reactive
Larger values:
• Smoother structure
• More institutional footprint detection
Profile Resolution
Number of bins dividing the price range.
Higher resolution:
• More granular imbalance detection
• More sensitive stacking
Lower resolution:
• Broader structural imbalance zones
Bin Imbalance Threshold
Minimum % dominance required to qualify.
Default: 0.75 (75%)
Higher:
• Stronger conviction required
• Fewer but more aggressive signals
Lower:
• More frequent but softer signals
Stack Size Trigger
Minimum consecutive imbalance bins required.
This filters weak activity and prevents single-bin noise.
Dashboard Position
Choose where the table appears.
How This Script Is Original
This is not:
• A delta oscillator
• A cumulative volume line
• A simple up/down volume ratio
• A standard volume profile
It uniquely combines:
Rolling dynamic profile construction
Per-bin dominance calculation
Consecutive imbalance stacking
Multi-ticker cross-asset scanning
Age-weighted strength scoring
Visual ranking dashboard
Most imbalance tools operate on a single chart and focus on visual zones.
This script transforms imbalance logic into a comparative, cross-market decision tool.
How Traders Can Use It:
Market Leadership Detection
Identify which asset is currently driving momentum.
Example:
If IWM shows a fresh 5 BUY stack while SPX shows neutral → small caps may be leading risk appetite.
Confirmation Tool
Use imbalance confirmation before entering:
• Breakouts
• Acceptance above value
• Fair value gap continuation
• Sequence continuation setups
Rotation Monitoring
Watch for:
• Bullish stacks turning neutral
• Bearish stacks emerging in correlated assets
• Leadership shifting across sectors
Timing Advantage
Fresh stacks (bright colors + high score) highlight where initiative flow is most recent — often before broader price expansion.
Important Notes
• Signals are calculated on the chart’s current timeframe.
• Higher timeframes detect structural imbalance.
• Lower timeframes detect short-term aggression.
• This is a participation pressure scanner — not a standalone entry trigger.
• Always confirm with structure, liquidity, and context.
Summary
The AMT Multi-Ticker Imbalance Dashboard transforms raw volume into structured imbalance intelligence.
It tells you:
• Who is dominant (buyers or sellers)
• How strong that dominance is
• How fresh it is
• Which asset is leading
I
nstead of watching one chart, you monitor relative aggressive participation across six markets — in real time — with objective scoring and visual ranking.
This allows traders to align with the strongest active pressure, avoid fading initiative flow, and improve timing precision through imbalance awareness. Indicator

SMC Bias + Structure EngineSMC Bias + Structure Engine
This script visualizes market structure using clean swing classification plus external bias logic — built to keep the chart readable while still giving you enough context to trade with confidence.
It automatically labels:
• SH / SL (initial swing highs and lows)
• HH / HL / LH / LL (structure progression)
• BOS (Break of Structure)
• CHoCH (Change of Character)
An adaptive bias engine tracks higher-level structure breaks and dynamically displays:
• BULLISH
• BEARISH
• NEUTRAL
Bias updates in real time based on the timeframe you’re viewing, so it works for scalps, intraday flow, and higher-timeframe structure reads. Background shading reflects active bias without turning your screen into indicator soup.
This tool is designed for traders who:
• Trade structure, not indicators
• Want clean price-action bias
• Use SMC / market structure frameworks
• Prefer minimal but meaningful visual context
No predictive indicators.
No repainting structure logic beyond pivot confirmation.
Pure structure + bias alignment.
ShooterViz Research
If this structure engine helps you see the tape more clearly, you’ll probably appreciate the full framework behind it.
ShooterViz Research exists for one core purpose: to help humans visualize and operationalize Large Language Model logic — so AI isn’t a black box, it’s a readable decision engine you can actually trade with.
We take structure, macro, liquidity, and execution…and turn it into clear bias, clear risk, and clear triggers. Bias first. Risk second. Entries last.
Follow ongoing notes at: @swingtradenotes
Long-form breakdowns and trade plans: SwingTradeNotes.Substack.com
Quick-hit visual setups: oneminutestockanalysis.com
Inquiries: [email protected]
No clutter. No noise. Just structure and alignment.
Trade with structure. React at levels. Let the math work.
Indicator

VIX High/Low Zones ProThis Pine Script indicator, "VIX High/Low Zones Pro," plots the VIX (or VXN) directly on a separate pane beneath your chart, giving you a real-time read on market volatility conditions. The VIX line is color-coded dynamically — shifting from lime green at the calmest levels below 16, through orange in the 18–25 range, and into red and dark maroon as fear intensifies above 25 and 32 respectively. A set of key horizontal levels at 16, 18, 20, 22, 25, and 28 are drawn as dashed or dotted reference lines, and an optional moving average (default 50-period SMA) is overlaid on the VIX to help identify the broader trend in volatility. The VIX data can also be smoothed using a short-period SMA, EMA, or WMA to reduce noise, and a small label in the upper right displays the current VIX value along with a momentum arrow showing whether volatility is rising or falling.
The most actionable feature for trade filtering is the background shading, which turns red when VIX is above its moving average and green when it's below. This gives you a simple, visual bias signal — a red background suggests volatility is expanding and the market may be in a risk-off or trending-down environment, while a green background indicates volatility is contracting or subdued, favoring calmer, range-bound conditions. For MNQ traders, this crossover relationship between VIX and its MA can serve as a quick regime filter to adjust strategy selection or position sizing without having to manually interpret the raw VIX number on every bar. Indicator

Indicator

Indicator

Indicator

CVD Optimal Entry HighlightsCVD Optimal Entry + Imbalance Alignment
Description:
This script is designed to highlight high-probability trade setups by combining advanced Cumulative Volume Delta (CVD) analysis, price acceptance and sequence detection, failed auction identification, and order flow imbalances. It integrates seamlessly with complementary AMT tools, providing both visual signals and alerts for traders looking to enter trends with structural and flow confirmation.
Core Concepts & Functionality:
CVD-Based Acceptance & Sequence Detection:
Tracks buying and selling delta per bar using volume-weighted calculations.
Identifies acceptance bars, where price shows initial directional commitment.
Detects sequence bars, which confirm that the initial move has follow-through.
By combining acceptance + sequence, the script filters out rotation or indecision phases, highlighting genuine trend opportunities.
Optimal Entry Highlights (OPT L / OPT S):
Flags potential long/short entries only when acceptance + sequence aligns with strong delta and FVG holding.
These entries are intended to maximize edge by aligning structure with momentum, reducing false entries in rotational markets.
Integration with AMT Orderflow Profile + Imbalance Highlight + Dashboard:
The script works best when confirmed with bin-based imbalances, as printed by the AMT Orderflow Profile script.
Only trades where a sequence occurs in the direction of a confirmed imbalance (BUY IMB or SELL IMB) are considered highest probability.
This ensures that market participant aggression aligns with your structural setup, increasing trade reliability.
Strong Delta Confirmation (CVD Flow Dashboard ):
Alerts for strong buying or selling delta are factored into optimal entry conditions.
This allows traders to filter trades to moments of genuine volume dominance, further enhancing probability.
Alerts & Automation:
Custom alerts can be set for:
Sequence Long / Sequence Short (from the All-in-One Ultra CVD + Failed Auction + Flow + Acceptance + Sequence indicator)
Strong Delta confirmations
Optimal entry occurrences (OPT L / OPT S)
Alerts ensure traders are notified only when structural, volume, and order flow conditions align, minimizing screen time and discretionary errors.
Trading Usage & Considerations:
Trend-phase trading: Enter trades when OPT L/OPT S aligns with sequence and imbalance; this is your high-probability zone.
Rotation avoidance: If sequence does not form after acceptance, the market is likely rotating; avoid forcing trend trades in these phases.
Imbalance alignment: Only act when the direction of the sequence matches confirmed BUY or SELL imbalances from the AMT Profile.
Multi-indicator synergy: Combining acceptance + sequence + strong delta + imbalance provides structural + flow confirmation, the core advantage of this system.
Visualization:
OPT L / OPT S markers plotted directly on bars.
Sequence bars can be highlighted with distinct colors to distinguish trending vs rotational phases.
Integration with AMT Orderflow Profile: Use the bin imbalance overlays to visually confirm trade alignment. Indicator

Indicator
