Gold Macro Dashboard [invincible3]Gold Macro Indicator Dashboard
A professional macro-driven gold dashboard designed to evaluate the broader gold market regime using automatically sourced TradingView data. The indicator combines real yields, dollar strength, rate expectations, risk-off demand, gold breadth, and confirmation ratios into a single 0–100 Gold Macro Score.
The model uses a fixed daily macro timeframe, so dashboard readings stay consistent across intraday, daily, and weekly charts.
Main Features
Fixed Daily macro scoring
0–100 Gold Macro Score oscillator
Macro Regime classification
Macro Strength score
Real Yield driver
DXY / US Dollar driver
Gold liquidity proxy
US 2Y rate outlook
VIX risk-off signal
Cross-currency gold breadth
Gold/Silver ratio
Gold/S&P 500 ratio
Copper/Gold ratio
US 10Y–2Y yield spread
Crypto-style clean dashboard layout
Dark/light theme adaptive colors
No manual macro inputs
Score Interpretation
80–100: Strong Bull
60–80: Bullish
40–60: Neutral
20–40: Bearish
0–20: Strong Bear
How It Works
The composite score is weighted as follows:
Real Yield 10Y: 30%
US Dollar DXY: 25%
Gold liquidity proxy: 15%
US 2Y rate outlook: 10%
Risk-Off VIX: 10%
Gold breadth: 10%
Gold breadth checks whether gold is trending higher across major currencies, including XAUUSD, XAUEUR, XAUJPY, XAUGBP, and XAUCNH.
Use Case
This indicator is designed for traders and investors who want a macro-level view of gold’s trend quality. It can help identify whether gold strength is supported by broad macro conditions or only short-term price movement.
Disclaimer
This is an educational macro model only. It is not financial advice and should not be used as a standalone buy or sell signal. Always combine it with your own risk management, technical analysis, and market research. Indicator

Crypto: Macro Heatmap [invincible3]Crypto Macro Heatmap is an automatic market-regime dashboard designed to summarize crypto macro conditions using liquidity, leverage, breadth, and risk-participation metrics.
The indicator converts multiple market data sources into normalized 0–100 scores and displays them in a structured heatmap table. It is built to help traders quickly understand whether the broader crypto environment is risk-on, neutral, or risk-off.
Main dashboard sections:
1. Liquidity
Tracks Global M2, total crypto market cap, USDT dominance, and BTC volume confirmation. Higher liquidity scores generally suggest stronger macro support for crypto markets.
2. Leverage
Tracks open interest pressure, funding-risk proxy, liquidation-risk proxy, and OI acceleration. Higher leverage scores mean higher stress or crowding risk.
3. Breadth
Tracks TOTAL2, TOTAL3, BTC dominance, ETH dominance, and altcoin participation. This section helps identify whether market strength is broad or concentrated.
Key features:
* Fully automatic scoring
* No manual market-score inputs
* Dashboard show/hide checkbox
* Light/dark chart theme detection
* Composite regime score
* Regime meter
* Market phase detection
* Risk-state classification
* Confidence score
* Section delta versus 7 days ago
* Fixed-width heatmap layout for cleaner visual alignment
The composite score combines liquidity support, market breadth, and leverage-adjusted risk into one regime reading. The dashboard is intended for macro context and regime analysis, not direct buy or sell signals.
Use this tool as a higher-timeframe market filter together with your own technical analysis, risk management, and trading system.
Disclaimer: This indicator is for educational and analytical purposes only. It does not provide financial advice. Always do your own research and manage risk carefully.
Indicator

Macro Market Health IndexThis comprehensive indicator, Macro Market Health and Dynamic Regime Scoring, is a multi-asset "Risk-ON / Risk-OFF" framework designed to quantify market health by analyzing six specialized macro pillars. Unlike static indicators, this tool features an adaptive weighting engine that calibrates the importance of each macro block based on its real-time relationship with the specific asset currently on your chart
.
The Six Pillars of Market Health
The indicator processes raw data through six "Blocks," each utilizing specific mathematical models to score health from 0 to 1
:
Risk Block (Sentiment): Monitors the VIX (normalized against a baseline of 22), Gold, and the USD/JPY "Carry Trade"
. It calculates a blend of absolute levels (distance from the 200-day EMA) and momentum (9-day ROC of the 21-day EMA) to detect capital flight into safe havens
.
Breadth Block (Internal Strength): Uses the S5FI (S&P 500 stocks above their 50-day EMA) and the SPX/RSP Spread
. If the standard S&P 500 is significantly outperforming the equal-weighted version, it signals poor "under the hood" participation
.
Equity Block (Momentum & Volume): Analyzes the S&P 500 using a Gaussian "Sweet Spot" model
. It scores the trend highest when the price is in a healthy range above the 200-day EMA, while also penalizing the score if relative volume trends (21-day vs 251-day EMA) show exhaustion
.
Crypto Block (Risk Appetite): Serves as a high-beta proxy by measuring Bitcoin's distance from its 50, 100, and 200-day EMAs
. These are weighted (45% for 50-day, 32% for 100-day, 23% for 200-day) to capture multi-timeframe risk sentiment
.
Growth Block (Economic Context): Tracks Crude Oil and its 50-day correlation to equities
. It identifies whether energy prices are acting as a growth driver or a risk-off inflationary headwind
.
Credit Block (Fixed Income): Monitors the HYG (High Yield Corporate Bonds) as a leading indicator of credit stress
. It evaluates both the trend level and the rate of change in corporate bond demand
.
Advanced Mathematical Components
To ensure all data is comparable, the script employs several core math engines:
Sigmoid Normalization: Squashes all outputs into a standard 0 to 1 range for easy comparison
.
Z-Score Sigmoids: Normalizes volatility and momentum by measuring how many standard deviations a value is from its mean
.
Gaussian Probability: Uses a bell-curve distribution to score the "Equity Block," rewarding trends that stay within a specific volatility-adjusted distance from the mean
.
Distance/ATR Scaling: All price distances from moving averages are divided by the ATR (Average True Range) to ensure the scores are relative to current market volatility
.
Data-Driven Weighting: Tailored to YOUR Asset
The standout feature is the Weight Engine, which rejects the "one-size-fits-all" approach. It calculates weights against the specific ticker (hlc3) on your chart
:
Asset Correlation: The indicator measures the real-time statistical correlation between each macro block and the specific stock you are trading
. If your stock starts moving in lockstep with Credit or Crypto, those blocks are automatically given more weight
.
Dynamic Volatility Scaling: It calculates the ratio of a block's volatility (CV) to your stock's volatility (CV) to dynamically adjust the lookback period (between 50 and 300 bars)
Adaptive Lookback Engine: The index uses the Coefficient of Variation (CV) (StandardDeviation/Mean) to compare macro environment volatility against your stock's volatility
. This ratio automatically scales the lookback window between 50 bars (for high-volatility responsiveness) and 300 bars (for stable trend smoothing)
.
Weighting & Analytics: Final weights blend asset-specific correlation with Inverse Volatility (1/SD) to prioritize correlated, stable, low-noise signals
.
Signals and Predictive Analytics
Trade Status Overlay: Provides a definitive "TRADE" (Score > 0.58) or "NO TRADE" (Score < 0.45) signal
.
Regime Classification: Categorizes the market into BULL MARKET, EARLY BULL, NEUTRAL, or RISK OFF
.
Swing Probability: Uses a Gaussian Survival Model to estimate the conditional probability that a "Risk-ON" or "Risk-Off" (current identified) regime will last for a user-defined "Swing Duration" (e.g., the next 21 bars)
.
Reliability Index: Based on the number of historical samples collected for that specific asset, it labels the probability data as Adequate, Marginal, or Low
. Indicator

Crypto Market Breadth Risk Planner [AGPro Series]Crypto Market Breadth Risk Planner
🧠 Core Idea
Is the crypto market showing broad risk-on participation, weakening rotation, or a risk-off breadth environment?
📌 Overview / What it does
Crypto Market Breadth Risk Planner is a chart-first market breadth tool built to evaluate whether a selected crypto basket is participating broadly or weakening internally.
Instead of reading only the active chart symbol, the script reviews a configurable basket of major crypto pairs. It measures how many symbols are trading above their trend baseline, how many have positive momentum, how many have rising trend structure, and how much volatility stress is present across the basket.
The script produces a 0-100 Breadth Risk Score, a colored breadth risk corridor on the active chart, event labels, right-side tags, alerts, and a compact AG Pro panel. It does not predict price direction, automate execution, or claim that breadth alone is enough to trade.
🎯 Purpose & Design Philosophy
This script was built because single-chart analysis can look strong while the broader crypto market is quietly weakening, or look weak while breadth is beginning to rotate back into strength.
The purpose is to help traders read market participation before treating an individual setup as clean. Strong setups usually have a better context when the broader basket is aligned, while weaker breadth can warn that a chart may be more exposed to false follow-through.
The design supports traders who want broader market context without opening ten charts manually. It turns cross-market participation into a simple decision-support layer that can be read directly on the current chart.
⚡ Why This Script Is Different
Most crypto tools focus on the active symbol, a single benchmark, a simple correlation reading, or a raw relative-strength line.
This script does NOT act as a benchmark correlation meter, a relative-strength rotation map, a volume spike detector, or a generic trend dashboard.
Instead, it evaluates breadth across a user-defined crypto basket and converts that participation into a risk-readiness framework. The goal is not to say which coin to buy or sell. The goal is to show whether the broader crypto environment is supportive, mixed, stressed, or risk-off.
⚙️ Methodology
1. Context Detection
The script requests data from a configurable crypto basket and evaluates each symbol on the selected breadth timeframe.
2. Reference Mapping
Each symbol is compared against its own trend baseline, momentum reading, trend slope, and ATR-based volatility stress condition.
3. Reaction Evaluation
The script combines trend participation, momentum participation, slope confirmation, and volatility stress into a single Breadth Risk Score.
4. Visual Output
The final output includes a colored breadth risk corridor, centered corridor text, event labels, right-side tags, optional bar coloring, alerts, and an AG Pro panel.
🗺️ How to Read the Chart
Zones:
The breadth risk corridor is a visual context zone around price. Its color reflects the current breadth regime rather than a direct support or resistance level.
Labels:
Labels mark important breadth state transitions such as Risk-On, Rotation Watch, Risk-Off, Stress Review, and Cooling.
Colors:
Teal represents broad constructive participation.
Pink represents risk-off breadth or weak participation.
Gold represents stress or caution.
Indigo represents improving rotation or transitional breadth.
Panel:
The panel summarizes breadth participation, Breadth Risk Score, momentum, stress, regime, and action state.
🚦 Signals & States
• Risk-On Ready → Broad participation and momentum are strong enough to support risk-on review.
• Rotation Watch → Breadth is improving, but not yet strong enough for full risk-on classification.
• Stress Review → Volatility stress is elevated while breadth quality remains weak.
• Risk-Off → Basket participation is weak or deteriorating.
• Cooling → Stress is easing while breadth quality begins to improve.
• Wait Breadth → No strong breadth regime is currently active.
🔔 Alerts Logic
Alerts can trigger when the basket shifts into Risk-On, Rotation Watch, Risk-Off, Stress Review, or Cooling.
Alerts are attention markers only. They highlight changes in the breadth model. They are not trade instructions, automated entries, or guaranteed market calls.
🧩 Confluence Logic
The context becomes stronger when multiple breadth layers align together.
For example, a high Breadth Risk Score with many symbols above their trend baselines, positive momentum participation, rising trend slopes, and low stress suggests a cleaner risk-on environment than a rally led by only one or two symbols.
Likewise, weak participation combined with elevated stress can warn that individual bullish setups may need stricter review.
📊 When to Use
• Crypto market context review
• BTC, ETH, altcoin, and sector-style crypto watchlists
• 1H, 4H, and 1D market participation analysis
• Before treating individual setups as risk-on
• When the trader wants to know whether the broader crypto basket supports the active chart
⚠️ When NOT to Use
• Markets where selected symbols have unreliable data
• Very small or illiquid crypto pairs with distorted candles
• Situations where the basket does not match the user's trading universe
• Low-timeframe scalping where external-symbol breadth may be too slow
• News-driven events where correlation and breadth can change abruptly
🎛️ Key Inputs
• Crypto Basket Symbols → define the assets used in the breadth model
• Breadth Timeframe → controls whether the basket is evaluated on chart timeframe, 1H, 4H, or 1D
• Trend Baseline Length → controls the EMA reference used for participation
• Momentum Length → controls the ROC window used for positive or negative participation
• ATR Stress Threshold → controls when basket volatility begins to count as stress
• Minimum Risk-On Score → controls how selective the risk-on state should be
• Visual Settings → control corridor, labels, right-side tags, panel location, theme, and font size
🖥️ Interface & Visual Design
The interface is designed to make broad crypto participation readable without turning the chart into a large dashboard.
The corridor gives a fast visual state directly on the chart. The panel provides the structured readout. Labels mark only important transitions, while cooldown and memory controls keep historical events from overwhelming the chart.
The visual intent is premium, clean, and publication-friendly.
🧪 Practical Usage Workflow
1. Read the panel to identify the current breadth regime.
2. Check the Breadth Risk Score and participation percentage.
3. Review whether momentum and stress support or conflict with the active chart setup.
4. Use the corridor color as a market-context layer, not as a direct entry zone.
5. Combine breadth context with price structure, volatility, liquidity, and personal risk rules.
🔍 Interpretation Guidelines
A strong score means the selected crypto basket is broadly aligned according to the script's rules.
A Rotation Watch state means breadth is improving, but the market has not fully confirmed broad risk-on participation.
A Stress Review state means volatility pressure is elevated while breadth remains weak or mixed.
A Risk-Off state means the selected basket is not supporting broad participation under the current settings.
🚫 What This Script Is NOT
This script is not a prediction engine.
This script is not financial advice.
This script is not an automated trading system.
This script does not place orders.
This script does not guarantee market direction, continuation, reversal, or profitability.
⚠️ Limitations & Transparency
This script depends on the selected symbols, selected timeframe, and TradingView data availability.
Different baskets can produce different breadth readings. A BTC-heavy basket may behave differently from an altcoin-heavy basket. External symbol data may also load differently depending on market, exchange, and TradingView availability.
The script should be interpreted as market context, not as a standalone execution model.
🧠 Market Context Notes
Crypto often moves through participation waves. Sometimes BTC leads while altcoins lag. Sometimes the whole market rotates together. Sometimes volatility rises while breadth deteriorates, creating a more fragile environment.
This script is designed to make that internal participation easier to observe directly from the active chart.
🧾 Use Case Examples
Example 1:
BTC is breaking higher, but the panel shows weak breadth and high stress. The trader may decide that the move needs extra confirmation before treating it as broad risk-on.
Example 2:
ETH is consolidating, but the basket shifts into Rotation Watch with improving momentum. The trader can monitor whether the active chart begins to align with the broader rotation.
Example 3:
The basket prints Risk-Off while an individual altcoin setup looks technically clean. The script warns that the broader market backdrop is not supportive under the current model.
🧱 System Philosophy
AGPro Series tools are built as decision-support frameworks, not signal vending machines.
This script follows that philosophy by turning broad market participation into a structured context layer: define the basket, score the breadth, map the state, and show the next action clearly.
🔐 Non-Promise Statement
This script does not promise certainty.
It does not promise that a risk-on breadth state will produce gains, or that a risk-off state will produce losses. It only organizes participation context so the user can evaluate the broader market with more clarity.
📉 Risk Disclosure
Trading involves risk.
Market conditions can change quickly, and breadth models can fail or become less useful during sudden volatility, exchange-specific moves, or news-driven repricing. Users remain responsible for their own decisions, execution, and risk management.
This script is for educational and analytical purposes only. It does not provide financial advice.
📚 Educational Note
Use this tool to study how crypto breadth changes before, during, and after major market moves.
Its strongest value comes from comparing the active chart with the broader basket context rather than reading any single label in isolation.
Indicator

Indicator

IntraEdgeV2 for Nifty, Sensex, BankNifty, Options Trading
**IntraEdge Institutional Suite**
*NSE F&O Intraday Engine — Built for Nifty, BankNifty, FinNifty, MidCapNifty, Index Options, Stock Options, and NSE Equities*
IntraEdge is a comprehensive intraday decision support system built specifically for NSE F&O traders. It synthesises institutional order flow, opening range mechanics, sector breadth, volume profile, and macro context into a single indicator, automatically adapting its engine and visuals based on the instrument you load it on.
---
**AUTO-MODE DETECTION**
Switch charts and the indicator reconfigures itself. It reads the instrument type and ticker to automatically select the correct operating mode: Nifty Index / Futures, BankNifty, FinNifty, MidCapNifty, Index Options, Stocks, or Stock Options. Override manually if needed.
---
**TIMEFRAME ROUTING: 4-TIER ARCHITECTURE**
The indicator morphs based on timeframe. On 1m to 15m charts you get the full execution engine. On 30m to 1H you get the imbalance map and doji radar. On 2H to 4H you get gravity magnets. On Daily and above you get the macro matrix. Maths always runs globally; only the visuals change per tier.
---
**CORE EXECUTION ENGINE (Intraday 1m to 15m)**
**Opening Range (OR)**
Plots OR high and low from the 9:15 to 9:30 auction. Tracks first break direction, retest, trap, and quality score. The OR close RMI is latched at exactly the 9:30 bar for session-level conviction bias. OR boxes auto-hide on historical days.
**Confluence Zone: P1**
Scans 9 institutional levels at OR set time (VWAP, VAH/VAL, PDH/PDL, PrevVWAP, weekly bands, FVG, nPOC) and scores the proximity of OR high and low to each. Colocation tags (⚓) flag where OR levels stack with Value Area or PrevVWAP, the highest-probability institutional clusters.
**OR Level Scoring: P2**
Every confirmed touch of the OR high or low is scored across volume, body close, ATR relative size, VWAP position, and RMI momentum. Scores appear as labels on the chart. High-conviction touches (score 7 or above) trigger a dedicated alert.
**Activity Filter: P3**
Detects chop regimes using range compression, VWAP adherence, and volume conditions. When active, the tape locks to WAIT and an alert fires so you know to stop trading the current setup.
**Pre-OR Sweep: P5**
Detects PDH, PDL, or PrevVWAP sweeps in the 9:15 to 9:29 window before the OR sets. Biases the OR break direction against the swept level and displays the result in the HUD.
**Opening Candle Character: P6**
Classifies the first candle's body-to-range ratio and close position to identify institutional intent at the open.
---
**VWAP ENGINE**
Custom expanding-variance VWAP with +/-1 sigma and +/-2 sigma bands. Previous day VWAP computed from scratch and latched at session end. VWAP velocity and acceleration detection. Reclaim, reject, and retest signals with alert. VWAP zone classification displayed in HUD: Value Area / Trending / Exhausted.
**Session Volume Profile (SVP)**
Native integration via the SessionVolumeProfile library. Displays today's POC, VAH, and VAL in real time. Prior session POC (nPOC) used as a gravity magnet throughout the day. SVP warmup warning displayed on first session load.
---
**INSTITUTIONAL ORDER FLOW**
**Synthetic CVD (Cumulative Volume Delta)**
Reconstructs buyer vs seller pressure from candle structure without tick data. Divergence detection: price pivot high with CVD falling signals distribution (delta label above bar). Price pivot low with CVD rising signals accumulation (delta label below bar).
**RMI Oscillator**
14-period Relative Momentum Index, momentum length 3. Used internally across five systems: OR break score, gap trap override, tape confirmation, exhaustion colouring, and the divergence engine.
**RMI Regular Divergence**
Regular Bearish Divergence: price makes a higher high while RMI makes a lower high from an overbought zone. Distribution exhaustion signal, marked with a down arrow (▼D) above the bar.
Regular Bullish Divergence: price makes a lower low while RMI makes a higher low from an oversold zone. Accumulation exhaustion signal, marked with an up arrow (▲D) below the bar.
Fires on the confirmed bar where the RMI slope flips direction. Edge trigger only, no re-firing.
**SMT / RS-RW Divergence**
Structural divergence detection between Nifty and BankNifty across PDH, PDL, and VWAP levels. Includes magnitude Z-Score engine to grade divergence strength. Macro SMT (multi-day structural) tracked separately from intraday SMT. Correlation breakdown threshold configurable.
**Sequenced Trap: Fuel and Spark**
Detects the two-step institutional trap: sweep of a key level (Fuel) followed by a break failure (Spark). Requires both events within a configurable window to confirm. Separate alerts for trap detected and OR break trap.
---
**SECTOR BREADTH ENGINE: P10**
Monitors 10 NSE sector indices (Nifty Bank, IT, Auto, FMCG, Pharma, Metal, Energy, Realty, Infra, Media) against their individual VWAPs in real time. Breadth score, velocity state (Strong In / Neutral / Strong Out), and divergence from price displayed in the HUD Flow and Breadth rows. Three alerts: breadth divergence, velocity spike, HTF breadth confirmation.
**Basis / Carry Engine: P12**
Tracks Nifty futures basis (spot vs futures spread) as a proxy for institutional positioning bias. Carry direction and tight session flags displayed in the Breadth HUD row.
---
**EXPIRY STATE MACHINE: F4**
Four-phase expiry model: Normal, Pin Risk, Gamma, Final Hour. Automatically activates on expiry day (weekly or monthly, configurable). Displays expiry phase in the HUD header and fires transition alerts when the phase changes. Max-pain structural estimate alert when the level is established.
---
**LIQUIDITY ENGINE**
5-minute sweep detection on session high and low. 15-minute and 30-minute HTF sweep detection with separate pools for top and bottom sweeps. Higher Low and Lower High structure formation alerts. HTF sweep status displayed in HUD Tape row.
---
**FVG ENGINE: 1H Imbalance Map**
Detects Fair Value Gaps on the 1H timeframe and maps them as zones on lower timeframe charts. Active FVG direction (Bull / Bear / None) displayed in HUD Inst row. FVG proximity included in P1 confluence scoring.
**Doji Radar**
Advanced doji detection across configurable body/range thresholds. Active on hourly prep and execution tiers.
**M/W Pattern Detection (Double Top / Double Bottom)**
Two-bar swing structure engine tracking higher highs, higher lows, lower highs, lower lows. Double bottom (W) and double top (M) confirmations with labels and dedicated alerts. Recent M/W confirmation shown in HUD Tape row.
---
**MACRO CONTEXT**
**VIX Expected Move Bands**
Daily VIX ceiling and floor computed from India VIX. Weekly VIX bands for expiry boundary reference. ADR (Average Daily Range) used-percentage displayed in HUD and alerted at 90% exhaustion.
**Gap Classification**
Eight gap types: Gap-and-Go, Gap Fill, Flat Open, Gap Trap Bull/Bear, Gap Magnet, Gap Reversal. Gap strategy and percentage displayed in HUD Gap Strat row. Gap trap detection feeds directly into the tape exclusion rules.
**Daily EMA 21 and Weekly VWAP**
Macro bias reference. EMA 21 slope and position displayed in HUD macro context. Weekly VWAP displayed on applicable timeframes.
**Time-of-Day RVOL**
25-epoch intraday volume matrix using 5-bar windows across the session. Compares current bar volume to the historical average for that exact time of day. Anomaly detection with configurable threshold.
---
**HUD: 8-ROW CONSOLIDATED STATUS TABLE**
Live top-right table updating on every confirmed bar:
- **Gap Strat:** gap type, classification, gap percentage
- **Vol/ADR:** VIX regime, ADR used percentage
- **OR State:** break/retest/trap status, P1 confluence tags, colocation anchors
- **VWAP/Vol:** VWAP distance, zone classification, ToD RVOL
- **Inst/SMT:** SMT status, active FVG direction, RMI value with streak counter
- **Breadth:** sector breadth score, basis/carry, tight session flag
- **Flow:** breadth velocity, breadth divergence state
- **Tape/Align:** tape signal, exclusion reason, HTF breadth, recent M/W confirmation
On HTF charts (Daily and above), the HUD switches to a 6-row macro matrix showing macro bias, weekly VWAP, VIX range, ADR, 1H FVG, and nPOC. Auto-hides on Options and Stock charts to keep the chart clean.
---
**ALERTS: 23 CONDITIONS**
Trap Detected · OR Breakout · OR Retest · VWAP Interaction · Liquidity Sweep · Higher Low at Level · Lower High at Level · W-Pattern · M-Pattern · Breadth Divergence · Breadth Velocity Spike · OR Level High-Conviction Touch · Pre-OR Sweep · Activity Filter Activated · ADR Exhausted · VIX Band Touch · SMT / RS-RW Signal · Delta Divergence · Sequenced Trap · Expiry Phase Transition · Max-Pain Strike Set · RMI Regular Bear Divergence · RMI Regular Bull Divergence
All alerts are edge-triggered on confirmed bars. No intrabar spam.
---
**RECOMMENDED USAGE**
Best used on 3m or 5m charts for Nifty and BankNifty F&O intraday trading. Works on 1m for scalping and 15m for session-level context. Apply to the spot index (NIFTY, BANKNIFTY) or the front-month futures contract; auto-detection handles both. For options CE/PE premium charts, switch to a 1m or 3m options contract, and the engine decouples gap and VWAP calculations to the underlying automatically.
*Author: Murali Kumar ( x.com/@geekz) * Indicator

Aura Breadth Thrust Oscillator [Pineify]Aura Breadth Thrust Oscillator
Aura Breadth Thrust Oscillator measures market participation by dividing advancing issues by total advancing plus declining issues, then smoothing the ratio with a 10-period EMA. It borrows from Zweig breadth thrust analysis, but its signals are threshold crosses, not the full classic timed thrust rule.
Key Features
Requests NYSE or NASDAQ advance/decline data when available.
Uses a rolling price-action proxy when breadth symbols are unavailable.
Shows a gradient oscillator, zones, markers, alerts, and source table.
How It Works
For NYSE, the script requests NYSE: USI:ADV and NYSE:$DEC. For NASDAQ, it requests NASDAQ: INDEX:ADVQ and NASDAQ:$DECQ. It builds a breadth ratio from 0 to 100, then applies a 10-period EMA.
Advancing issues are compared with total advancing plus declining issues.
The smoothed ratio becomes the Aura Breadth oscillator.
Crosses above 61.5 mark bullish participation. Crosses below 40 mark breadth weakness.
If external breadth is missing, proxy mode counts up candles as advancing and down candles as declining. Proxy readings are useful context, but they are not exchange-wide breadth.
How the Components Work Together
The ratio supplies participation context, the EMA filters noise, and the thresholds define zones. The table matters because external signals describe broad participation, while proxy signals only describe the current chart.
Trading Ideas and Insights
A cross above 61.5 may be useful after a weak range, especially if price is reclaiming structure.
A move below 40 may show selling pressure or exhaustion; waiting for stabilization can reduce whipsaw risk.
If price rises while breadth fails near the midline, participation may be narrowing.
This is a context tool, not a complete system. Breadth can lag during fast reversals, and proxy mode is approximate.
Unique Aspects
External breadth is preferred automatically, with proxy mode used only when feeds are invalid.
The active data source is shown directly in the pane.
How to Use
Choose NYSE or NASDAQ, then check the table's active source.
Watch crosses around 61.5 and 40, using 50 as a midpoint.
Use the built-in alerts for bullish thrust or breadth breakdown crosses.
Customization
Market Data Exchange (default: NYSE) - Selects the breadth universe.
Proxy Lookback Period (default: 20) - Higher values smooth proxy mode.
Bullish Thrust Level (default: 61.5) - Adjusts the bullish threshold.
Oversold Level (default: 40.0) - Adjusts the weakness threshold.
Conclusion
Aura Breadth Thrust Oscillator gives a compact read on participation behind index moves, breakouts, and reversals. Read each signal with the active data source. Indicator

DAX Breadth [AM]DAX Breadth — Publication Description
TradingView Pine Script Library
---
Title
DAX Breadth
Tagline
The breadth data DAX traders never had — until now.
---
Full Description
The Problem
If you trade the DAX40 intraday, you already know this frustration: breadth data simply does not exist for European indices on retail platforms. NYSE traders have TICK, ADD, VOLD and TRIN available as standard symbols. DAX traders have nothing equivalent. There is no XETR:TICK. There is no XETR:ADD. The Deutsche Börse publishes no aggregated breadth feed accessible to retail platforms.
This indicator solves that problem from the ground up.
---
What It Does
DAX Breadth reconstructs five institutional-grade breadth metrics for the DAX40 by individually scanning all 40 Xetra components on every bar using `request.security()` calls. It creates data that does not otherwise exist on TradingView.
This is not a mashup of existing indicators. It is a full reconstruction of breadth internals from raw component data.
---
The Five Metrics
TICK
Net advancing minus declining components on each bar. A reading of +25 means 32 stocks up, 7 down. Mirrors NYSE TICK methodology applied to the DAX40 universe. Reacts instantly — your fastest breadth signal.
CUMT (Cumulative TICK)
Running sum of TICK readings since the Xetra session open (09:00 CET), resetting daily. A rising CUMT throughout the session confirms sustained buying pressure. A falling CUMT despite a rising DAX price flags a breadth divergence — one of the most powerful signals in this indicator.
UVOL% (Up-Volume Ratio)
Volume of all advancing components as a percentage of total DAX40 volume. This is the critical institutional participation metric. A narrow rally driven by SAP or Siemens alone will show moderate TICK but low UVOL%. Readings above 75% confirm broad institutional buying. Below 30% on a rising index is a red flag.
ADV% (Advancing Percentage)
Raw count of advancing stocks as a percentage of the 40 components. Simple, fast, and useful for immediate visual confirmation of breadth width.
A/D Thrust (EMA-smoothed)
Advance/decline ratio smoothed with a configurable EMA (default 5 bars). Slower than TICK and ADV% by design — it filters noise and confirms the sustained directional bias of the session. Read it last, alongside CUMT.
---
The Dashboard
Each metric is displayed in a compact floating table with five columns:
INT VALUE TIER TRD ROC
Metric name Current reading Strength tier Direction arrow Rate of change
TIER classifies each metric into five levels using adaptive thresholds that widen during the first 15 bars of the session (early-session noise reduction):
+2 Strong Bull — dark green
+1 Bull — light green
0 Neutral — grey
−1 Bear — red
−2 Strong Bear — dark red
TRD shows the directional change vs the previous bar (↑ ↓ →).
ROC shows the delta vs N bars ago (configurable, default 5). All ROC values use a consistent delta format with explicit +/− sign so momentum direction is immediately readable.
---
Composite Score & Conclusion Block
Below the separator, three summary rows provide the analytical conclusion:
COMP — A weighted composite of all five metrics on a scale of −100 to +100.
Weights: UVOL% 30% · A/D 25% · TICK 20% · ADV% 15% · CUMT 10%
Includes its own ROC value and direction arrow.
Labels: Strong (≥50) · Moderate (≥25) · Weak (<25)
BIAS — Session directional bias derived from the composite score:
Bullish · Mild Bull · Neutral · Mild Bear · Bearish
MODE — Operating mode:
NORMAL — standard session conditions
NO_EDGE — composite score too low to confirm direction
90PCT_DAY — rare extreme breadth event (≥90% or ≤10% advancing) signalling high-probability trend continuation for the remainder of the session
---
How to Use It in Your Trading
Confirmation tool, not a signal generator.
Use DAX Breadth to confirm or challenge what you see on price. Before entering a long setup, check: Is UVOL% above 60%? Is CUMT rising? Is ADV% above 55%? If breadth contradicts the price setup, reduce size or skip the trade.
Divergence detection.
The most actionable signal: DAX index making new session highs while CUMT is declining. This breadth divergence frequently precedes sharp reversals. Watch it closely during the 10:00–11:00 CET window.
Opening Range context.
At 09:15 CET, after the Opening Range has formed, read the initial TICK and CUMT direction. A CUMT already moving strongly in one direction within the first 15 minutes is a high-conviction session bias signal.
90PCT_DAY awareness.
When MODE switches to 90PCT_DAY, the historical edge for trend continuation is significant. These sessions occur 2–5 times per quarter. On these days, fade setups should be avoided and trend-following setups sized up.
---
Technical Notes
Timeframe: Designed for 1-minute and 5-minute charts during the Xetra session (09:00–17:30 CET / Europe/Berlin timezone). Do not use on higher timeframes — CUMT accumulation becomes meaningless outside intraday context.
Data source: 39 XETR-listed components + Covestro (FWB:1COV, post-ADNOC acquisition). All other 39 components use Xetra primary listing data.
Session reset: CUMT resets automatically at 09:00 CET each trading day.
Adaptive tiers: Tier thresholds widen automatically during the first 15 bars of each session to prevent false extreme readings during the volatile open.
Overlay indicator: Renders as a floating table on the price chart. No separate pane required.
---
Settings
Setting Default Description
Table Position Right Top Floating table placement
Text Size Normal Tiny / Small / Normal
A/D EMA Smoothing 5 bars EMA length for A/D Thrust
ROC Lookback 5 bars Bars back for rate of change
---
Why This Is Different
Most breadth indicators available for European indices either:
(a) rely on pre-existing index breadth feeds that don't exist for DAX, or
(b) use price-only proxies that approximate breadth without volume confirmation.
DAX Breadth reconstructs five distinct breadth dimensions — including volume-weighted participation — from raw component data on every bar. The result is an institutional-grade breadth dashboard that did not previously exist for DAX40 intraday traders on any retail platform.
---
Designed and built for professional DAX40 intraday trading.
Optimised for use on 1M and 5M XETR:DAX charts during the Xetra session. Indicator

Indicator

Nifty Breadth [Top 20 Movers]This is a comprehensive, real-time market breadth dashboard for the NSE (National Stock Exchange of India), tracking 40 (out of 50) of the most prominent Nifty stocks across 9 sectors. It displays the top 20 gainers and losers, advance/decline statistics, and sector-level breadth — all inside a single, elegantly formatted overlay table.
Key Features:-
Performance Mode — The indicator supports both Daily and Weekly timeframes, switchable via a simple dropdown input. This allows traders to instantly toggle between intraday close-to-close and week-over-week performance views without modifying any code.
Top 20 Movers Panel — The dashboard ranks all 40 (out of 50) tracked stocks by percentage change and displays the top 10 gainers and top 10 losers in a two-column layout each, making it easy to spot the strongest and weakest names at a glance. Each row shows the stock symbol, percentage change (with sign), and a proportional block bar that visually represents the magnitude of the move.
Emoji Highlights — The top gainer is flagged with a 🔥 icon and the steepest loser with a ❄️ icon, making the outliers immediately identifiable. This feature can be toggled on or off from the settings.
Advance / Decline Breadth Panel — A dedicated panel summarizes market sentiment across all 40 stocks, showing the raw count of advances, declines, and unchanged stocks, their percentage breakdown, and a 10-block visual bar that fills green for advancing and red for declining proportion.
Sector Breadth Panel — All 40 stocks are mapped to one of 9 sectors — Banking, IT, Auto, Pharma, Energy, Metals, FMCG, Infra, and Miscellaneous. For each sector, the dashboard shows how many constituent stocks are advancing versus declining, color-coded with unique accent colors per sector for quick visual separation.
Customization Options
The indicator exposes several user-facing inputs to personalize the display without touching the code. The table position can be placed at any of nine screen locations. Bar scale percentage and maximum block count control the visual width of the performance bars. Text sizes for the title, headers, and data rows can be independently set to Tiny, Small, Normal, or Large, making the dashboard adaptable to different screen resolutions and chart layouts.
Technical Implementation: -
The script uses request.security() calls to fetch close prices across all 40 symbols on the selected timeframe, calculates percentage change relative to the prior bar, and stores results in arrays. It then uses array.sort_indices() to rank stocks in both ascending and descending order for the gainers and losers panels respectively. The entire table is rendered only on the last bar using barstate.islast to avoid redundant rendering. A timestamp in IST (Asia/Kolkata) is shown in the footer.
Usage Notes:-
This indicator is designed as an overlay on any NSE chart. It does not generate buy or sell signals — it is a purely market breadth and sentiment monitoring tool intended to give Indian traders a structured, data-rich overview of the Nifty universe in a single view. Best used as a companion panel on a dedicated blank chart or index chart window. Enjoy !!
Indicator

S&P 500 Breadth BullstackCore Idea of the Indicator:
The indicator is not a classic buy/sell trigger, but rather a breadth regime scanner for the S&P 500. In other words, it measures how many stocks in each sector are trading above their 20-day, 50-day, and 200-day moving averages (Simple Moving Average - SMA), compresses that information into a color-coded view, and visualizes whether there is a true “bullstack” in the market.
In practical terms, this means it is especially useful for filtering long positions during strong market phases, scaling into them, and turning defensive earlier when market breadth starts to weaken.
Structure:
The code loads three breadth series for each of the 11 S&P 500 sectors, plus the Nasdaq-100: 20D, 50D, and 200D.
The data is retrieved using request.security() from other symbols or contexts; in Pine, this function is used to access values from other symbols or timeframes within the script.
The script also calculates three averages from the 11 sectors (tot20, tot50, tot200) to create an overall view of S&P 500 market breadth.
Color Logic:
The core idea is: 20D represents short-term momentum, 50D represents medium-term confirmation, and 200D represents the long-term trend.
The bullstackColor() function does not create a simple traffic-light system, but rather a graduated state model: green/turquoise means broad strength, white marks the transition zone, yellow/orange signals early weakness, red to near-black indicates clear breadth weakness, and pink represents a special case of negative divergence.
This divergence occurs when many stocks are still above their 200D line in the long term (b200 > 65), while short-term momentum is already breaking down significantly (b20 < 45) — a typical late-cycle/distribution signal.
Long Strategy:
For longs, the indicator is most powerful when used as a market filter:
The best entries occur when overall breadth rotates up out of capitulation through neutral (white) and then into light green, with 20D breadth picking up first as short-term momentum, 50D breadth then confirming as the medium-term trend, and 200D remaining stable as the long-term trend.
The highest-quality longs occur when not only “Total SPY” turns green, but especially cyclical sectors such as XLY, XLF, XLI, XLK, and ideally the Nasdaq block as well are participating. That usually means the rally is broad, risk-on, and more durable.
Specifically, I would derive three long setups from this:
Early long (first tranche) on the turn from capitulation into the neutral zone, when 20D breadth is clearly rising and 50D breadth is no longer declining.
Confirmation long (second tranche), when 20D > 50D > 50 and several leading sectors turn green at the same time.
Trend add-on (final tranche), when the overall market and cyclical sectors such as XLY, XLF, XLI, and XLK are already green and rotating into turquoise, while pullbacks on the price chart remain shallow (only down to the SMA20 or slightly below).
Position Management:
For position management, the color is almost more important than the entry itself: as long as the picture remains green and 20D only fluctuates slightly, that argues for holding rather than nervous re-trading.
Partial profit-taking or tighter risk management makes sense once strong green fades into pale green or white, because that often marks the transition from expansion to exhaustion.
A clear warning signal against new longs is pink: in that case, the long-term trend is still intact, but short-term momentum is already rolling over — exactly the kind of environment where late longs are often rewarded the least. Caution is warranted here, and the first partial profits should be secured.
Short Strategy:
I would trade shorts much more selectively than longs with this indicator, because breadth indicators in uptrends can often stay “too strong” longer than short setups can tolerate.
The better short opportunities do not occur on the first yellow bar, but when the overall picture shifts from white/yellow into orange/red, while 20D breadth and 50D breadth are weak at the same time and defensive sectors look better than cyclical ones. That points more to genuine market distribution rather than just a simple pullback in individual sectors.
The cleanest short entries come after a failed rebound out of a pink divergence, or when multiple sectors flip synchronously into red/dark red after a warning phase, especially if Nasdaq, Tech, and other cyclical sectors confirm the weakness.
A simple practical rule would therefore be:
Prefer longs when breadth is expanding, 20D leads first, and 50D/200D then confirm.
No fresh longs during pink divergences.
Only take shorts when the weakness is broad, synchronized, and visible across sectors.
One more important point:
The script measures market breadth, not price structure. Therefore, it is best used as a top-down filter together with price triggers in SPY/ES/QQQ or in individual stocks — for example, breadth turning green plus a breakout or trend pullback on the chart, rather than trading breadth in isolation. Indicator

Apex Market Breadth Oscillator [Pineify]Apex Market Breadth Oscillator
The Apex Market Breadth Oscillator is a composite market-internal momentum tool that blends Advance/Decline Issue Breadth with Up/Down Volume Breadth into a single, smoothed oscillator — giving traders a unified view of how broadly the market is participating in a move. Rather than relying on price action of a single index, this indicator looks beneath the surface by measuring both the percentage of stocks advancing and the percentage of volume flowing into advancing stocks, then combining them into one reading. The oscillator is built on the Whaley Breadth Thrust methodology and incorporates Martin Zweig's classic breadth thrust threshold (61.5) as a key reference level. An EMA-smoothed composite line is paired with an SMA signal line for crossover-based timing, while gradient coloring and zone-based buy/sell signals help traders quickly identify oversold recoveries, overbought exhaustion, and rare breadth thrust events that have historically preceded major bull market advances.
Key Features
Composite breadth oscillator — merges Advance/Decline Issue Breadth (ADT) and Up/Down Volume Breadth (UDT) into a single reading that captures both stock participation and capital flow direction.
Whaley Breadth Thrust methodology — calculates the percentage of advancing issues and advancing volume relative to their totals, providing a normalized 0–100 scale for cross-market comparison.
EMA-smoothed oscillator with SMA signal line — the composite is smoothed via EMA for noise reduction while retaining responsiveness; an SMA signal line provides crossover-based momentum shift detection.
Martin Zweig's breadth thrust threshold — the 61.5 level marks the historically significant thrust zone where breadth surges have preceded powerful multi-month rallies.
Zone-based buy/sell signals — buy signals fire only in oversold territory (below 40), sell signals fire only in overbought territory (above 61.5), filtering out low-conviction crossovers in the neutral zone.
Dynamic gradient coloring — the oscillator line transitions smoothly from red (oversold) to green (overbought) based on its position between the 40 and 61.5 levels, providing an instant visual read on market health.
Breadth thrust event labels — rare "THRUST" labels mark the moment the oscillator crosses above 61.5, highlighting high-conviction bullish impulse events.
Multi-exchange support — toggle between NYSE and NASDAQ breadth data to analyze large-cap or growth/tech-weighted market internals.
How It Works
The indicator follows a four-stage calculation pipeline to transform raw market breadth data into actionable signals:
Data sourcing: Four breadth series are pulled from the selected exchange (NYSE or NASDAQ) — advancing issues, declining issues, advancing volume, and declining volume. These are standard USI (US Indices) breadth tickers that represent the internal composition of the market on each bar.
Breadth ratio calculation: Two normalized ratios are computed. The Advance/Decline Thrust (ADT) measures the percentage of advancing issues relative to total issues: ADT = 100 × advancing / (advancing + declining). The Up/Down Volume Thrust (UDT) applies the same formula to volume: UDT = 100 × up volume / (up volume + down volume). Both ratios range from 0 to 100, where 50 represents equilibrium.
Composite smoothing: ADT and UDT are averaged to create a raw composite that reflects both issue participation and volume participation. This raw composite is then smoothed with an Exponential Moving Average (EMA) of configurable length (default: 10). The EMA removes bar-to-bar noise while preserving the oscillator's ability to react quickly to genuine breadth shifts.
Signal line generation: A Simple Moving Average (SMA) of the smoothed composite (default length: 5) serves as the signal line. Crossovers between the faster EMA-smoothed composite and the slower SMA signal line identify momentum inflection points, which are then filtered by zone (oversold or overbought) to produce the final buy and sell signals.
Trading Ideas and Insights
Oversold recovery entries: When the oscillator drops below 40, the market is experiencing broad-based selling — most stocks are declining and declining volume dominates. A buy signal (composite crossing above the signal line while below 40) captures the early momentum shift as breadth begins recovering. These signals identify potential bottoms where risk/reward is most favorable.
Overbought exhaustion exits: When the oscillator rises above 61.5, the market is experiencing an exceptionally broad advance. A sell signal (composite crossing below the signal line while above 61.5) identifies the moment breadth momentum starts fading after an extreme surge. This can be used to take profits or tighten stops on long positions.
Breadth thrust confirmation: The "THRUST" label marks the rare event where the oscillator surges past 61.5. Historically, Zweig Breadth Thrusts — where breadth rapidly transitions from oversold to above the thrust threshold — have preceded significant market gains over the following 6–12 months. These events can be used as high-conviction confirmation for establishing or adding to long-term positions.
Divergence analysis: When a major index makes new highs but the Apex Breadth Oscillator fails to confirm (lower highs on the oscillator), it signals narrowing participation — fewer stocks are driving the rally. This breadth divergence is a classic warning sign of potential market weakness ahead.
Equilibrium as a trend filter: Sustained readings above 50 indicate healthy broad market participation; sustained readings below 50 suggest internal weakness even if headline indices appear stable. Use the 50 level as a simple filter — favor long setups when the oscillator is above 50, and exercise caution or favor short setups when below.
How Multiple Indicators Work Together
The Apex Market Breadth Oscillator integrates several analytical components into a cohesive system, each serving a distinct purpose:
Advance/Decline Issue Breadth (ADT) — participation measurement: ADT answers the question "what percentage of stocks are advancing?" This captures the breadth of participation regardless of the size of individual stock moves. A market where 80% of stocks are rising is fundamentally healthier than one where only 20% are rising — even if both scenarios produce the same index return.
Up/Down Volume Breadth (UDT) — capital flow measurement: UDT answers the question "what percentage of volume is flowing into advancing stocks?" This adds a volume-weighted dimension that ADT alone cannot provide. High UDT values indicate that institutional-scale capital is flowing into advancing stocks, not just a large number of small-cap stocks ticking higher on minimal volume.
EMA composite smoothing — noise reduction: Averaging ADT and UDT and applying EMA smoothing transforms two noisy daily breadth readings into a single, clean oscillator. The EMA's exponential weighting ensures recent breadth conditions have more influence than older ones, keeping the oscillator responsive to current market dynamics.
SMA signal line — timing mechanism: The SMA signal line adds a crossover-based timing layer. While the composite oscillator tells you the current state of market breadth, the signal line crossovers tell you when that state is changing — identifying the inflection points where breadth momentum is shifting from deteriorating to improving (or vice versa).
The synergy is sequential: raw breadth data (issues + volume) → normalized ratios (ADT + UDT) → blended composite → EMA smoothing → SMA signal line → zone-filtered crossover signals. Each layer refines the raw data further, producing signals that require both broad market participation AND volume confirmation AND momentum shift AND extreme positioning to trigger — a multi-filter approach that dramatically reduces false signals compared to using any single breadth measure alone.
Unique Aspects
Dual-breadth composite: Most breadth oscillators use either issue breadth or volume breadth in isolation. The Apex Market Breadth Oscillator combines both into a single composite, ensuring that signals reflect genuine broad-based market moves backed by volume — not just a large number of stocks ticking marginally higher on thin volume.
Zweig-inspired threshold levels: The 61.5 thrust level is not an arbitrary overbought line — it is derived from Martin Zweig's Breadth Thrust indicator, one of the most historically reliable bullish signals in market analysis. The 40 oversold level provides the corresponding floor, creating a framework rooted in decades of market research.
Zone-filtered signals: Rather than generating signals on every crossover (which would produce many false signals in the neutral 40–61.5 zone), the indicator restricts buy signals to oversold territory and sell signals to overbought territory. This zone-based filtering ensures signals only fire at extreme readings where the probability of a meaningful reversal is highest.
Gradient color mapping: The oscillator line uses a continuous gradient from red to green mapped to the 40–61.5 range, rather than a simple binary color switch. This provides an intuitive, at-a-glance reading of where the oscillator sits within the oversold-to-overbought spectrum without needing to check exact values.
How to Use
Add the indicator to your chart. It appears in a separate pane below the price chart, displaying the composite breadth oscillator, signal line, and three reference levels (40, 50, 61.5).
Select your preferred exchange — NYSE for large-cap/value-oriented breadth analysis, or NASDAQ for tech/growth-weighted breadth analysis. The choice depends on which market segment you are trading or want to monitor for confirmation.
Monitor the oscillator's color: red tones indicate the oscillator is near or below the oversold zone (40), suggesting broad market weakness. Green tones indicate the oscillator is near or above the overbought/thrust zone (61.5), suggesting strong broad participation.
Watch for BUY signals (green triangles at the bottom) — these appear when the oscillator crosses above its signal line while in oversold territory (below 40). Consider entering long positions or adding to existing ones.
Watch for SELL signals (red triangles at the top) — these appear when the oscillator crosses below its signal line while in overbought territory (above 61.5). Consider taking profits or tightening stops on long positions.
Pay special attention to THRUST labels (green labels at the bottom) — these mark the rare event where the oscillator surges above 61.5. Historically, these breadth thrust events have preceded significant multi-month market advances and represent high-conviction bullish confirmation.
Use the 50 equilibrium level as a simple trend filter — sustained readings above 50 indicate healthy market internals; sustained readings below 50 suggest underlying weakness.
Compare the oscillator's trajectory with the price index for divergence analysis — if the index makes new highs but the oscillator does not, breadth is narrowing and caution is warranted.
Customization
Market Exchange (default: NYSE): Selects which exchange's breadth data to use. NYSE breadth reflects large-cap, broad market participation. NASDAQ breadth is more sensitive to technology and growth stock activity. Choose based on your trading focus or use both in separate indicator instances for a complete picture.
Oscillator Smoothing (default: 10): Controls the EMA period applied to the raw composite. Lower values (e.g., 5–7) produce a more volatile, responsive oscillator that generates more signals — suitable for short-term trading. Higher values (e.g., 15–21) produce a smoother oscillator with fewer but more reliable signals — suitable for swing or position trading.
Signal Line Length (default: 5): Controls the SMA period of the signal line. Shorter values make the signal line track the oscillator more closely, triggering crossovers sooner but with more potential for whipsaws. Longer values add lag but filter out minor fluctuations, producing more deliberate crossover signals.
Conclusion
The Apex Market Breadth Oscillator provides a comprehensive, under-the-hood view of market health by combining issue breadth and volume breadth into a single composite oscillator. Rooted in the Whaley Breadth Thrust methodology and incorporating Martin Zweig's historically significant thrust threshold, the indicator goes beyond surface-level price analysis to reveal whether rallies and declines are supported by broad participation and institutional volume. Its zone-filtered buy/sell signals, gradient color mapping, and rare breadth thrust labels give traders a structured, evidence-based framework for identifying high-probability turning points and confirming the strength of market moves. Whether used as a standalone market timing tool or as a confirmation layer alongside price-based indicators, the Apex Market Breadth Oscillator delivers actionable insights into the true breadth and conviction behind market movements.
Indicator

Manias, Panics and CrashesI got inspired to build the Manias Panics and Crashes indicator after reading the book "Manias, Panics and Crashes" by Charles Kindleberger's and Hyman Minsky's Financial Instability Hypothesis . This indicator identifies the three critical phases of market cycles, from manias, to panics, to crashes by analyzing multiple dimensions of market behavior including volatility, credit stress, market breadth, and momentum.
As you will be able to see, a panic or crash is often anticipated by a mania.
Here's how it works:
I Use multi-dimensional risk analysis which includes:
VIX Integration: Real-time fear gauge monitoring with spike detection
Credit Spread Analysis: Tracks HYG/LQD spreads and flight-to-safety indicators (TLT/SPY)
Market Breadth: Monitors participation levels to detect divergences
Momentum Indicators: RSI, MACD, and rate-of-change analysis
Volume Analysis: Identifies climax selling and forced liquidation events
The indicator scores three distinct market phases (0-100 scale):
🟡 MANIA: Euphoric speculation, extended valuations, complacency (VIX <20, RSI >70)
🟠 PANIC: Sharp deterioration, fear acceleration, breadth collapse
🔴 CRASH: Capitulation events, extreme volatility (VIX >40), credit freeze
This indicator implements the classic boom-bust cycle model:
1. Displacement → Credit Expansion → Mania/Euphoria
Excessive leverage, speculation replacing investment
Measured: Price >15% above 200-MA, RSI overbought >10 days, VIX <20
2. Critical Stage → Panic/Financial Distress
Smart money exits, credit spreads widen
Measured: Sharp declines, VIX spikes, breadth deterioration
3. Revulsion → Crash
Forced liquidation, credit freeze, herd panic
Measured: VIX >40, extreme volume, breadth <20%, credit stress >60
This framework has successfully identified major market crises for over 300 years of financial history, and you can backtest it yourself.
Scoring Methodology
Each phase receives a score (0-100) based on multiple factors:
MANIA Score Components
Price deviation from 200-day MA (>15% = elevated)
RSI overbought duration (>70 for 10+ days)
Market breadth (>60% stocks rising)
Low volatility complacency (VIX <20)
Accelerating momentum (ROC increasing)
PANIC Score Components:
Moderate declines (-5% to -15% from peak)
VIX spike (>30% increase in 5 days)
High volume on down days (>150% average)
Breadth deterioration (<40% participation)
Credit stress emergence (spreads widening >2%)
Momentum reversal (MACD bearish cross)
CRASH Score Components:
Extreme declines (>15% from peak)
VIX extreme (>40)
Volume climax (>200% average)
Breadth collapse (<20% participation)
High correlation (forced selling across sectors)
Credit freeze (spreads >10% wider)
The indicator automatically pulls from multiple data feeds:
TVC:VIX - CBOE Volatility Index
AMEX:HYG / AMEX:LQD - Credit spread proxy (High Yield vs Investment Grade)
NASDAQ:TLT / AMEX:SPY - Flight-to-safety indicator (Treasuries vs Equities)
AMEX:XLF - Financial sector health
INDEX:ADDN - NYSE Advance/Decline for breadth
For Traders: Use the indicator to adjust risk based on market phase. During NORMAL conditions, trade normally. In MANIA, reduce positions and take profits. During PANIC, raise cash and avoid catching knives. In CRASH, prepare your shopping list and wait for capitulation signs before deploying capital.
For Investors: Maintain target allocation during NORMAL markets. When MANIA is detected, rebalance to defensive sectors and build cash reserves. During PANIC/CRASH phases, deploy cash into quality names at extreme fear levels, as these periods create the best long-term buying opportunities.
Historical Performance
The indicator successfully identified:
COVID-19 Crash (March 2020): MANIA signals in Feb 2020, PANIC phase Mar 12-23:
2022 Bear Market: Multiple MANIA warnings in 2021:
January 2018 Selloff: MANIA warnings a few days earlier:
2008 Financial Crisis: Multiple MANIA alerts before the crash:
Note : Past performance does not guarantee future results. This indicator provides context and warning signals but cannot predict exact timing of market events.
This indicator might have some limitations:
False Positives: Mania phases can persist for months/years before corrections (see phase from 1996 until the doc com crash)
Lag: Some indicators are reactive rather than predictive
Data Availability: It works pretty much only for the US markets
Timeframe Sensitivity: Best on daily/weekly charts; intraday may be noisy and I didn't try it
Acknowledgments
As always, I'm standing on the shoulders of giants. the indicator was inspired by:
Charles Kindleberger's "Manias, Panics and Crashes"
Hyman Minsky's Financial Instability Hypothesis
Behavioral finance research by Robert Shiller
Let me know if you have any comments or suggestions!
- Henrique Centieiro
Indicator

Indicator

Indicator

Indicator

Filter Ribbon1. Indicator Name
Filter Ribbon
2. One-line Introduction
A trend visualization ribbon that uses linear regression and directional scoring to highlight bullish and bearish strength with intuitive color gradients.
3. General Overview
Filter Ribbon is a minimalistic yet powerful trend visualization tool that leverages linear regression slope ordering to determine directional momentum. It analyzes the ordering of regression values over a defined lookback period and quantifies how consistently the price has been trending upward or downward.
Using a pairwise comparison system, it calculates a trend "score" and compares this to a configurable threshold to determine if a bullish, bearish, or neutral condition exists.
The result is a color-coded ribbon that sits over the chart, changing hue and opacity based on both the direction and strength of the trend. The stronger the directional alignment, the more opaque the ribbon becomes, offering traders a fast, intuitive way to assess market sentiment at a glance.
It also includes an optional linear regression line to further help visualize the central trend.
This indicator is best used in trend-following systems or as a dynamic background layer when combined with signal-based strategies.
Thanks to its efficient design and protected logic, Filter Ribbon offers high-performance visualization without compromising strategy integrity.
4. Key Advantages
🌈 Visual Trend Heatmap
Dynamic color ribbon gives real-time visual feedback on both trend direction and strength.
🔢 Quantified Trend Scoring
Calculates a mathematically sound trend score using pairwise linear regression comparisons.
⚖️ Adjustable Sensitivity
Users can tune lookback and threshold parameters to fit different asset classes and timeframes.
📉 Smooth Ribbon Effect
Plots upper/lower bands around regression line with smooth filling for a professional chart look.
🎯 Precise Trend Confirmation
Acts as a confidence layer for other entry/exit signals by confirming broader trend bias.
🔒 Secure and Minimal Codebase
Core logic is embedded securely with minimal exposure, reducing risk of replication or misuse.
📘 Indicator User Guide
📌 Basic Concept
Filter Ribbon determines trend direction and intensity by comparing the order of linear regression values over time.
It forms a ribbon on the chart that changes color based on trend direction and opacity based on trend strength.
This makes it ideal for identifying clear trending periods vs. uncertain consolidations.
⚙️ Settings Explained
Lookback Period: Number of bars for scoring the trend direction (higher = smoother trend)
Range Tolerance (%): Determines how aggressive the trend classification is (lower = stricter)
Regression Length: Period for calculating the base linear regression line
Ribbon Colors: Customize colors for bullish and bearish conditions
📈 Bullish Timing Example
Ribbon color is green and becomes increasingly opaque
Regression line slopes upward and price remains above it
Can be used as trend confirmation for long trades
📉 Bearish Timing Example
Ribbon color is red with higher opacity
Price consistently below the regression line
Useful for confirming short trade setups or avoiding long entries
🧪 Recommended Use Cases
Combine with breakout indicators to validate if the breakout aligns with broader trend
Use in swing or trend-following strategies as a background filter
Helps filter out trades during unclear, sideways market conditions
🔒 Precautions
Not a signal generator on its own — meant for trend context only
Ribbon may lag slightly during sudden trend reversals; best used with reactive entry tools
Always test ribbon parameters on your specific market/timeframe before applying live
Avoid using solely in low-volatility or flat markets — sensitivity may require tuning
+++ Indicator

TICK Indicator with Extreme AlertsOverview:
This indicator is designed to provide intraday traders (especially those trading SPX, ES, and NQ) with a clearer NYSE TICK analysis tool featuring visual alerts. Unlike traditional TICK line charts, this indicator utilizes OHLC Candlesticks to display data, allowing you to fully view the Open, High, Low, and Close within a specific timeframe, thereby capturing instantaneous liquidity sweeps.
Core Features & Logic:
Candlestick Visualization (OHLC Candles): Uses the USI:TICK.US data source by default. The candlestick patterns allow you to clearly see if the TICK pierced key levels intraday but retraced by the close—vital information that standard line charts often miss.
Dual Key Level System: The indicator is designed with two independent reference tiers for trend observation and reversal detection:
Reference Lines (+/- 800): Marked by gray dashed lines. These represent the standard bull/bear dividing zones. When TICK sustains above +800 or below -800, it typically indicates a strong trending market.
Extreme Alerts (+/- 1000): These thresholds are used to identify extreme market sentiment (overbought/oversold conditions).
Background Highlight Alerts (Visual Alerts): To reduce screen-watching fatigue, the indicator automatically highlights the candlestick background when extreme market sentiment occurs:
Green Background: Triggered when TICK High breaks above +1000. Represents extreme buying sentiment, potentially indicating exhaustion or a short squeeze.
Red Background: Triggered when TICK Low drops below -1000. Represents extreme panic selling (Washout), often serving as a potential signal for an intraday reversal or a short-term bottom.
Custom Settings:
All thresholds (800 reference lines, 1000 alert lines) are fully adjustable in the settings.
All colors (Candles, Reference Lines, Background Alert Colors) can be customized.
Use Cases: This tool is ideal for intraday counter-trend or trend-following trading when combined with Price Action analysis and key Support & Resistance levels. Indicator

Crypto Breadth Engine [alex975]
A normalized crypto market breadth indicator with a customizable 40 coin input panel — revealing whether rallies are broad and healthy across major coins and altcoins or led by only a few.
📊 Overview
The Crypto Breadth Engine measures the real participation strength of the crypto market by analyzing the direction of the 40 largest cryptocurrencies by market capitalization.
⚙️ How It Works
Unlike standard breadth tools that only count assets above a moving average, this indicator measures actual price direction:
+1 if a coin closes higher, –1 if lower, 0 if unchanged.
The total forms a Breadth Line, statistically normalized using standard deviation to maintain consistent readings across timeframes and volatility conditions.
🧩 Dynamic Input Mask
All 40 cryptocurrencies are fully editable via the input panel, allowing users to easily replace or customize the basket (Top 40, Layer-1s, DeFi, Meme Coins, AI Tokens, etc.) without touching the code.
This flexibility keeps the indicator aligned with the evolving crypto market.
🧭 Trend Bias
The indicator classifies market structure as Bullish, Neutral, or Bearish, based on how the Breadth Line aligns with its moving averages (10, 20, 50).
💡 Dashboard
A compact on-chart table displays in real time:
• Positive and negative coins
• Participation percentage
• Current trend bias
🔍 Interpretation
• Rising breadth → broad, healthy market expansion
• Falling breadth → narrowing participation and structural weakness
Ideal for TOTAL, TOTAL3, or custom crypto baskets on 1D,1W.
Developed by alex975 – Version 1.0 (2025).
-------------------------------------------------------------------------------------
🇮🇹 Versione Italiana
📊 Panoramica
Il Crypto Breadth Engine misura la partecipazione reale del mercato crypto, analizzando la direzione delle 40 principali criptovalute per capitalizzazione.
Non si limita a contare quante coin sono sopra una media mobile, ma calcola la variazione effettiva del prezzo:
+1 se sale, –1 se scende, 0 se invariato.
La somma genera una Breadth Line normalizzata statisticamente, garantendo letture coerenti su diversi timeframe e fasi di volatilità.
🧩 Mascherina dinamica
L’indicatore include una mascherina d’input interattiva che consente di modificare o sostituire liberamente i 40 ticker analizzati (Top 40, Layer-1, DeFi, Meme Coin, ecc.) senza intervenire nel codice.
Questo lo rende sempre aggiornato e adattabile all’evoluzione del mercato crypto.
⚙️ Funzionamento e Trend Bias
Classifica automaticamente il mercato come Bullish, Neutral o Bearish in base alla relazione tra la breadth e le medie mobili (10, 20, 50 periodi).
💡 Dashboard
Una tabella compatta mostra in tempo reale:
• Numero di coin positive e negative
• Percentuale di partecipazione
• Stato attuale del trend
🔍 Interpretazione
• Breadth in crescita → mercato ampio e trend sano
• Breadth in calo → partecipazione ridotta e concentrazione su pochi asset
Ideale per analizzare TOTAL, TOTAL3 o panieri personalizzati di crypto.
Funziona su timeframe 1D, 4H, 1W.
Sviluppato da alex975 – Versione 1.0 (2025).
Indicator

Lump Sum Favorability (SPX & NDX)This indicator provides a visual dashboard to gauge the statistical favorability of deploying a "Lump Sum" investment into the SPX (S&P 500) or NDX (Nasdaq 100).
The primary goal is not to time the exact market bottom, but to identify zones of significant pessimism or euphoria. Historically, periods of indiscriminate selling have represented high-probability entry points for long-term investors.
The dashboard consists of two parts:
1. The Favorability Gauge: A 12-segment gauge that moves from Red (Unfavorable) to Teal (Favorable).
2. The Summary Text: An optional text box (enabled in settings) that provides a plain-English summary of the current market breadth.
---
The Method: Market Breadth
This indicator is not based on the price of the index itself. Price-based indicators (like an RSI on the SPX) can be misleading. In a market-cap-weighted index, a few mega-cap stocks can hold the index price up while the vast majority of "average" stocks are already in a deep bear market.
This tool uses Market Breadth to measure the true, underlying health and participation of the entire market.
How It Works
1. Data Source: The indicator pulls the daily percentage of companies within the selected index (SPX or NDX) that are trading above their 200-day moving average. (Data tickers: S5TH for SPX, NDTH for NDX).
2. Smoothing: This raw data is volatile. To filter out daily noise and confirm a persistent trend, the indicator calculates a 5-day Simple Moving Average (SMA) of this percentage. This is the value used by the indicator.
3. Interpretation:
High Value (>= 50%): More than half of the stocks are above their long-term average. This signifies the market is "Overheated" or in a risk-on phase. The favorability for a new lump sum investment is considered Low.
Low Value (< 50%): Less than half of the stocks are above their long-term average. This signifies "Oversold" conditions or capitulation. These moments historically offer the best favorability for starting a new long-term investment.
---
How to Use the Indicator
1. The Favorability Gauge
The gauge is designed to be intuitive: Red means "Stop/Caution," and Teal means "Go/Opportunity."
Note: The gauge's logic is inverted from the data value to achieve this simplicity.
Red Zone (Left): UNFAVORABLE
This corresponds to a high percentage of stocks being above their 200d MA (>= 50%). The market is considered Overheated, and the favorability for a new lump sum investment is low.
Teal Zone (Right): FAVORABLE
This corresponds to a low percentage of stocks being above their 200d MA (< 50%). The market is considered Oversold, and the favorability for a new lump sum investment is high.
2. The Summary Text
When "Show Summary Text" is enabled in the settings, a box will appear at the top-center of your chart. This box provides a clear, data-driven summary, such as:
"Currently, only 22% of S&P 500 companies are above their 200-day MA. Market is Oversold."
The color of this text will automatically change to match the market state (Red for Overheated, Teal for Oversold), providing instant confirmation of the gauge's reading.
---
Settings
Market: Choose the index to analyze: SPX (S&P 500) or NDX (Nasdaq 100).
Gauge Position: Select where the gauge dashboard should appear on your chart (default is Bottom Right).
Show Summary Text: Toggle the descriptive text box on or off (default is On).
---
This indicator is a statistical and historical guide, not a financial advice or timing signal. It is designed to measure favorability based on past market behavior, not to provide certainty.
Extreme oversold conditions can persist, and markets can always go lower. This tool should be used as one component of a broader investment and risk-management framework. Past performance is not a guarantee of future results. Indicator

Market Internal Strength (DJI/Nasdaq/S&P)Market Health Dow, Nasdaq & S\&P 500 Breadth
Track the true internal health of the US market's three most important indices the Dow Jones Industrial Average (DJI), the Nasdaq 100 (NDX), and the S\&P 500 (SPX).
Price action alone can be deceiving. A rising index might be driven by only a handful of mega-cap stocks, masking underlying weakness. This indicator provides a crucial look "under the hood" to measure the market's true breadth.
It visualizes the percentage of stocks within each index that are trading above their key moving averages (5, 20, 50, 100, 150, and 200-day). This allows you to instantly gauge whether a market trend is broadly supported by the majority of its constituent stocks.
Key Features
* Covers 3 Major US Indices Seamlessly switch your analysis between the Dow Jones, Nasdaq 100, and S\&P 500.
* Complete Breadth Picture Six MA periods offer a full view, from short-term momentum (5D, 20D) to the long-term institutional trend (150D, 200D).
* Fully Customizable Toggle the visibility of any line and adjust overbought/oversold levels to fit your personal strategy.
How to Use
1. Extreme Readings (Overbought/Oversold)
* Above 80% Signals a very strong, potentially overbought market. Caution is advised as a pullback could be near.
* Below 20% Signals a deeply oversold market, often indicating capitulation and potential buying opportunities.
2. Divergence (Powerful Warning Signal)
* Bearish The index price makes a new high, but this indicator makes a lower high. This warns that the rally is not broad-based and may be losing steam.
* Bullish The index price makes a new low, but this indicator makes a higher low. This suggests internal strength is building and a bottom may be forming.
3. Trend Confirmation
When the long-term lines (150D, 200D) remain high (e.g., \> 50%), the primary market trend is healthy and confirmed. Indicator

VWAP For Loop [BackQuant]VWAP For Loop
What this tool does—in one sentence
A volume-weighted trend gauge that anchors VWAP to a calendar period (day/week/month/quarter/year) and then scores the persistence of that VWAP trend with a simple for-loop “breadth” count; the result is a clean, threshold-driven oscillator plus an optional VWAP overlay and alerts.
Plain-English overview
Instead of judging raw price alone, this indicator focuses on anchored VWAP —the market’s average price paid during your chosen institutional period. It then asks a simple question across a configurable set of lookback steps: “Is the current anchored VWAP higher than it was i bars ago—or lower?” Each “yes” adds +1, each “no” adds −1. Summing those answers creates a score that reflects how consistently the volume-weighted trend has been rising or falling. Extreme positive scores imply persistent, broad strength; deeply negative scores imply persistent weakness. Crossing predefined thresholds produces objective long/short events and color-coded context.
Under the hood
• Anchoring — VWAP using hlc3 × volume resets exactly when the selected period rolls:
Day → session change, Week → new week, Month → new month, Quarter/Year → calendar quarter/year.
• For-loop scoring — For lag steps i = , compare today’s VWAP to VWAP .
– If VWAP > VWAP , add +1.
– Else, add −1.
The final score ∈ , where N = (end − start + 1). With defaults (1→45), N = 45.
• Signal logic (stateful)
– Long when score > upper (e.g., > 40 with N = 45 → VWAP higher than ~89% of checked lags).
– Short on crossunder of lower (e.g., dropping below −10).
– A compact state variable ( out ) holds the current regime: +1 (long), −1 (short), otherwise unchanged. This “stickiness” avoids constant flipping between bars without sufficient evidence.
Why VWAP + a breadth score?
• VWAP aggregates both price and volume—where participants actually traded.
• The breadth-style count rewards consistency of the anchored trend, not one-off spikes.
• Thresholds give you binary structure when you need it (alerts, automation), without complex math.
What you’ll see on the chart
• Sub-pane oscillator — The for-loop score line, colored by regime (long/short/neutral).
• Main-pane VWAP (optional) — Even though the indicator runs off-chart, the anchored VWAP can be overlaid on price (toggle visibility and whether it inherits trend colors).
• Threshold guides — Horizontal lines for the long/short bands (toggle).
• Cosmetics — Optional candle painting and background shading by regime; adjustable line width and colors.
Input map (quick reference)
• VWAP Anchor Period — Day, Week, Month, Quarter, Year.
• Calculation Start/End — The for-loop lag window . With 1→45, you evaluate 45 comparisons.
• Long/Short Thresholds — Default upper=40, lower=−10 (asymmetric by design; see below).
• UI/Style — Show thresholds, paint candles, background color, line width, VWAP visibility and coloring, custom long/short colors.
Interpreting the score
• Near +N — Current anchored VWAP is above most historical VWAP checkpoints in the window → entrenched strength.
• Near −N — Current anchored VWAP is below most checkpoints → entrenched weakness.
• Between — Mixed, choppy, or transitioning regimes; use thresholds to avoid reacting to noise.
Why the asymmetric default thresholds?
• Long = score > upper (40) — Demands unusually broad upside persistence before declaring “long regime.”
• Short = crossunder lower (−10) — Triggers only on downward momentum events (a fresh breach), not merely being below −10. This combination tends to:
– Capture sustained uptrends only when they’re very strong.
– Flag downside turns as they occur, rather than waiting for an extreme negative breadth.
Tuning guide
Choose an anchor that matches your horizon
– Intraday scalps : Day anchor on intraday charts.
– Swing/position : Month or Quarter anchor on 1h/4h/D charts to capture institutional cycles.
Pick the for-loop window
– Larger N (bigger end) = stronger evidence requirement, smoother oscillator.
– Smaller N = faster, more reactive score.
Set achievable thresholds
– Ensure upper ≤ N and lower ≥ −N ; if N=30, an upper of 40 can never trigger.
– Symmetric setups (e.g., +20/−20) are fine if you want balanced behavior.
Match visuals to intent
– Enabling VWAP coloring lets you see regime directly on price.
– Background shading is useful for discretionary reading; turn it off for cleaner automation displays.
Playbook examples
• Trend confirmation with disciplined entries — On Month anchor, N=45, upper=38–42: when the long regime engages, use pullbacks toward anchored VWAP on the main pane for entries, with stops just beyond VWAP or a recent swing.
• Downside transition detection — Keep lower around −8…−12 and watch for crossunders; combine with price losing anchored VWAP to validate risk-off.
• Intraday bias filter — Day anchor on a 5–15m chart, N=20–30, upper ~ 16–20, lower ~ −6…−10. Only take longs while score is positive and above a midline you define (e.g., 0), and shorts only after a genuine crossunder.
Behavior around resets (important)
Anchored VWAP is hard-reset each period. Immediately after a reset, the series can be young and comparisons to pre-reset values may span two periods. If you prefer within-period evaluation only, choose end small enough not to bridge typical period length on your timeframe, or accept that the breadth test intentionally spans regimes.
Alerts included
• VWAP FL Long — Fires when the long condition is true (score > upper and not in short).
• VWAP FL Short — Fires on crossunder of the lower threshold (event-driven).
Messages include {{ticker}} and {{interval}} placeholders for routing.
Strengths
• Simple, transparent math — Easy to reason about and validate.
• Volume-aware by construction — Decisions reference VWAP, not just price.
• Robust to single-bar noise — Needs many lags to agree before flipping state (by design, via thresholds and the stateful output).
Limitations & cautions
• Threshold feasibility — If N < upper or |lower| > N, signals will never trigger; always cross-check N.
• Path dependence — The state variable persists until a new event; if you want frequent re-evaluation, lower thresholds or reduce N.
• Regime changes — Calendar resets can produce early ambiguity; expect a few bars for the breadth to mature.
• VWAP sensitivity to volume spikes — Large prints can tilt VWAP abruptly; that behavior is intentional in VWAP-based logic.
Suggested starting profiles
• Intraday trend bias : Anchor=Day, N=25 (1→25), upper=18–20, lower=−8, paint candles ON.
• Swing bias : Anchor=Month, N=45 (1→45), upper=38–42, lower=−10, VWAP coloring ON, background OFF.
• Balanced reactivity : Anchor=Week, N=30 (1→30), upper=20–22, lower=−10…−12, symmetric if desired.
Implementation notes
• The indicator runs in a separate pane (oscillator), but VWAP itself is drawn on price using forced overlay so you can see interactions (touches, reclaim/loss).
• HLC3 is used for VWAP price; that’s a common choice to dampen wick noise while still reflecting intrabar range.
• For-loop cap is kept modest (≤50) for performance and clarity.
How to use this responsibly
Treat the oscillator as a bias and persistence meter . Combine it with your entry framework (structure breaks, liquidity zones, higher-timeframe context) and risk controls. The design emphasizes clarity over complexity—its edge is in how strictly it demands agreement before declaring a regime, not in predicting specific turns.
Summary
VWAP For Loop distills the question “How broadly is the anchored, volume-weighted trend advancing or retreating?” into a single, thresholded score you can read at a glance, alert on, and color through your chart. With careful anchoring and thresholds sized to your window length, it becomes a pragmatic bias filter for both systematic and discretionary workflows. Indicator

BBS – Bond Breadth Signal"When bonds scream, breadth collapses, and fear spikes — BBS listens."
🧠 BBS – Bond Breadth Signal
A reversal timing tool built on macro conviction, not price noise.
The Bond Breadth Signal (BBS) was developed to identify major market inflection points by combining four key market stress indicators:
1) 10-Year Yield ROC – Measures sharp moves in the bond market
2) Z-Score of the 10Y – Captures statistical extremes
3) NSHF (Net Highs–Lows) – Signals internal market strength or weakness
4) TLT ROC + VIX – Confirmations of flight to safety and volatility-driven fear
When all conditions align, BBS marks either a For-Sure Buy or For-Sure Sell — these are rare, high-confidence signals designed to cut through noise and focus on true market dislocations.
🔧 Features:
-Background color and signal arrows on confirmation days
-Signals remain visually active for 3 days for added clarity
-Fully adjustable thresholds and alert toggles
-Plot panel for yield, TLT, NSHF, VIX, and Z-score visuals
This tool isn’t designed to fire every day. It’s meant to wait for those moments when the market truly bends — not just wiggles.
Best used on major indices (SPY, QQQ, IWM) to assess macro turning points. Indicator
