Quality Detector (Buffett Style) + Beta [Solid]This indicator acts as an on-chart fundamental screener, designed to instantly evaluate the quality and financial health of a company directly on your price chart.
The concept is inspired by "Buffettology" principles: looking for large, profitable companies with low debt. Additionally, it includes a Beta calculation to assess market volatility risk.
The tool displays a panel in the bottom-right corner featuring four key metrics and a final verdict.
How it Works & Metrics Used
The script retrieves quarterly fundamental data ("FQ") and performs calculations to verify if the asset meets specific criteria.
1. Market Cap (Size)
What it is: The total market value of the company's outstanding shares.
Goal: To identify established, large-cap companies.
Default Threshold: Must be greater than $10 Billion.
2. ROE - Return on Equity (Quality)
What it is: A measure of financial performance calculated by dividing net income by shareholders' equity.
Goal: To find companies that are efficient at generating profits from shareholders' capital.
Default Threshold: Must be higher than 15%.
3. Total Debt to Equity (Health)
What it is: A ratio indicating the relative proportion of shareholders' equity and debt used to finance a company's assets.
Calculation: This script manually calculates this ratio by fetching TOTAL_DEBT and dividing it by TOTAL_EQUITY from fundamental data to ensure robustness across different symbols.
Goal: To ensure the company is not overly leveraged.
Default Threshold: Must be lower than 1.5.
4. Beta (Risk/Volatility)
What it is: A measure of a stock's volatility in relation to the overall market (S&P 500).
Calculation: It is calculated by comparing the asset's returns against SPY (S&P 500 ETF) returns over a 252-day period (approx. 1 trading year).
Goal: To understand if the stock is more volatile (Beta > 1) or less volatile (Beta < 1) than the market.
Note: Beta does not affect the final "Quality" score but serves as an extra risk indicator, highlighting in orange if Beta > 1.
The Verdict (Scoring System)
The indicator assigns a score from 0 to 3 based on the first three fundamental metrics (Size, ROE, and Debt/Equity).
If a metric passes the threshold, it gets a green background and +1 point.
If it fails, it gets a red background.
Final Verdict:
💎 QUALITY GEM: The company passed all 3 fundamental checks (Score = 3/3).
⚠️ DISCARD: The company failed one or more fundamental checks.
Settings
You can customize the thresholds to fit your own investment strategy in the indicator settings:
Minimum Market Cap (in Billions).
Minimum ROE (%).
Maximum Debt/Equity Ratio.
Disclaimer: This tool is for informational and educational purposes only. It relies on third-party fundamental data which may sometimes be delayed or unavailable. Do not base investment decisions solely on this indicator.
Search in scripts for "spy"
NHNL Breadth Scanner [BIG]═══════════════════════════════════════════════════════════════════════════════
NVENTURES NHNL BREADTH SYSTEM v2.0
═══════════════════════════════════════════════════════════════════════════════
OVERVIEW
The NVentures NHNL Breadth System is an institutional-grade market breadth analysis framework designed for equity traders, portfolio managers, and market technicians who require comprehensive internal market structure visibility beyond price action alone. This system integrates New Highs - New Lows (NHNL) data across multiple exchanges with participation breadth metrics to identify market regime shifts, thrust conditions, divergences, and rotation dynamics between large-cap and small-cap equities.
Version 2.0 introduces the Participation Breadth Module , which monitors the percentage of stocks above their 50-day moving averages across S&P 500, Russell 2000, and NASDAQ 100 indices. This extension enables detection of Risk-On/Risk-Off rotations and narrow rally conditions—critical information for portfolio construction, sector allocation, and tactical hedging decisions.
The framework combines:
- Multi-exchange NHNL aggregation – NYSE, NASDAQ, AMEX breadth data integration
- McClellan Oscillator – Exponential moving average difference for trend momentum
- Thrust detection – Extreme breadth expansion/contraction identification
- Divergence analysis – Price vs. breadth non-confirmation patterns
- Participation breadth – Large-cap vs. small-cap rotation detection
- Composite signal scoring – Multi-factor quantitative breadth assessment
═══════════════════════════════════════════════════════════════════════════════
CORE METHODOLOGY
═══════════════════════════════════════════════════════════════════════════════
• NHNL Data Aggregation
The system retrieves daily New Highs and New Lows from three major U.S. exchanges:
- NYSE – INDEX:HIGN (New Highs), INDEX:LOWN (New Lows)
- NASDAQ – INDEX:HIGQ (New Highs), INDEX:LOWQ (New Lows)
- AMEX – INDEX:HIGA (New Highs), INDEX:LOWA (New Lows)
Users can toggle exchanges on/off to isolate specific market segments. All three exchanges are enabled by default for comprehensive market-wide breadth measurement.
Core Calculations :
- NHNL Raw = Total New Highs - Total New Lows
- NHNL % = (NHNL Raw / Total Issues) × 100
- NH/NL Ratio = New Highs / New Lows
These metrics quantify the internal strength or weakness of market advances/declines independent of price index levels.
• McClellan Oscillator
The McClellan Oscillator applies exponential moving average (EMA) logic to NHNL data:
Formula: McClellan Osc = EMA(NHNL, Fast) - EMA(NHNL, Slow)
Default parameters: Fast = 19, Slow = 39
Interpretation :
- Positive values = Breadth momentum favors bulls (more issues making new highs)
- Negative values = Breadth momentum favors bears (more issues making new lows)
- Zero-line crosses = Regime change signals (bullish above, bearish below)
- Extreme readings (>±100) = Overbought/oversold breadth conditions
The McClellan Oscillator is a standard institutional breadth tool used by market technicians since the 1960s. It smooths daily NHNL volatility while maintaining responsiveness to trend changes.
• Thrust Detection
Thrust conditions identify extreme breadth expansion or contraction that historically precedes sustained directional moves:
Bullish Thrust :
- NHNL % > Threshold (default +40%)
- Sustained for Confirmation Bars (default 2 bars)
- Context : Extreme positive breadth expansion. Historically associated with major rally initiations or continuation thrusts.
Bearish Thrust :
- NHNL % < -Threshold (default -40%)
- Sustained for Confirmation Bars (default 2 bars)
- Context : Extreme negative breadth contraction. Historically associated with panic selling, capitulation events, or major downtrend acceleration.
Thrust conditions are the highest-priority signals in the framework and override other conflicting indicators.
• Divergence Detection
The system identifies non-confirmation patterns between price action and breadth:
Bullish Divergence :
- Price makes lower low
- NHNL % makes higher low
- Context : Selling pressure exhausting despite lower prices. Potential reversal signal as fewer stocks participate in decline.
Bearish Divergence :
- Price makes higher high
- NHNL % makes lower high
- Context : Rally losing internal momentum despite higher prices. Potential reversal signal as fewer stocks participate in advance.
Divergences use pivot detection with configurable lookback periods (default 50 bars) and pivot strength (default 5 bars). Visual divergence lines are drawn directly on the price chart when detected.
• Participation Breadth Module (NEW in v2.0)
This module monitors the percentage of stocks trading above their 50-day moving average across three major indices:
- S&P 500 – INDEX:S5FI (Large-cap participation)
- Russell 2000 – INDEX:R2FI (Small-cap participation)
- NASDAQ 100 – INDEX:NDFI (Tech-cap participation)
Rotation Spread Calculation :
Rotation Spread = Russell 2000 % Above 50D - S&P 500 % Above 50D
Interpretation :
- Positive Spread (>+10%) = Risk-On Rotation
Small caps outperforming large caps. Broad market participation. Risk appetite expanding.
- Negative Spread (<-10%) = Risk-Off Rotation
Large caps outperforming small caps. Narrow rally / defensive positioning. Flight to quality or concentration risk.
- Neutral (-10% to +10%) = Balanced market, no clear rotation
This spread identifies critical regime changes between broad market participation (healthy) and narrow leadership (fragile). Risk-On rotations typically occur during economic expansion phases; Risk-Off rotations occur during uncertainty, recession fears, or late-cycle conditions.
• Composite Signal Score
The framework generates a quantitative breadth score (-100 to +100) by weighting five components:
1. Thrust Score (±40 points) – Active thrust condition
2. Trend Score (±30 points) – McClellan Oscillator above/below zero
3. Momentum Score (±20 points) – NHNL % magnitude
4. Ratio Score (±10 points) – NH/NL Ratio extremes
5. Participation Score (±15 points) – Risk-On/Risk-Off regime + participation health
The composite score is smoothed (EMA 5) and classified into five breadth states:
- +50 to +100 = Strong Bull
- +20 to +50 = Bullish
- -20 to +20 = Neutral
- -50 to -20 = Bearish
- -100 to -50 = Strong Bear
═══════════════════════════════════════════════════════════════════════════════
SIGNAL HIERARCHY & PRIORITY
═══════════════════════════════════════════════════════════════════════════════
The indicator generates multiple signal types with distinct priority levels:
Priority 1: Thrust Signals (Highest conviction)
- Green triangle below bar = Bullish Thrust (40%+ breadth expansion)
- Red triangle above bar = Bearish Thrust (40%+ breadth contraction)
- Chart background highlighted in green/red during active thrust
Priority 2: Rotation Signals (Regime identification)
- Cyan diamond below bar = Risk-On Rotation (small caps outperforming)
- Orange diamond above bar = Risk-Off Rotation (large caps outperforming)
- Chart background highlighted in cyan/orange during active rotation
Priority 3: Divergence Signals (Reversal warnings)
- Green label below bar = Bullish Divergence (price/breadth non-confirmation)
- Red label above bar = Bearish Divergence (price/breadth non-confirmation)
- Dashed lines connect divergence pivot points on price chart
Priority 4: Zero-Line Cross (Trend changes)
- Small circle below bar = McClellan crossing above zero (breadth turning positive)
- Small circle above bar = McClellan crossing below zero (breadth turning negative)
═══════════════════════════════════════════════════════════════════════════════
VISUAL COMPONENTS
═══════════════════════════════════════════════════════════════════════════════
• Comprehensive Information Panel
The top-right dashboard (position customizable) displays:
Section 1: Raw NHNL Data
- Total New Highs (green)
- Total New Lows (red)
- Exchange breakdown (NYSE, NASDAQ, AMEX) with individual deltas
Section 2: Core Metrics
- NHNL % with visual indicator (🔥 for thrusts, arrows for direction)
- NH/NL Ratio with strength bars
- McClellan Oscillator with directional arrows
Section 3: Participation Breadth (NEW)
- S&P 500 % above 50D MA with trend arrow
- Russell 2000 % above 50D MA with trend arrow
- NASDAQ 100 % above 50D MA with trend arrow
- Rotation Spread with regime icon (🚀 Risk-On, 🛡️ Risk-Off)
Section 4: Composite Assessment
- Signal Score (-100 to +100) with visual strength bars
- Market Status (large text): BULLISH THRUST, BEARISH THRUST, RISK-ON ROTATION, RISK-OFF ROTATION, or breadth state classification
• Chart Overlays
- Background color-coding for active regimes (thrust, rotation, extreme readings)
- Signal markers (triangles, diamonds, circles, labels) at key inflection points
- Divergence lines connecting pivot highs/lows on price chart
═══════════════════════════════════════════════════════════════════════════════
KEY FEATURES
═══════════════════════════════════════════════════════════════════════════════
- Multi-exchange breadth aggregation – NYSE, NASDAQ, AMEX with individual on/off toggles
- Institutional McClellan Oscillator – Standard market breadth momentum tool
- Automated thrust detection – Identifies extreme breadth conditions with confirmation logic
- Price-breadth divergence scanning – Non-confirmation pattern detection with visual lines
- Participation breadth integration – Risk-On/Risk-Off rotation detection via large-cap vs. small-cap analysis
- Composite signal scoring – Quantitative multi-factor breadth assessment
- No repainting – All signals confirm on bar close
- Comprehensive alerting – 12+ alert conditions for thrust, divergence, rotation, and confluence events
- Fully customizable parameters – EMA periods, thresholds, lookbacks, visual settings
- Professional dashboard – Real-time metrics with color-coded status indicators
═══════════════════════════════════════════════════════════════════════════════
HOW TO USE
═══════════════════════════════════════════════════════════════════════════════
1. Apply to any chart – The indicator pulls multi-security data; chart symbol does not matter (commonly applied to SPY, SPX, or QQQ for reference)
2. Monitor the dashboard :
• Focus on Market Status (bottom row) for current regime
• Check NHNL % and McClellan for breadth direction and momentum
• Watch Rotation Spread for large-cap vs. small-cap dynamics
• Review Signal Score for composite breadth strength
3. Interpret thrust signals (highest priority):
• Bullish Thrust → Major rally initiation or continuation likely. Consider adding long exposure or reducing hedges.
• Bearish Thrust → Major decline or capitulation event likely. Consider reducing exposure or adding hedges.
• Historical context: Thrust signals are rare (2-5 per year) but highly reliable for significant market moves.
4. Interpret rotation signals (regime identification):
• Risk-On Rotation → Broad market participation. Small caps outperforming. Healthy advance. Favor cyclical sectors, higher beta names.
• Risk-Off Rotation → Narrow rally or defensive positioning. Large caps outperforming. Caution—market leadership concentrating. Favor quality, defensives.
5. Interpret divergence signals (reversal warnings):
• Bullish Divergence → Selling exhaustion. Potential bottom formation. Wait for confirmation (zero-line cross, thrust) before aggressive positioning.
• Bearish Divergence → Rally losing momentum. Potential top formation. Consider profit-taking or hedging.
6. Combine signals for maximum conviction :
• Bull Confluence : Bullish Thrust + Risk-On Rotation + Positive McClellan = Maximum bullish alignment
• Bear Confluence : Bearish Thrust + Risk-Off Rotation + Negative McClellan = Maximum bearish alignment
• Alert system specifically flags these high-conviction confluences
7. Configure parameters for your style :
• Thrust Threshold : Default 40% catches major moves. Increase to 50%+ for extreme-only signals.
• Rotation Threshold : Default 10% spread. Tighten to 7.5% for earlier rotation detection.
• Divergence Lookback : Default 50 bars. Extend to 100+ for longer-term divergences.
8. Use alerts for proactive monitoring :
• Set TradingView alerts for Thrust, Rotation, Divergence, and Confluence conditions
• Receive notifications when critical breadth regime changes occur
═══════════════════════════════════════════════════════════════════════════════
LIMITATIONS
═══════════════════════════════════════════════════════════════════════════════
- U.S. equity markets only – NHNL data limited to NYSE, NASDAQ, AMEX. Does not cover international markets or other asset classes.
- Daily timeframe only – NHNL data is reported daily. Intraday trading requires alternative breadth measures.
- Lagging in fast reversals – McClellan Oscillator and participation metrics use EMAs, introducing lag during rapid regime shifts. Thrust signals respond faster but require extreme conditions.
- Equal-weighting assumption – All stocks within NHNL counts are equally weighted. Large-cap-dominated rallies (e.g., FANG-led advances) may show strong price performance despite mediocre breadth.
- False positives in sideways markets – Divergence signals can produce false positives during extended consolidation phases. Require confirmation from thrust or rotation signals.
- Participation data quality – S5FI, R2FI, NDFI data from TradingView may have occasional gaps or delays. Indicator includes data validation logic and falls back gracefully when data unavailable.
═══════════════════════════════════════════════════════════════════════════════
TECHNICAL SPECIFICATIONS
═══════════════════════════════════════════════════════════════════════════════
- Pine Script v5
- Non-repainting (signals confirmed on bar close)
- Multi-security data feeds (6 NHNL tickers + 3 participation tickers)
- Maximum 500 lines supported (divergence line drawing)
- Real-time dashboard table with 20+ rows
- 12+ alert conditions (thrust, divergence, rotation, ratio extremes, confluence)
- Fully customizable colors, thresholds, and visual elements
═══════════════════════════════════════════════════════════════════════════════
NOTES
═══════════════════════════════════════════════════════════════════════════════
This indicator is designed for experienced equity traders, portfolio managers, and market technicians familiar with:
- Market breadth analysis and internal market structure
- McClellan Oscillator interpretation
- New High - New Low dynamics and their correlation with market cycles
- Large-cap vs. small-cap rotation patterns
- Risk-On/Risk-Off regime identification
The framework provides objective breadth signals but does not account for:
- Fundamental catalysts (earnings, economic data, Fed policy)
- Sector-specific dynamics (may show broad weakness while certain sectors thrive)
- International market correlations
- Volatility regime changes (VIX dynamics)
Best used in combination with:
- Price action analysis (support/resistance, chart patterns)
- Volume analysis (accumulation/distribution)
- Volatility indicators (VIX, put/call ratios)
- Sentiment indicators (survey data, positioning)
Market breadth is a leading indicator of internal market health. Divergences between price and breadth often precede major reversals by weeks or months.
═══════════════════════════════════════════════════════════════════════════════
Developed for institutional market breadth analysis based on New Highs - New Lows methodology with extended participation breadth integration.
Majors FX-REER/NEER Suite [BIG]═══════════════════════════════════════════════════════════════════════════════
BIG MAJORS FX-REER/NEER SUITE
═══════════════════════════════════════════════════════════════════════════════
OVERVIEW
The BIG Majors FX-REER/NEER Suite is a multi-currency valuation framework designed for institutional FX traders, macro strategists, and systematic currency allocators. This indicator calculates Real Effective Exchange Rates (REER) and Nominal Effective Exchange Rates (NEER) for the seven major currency pairs (G7 FX), integrating macroeconomic fundamentals (CPI inflation differentials) with technical trend analysis to identify structural currency misvaluations and mean-reversion opportunities.
Unlike standard FX indicators that only analyze bilateral price action, this suite constructs trade-weighted basket indices that measure each currency's strength against a portfolio of its major trading partners, adjusted for inflation differentials. This approach mirrors central bank and sovereign wealth fund methodologies for assessing equilibrium exchange rate levels.
The framework combines:
- Fundamental valuation metrics – REER/NEER indices with Z-score normalization
- Technical trend filters – Ichimoku Cloud and Aroon oscillator confluence
- Signal classification system – Long/Short/Watch/Conflict regime identification
- Quantitative confidence scoring – 0-100% signal reliability weighting
═══════════════════════════════════════════════════════════════════════════════
CORE METHODOLOGY
═══════════════════════════════════════════════════════════════════════════════
• NEER Calculation (Nominal Effective Exchange Rate)
The NEER measures a currency's value against a trade-weighted basket of its seven major trading partners, geometrically averaged in log-space to ensure symmetry:
1. All seven G7 FX pairs are normalized to USD-pivot (A/USD format)
2. Each currency's log-normalized rate is compared to the arithmetic mean of the other six
3. Formula: NEER_i = (8/7) × log(CCY_i/USD) - mean(log(CCY_others/USD))
This construction ensures that:
- A rising NEER indicates currency appreciation against the basket
- The methodology is symmetric and avoids base-currency bias
- Changes reflect multilateral competitive dynamics, not just bilateral moves
• REER Calculation (Real Effective Exchange Rate)
The REER adjusts the NEER for inflation differentials using Consumer Price Index (CPI) data:
Formula: REER_i = NEER_i + log(CPI_i) - mean(log(CPI_others))
By incorporating CPI differentials, the REER provides a purchasing-power-parity-adjusted valuation metric that accounts for relative inflation rates. This is the institutional standard for assessing fundamental currency equilibrium levels.
Data Sources :
- FX rates: TradingView composite feed (FX:), OANDA, FXCM, FOREXCOM
- CPI data: ECONOMICS namespace (monthly frequency, official statistical releases)
- Supported currencies: USD, EUR, JPY, GBP, CHF, AUD, CAD, NZD
• Valuation Bias Detection
Each currency pair is classified as overvalued (bias = -1, "Short") or undervalued (bias = +1, "Long") based on two independent criteria:
1. Percentage Band Deviation – Relative Index distance from 100 baseline
• Overvalued: Index > 100 × (1 + deviation%), default +5%
• Undervalued: Index < 100 × (1 - deviation%), default -5%
2. Z-Score Threshold – Statistical extremes in rolling lookback window
• Overvalued: Z-Score > +1.5 (default)
• Undervalued: Z-Score < -1.5 (default)
Either condition triggers a bias classification. This dual-filter approach captures both absolute deviations and relative extremes within recent historical context.
• Trend Confirmation (Ichimoku + Aroon)
To avoid counter-trend entries in strong momentum regimes, the suite integrates two independent trend filters:
Ichimoku Cloud
- Bull: Price > Cloud AND Conversion > Base Line
- Bear: Price < Cloud AND Conversion < Base Line
- Parameters: Conv(9), Base(26), Span B(52), Displacement(26)
Aroon Oscillator
- Bull: Aroon Up > 70 AND Aroon Down < 30
- Bear: Aroon Down > 70 AND Aroon Up < 30
- Default lookback: 25 periods
Trend is confirmed only when both indicators agree (Ichimoku + Aroon ≥ +1 for bull, ≤ -1 for bear).
• Setup Classification Logic
The framework combines Bias (fundamental valuation) with Trend (technical momentum) to generate four distinct setup types:
- Long↗︎ (Setup = 1) – Undervalued + Bullish Trend
Context : Mean reversion opportunity with momentum confirmation. Currency trading at fundamental discount while technical trend supports upside.
- Short↘︎ (Setup = -1) – Overvalued + Bearish Trend
Context : Mean reversion opportunity with momentum confirmation. Currency trading at fundamental premium while technical trend supports downside.
- Watch (Setup = 2) – Valuation bias present, but no clear trend
Context : Fundamental mispricing without directional conviction. Monitor for trend emergence before entering.
- Conflict (Setup = 3) – Bias and trend pointing opposite directions
Context : Overvalued currency in uptrend OR undervalued currency in downtrend. Avoid—either trend continuation or valuation mean reversion, but unclear which dominates.
• Confidence Score (0-100%)
Each setup receives a quantitative confidence weighting based on three factors:
1. Band Distance (40%) – How far the Relative Index deviates from 100 baseline
2. Z-Score Magnitude (40%) – Statistical extremeness within lookback window
3. Trend Confluence (20%) – Agreement between Ichimoku and Aroon signals
Score interpretation:
- 70-100% = High confidence (both valuation and trend extremes aligned)
- 40-69% = Moderate confidence (one factor strong, others weak)
- 0-39% = Low confidence (marginal signals, questionable reliability)
═══════════════════════════════════════════════════════════════════════════════
VISUAL COMPONENTS
═══════════════════════════════════════════════════════════════════════════════
• Dashboard Table (Top-Right)
Displays real-time valuation metrics for all seven major pairs:
Column 1: Pair – Currency pair identifier
Column 2: RelIdx – Relative Index (100 = baseline at first valid bar)
Column 3: Z – Z-Score vs. rolling lookback window
Column 4: Bias – Long/Short/Neutral valuation classification
Column 5: Trend – ↑/↓/– trend direction (Ichimoku + Aroon)
Column 6: Setup – Long↗︎/Short↘︎/Watch/Conflict (color-coded)
Column 7: Conf – Confidence score 0-100% (color-coded)
Column 8: Quelle – REER (inflation-adjusted) or NEER (nominal only)
Color coding :
- Green = Long↗︎ setup
- Red = Short↘︎ setup
- Orange = Watch (no trend)
- Purple = Conflict (bias/trend divergence)
• Optional Chart Plot
Select any of the seven pairs to plot its Relative Index on the chart with:
- Baseline at 100 (horizontal gray line)
- +Band at 100 × (1 + deviation%), dashed red
- -Band at 100 × (1 - deviation%), dashed green
- Aqua line tracking the selected pair's Relative Index evolution
• Signal Labels
When a pair transitions into Long↗︎ or Short↘︎ setup:
- Green label below bar = Long↗︎ entry signal
- Red label above bar = Short↘︎ entry signal
- Positioned using ATR offset for visibility
═══════════════════════════════════════════════════════════════════════════════
KEY FEATURES
═══════════════════════════════════════════════════════════════════════════════
- Institutional valuation methodology – REER/NEER framework used by central banks and sovereign wealth funds
- Macro-fundamental integration – CPI inflation differentials adjust for purchasing power parity
- Multi-timeframe flexibility – Daily (D), Weekly (W), Monthly (M) resolution options
- Seven simultaneous pairs – Monitors all G7 FX majors in single unified dashboard
- No repainting – All signals confirm on bar close
- Automated alerts – TradingView notifications when setups transition (Long/Short triggers)
- Confidence weighting – Quantitative scoring allows position sizing calibration
- Fallback logic – Automatically switches to NEER if CPI data incomplete
═══════════════════════════════════════════════════════════════════════════════
HOW TO USE
═══════════════════════════════════════════════════════════════════════════════
1. Apply to any chart – The indicator pulls multi-security data; chart symbol does not matter (commonly applied to SPY or DXY for reference)
2. Select data feed – Default FX: (TradingView composite) is recommended; alternatives: OANDA, FXCM, FOREXCOM
3. Choose timeframe :
• Daily (D) = Swing trading, medium-term mean reversion (2-8 week horizons)
• Weekly (W) = Position trading, macro regime shifts (1-6 month horizons)
• Monthly (M) = Strategic allocation, long-term equilibrium analysis (6-24 month horizons)
4. Configure parameters :
• Z-Score Lookback : Default 252 (one trading year on Daily); adjust for timeframe (52 for Weekly, 36 for Monthly)
• Deviation Band : Default ±5%; tighten to ±3% for more signals, widen to ±7% for higher conviction
• Z-Threshold : Default ±1.5; increase to ±2.0 for extreme-only signals
5. Monitor dashboard table :
• Focus on pairs showing Long↗︎ or Short↘︎ setups with Conf ≥ 70%
• Watch for Watch setups transitioning to directional signals
• Avoid Conflict setups unless you have strong macro conviction
6. Execute mean-reversion trades :
• Long↗︎ = Buy undervalued currency (e.g., EURUSD Long if EUR undervalued)
• Short↘︎ = Sell overvalued currency (e.g., USDJPY Short if JPY overvalued)
• Target: Mean reversion toward 100 baseline or opposite band
7. Position sizing by confidence :
• High confidence (70-100%) → Standard position size
• Moderate confidence (40-69%) → Reduce size by 50%
• Low confidence (<40%) → Avoid or use minimal pilot size
8. Risk management :
• Stop loss: Place beyond recent swing high/low or 1.5× ATR
• Take profit: Opposite valuation band or 100 baseline
• Time stop: Exit if setup reverses (Long→Neutral→Short or vice versa)
═══════════════════════════════════════════════════════════════════════════════
LIMITATIONS
═══════════════════════════════════════════════════════════════════════════════
- CPI data lag – Consumer Price Index releases are monthly and report with 2-4 week delay. REER calculations may lag real-time inflation dynamics.
- Structural shifts ignored – The baseline (100) is set at first valid bar. Long-term structural appreciation/depreciation (e.g., 20-year USD bull market) is not accounted for. Suitable for cyclical mean reversion, not secular trend analysis.
- Equal-weighting assumption – All seven currencies are equally weighted in basket construction. Actual trade-weighted indices use GDP or trade volume weights, which this framework simplifies.
- No emerging market currencies – Limited to G7 majors (USD, EUR, JPY, GBP, CHF, AUD, CAD, NZD). Does not cover EM FX (e.g., CNY, BRL, MXN).
- Technical filter limitations – Ichimoku and Aroon are lagging indicators. In fast-moving markets (e.g., central bank interventions, geopolitical shocks), trend signals may arrive late.
- Mean reversion assumption – The framework assumes currencies revert to equilibrium. During regime changes (e.g., monetary policy divergence, crisis flows), deviations can persist or expand before eventual reversal.
═══════════════════════════════════════════════════════════════════════════════
TECHNICAL SPECIFICATIONS
═══════════════════════════════════════════════════════════════════════════════
- Pine Script v6
- Non-repainting (signals confirmed on bar close)
- Multi-security data feeds (7 FX pairs + 8 CPI series)
- Automated alert system (transitions to Long↗︎/Short↘︎)
- Real-time dashboard table (8 columns × 8 rows)
- Maximum 500 labels supported (100 per pair direction)
- Fallback logic: NEER used if CPI data unavailable
═══════════════════════════════════════════════════════════════════════════════
NOTES
═══════════════════════════════════════════════════════════════════════════════
This indicator is designed for experienced FX traders, macro strategists, and portfolio managers familiar with:
- Real and nominal effective exchange rate concepts
- Purchasing power parity theory and inflation differentials
- Multi-currency portfolio construction and basket hedging
- Carry trade and convergence strategies
- Central bank policy impacts on FX equilibrium levels
The framework provides objective valuation signals but does not account for:
- Interest rate differentials (carry)
- Capital flow dynamics (risk-on/risk-off)
- Central bank intervention zones
- Geopolitical risk premiums
Always combine REER/NEER valuation analysis with macro event calendars, positioning data (CFTC COT reports), and fundamental policy divergence assessments.
═══════════════════════════════════════════════════════════════════════════════
Developed for institutional FX valuation analysis based on central bank REER/NEER methodologies.
BIG Options Strategy Regime Scanner═══════════════════════════════════════════════════════════════════════════════
BIG OPTIONS STRATEGY REGIME SCANNER
═══════════════════════════════════════════════════════════════════════════════
OVERVIEW
The BIG Options Strategy Regime Scanner is a quantitative regime detection framework designed to identify optimal entry conditions for directional and convexity-based options strategies. This indicator analyzes market structure (trend), volatility environment (VIX), and momentum (RSI) to classify markets into distinct trading regimes and signal appropriate options deployment strategies.
The indicator was developed specifically for systematic options traders who require objective, rule-based regime identification rather than discretionary interpretation. It integrates institutional volatility metrics with technical momentum filters to produce high-probability entry signals for three core strategies: Call Tail Convexity , Put Tail Convexity , and Bull Put Income .
═══════════════════════════════════════════════════════════════════════════════
CORE METHODOLOGY
═══════════════════════════════════════════════════════════════════════════════
• Regime Detection Logic
The indicator operates on a three-factor regime classification system:
1. Trend Filter – Identifies directional bias using SMA 200 as the primary trend delimiter. Position relative to this level determines bull/bear regime classification.
2. Volatility Environment – Uses VIX (CBOE Volatility Index) thresholds to categorize market conditions:
• Low Vol: VIX < 17 (favors premium buying / convexity strategies)
• Mid Vol: VIX 17-22 (transition zone, tactical income strategies)
• High Vol: VIX ≥ 22 (risk-off, defensive positioning)
3. Momentum Confirmation – RSI(14) provides tactical entry timing to avoid premature signals and improve entry quality.
• Strategy Deployment Rules
Call Tail Entry (Bull Convexity)
Triggers when:
- Close > SMA 200 (bull trend confirmed)
- VIX < 17 (low volatility, cheap premium)
- RSI < 45 (tactical pullback for entry)
Context : This regime identifies periods where upside convexity is underpriced. Appropriate for OTM call buying or call spreads designed to capture trend acceleration during low-vol environments.
Put Tail Entry (Bear Convexity)
Triggers when:
- Close < SMA 200 (bear trend confirmed)
- VIX < 17 (low volatility, cheap premium)
- RSI > 65 (tactical bounce for entry)
Context : Signals opportunities to buy downside protection or OTM puts during complacent market conditions. Designed for convexity-seeking traders anticipating volatility expansion in bearish structures.
Bull Put Income
Triggers when:
- Close > SMA 200 (bull trend confirmed)
- VIX 17-20 (mid-range volatility, elevated premium)
- Close > SMA 50 (short-term strength)
Context : Identifies favorable conditions for selling OTM put spreads or cash-secured puts. Targets premium collection in constructive markets with sufficient volatility to generate income but not excessive tail risk.
═══════════════════════════════════════════════════════════════════════════════
VISUAL COMPONENTS
═══════════════════════════════════════════════════════════════════════════════
• Chart Signals
- Purple Triangle (below bar) = Call Tail Entry
- Red Triangle (above bar) = Put Tail Entry
- Green Triangle (below bar) = Bull Put Income
• Background Coloring
Chart background dynamically highlights active signals with semi-transparent overlays:
- Purple = Call Tail active
- Red = Put Tail active
- Green = Bull Put Income active
• Strategy Table
Top-right table displays real-time strategy status:
- Strategy name
- Condition Met (✅/❌)
- Color-coded for quick visual scan
• Moving Averages
- SMA 50 (Orange) – Short-term trend filter
- SMA 200 (Blue) – Primary trend delimiter
═══════════════════════════════════════════════════════════════════════════════
KEY FEATURES
═══════════════════════════════════════════════════════════════════════════════
- Multi-timeframe flexibility – Works on Daily, 4H, 1H timeframes for different deployment horizons
- No repainting – All signals confirm on bar close
- Institutional volatility integration – Uses VIX directly from CBOE data feed
- Clean visual hierarchy – Minimal clutter, maximum signal clarity
- Regime-aware strategy allocation – Matches strategy type to market environment
═══════════════════════════════════════════════════════════════════════════════
HOW TO USE
═══════════════════════════════════════════════════════════════════════════════
1. Apply to target underlying – Works on indices (SPX, NDX, RUT), equity ETFs (SPY, QQQ, IWM), or individual equities with liquid options markets.
2. Monitor regime table – Top-right table shows which strategies are currently valid based on real-time conditions.
3. Execute on signal confirmation – When triangle appears + table shows ✅, deploy corresponding options strategy.
4. Timeframe considerations :
• Daily = Swing options (30-60 DTE typical)
• 4H = Shorter-duration tactical (14-30 DTE)
• 1H = Ultra-short-term (0-7 DTE, requires precision execution)
5. Combine with position sizing rules – This indicator identifies when to deploy strategies, not how much . Use appropriate risk management and position sizing frameworks.
═══════════════════════════════════════════════════════════════════════════════
LIMITATIONS
═══════════════════════════════════════════════════════════════════════════════
- VIX dependency – Signals are calibrated for US equity volatility regimes. May require recalibration for other asset classes.
- No options-specific calculations – This indicator identifies favorable regimes but does not calculate Greeks, IV percentile, or specific strike selection. Traders must perform their own options analysis.
- Trend-following bias – The 200-day SMA filter creates a structural bias toward trend-following systems. May underperform in mean-reverting, range-bound markets.
- Signal frequency – Depending on market conditions, signals may be infrequent. This is by design to maintain signal quality over quantity.
═══════════════════════════════════════════════════════════════════════════════
TECHNICAL SPECIFICATIONS
═══════════════════════════════════════════════════════════════════════════════
- Pine Script v5
- Non-repainting (signals confirmed on close)
- Multi-security data feed (VIX via request.security() )
- Maximum 500 labels supported
- Real-time table updates with color-coded status indicators
═══════════════════════════════════════════════════════════════════════════════
NOTES
═══════════════════════════════════════════════════════════════════════════════
This indicator is designed as a decision-support tool for experienced options traders. It provides objective regime classification and timing signals but does not constitute financial advice or a complete trading system. Always perform independent analysis and risk assessment before deploying options strategies.
Appropriate for traders familiar with:
- Volatility term structure
- Options Greeks and pricing dynamics
- Position construction (spreads, naked positions, hedged structures)
- Capital allocation and risk management
═══════════════════════════════════════════════════════════════════════════════
Developed for systematic options deployment based on quantitative regime detection.
BIG Professional Relative Rotation GraphPROFESSIONAL RELATIVE ROTATION GRAPH (RRG)
SUMMARY
The Professional Relative Rotation Graph (RRG) is a powerful charting tool that visualizes the **relative strength** and **momentum** of multiple assets (currencies, commodities, or sectors) compared to a benchmark on a single quadrant chart. This overlay is discreetly displayed in the top-left corner of your chart, enabling a fast, visual assessment of market and sector trends.
---
HOW THE RRG WORKS
The RRG uses two key metrics:
1. Relative Strength (RS-Ratio): Measures an asset's long-term performance relative to the benchmark (X-Axis). Values above 100 indicate outperformance.
2. Relative Momentum (RS-Momentum): Measures the short-term rate of change in relative strength (Y-Axis). Values above 100 indicate rising momentum.
THE FOUR QUADRANTS
The asset's position shows its current market phase.
* LEADING: Outperforming in strength and rising momentum (Bullish).
* WEAKENING: Outperforming in strength, but falling momentum (Caution).
* LAGGING: Underperforming in strength and falling momentum (Bearish).
* IMPROVING: Underperforming in strength, but rising momentum (Recovery).
AREAS OF APPLICATION
Select the desired RRG Type via the inputs:
* Forex RRG: Compares currencies relative to the DXY.
* Commodity RRG: Compares commodities relative to the DJP.
* Equity Sectors RRG: Compares US sectors relative to the SPY.
---
USAGE NOTES (MAX 8 LINES)
The RRG tracks rotation of assets through the quadrants.
1. Ideal Entry: Look for the rotation: Lagging → Improving → Leading.
2. Ideal Exit/Short: Look for the rotation: Leading → Weakening → Lagging.
3. Positions are always relative to the benchmark (DXY, SPY, or DJP).
4. The RRG Type input switches between asset groups.
5. Use Zoom Factor to better distinguish closely clustered assets.
6. Trail Points confirm the current direction of the asset's movement.
Trinity ATR Real Move DetectorTrinity ATR Real Move Detector
This ATR Energy Table indicator is one of the simplest yet most powerful filters you can have on a chart when trading short-dated or 0DTE options or swing trades on any timeframe from 1-minute up to 4-hour. Its entire job is to answer the single most important question in intraday and swing trading: “Does the underlying actually have enough short-term explosive energy right now to make a directional position worth the theta and the spread, or is this just pretty candles that will die in ten minutes?”
Most losing 0DTE and short-dated option trades happen because people buy or sell direction on a “nice-looking” breakout or pullback while the underlying is actually in low-energy grind mode. The premium decays faster than the move develops, and you lose even when you’re “right” on direction. This little table stops that from ever happening again.
Here’s what it does in plain English:
Every bar it measures two things:
- The current ATR on whatever timeframe you are using (1 min, 3 min, 5 min, 10 min, etc.). This tells you how big the average true range of the last 14 bars has been — in other words, how violently the stock or index is actually moving right now.
- The daily ATR (14-period on the daily chart). This is your benchmark for “normal” daily movement over the last two–three weeks.
It then multiplies the daily ATR by a small number (the multiplier you set) and compares the two. If the short-term ATR is bigger than that percentage of the daily ATR, the table turns bright green and says “ENOUGH ENERGY”. If not, it stays red and says “NOT ENOUGH”.
Why this works so well:
- Real explosive moves that carry for 0DTE and 1–3 DTE options almost always show a short-term ATR spike well above the recent daily average. Quiet grind moves never do.
- The comparison is completely adaptive — on a high-vol day the threshold automatically rises, on a low-vol day it automatically drops. You never have to guess if “2 points on SPY is big today”.
- It removes emotion completely. You simply wait for green before you even think about clicking buy or sell on an option.
Key settings and what to do with them:
- Energy Multiplier — this is the only number you ever touch. It is expressed as a decimal (0.15 = 15 % of the daily ATR). Lower = more signals, higher = stricter and higher win rate. The tooltip gives you the exact sweet-spot numbers for every popular timeframe (0.09 for 1-minute scalping, 0.13 for 3-minute, 0.14–0.16 for 5-minute, 0.15–0.19 for 10-minute, etc.). Just pick your timeframe once and type the number — done forever.
- ATR Length — leave it at 14. That’s the standard and works perfectly.
- Table Position — move the table to wherever you want on the chart (top-right, bottom-right, bottom-left, top-left).
- Table Size — make the text Tiny, Small, Normal or Large depending on how much screen space you have.
How this helps you make money and stop losing it:
- On most days you will see red 80–90 % of the time — that’s good! It is forcing you to sit on your hands instead of overtrading low-energy chop that eats premium.
- When it finally flips green you know institutions are actually pushing size right now — follow-through probability jumps from ~40 % to 65–75 % depending on the stock and timeframe.
- You stop buying calls on every green candle and puts on every red candle. You only strike when the market is genuinely “awake”.
- Over a week you take dramatically fewer trades, but your win rate and average winner size go way up — which is exactly how consistent intraday option profits are made.
In short, this tiny table is the closest thing to an “edge on/off switch” that exists for short-dated options. Red = preserve capital and go do something else. Green = pull the trigger with confidence. Use it religiously and you’ll immediately feel the difference in your P&L.
TFGI Lite: Technical Fear & Greed Dashboard (All-Assets)📊 TFGI Lite: Technical Fear & Greed Dashboard (All-Assets)
Don't guess the sentiment. Measure it.
不要猜測情緒,去測量它。
🇹🇼 繁體中文:市場情緒的導航儀
什麼是 TFGI Lite?
這是一個簡潔的「市場氣象儀表板」,直接顯示在您的 K 線圖上。它幫助您判斷現在市場是處於「過度恐懼(適合貪婪)」還是「過度貪婪(適合謹慎)」的狀態。適用於股票、加密貨幣、外匯與期貨。
數字代表什麼意義?
分數範圍為 0 到 100:
0 - 25 (極度恐懼 / 綠色區域):
市場陷入恐慌,價格可能被低估。這通常是尋找買點的機會(別人恐懼我貪婪)。
75 - 100 (極度貪婪 / 紅色區域):
市場過熱,追高風險極大。這通常是考慮獲利了結或警惕回調的時刻。
25 - 75 (中性震盪):
市場處於正常波動範圍,順勢操作即可。
儀表板上的三個關鍵數據:
Local TFGI (當前商品):您現在看的這張圖表(例如比特幣或台積電)的情緒分數。
Global TFGI (全球宏觀):全球資金的流向與風險偏好(綜合了美股、波動率 VIX、美元與債市)。這就像是「大盤天氣」。如果全球都在下雨(恐慌),您的股票也很難獨善其身。
Spread (情緒溫差):
如果 Local 分數遠高於 Global,代表這個商品漲過頭了,要注意風險。
如果 Local 分數遠低於 Global,代表這個商品被錯殺了,可能是機會。
🇺🇸 English: Navigate Market Sentiment Simply
What is TFGI Lite?
A clean, professional "Weather Dashboard" for your chart. It quantifies market psychology, helping you decide when to be contrarian. It works on any asset class (Stocks, Crypto, Forex).
How to Read the Numbers (0-100 Score)
0 - 25 (Extreme Fear / Green Zone):
Investors are panicking. The asset may be oversold. Historically, this is often a buying opportunity.
75 - 100 (Extreme Greed / Red Zone):
The market is overheated and FOMO is high. The risk of a correction is increasing. It might be time to take profits.
25 - 75 (Neutral):
Normal market fluctuations.
Key Features on the Dashboard:
Local TFGI: The sentiment score of the specific asset you are watching right now.
Global TFGI: The sentiment of the entire global market (Aggregating SPY, VIX, DXY, and Bonds). Think of this as the "Macro Tide". It's hard to swim against the tide.
Spread: The difference between the Asset and the Global market.
Positive Spread: This asset is hotter than the global market (Potential Overvaluation).
Negative Spread: This asset is weaker than the global market (Potential Undervaluation).
🇯 日本語:相場の「過熱感」を一目で判断
TFGI Liteとは?
チャート上に表示されるシンプルな「センチメント(市場心理)ダッシュボード」です。市場が「悲観(買い時)」にあるのか、「楽観(売り時)」にあるのかを客観的な数値で示します。株、仮想通貨、FXなど、あらゆる資産に対応しています。
スコアの見方(0〜100)
0 - 25 (極度の恐怖 / 緑エリア):
市場はパニック状態です。売られすぎの可能性があり、逆張りの買いチャンスとなることが多いゾーンです。
75 - 100 (極度の強欲 / 赤エリア):
市場は過熱しており、イケイケの状態です。暴落のリスクが高まっているため、利益確定を検討する警戒ゾーンです。
25 - 75 (中立):
通常の変動範囲内です。
ダッシュボードの3つの重要指標:
Local TFGI (個別): 現在表示している銘柄のセンチメントスコアです。
Global TFGI (全体): 世界市場全体のムード(米国株、VIX指数、ドル、債券を総合分析)。「地合い」を確認するために使います。
Spread (乖離): 個別銘柄と世界市場の温度差。この数値が大きい場合、その銘柄だけが異常に買われすぎている可能性があります。
🇰🇷 한국어: 시장의 공포와 탐욕을 한눈에
TFGI Lite란 무엇인가요?
차트 위에 직접 표시되는 깔끔한 "시장 심리 계기판"입니다. 현재 시장이 '과도한 공포(저점 매수 기회)'인지 '과도한 탐욕(고점 매도 주의)'인지 판단하는 데 도움을 줍니다. 주식, 코인, 외환 등 모든 자산에 적용 가능합니다.
숫자가 의미하는 것 (0~100점)
0 - 25 (극심한 공포 / 초록색 구간):
투자자들이 패닉에 빠져 투매가 나옵니다. 역사적으로 이는 저가 매수(Buy the dip)의 기회일 가능성이 높습니다.
75 - 100 (극심한 탐욕 / 빨간색 구간):
시장이 과열되었습니다. 추격 매수는 위험하며, 이익 실현을 고려하거나 조정을 대비해야 할 때입니다.
25 - 75 (중립):
일반적인 시장 변동 구간입니다.
대시보드의 핵심 데이터:
Local TFGI (개별 종목): 지금 보고 계신 차트(코인/주식)의 자체적인 심리 점수입니다。
Global TFGI (글로벌 매크로): 전 세계 자금의 흐름과 위험 선호도(미국 증시, VIX, 달러, 채권 종합). 시장 전체의 "날씨"를 알려줍니다。
Spread (괴리율): 개별 종목과 글로벌 시장 간의 온도 차이. 개별 종목 점수가 글로벌보다 훨씬 높다면, 해당 종목이 과매수되었을 수 있습니다。
Advanced Confluence DashboardAdvanced Confluence Dashboard - Multi-Indicator Technical Analysis Tool
OVERVIEW
The Advanced Confluence Dashboard is a comprehensive technical analysis tool designed to help traders identify high-probability trade setups by tracking multiple technical indicators simultaneously. The indicator displays up to 13 different technical confluences in an easy-to-read dashboard format, providing both individual signals and an overall market bias percentage. Switch between full table view and condensed view for maximum chart flexibility.
FEATURES
- 13 Technical Confluences: RSI, VWAP, EMA Cross (9/21), MACD, Stochastic, Trend (50 EMA), Bollinger Bands, ADX Strength, Price Momentum, Volume Breakout, VWAP Bands, 200 EMA, and Price Action (Higher Highs/Lower Lows)
- Real-time Confluence Scoring: Automatically calculates bullish vs bearish signal strength
- Multi-Timeframe Support: Analyze indicators on any timeframe while viewing your chart on another
- Customizable Display: Toggle individual indicators on/off, adjust table position, size, and transparency
- ATR Information: Optional ATR display for volatility-based position sizing
- Condensed View Mode: Ultra-minimal display showing only confluence score and ATR (perfect for scalpers who want maximum chart visibility)
- Full Table View: Detailed breakdown of each indicator's value and signal
- Color-Coded Signals: Green (bullish), red (bearish), white (neutral) for instant visual clarity
HOW IT WORKS
The indicator evaluates each enabled technical indicator and assigns it either a bullish or bearish signal based on its current state. The confluence score shows how many indicators are aligned in each direction, giving you a clear percentage-based view of market bias. For example, if 8 out of 13 indicators are bullish, you'll see a 62% LONG BIAS signal.
DISPLAY MODES
Full View: Shows all enabled indicators with their current values and signals in a detailed table format. Perfect for understanding exactly which indicators are bullish or bearish and why.
Condensed View: Shows only the confluence score (e.g., "4/13 LONG | 9/13 SHORT - SHORT BIAS 69%") and optional ATR information. This minimal display keeps your chart clean while still providing the essential confluence data you need for quick trading decisions. Ideal for scalpers and traders who want maximum chart space.
CONFLUENCES EXPLAINED
- RSI: Momentum oscillator (>50 bullish, <50 bearish, shows overbought/oversold)
- VWAP: Volume-weighted average price (above = bullish, below = bearish)
- EMA Cross: Fast EMA (9) vs Slow EMA (21) with price position
- MACD: Trend-following momentum (line above signal = bullish)
- Stochastic: Momentum oscillator (>50 bullish, <50 bearish)
- Trend (50 EMA): Price position relative to 50-period EMA
- Bollinger Bands: Volatility and mean reversion (above middle = bullish)
- ADX Strength: Trend strength indicator (shows strong trends)
- Price Momentum: Rate of price change over specified period
- Volume Breakout: Detects unusual volume with directional bias
- VWAP Bands: Standard deviation bands around VWAP
- 200 EMA: Long-term trend indicator
- Price Action: Higher Highs and Lower Lows pattern detection
SETTINGS
Timeframe Settings:
- Indicator Timeframe: Analyze indicators on a different timeframe than your chart
Display Options:
- Condensed View: Toggle between full table and minimal display
- Show ATR Info: Display/hide ATR information
- Table Position: 9 positions (top/middle/bottom + left/center/right)
- Text Size: Auto, tiny, small, normal, large, huge
- Table Transparency: 0-100%
- Border Width: 1-5 pixels
Confluence Toggles:
- Enable/disable any of the 13 confluences individually
- Confluence score automatically adjusts based on enabled indicators
Indicator Settings:
- RSI Length (default: 14)
- ATR Length (default: 14)
- Fast/Slow EMA (default: 9/21)
- Trend EMA (default: 50)
- Volume SMA Length (default: 20)
- Volume Breakout Multiplier (default: 2.0x)
- Bollinger Bands Length/StdDev (default: 20/2.0)
- ADX Length (default: 14)
- ADX Strength Threshold (default: 25)
- Momentum Length (default: 10)
IDEAL USE CASES
- Scalping: Quick identification of confluence for fast entries/exits - use condensed view for clean charts
- Day Trading: Multi-timeframe analysis for intraday setups
- Swing Trading: Confirmation of longer-term bias
- Risk Management: Higher confluence = higher probability trades
- Trade Filtering: Only take trades when confluence reaches your threshold
- Multi-Monitor Setups: Use condensed view on execution charts, full view on analysis charts
HOW TO USE
1. Add the indicator to your chart
2. Toggle on/off the confluences you prefer to use
3. Choose between Full View (detailed) or Condensed View (minimal)
4. Adjust the table position and size to your preference
5. Look for high confluence percentages (70%+ is strong bias)
6. Use the individual indicator signals (full view) to understand market structure
7. Combine with your trading strategy for entry/exit confirmation
TIPS
- Use Condensed View when scalping to keep your chart clean and uncluttered
- Switch to Full View when you need to analyze which specific indicators are conflicting
- Higher confluence doesn't guarantee success - always use proper risk management
- Consider using 60%+ confluence as a minimum threshold for trades
- Pay attention to which specific indicators are aligned vs conflicting
- Use the ATR display for quick reference on position sizing
- Experiment with different timeframes to find what works for your style
- Disable indicators you don't use to simplify your confluence scoring
DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice, investment advice, trading advice, or any other type of advice. Trading and investing in financial markets involves substantial risk of loss and is not suitable for every investor. Past performance is not indicative of future results. Always do your own research and consult with a qualified financial advisor before making any investment decisions.
Dragon Smart Ratings (IBD/CANSLIM methodology)🐉 Dragon Smart Ratings – Institutional Grade Analysis
Dragon Smart Ratings is a comprehensive technical and fundamental analysis tool designed to identify market leaders instantly. Inspired by the legendary IBD/CANSLIM methodology, this script calculates five key ratings to help traders separate the "True Leaders" from the rest of the market.
📊 KEY RATINGS EXPLAINED
1. 🟢 Composite Rating (Overall Score)
The master score (1-99) that combines all other ratings.
Smart Protection Logic: Includes a "Contrarian Shield." If a stock has exceptional fundamentals (EPS/SMR) but temporary price weakness, the Composite Rating is protected to ensure you don't miss potential turnaround plays (e.g., META scenarios).
Leader Boost: If a stock exhibits both high RS and high EPS, the score is mathematically forced to 95-99.
2. 📈 RS Rating (Relative Strength)
Measures price performance against the general market (SPY) over the last 12 months.
Leader Logic: heavily weights the most recent 3 months.
Near-High Bonus: Awards extra points if the price is trading near its 52-week high.
3. 💰 EPS Rating (Earnings Per Share)
Analyzes earnings growth on both a Quarterly and Annual basis.
🚀 Smart Fill Technology: TradingView sometimes returns N/A or delayed data for ADRs (like TSM) or international stocks (like AGI). This script detects if a stock has high Price Strength (RS > 90) and automatically extrapolates a fair EPS score, ensuring Leaders are never rated "40" due to missing data.
King Mode: If a stock shows massive growth (>50%) in either the last quarter or the 3-year average, it gets a perfect score.
4. 💎 SMR Rating (Sales + Profit Margins + ROE)
Grades stocks from A (Best) to E (Worst).
Hero Mode: Unlike traditional strict algorithms, Dragon Ratings recognizes that one "Super Metric" (e.g., a massive 40% Margin) can outweigh a lower ROE. If a stock excels in just one category, it qualifies for an A or B.
5. 📦 Acc/Dis Rating (Accumulation/Distribution)
Analyzes Volume and Price action to detect Institutional Buying or Selling.
Strict Mode: Uses a refined Chaikin Money Flow (CMF) logic combined with a "Trend Penalty." It is very difficult to get an A rating unless there is significant heavy-volume buying while the price is above key moving averages.
📱 MOBILE OPTIMIZED (SOLO MODE)
Most fundamental scripts crash on mobile due to memory limits. Dragon Smart Ratings V33 uses advanced Tuple Requests and reduced historical calls to ensure zero crashes on the TradingView Mobile App, while still delivering deep fundamental analysis.
🔔 ALERTS & TELEGRAM INTEGRATION
Built-in support for JSON Alerts.
You can set up a single alert to send a formatted message to your Telegram Bot containing all rating details whenever a stock crosses your defined threshold (default: Composite > 80).
This tool is developed to support the trading community with high-precision data analysis.
Disclaimer: This tool is for informational purposes only and does not constitute financial advice. Always do your own due diligence.
Granger Causality Flow IndicatorGranger Causality Flow Indicator
█ OVERVIEW
The Granger Causality Flow Indicator is a statistical analysis tool designed to identify predictive relationships between two assets (Symbol X and Symbol Y). In econometrics, "Granger Causality" does not test for actual physical causation (e.g., rain causes mud); rather, it tests for predictive causality .
This script is designed to answer a specific question for traders: "Does the past price action of Asset X provide statistically significant information about the future price of Asset Y, beyond what is already contained in the past prices of Asset Y itself?"
This tool is particularly useful for Pairs Traders , Arbitrageurs , and Macro Analysts looking to identify lead-lag relationships between correlated assets (e.g., BTC vs. ETH, NASDAQ vs. SPY, or Gold vs. Silver).
█ CONCEPTS & CALCULATIONS
To determine if Symbol X "Granger-causes" Symbol Y, this script utilizes a variance-reduction approach based on Auto-Regressive (AR) models. Due to the runtime constraints of Pine Script™, we employ an optimized proxy for the standard Granger test using an AR(1) logic (looking back 1 period).
The calculation performs a comparative test over a rolling window (Default: 50 bars):
The Restricted Model (Baseline):
We attempts to predict the current value of Y using only the previous value of Y (Auto-Regression). We measure the error of this prediction (the "Residuals") and calculate the Variance of the Restricted Model (Var_R) .
The Unrestricted Model (Proxy):
We then test if the past value of X can explain the errors made by the Restricted Model. If X contains predictive power, including it should reduce the error variance. We calculate the remaining Variance of the Unrestricted Model (Var_UR) .
The GC Score:
The script calculates a score based on the ratio of variance reduction:
Score = 1 - (Var_UR / Var_R)
If the Score is High (> 0) : It implies that including X significantly reduced the prediction error for Y. Therefore, X "Granger-causes" Y.
If the Score is Low or 0 : It implies X added no predictive value.
█ HOW TO USE
This indicator is not a simple Buy/Sell signal generator; it is a context filter for cross-asset analysis.
1. Setup
Symbol 1 (X): The potential "Leader" (e.g., BINANCE:BTCUSDT).
Symbol 2 (Y): The potential "Follower" (e.g., BINANCE:ETHUSDT).
Differencing: Enabled by default. This checks the changes in price rather than absolute price, which is crucial for statistical stationarity.
2. Interpreting the Visuals
The script changes the background color and displays a table to indicate the current flow of causality:
Green Background (X → Y): Symbol 1 is leading Symbol 2. Price moves in Symbol 1 are statistically likely to foreshadow moves in Symbol 2.
Orange Background (Y → X): Symbol 2 is leading Symbol 1. The relationship has inverted.
Blue Background (Bidirectional): Both assets are predicting each other (tight coupling or feedback loop).
Gray/No Color: No statistically significant relationship detected.
3. Trading Application
Trend Confirmation: If you trade Symbol Y, wait for the background to turn Green . This indicates that the "Leader" (Symbol X) is currently exerting predictive influence, potentially making trend-following setups on Symbol Y more reliable.
Divergence Warning: If you are trading a correlation pair and the causality breaks (turns Gray), the correlation may be weakening, signaling a higher risk of divergence.
█ SETTINGS
Symbol 1 (X) & Symbol 2 (Y): The two tickers to analyze.
Use Differencing: (Default: True) Converts prices to price-changes. Highly recommended for accurate statistical results to avoid spurious regression.
Calculation Window: The number of bars used to compute the variance and coefficients. Larger windows provide smoother, more stable signals but react slower to regime changes.
Significance Threshold: (0.01 - 0.99) The minimum variance reduction score required to trigger a causal signal.
█ DISCLAIMER
This tool provides statistical analysis of historical price data and does not guarantee future performance. Granger Causality is a measure of predictive capability, not necessarily fundamental causation. Always use appropriate risk management.
Relative Value & Risk Analytics DashboardThis is your risk-adjusted alpha analysis tool - exactly what hedge fund and insurance company clients want to see.
Attractiveness Score | Composite score combining RV and Risk (0-100)
Relative Performance | vs Benchmark (SET/SPY), RS Ratio Trend, 52W Position, Spread Z-Score
Risk Metrics | Beta, Alpha, Sharpe, Sortino, Information Ratio, Volatility
Correlation | Benchmark Correlation, R-Squared, Regime Change Detection
Pair Trade | Peer Correlation, Pair Z-Score, Long/Short Signals
Factor Exposure | Momentum (1/3/6M), Mean Reversion Signal, Distance from SMA50
Drawdown | Current DD, Max DD, Recovery Needed, Ulcer Index, Calmar, VaR
Key Features:
Benchmark-Relative Analysis: Compare any stock vs SET Index or any other benchmark
Pair Trade Signals: Automatically generates long/short signals based on Z-score
Risk-Adjusted Returns: Sharpe, Sortino, Information Ratio - what your clients actually care about
Regime Change Detection: Alert when correlation dynamics shift
Drawdown Risk: VaR, Ulcer Index, Calmar Ratio for risk-conscious clients
SHUBHAM 50000 ULTRA OPTIONSHUBHAM 50000 ULTRA OPTION
OptionFlow Pro: Smart Money & Anomaly Detection Indicator
Tagline: Don't just follow the flow. Understand it.
Core Concept:
OptionFlow Pro is an advanced, real-time market scanner and visual indicator that transforms raw options chain data into actionable trading intelligence. It goes beyond simple volume and open interest by identifying Unusual Options Activity (UOA), tracking Sweep Orders, and calculating the Volume-Weighted Put/Call Ratio to highlight where institutional "smart money" is placing its bets.
Key Features for Traders:
Unusual Activity & Sweep Detector:
What it does: Scans every tick for orders that significantly deviate from normal trading patterns—large block trades executed at the ask (for calls) or bid (for puts), and "sweep" orders that clean out multiple price levels instantly.
Trader Benefit: Pinpoints potential breakout or breakdown candidates before major moves occur in the underlying stock. Alerts you to aggressive, high-conviction buying or selling that retail traders often miss.
Volume-Weighted Put/Call Ratio (with Trend):
What it does: Calculates the put/call ratio not just by volume, but by the premium spent. A high premium-weighted put/call ratio shows bears are putting serious money behind their bets, making it a stronger signal.
Trader Benefit: Offers a more nuanced view of market sentiment than standard PCR. Helps gauge extreme fear (potential oversold bounce) or complacency (overbought top) in a specific stock or index (SPX/SPY).
Max Pain & Gamma Exposure (GEX) Visualizer:
What it does: Dynamically calculates the "Max Pain" strike (where option sellers face minimal losses) and estimates Gamma Exposure levels. Visual overlays on the chart show key pin levels and large gamma walls.
Trader Benefit: Identifies potential price magnets for weekly/monthly expiry. Understand where hedging activity by market makers may amplify volatility (negative gamma) or suppress it (positive gamma), aiding in entry/exit planning.
Implied Volatility (IV) Rank & Skew Analysis:
What it does: Compares current IV to its historical range (IV Rank) and visualizes the volatility smile/skew across strikes. Highlights expensive vs. cheap option premiums.
Trader Benefit: Empowers you to sell overpriced volatility (high IV Rank) and buy underpriced volatility (low IV Rank). Skew anomalies can signal asymmetric risk/reward opportunities or market fears about a sharp directional move.
Customizable Alerts & Heatmaps:
What it does: Set alerts for specific UOA criteria, PCR spikes, or IV changes. The platform-wide heatmap aggregates flow data across all symbols to show sector-level money movement.
Trader Benefit: Saves hours of manual scanning. Focus only on the setups that match your strategy (e.g., "Alert me for any $1M+ call sweeps in tech stocks").
Who Is It For?
Active Options Traders & Scalpers: Find high-probability directional plays with institutional confirmation.
Hedgers & Portfolio Managers: Identify tail-risk hedging activity and gauge overall market dealer positioning.
Volatility Traders: Precisely time entries for strangles, straddles, or iron condors based on IV regime and gamma.
Swing Traders & Technical Analysts: Confirms or diverges from classic chart patterns (e.g., breakout with strong call flow = higher conviction).
Why It's Different:
Most indicators look backward at price. OptionFlow Pro looks forward at market structure, liquidity, and dealer hedging flows. It doesn't predict the future; it reveals the present positioning that will influence future price action.
Platform Integration: Available as a standalone web platform, a TradingView custom script, and a direct data feed into thinkorswim, Interactive Brokers, and other major brokerages.
Absorption RatioThe Hidden Connections Between Markets
Financial markets are not isolated islands. When panic spreads, seemingly unrelated assets suddenly begin moving in lockstep. Stocks, bonds, commodities, and currencies that normally provide diversification benefits start falling together. This phenomenon, where correlations spike during crises, has devastated portfolios throughout history. The Absorption Ratio provides a quantitative measure of this hidden fragility.
The concept emerged from research at State Street Associates, where Mark Kritzman, Yuanzhen Li, Sebastien Page, and Roberto Rigobon developed a novel application of principal component analysis to measure systemic risk. Their 2011 paper in the Journal of Portfolio Management demonstrated that when markets become tightly coupled, the variance explained by the first few principal components increases dramatically. This concentration of variance signals elevated systemic risk.
What the Absorption Ratio Measures
Principal component analysis, or PCA, is a statistical technique that identifies the underlying factors driving a set of variables. When applied to asset returns, the first principal component typically captures broad market movements. The second might capture sector rotations or risk-on/risk-off dynamics. Additional components capture increasingly idiosyncratic patterns.
The Absorption Ratio measures the fraction of total variance absorbed or explained by a fixed number of principal components. In the original research, Kritzman and colleagues used the first fifth of the eigenvectors. When this fraction is high, it means a small number of factors are driving most of the market movements. Assets are moving together, and diversification provides less protection than usual.
Consider an analogy: imagine a room full of people having independent conversations. Each person speaks at different times about different topics. The total "variance" of sound in the room comes from many independent sources. Now imagine a fire alarm goes off. Suddenly everyone is talking about the same thing, moving in the same direction. The variance is now dominated by a single factor. The Absorption Ratio captures this transition from diverse, independent behavior to unified, correlated movement.
The Implementation Approach
TradingView does not support matrix algebra required for true principal component analysis. This implementation uses a closely related proxy: the average absolute correlation across a universe of major asset classes. This approach captures the same underlying phenomenon because when assets are highly correlated, the first principal component explains more variance by mathematical necessity.
The asset universe includes eight ETFs representing major investable categories: SPY and QQQ for large cap US equities, IWM for small caps, EFA for developed international markets, EEM for emerging markets, TLT for long-term treasuries, GLD for gold, and USO for oil. This selection provides exposure to equities across geographies and market caps, plus traditional diversifying assets.
From eight assets, there are twenty-eight unique pairwise correlations. The indicator calculates each using a rolling window, takes the absolute value to measure coupling strength regardless of direction, and averages across all pairs. This average correlation is then transformed to match the typical range of published Absorption Ratio values.
The transformation maps zero average correlation to an AR of 0.50 and perfect correlation to an AR of 1.00. This scaling aligns with empirical observations that the AR typically fluctuates between 0.60 and 0.95 in practice.
Interpreting the Regimes
The indicator classifies systemic risk into four regimes based on AR levels.
The Extreme regime occurs when the AR exceeds 0.90. At this level, nearly all asset classes are moving together. Diversification has largely failed. Historically, this regime has coincided with major market dislocations: the 2008 financial crisis, the 2020 COVID crash, and significant correction periods. Portfolios constructed under normal correlation assumptions will experience larger drawdowns than expected.
The High regime, between 0.80 and 0.90, indicates elevated systemic risk. Correlations across asset classes are above normal. This often occurs during the build-up to stress events or during volatile periods where fear is spreading but has not reached panic levels. Risk management should be more conservative.
The Normal regime covers AR values between 0.60 and 0.80. This represents typical market conditions where some correlation exists between assets but diversification still provides meaningful benefits. Standard portfolio construction assumptions are reasonable.
The Low regime, below 0.60, indicates that assets are behaving relatively independently. Diversification is working well. Idiosyncratic factors dominate returns rather than systematic risk. This environment is favorable for active management and security selection strategies.
The Relationship to Portfolio Construction
The implications for portfolio management are significant. Modern portfolio theory assumes correlations are stable and uses historical estimates to construct efficient portfolios. The Absorption Ratio reveals that this assumption is violated precisely when it matters most.
When AR is elevated, the effective number of independent bets in a diversified portfolio shrinks. A portfolio holding stocks, bonds, commodities, and real estate might behave as if it holds only one or two positions during high AR periods. Position sizing based on normal correlation estimates will underestimate portfolio risk.
Conversely, when AR is low, true diversification opportunities expand. The same nominal portfolio provides more independent return streams. Risk can be deployed more aggressively while maintaining the same effective exposure.
Component Analysis
The indicator separately tracks equity correlations and cross-asset correlations. These components tell different stories about market structure.
Equity correlations measure coupling within the stock market. High equity correlation indicates broad risk-on or risk-off behavior where all stocks move together. This is common during both rallies and selloffs driven by macroeconomic factors. Stock pickers face headwinds when equity correlations are elevated because individual company fundamentals matter less than market beta.
Cross-asset correlations measure coupling between different asset classes. When stocks, bonds, and commodities start moving together, traditional hedges fail. The classic 60/40 stock/bond portfolio, for example, assumes negative or low correlation between equities and treasuries. When cross-asset correlation spikes, this assumption breaks down.
During the 2022 market environment, for instance, both stocks and bonds fell significantly as inflation and rate hikes affected all assets simultaneously. High cross-asset correlation warned that the usual defensive allocations would not provide their expected protection.
Mean Reversion Characteristics
Like most risk metrics, the Absorption Ratio tends to mean-revert over time. Extremely high AR readings eventually normalize as panic subsides and assets return to more independent behavior. Extremely low readings tend to rise as some level of systematic risk always reasserts itself.
The indicator tracks AR in statistical terms by calculating its Z-score relative to the trailing distribution. When AR reaches extreme Z-scores, the probability of normalization increases. This creates potential opportunities for strategies that bet on mean reversion in systemic risk.
A buy signal triggers when AR recovers from extremely elevated levels, suggesting the worst of the correlation spike may be over. A sell signal triggers when AR rises from unusually low levels, warning that complacency about diversification benefits may be excessive.
Momentum and Trend
The rate of change in AR carries information beyond the absolute level. Rapidly rising AR suggests correlations are increasing and systemic risk is building. Even if AR has not yet reached the high regime, acceleration in coupling should prompt increased vigilance.
Falling AR momentum indicates normalizing conditions. Correlations are decreasing and assets are returning to more independent behavior. This often occurs in the recovery phase following stress events.
Practical Application
For asset allocators, the AR provides guidance on how much diversification benefit to expect from a given allocation. During high AR periods, reducing overall portfolio risk makes sense because the usual diversifiers provide less protection. During low AR periods, standard or even aggressive allocations are more appropriate.
For risk managers, the AR serves as an early warning indicator. Rising AR often precedes large market moves and volatility spikes. Tightening risk limits before correlations reach extreme levels can protect capital.
For systematic traders, the AR provides a regime filter. Mean reversion strategies may work better during high AR periods when panics create overshooting. Momentum strategies may work better during low AR periods when trends can develop independently across assets.
Limitations and Considerations
The proxy methodology introduces some approximation error relative to true PCA-based AR calculations. The asset universe, while representative, does not include all possible diversifiers. Correlation estimates are inherently backward-looking and can change rapidly.
The transformation from average correlation to AR scale is calibrated to match typical published ranges but is not mathematically equivalent to the eigenvalue ratio. Users should interpret levels directionally rather than as precise measurements.
Correlation regimes can persist longer than expected. Mean reversion signals indicate elevated probability of normalization but do not guarantee timing. High AR can remain elevated throughout extended crisis periods.
References
Kritzman, M., Li, Y., Page, S., and Rigobon, R. (2011). Principal Components as a Measure of Systemic Risk. Journal of Portfolio Management, 37(4), 112-126.
Kritzman, M., and Li, Y. (2010). Skulls, Financial Turbulence, and Risk Management. Financial Analysts Journal, 66(5), 30-41.
Billio, M., Getmansky, M., Lo, A., and Pelizzon, L. (2012). Econometric Measures of Connectedness and Systemic Risk in the Finance and Insurance Sectors. Journal of Financial Economics, 104(3), 535-559.
EMA Pullback Pro V8.5Introduction to High-Probability Trend Trading
The EMA PBN Pro 8.5 is a specialized trading suite designed to assist scalpers and day traders in identifying high-probability trend continuation setups.
In professional trading, one of the most difficult challenges is distinguishing between a genuine "dip" in an uptrend and the beginning of a reversal. Many traders lose capital by entering pullbacks too early (catching a falling knife) or too late (chasing the move). This script addresses that issue by combining multiple layers of trend analysis into a single, objective visual interface.
The Philosophy Behind the Script
This tool is built on the core principle that price action in strong trends tends to respect dynamic support and resistance zones derived from institutional moving averages and relative strength flows.
Trend Alignment: Markets are fractal. A 5-minute pullback is often a 1-minute downtrend. This system uses multi-factor analysis to ensure you are trading in the direction of the dominant momentum, filtering out low-quality "chop" environments where moving averages lose their efficacy.
Relative Strength (RS/RW): Asset selection is key. Trading an asset that is showing relative strength compared to the broader market index (like SPY or QQQ) significantly increases the probability of a successful bounce. This script incorporates logic to highlight assets that are outperforming their peers.
Objective Entries: By visually plotting "Value Zones," the script removes the guesswork. It waits for specific confluence criteria—momentum exhaustion, trend alignment, and relative strength—before suggesting an area of interest.
Features Overview
Dynamic Trend Filtering: Color-coded zones indicate when the market is in a "safe" buy/sell zone versus a neutral zone where cash is the best position.
Pullback Detection: Automatically identifies optimal zones for re-entry into established trends, helping traders enter on weakness in strong stocks.
Noise Reduction: The algorithm smoothes out insignificant price fluctuations, allowing the trader to focus on the structural moves of the session.
Access and Permissions
This is a proprietary, Invite-Only script. It is protected to prevent unauthorized distribution and to maintain the integrity of the strategy for current users.
The source code is hidden.
Access is granted on a per-user basis.
Please refer to the Author's Instructions section below for details on how to request access or trial the system.
(Note: This tool is for educational purposes only. Past performance is not indicative of future results. Always manage your risk.)
Nexural Flow Pro
NEXURAL FLOW PRO
Pure Order Flow Visualization for TradingView
WHAT THIS INDICATOR ACTUALLY IS
Nexural Flow Pro is a buy and sell volume separation tool that visualizes the ongoing battle between buyers and sellers on every bar. It uses TradingViews most accurate native function for approximating order flow by pulling tick direction data from lower timeframes and aggregating it into clean visual columns.
This indicator shows you who is in control right now. Not who was in control yesterday. Not what some lagging moving average thinks. It answers the most fundamental question in trading which is are buyers or sellers more aggressive at this moment.
The core premise is simple. When buyers are hitting the ask aggressively the price tends to go up. When sellers are hitting the bid aggressively the price tends to go down. This indicator attempts to measure that aggression using the best data TradingView provides.
WHAT THIS INDICATOR IS NOT
I need to be completely transparent with you because I believe education matters more than anything else
This is not true order flow. Real order flow requires access to the raw tape which shows every single trade as it happens along with whether it hit the bid or ask. It requires Level 2 depth of market data showing resting limit orders. It requires footprint charts that break down volume at each price level within a candle.
TradingView does not provide any of this data.
What TradingView does provide is tick direction data from lower timeframes which can be aggregated to approximate buy versus sell volume. This approximation is useful but it is not the same as reading the actual tape.
If you are a professional scalper or a futures day trader who needs precision order flow you should be using Sierra Chart or a similar platform with real market depth access. I use Sierra Chart myself for serious order flow work. This indicator exists for traders who either cannot access those platforms or who want supplementary confluence on TradingView.
HOW THE DATA WORKS
The indicator uses a Pine Script function called requestUpAndDownVolume which pulls volume data from a lower timeframe and categorizes it based on tick direction. When price ticks up on that lower timeframe the volume is counted as buying. When price ticks down the volume is counted as selling.
You have four timeframe modes to choose from.
Auto mode selects a sensible lower timeframe based on your current chart. On intraday charts it pulls from the one minute. On daily charts it pulls from the five minute.
Aggressive mode uses the smallest possible timeframe for maximum granularity. On intraday charts this means one second data when available.
Conservative mode uses slightly larger lower timeframes which can reduce noise but also reduces precision.
Custom mode lets you specify exactly which timeframe to pull data from.
When real tick data is not available such as on some symbols or during certain conditions the indicator falls back to a synthetic calculation based on where price closed within the candle range. This fallback is clearly labeled in the info panel so you always know what type of data you are seeing.
THE VISUAL SYSTEM
You have two display modes.
Stacked mode shows buy volume sitting on top of sell volume in a single column. This makes it easy to see total volume at a glance while still understanding the composition. The dividing line between green and red tells you instantly who dominated that bar.
Side by Side mode shows buy volume as an upward histogram and sell volume as a downward histogram. This creates a cleaner separation and makes it easier to compare the raw sizes of each.
Column colors shift based on context. High volume bars get more saturated colors. Low volume bars fade toward gray because they carry less significance. Strong imbalances get even more vivid coloring to draw your attention.
The imbalance glow feature adds a white border around columns where the buy to sell ratio exceeds three to one or vice versa. These moments represent potential exhaustion or continuation signals depending on context.
THE INFO PANEL
The panel in the corner gives you a real time dashboard of the current bar.
Bias tells you whether buyers or sellers are dominant and whether that dominance is mild or strong.
Delta shows the net difference between buy and sell volume. Positive delta means more buying. Negative delta means more selling.
Imbalance displays the ratio between the dominant and passive side. A three to one ratio means the dominant side has three times the volume of the other.
Buy and Sell rows show the actual volume numbers along with their percentage of total volume.
Volume Status tells you whether current volume is high normal or low compared to the fifty bar average. This matters because a strong imbalance on low volume means much less than the same imbalance on high volume.
Session Delta tracks the cumulative delta for the entire trading day. This helps you understand the overall flow bias since the session opened.
The data type indicator in the header shows REAL when you have actual tick data and SYNTH when the indicator is using the fallback calculation.
HOW TO ACTUALLY USE THIS
Here is my honest guidance on extracting value from this tool.
Use it for confluence not as a primary signal. If you see a support level on your chart and Flow Pro shows aggressive buying with a strong imbalance that is meaningful confluence. If you are about to short a resistance level and Flow Pro shows zero selling interest you might reconsider.
Pay attention to volume context. A ninety percent buy bar means nothing if total volume is a fraction of average. Always check the volume status before getting excited about an imbalance.
Watch for divergences between price and delta. If price is making new highs but delta is getting weaker that suggests buying pressure is fading. The opposite is also true. Price making new lows with weakening negative delta can signal seller exhaustion.
Use session delta for intraday bias. If session delta is deeply positive all day and you are looking to short you are fighting the flow. That does not mean you cannot short but you should demand a better setup.
The imbalance glow is a flag not a signal. When you see that white border it means something notable is happening. Whether that something leads to continuation or reversal depends on the context around it. Learn to read what happens after these moments.
Do not use this on low liquidity symbols. The tick direction approximation works best on liquid markets like ES SPY QQQ NQ and major forex pairs. On illiquid small caps the data becomes much less reliable.
STRENGTHS OF THIS APPROACH
This uses the absolute best data source TradingView offers for order flow approximation. There is no secret function or hidden data that would make this more accurate on this platform.
The visualization is clean and immediately readable. You do not need to interpret complex footprints or read raw tape. The information is distilled into an intuitive format.
Session tracking gives you cumulative context that single bar analysis cannot provide.
The honest data labeling tells you exactly what you are looking at. No pretending synthetic data is real.
It works on any symbol and any timeframe with appropriate data source adjustment.
LIMITATIONS YOU NEED TO UNDERSTAND
The tick direction method is an approximation. A large institutional order might execute across multiple price levels and get miscategorized. The indicator cannot know the true intent behind the volume.
There is no price level breakdown. Real footprint charts show you exactly how much volume traded at each price within a bar. This indicator aggregates everything into a single bar level summary.
You cannot see resting orders. The depth of market showing limit orders waiting to be filled is invisible on TradingView. You only see what already traded not what is waiting to trade.
Absorption detection is heuristic based. The indicator can flag high volume bars with small price movement but it cannot confirm whether that volume was actually absorbed by passive limit orders or simply mixed aggressive flow.
The one second data has gaps. Not all symbols support one second resolution and even when they do the data can be incomplete during fast markets.
WHO THIS IS FOR
Swing traders who want to add volume flow context to their technical analysis without switching platforms.
TradingView users who cannot access or afford professional order flow software but want something better than basic volume bars.
Traders learning about order flow concepts who want a visual introduction before moving to more complex tools.
Anyone who uses TradingView as their primary platform and wants the best possible volume analysis within that ecosystem.
WHO THIS IS NOT FOR
Professional scalpers who need millisecond precision and true tape reading. You need Sierra Chart Bookmap or a similar platform.
Traders who expect this to generate automatic buy and sell signals. This is an analysis tool not a signal generator.
Anyone trading illiquid instruments where volume data is sparse or unreliable.
FINAL THOUGHTS
I built this indicator because I wanted the best possible order flow visualization within TradingViews constraints. That meant being honest about what those constraints are rather than pretending they do not exist.
Order flow analysis is genuinely valuable. Understanding whether buyers or sellers are in control gives you an edge that pure price action analysis does not provide. But the quality of that understanding depends entirely on the quality of the underlying data.
On TradingView this indicator represents the ceiling of what is possible. It is not perfect but it is honest and it is useful when applied correctly with realistic expectations.
If this helps you make better trading decisions even occasionally it has done its job.
Trade well.
Nexural Trading
Pulse by RoseTreePulse by RoseTree is a dynamic stock/cash allocation indicator that answers the essential question: "How much should I have in stocks right now?"
It outputs a percentage from 0-100% representing suggested equity exposure—a reading of 75% means 75% stocks and 25% cash/bonds. The indicator synthesizes five key market dimensions: Regime (trend strength and market structure), Risk (volatility and drawdown management), Valuation (P/E, equity risk premium, shareholder yield), Sentiment (VIX term structure and fear/greed dynamics), and Macro (yield curves, credit spreads, financial stability). Each factor is weighted and blended into a single actionable signal. A built-in Crisis Detection System automatically reduces exposure when multiple stress indicators trigger—including VIX spikes, rapid drawdowns, credit spread blowouts, and correlated stock/bond selloffs. The indicator classifies markets into six regimes: Strong Bull, Bull Market, Neutral, Correction, Bear Market, and Crisis. Four approach modes (Conservative, Balanced, Aggressive, Adaptive) let you match the signal to your risk personality. The on-chart dashboard displays real-time metrics including VIX, market drawdown, P/E ratio, equity risk premium, ROE, and individual component scores. Built-in alerts notify you of allocation threshold crossings, regime changes, and crisis events. Data is pulled automatically from SPY, VIX, Treasury yields, credit ETFs (HYG/LQD), TLT, gold, and dollar index. Eight color themes are included with dark/light mode support. Best used on daily timeframe for strategic allocation decisions.
DANGER SP500This indicator is designed to identify severe correlation anomalies between the Volatility Index (VIX) and the S&P 500 (SPX). It operates on the premise that a simultaneous rise in both assets often precedes market corrections or significant local tops.
The underlying concept is "fear in the rally": investors are buying equities (driving price up), but at the same time, they are aggressively buying protection (Puts), causing the VIX to spike.
⚠️ Strict Usage Rules
To guarantee the mathematical reliability of the VIX data, this indicator includes strict security restrictions:
EXCLUSIVE ASSET: Designed solely for the S&P 500 (SPX, SPY, US500, ES1!). It should not be used on Crypto or Forex, as the VIX correlation does not apply in the same way.
LOCKED TIMEFRAME: It only functions on the Daily Chart (1D).
Note: The script includes a runtime.error block that will prevent execution if you attempt to load it on intraday charts (H1, H4, etc.) to avoid false signals caused by market noise.
Visualization
Red Background: Visually highlights the exact moment the alert is triggered.
"DANGER" Label: Prints clearly above the signaled bar.
Max Price Display: Unlike other indicators that mark the close, this tool specifically labels the HIGH of the candle, allowing you to identify the exact point of price extension.
🔔 Alerts
The script is ready for TradingView Alerts. The alert message is dynamic and will include the exact High price reached during the signal candle.
Disclaimer: This script is for technical analysis purposes only and does not constitute financial advice. Trading involves risk.
Universe Breadth Engine & Trend Scorecard [StockBee Style]Description
Concept & Methodology Traders are often misled by market-cap weighted indices (like SPY or QQQ). When a handful of mega-cap stocks rally, the index may look healthy even if the majority of stocks are selling off. This is called a "Hollow Rally."
This script is designed to look "under the hood" of the US Stock Market. It aggregates data from the entire investable universe (combining both NASDAQ and NYSE internals) to determine the true strength of market participation. It draws heavy inspiration from the StockBee Market Monitor methodology, using breadth and moving average geometry to define "Safe" vs. "Unsafe" trading environments.
How It Works (The Math)
This indicator combines three distinct layers of market analysis into a single pane:
1. The "Universe" McClellan Oscillator Most breadth indicators only look at one exchange. This script aggregates data to create a "Total US Market" view:
Data aggregation: We sum Advancing Issues (USI:ADVN.NQ + USI:ADVN.NY) and subtract Declining Issues (USI:DECL.NQ + USI:DECL.NY).
The Calculation: We apply the standard McClellan Oscillator formula to this aggregated net number: (19-period EMA of Net Issues) - (39-period EMA of Net Issues).
The Signal Line: A 5-period Simple Moving Average (SMA) of the Oscillator.
Green Line: Breadth momentum is rising (5SMA > Previous 5SMA).
Red Line: Breadth momentum is falling.
2. The Market Monitor Filter (Background Color) To determine the long-term "Health" of the market, the script queries the Wilshire 5000 index breadth (INDEX:MMTH), which represents the total US stock universe.
Logic: It measures the percentage of stocks currently above their 50-Day Moving Average.
Green Background: The percentage is rising (Current % > 10-Day SMA of %). This indicates an expanding environment.
Red Background: The percentage is falling. This indicates a contracting environment.
3. The "Traffic Light" Ribbon (Bottom Line) A thick ribbon at the bottom of the pane visualizes the trend of the QQQ (Nasdaq 100 Equal Weighted).
Green Ribbon: Price is above both the 10-day and 20-day SMAs.
Gray Ribbon: Price has lost the short-term moving average structure.
4. The Breadth Scorecard (Table) The table on the right provides a statistical summary of "Winning Days" (Positive Breadth) vs "Losing Days" (Negative Breadth) over multiple timeframes:
7 Days & 30 Days: For short-term momentum checks.
3 Month, 6 Month, 1 Year: For secular trend analysis.
YTD: Year-to-Date performance.
How to Use This Tool
The "All Clear" Signal: When the Background is Green (Market Monitor rising), the Ribbon is Green (Price Trend), and the Oscillator Bars cross above the Signal Line. This suggests high-probability conditions for long swing trades.
Divergence Warning: If the QQQ is making new highs, but the Oscillator is making lower highs (or staying red), it indicates that the rally is not supported by the broader market.
The Turnaround: A crossover of the Oscillator above the Signal Line while deep in negative territory often marks a short-term sold-out low.
Settings & Customization
Fully Configurable Table: You can change the position, size, and colors of the Scorecard table to fit your chart layout.
Data Sources: The script uses USI and INDEX tickers by default. These can be adjusted in the settings if you use different data providers.
Disclaimer: This tool is for educational market analysis only and does not constitute financial advice.
Powell's Brain Mk.4.4 [Scalper Edition]Title: Powell's Brain Mk.4.4
Description
Powell's Brain is a mechanical scalping system designed for volatile assets (like SPY, QQQ, NVDA, and TSLA) on 1-minute and 5-minute timeframes.
Unlike standard indicators that spam signals at every crossover, this script uses a "Subtractive" Philosophy. It starts with a trend crossover signal and then runs it through a squad of 6 distinct filters. If any filter detects low probability (chop, low volume, weak momentum), the trade is blocked.
This is the Scalper Edition, tuned to catch V-Shape reversals while still protecting capital during sideways chop.
🧠 How It Works
The system relies on the confluence of four market forces: Momentum, Energy, Trend Strength, and AI Confirmation.
1. The Core Strategy (The Engine)
Dual EMA Crossover: Uses a Fast (9) and Slow (50) EMA to identify immediate trend changes.
Slope Detection: A trade is only considered if the EMAs are separating with sufficient velocity (0.04% slope threshold). This prevents trading when lines are flat/tangled.
2. The "No" Squad (Filters)
A signal is rejected unless it passes these checks:
Volume Gate: Volume must be at least 80% (0.8x) of the 20-period average. This filters out pre-market noise or lunch-hour apathy.
ADX Shield: The Average Directional Index must be > 20. If ADX is lower, the market is chopping, and the script forces you to sit on your hands.
Time-of-Day: By default, it targets "Prime Hours" (09:30–11:00 & 14:00–16:00 EST) to avoid the "lunchtime trap."
Cooldown: Enforces a 3-bar wait period between signals to prevent signal flickering in high-volatility zones.
3. The AI Engine (k-NN Machine Learning)
Included is a k-Nearest Neighbors (k-NN) implementation that analyzes historical RSI and Relative Volume patterns.
It compares the current market state to the last ~1,000 bars.
It calculates a "Confidence %" based on how often similar past setups resulted in a bullish or bearish move.
AI Gating: You can enable a "Strict Mode" in settings where the script will block any trade that the AI does not agree with (Confidence < 55%).
4. The Squeeze Filter (TTM Logic)
An optional filter allows you to trade only on volatility expansion (Bollinger Bands exiting Keltner Channels). This is disabled by default to allow for standard trend scalping but can be enabled for breakout hunting.
🚦 How to Use
The Signals:
Green "CALL" Label: Bullish Momentum + Volume + Trend Strength.
Red "PUT" Label: Bearish Momentum + Volume + Breakdown.
The HUD (Heads-Up Display):
Monitor the top-right panel for Market Flow, Squeeze Status, and AI Confidence.
If the AI text is Orange ("INITIALIZING"), wait for more data to load.
The Debugger:
If you see a crossover but NO signal, turn on "Show Debug Labels" in settings.
The chart will print exactly why the trade was skipped (e.g., Vol❌ means volume was too low, Slope❌ means the trend was too flat).
⚙️ Settings Guide
Strategy Core: Adjust Min EMA Separation to tune sensitivity. Higher = Fewer, safer trades. Lower = Faster entries.
Filters:
Trade with 200 EMA Trend: Keep OFF for scalping reversals. Turn ON for strict trend following.
Gate Entries with AI: Turn ON if you want the Machine Learning engine to veto low-confidence setups.
Visuals: Toggle Dark/Light themes to match your chart.
Disclaimer
This script is a tool for identifying high-probability setups based on historical data and technical analysis. It does not guarantee future performance. Always use proper risk management (Stop Losses are included in the logic visuals). In less words DON'T BE AN IDIOT.
By FallenAngel666
VOID/DOM Tier4 Options CoreExecution Windows
Professional Description (Publish-Ready)
VOID/DOM Tier4 Options Core is an institutional-grade microstructure engine designed to map premium flow, volatility skew, contract drift, and IV-pressure zones during the highest-value trading windows of the day.
This module is optimized for OPTIONS decision-making, not price-only signals. It extracts Tier-4 DOM + Options Chain influence and converts it into clean flow-intent guidance, ideal for directional confirmation, momentum continuation, or early-warning reversal detection.
Core Capabilities
• Tier-4 Options DOM Mapping
Captures hidden liquidity pockets, premium migrations, and microstructure imbalances that standard technical indicators can’t see.
• Flow Premium Pressure (0630–1300 Core Session)
Tracks how premium shifts through the morning auction → trend establishment → mid-day compression.
Helps determine when momentum is real vs fading.
• Volatility & Contract Drift Sync (1200–1300 Reset Window)
Reads IV cooling, gamma realignment, and exhaustion signatures leading into mid-day resets.
• Reversal + Continuation Bias Engine
Filters noise and reveals true intent—ideal for options traders needing direction + timing.
• Multi-Asset Compatibility
Futures, indices, SPX/SPY derivatives, and high-beta assets.
What This Module Is For
✔ Confirming options entries with real flow
✔ Avoiding false moves during chop
✔ Reading premium pressure during the most lucrative sessions
✔ Identifying when liquidity is forcing price vs when price is bluffing
✔ Syncing with the rest of your VOID/DOM Tier4 ecosystem (Chain Scanner, Purge Loop, Apex Fusion, etc.)
Recommended Use
Runs best as a confirmation and environment-grading module, not a standalone signal generator.
Pairs extremely well with Apex Fusion, RAI, SS++ God filters, and all Tier4 chain-based indicators.
GexView📈 OVERVIEW
GexView indicator plots the Historical Gamma Exposure (GEX) profile, directly on the chart. It enables traders and analysts to observe how GEX profile evolve across multiple days/sessions.
🧲 CONCEPT
Today everybody uses Gamma Exposure. Gamma is the ROC (Rate of Change) for an option’s delta. GEX is crucial for all traders, not just intraday traders, because it helps assess market stability and potential volatility shifts driven by options positioning.
High positive GEX generally implies a mean-reverting market, where big price swings are dampened, while negative GEX signals increased volatility and potential large moves.
Understanding GEX allows traders to anticipate liquidity-driven price action, identify key support and resistance levels, and adjust strategies accordingly. In today’s market, where options flow heavily influences underlying assets, ignoring GEX can mean missing critical market dynamics that impact both short-term and long-term positions.
💡 UNIQUENESS
This indicator is a unique tool and offers a groundbreaking way to visualize market dynamics by plotting Historical Gamma Exposure (GEX), like a Volume Profile across multiple days or sessions. For the first time, traders can clearly see how GEX levels evolve over time, revealing how certain price zones gain or lose importance as market conditions change. This multi-session GEX profile allows users to identify persistent areas of dealer positioning and potential support or resistance that develop and shift over days. Unlike traditional GEX tools designed primarily for intraday use, this indicator provides valuable insight for both short-term traders and medium-term investors seeking to understand how option market flows influence price behaviour over extended periods.
⚙️ FEATURES
• Historical Gamma Exposure
The GexView indicator by default plots the last 6 days of the GEX profile, providing a framework for understanding the bigger picture.
• GEX profile
Displays the 10 largest GEX levels across all expirations (thick lines), as well as the 10 largest GEX levels for the next expiration (thin lines, 0DTE or upcoming).
• Update
Daily, after market close, based on new open interest. No more manual level imports.
Just one-click update.
• Settings
Option to plot total sum GEX for all expirations, or only net GEX for next expiration.
• Watchlist
SPX, NDX, DIA, SPY, QQQ, VIX, VXX, IBIT
(Additional tickers coming soon)
• Mapping
The indicator automatically detects and maps the underlying ticker on your chart, or lets you plot any symbol from the available watchlist.
🔍 HOW TO USE
• Identify intraday support and resistance levels shaped by option market dynamics
• Quickly spot significant GEX levels and compare how they relate to other key levels.
• Compare current vs. past GEX distributions for contextual trend analysis
• Observe structural GEX shifts that may align with volatility or mean-reversion setups
• Easily understanding if an asset trading on positive gamma (around green lines), or negative gamma (around red lines)
Examples:
1. DIA ETF
2. QQQ and VIX
📚 NOTES
• Calculation
GEX for All Expirations: This is the total sum (Call+Put) of gamma exposure of all expirations.
GEX for Nearest Expirations: This is the net sum (Call-Put) of gamma exposure of next expirations (0DTE if available).
• Trading Session - RTH & ETH
The indicator can include the extended trading hours when activated on the chart.
✅ VISUALIZATION
• Vertical implementation of gamma exposure profile.
• Thick lines represent the total gamma exposure across all expiration contracts.
• Thin lines represent the gamma exposure of next expiration only.
• All Expirations: Green colour if Calls > Puts, Red colour if Calls < Puts
• Next Expiration: Lime colour if Calls > Puts, Maroon colour if Calls < Puts
⚠️ DISCLAIMER
This indicator is provided for informational and educational purposes only.
It does not constitute financial advice or a recommendation to buy or sell any financial instrument.
Historical Gamma patterns and analytical interpretations do not guarantee future performance.
All analysis should be combined with independent research and risk management.
Relative Measured Extension (RME)The Relative Measured Extension (RME) indicator is a powerful oscillator that helps traders identify extreme price extensions from a moving average by normalizing historical data on a scale of -100 to +100.
This indicator is inspired by the Deepvue RME indicator and brings its powerful methodology to TradingView with full customization options and additional features.
What Makes RME Unique?
Unlike traditional oscillators, RME dynamically calculates how extended the current price is compared to ALL previous extensions over your chosen lookback period. A reading of +100 means the stock is as far above the moving average as it has EVER been in the lookback window, while -100 indicates the maximum historical extension below the MA.
Key Features
✅ Adaptive Scaling - Automatically normalizes to historical extremes
✅ Multiple MA Types - Choose between SMA, EMA, WMA, or VWMA
✅ Visual Zones - Color-coded overbought (70-100) and oversold (-70 to -100) regions
✅ Info Dashboard - Real-time display of RME value, extension %, MA value, and status
✅ Built-in Alerts - Get notified when entering overbought/oversold zones or crossing zero
✅ Fully Customizable - Adjust all parameters to match your trading style
Recommended Settings
Position Traders:
Lookback Period: 250
MA Length: 50
Use for spotting significant trend changes and correction bottoms
Swing Traders (Option 1):
Lookback Period: 100
MA Length: 20
Faster signals for medium-term swings
Swing Traders (Option 2):
Lookback Period: 50
MA Length: 10
Most responsive for quick trades on strong momentum stocks
How to Interpret
+70 to +100 (Red Zone) - Overbought, potential pullback area
-70 to -100 (Green Zone) - Oversold, potential reversal area
Zero Line Cross - Momentum shift signal
RME at 0 in uptrends - Excellent entry points during pullbacks
Trading Application
Early in Trends: High RME readings can signal strength, though a consolidation may be needed
Late in Trends: Extreme readings may indicate exhaustion
During Corrections: Use on index ETFs (QQQ, SPY) to identify potential bottoms
Pro Tips
Compare current extremes to historical extremes in context
Strong stocks may hold near overbought zones longer
Pullbacks to zero in strong uptrends often provide low-risk entries
Works on all timeframes and instruments (stocks, crypto, forex, commodities)
Credit: Inspired by the Deepvue Relative Measured Extension indicator
Premarket LevelsThis indicator tracks premarket high and low levels for day trading, providing statistical analysis on how often these levels get touched during regular trading hours (9:30 AM-4:00 PM EST). It combines real-time level tracking with historical probability analysis and precise timing statistics to help traders make data-driven decisions. I use 4:00 - 9:30 AM on SPY/QQQ etc and 18:00 - 9:30 on Futures ES/NQ etc
Core Features
1. Premarket Level Tracking
Automatically identifies and plots premarket high and low levels
Displays levels with customizable colors and line styles
Shows optional midpoint and percentage/fibonacci retracement levels
Tracks when levels are set during premarket session
2. Historical Touch Analysis
Calculates probability of PM high/low being touched during regular hours
Tracks "Both Levels" touched rate (how often both get hit same day)
Tracks "Either Level" touched rate (how often at least one gets hit)
Adjustable lookback period (1-250 days) for statistical analysis
3. Timing Intelligence
Average time when levels get touched
Earliest and latest touch times in historical data
Four customizable time buckets showing touch distribution throughout the day
First touch time displayed for current session
4. Range Analysis
Current PM range vs historical average (adjustable period)
Range percentile ranking (where today ranks in historical distribution)
Min/Max historical ranges for context
Large/small range detection with customizable thresholds
Background highlighting for unusual range days
5. Smart Signals & Alerts
Buy/Sell signals on level breakouts (adjustable sensitivity)
Level rejection detection (failed breakout patterns)
Proximity alerts when approaching levels
Touch markers (diamond shapes) when levels are tested
Multiple alert conditions for various scenarios
6. Risk Management Tools
Automatic stop loss suggestions (ATR-based, percentage-based, or fixed points)
Target projections based on range extension
Position tracking relative to PM range
Distance calculations to both levels
How To Use
For Day Traders:
Check the "Either Level" percentage - if 90%+, at least one level will likely be touched
Review time bucket statistics - most touches happen 9:30-10:00 AM
Monitor "Both Levels" rate - typically only 20-30%, meaning round trips are rare
Use range percentile to gauge if expansion or mean reversion is likely
For Scalpers:
Enable touch markers to see exact level tests
Use proximity alerts to prepare for potential bounces
Monitor first touch times - early touches often lead to continuations
Check rejection signals for quick reversal trades
For Swing Position Sizing:
Use historical touch rates to assess probability of level tests
Review range size vs average for stop placement guidance
Check timing analysis to avoid holding through low-probability windows
Use target projections for realistic profit targets
Settings Overview
Basic Settings:
Premarket session time (default 4:00-7:30 AM EST)
Signal sensitivity for breakout detection
Timezone selection for accurate time labels
Historical Analysis:
Lookback period for statistics (default 20 days, max 250)
Toggle touch tracking and markers
Enable/disable daily statistics display
Range Analysis:
Adjustable average period (default 20 days)
Large/small range threshold customization
Range percentile display toggle
Timing Analysis:
Three customizable time buckets (default: 10:00, 11:00, 12:00)
Fourth bucket automatically covers afternoon (12:00-4:00 PM)
Toggle time bucket statistics display
Visual Features:
Midpoint line display
Percentage (25%, 75%) or Fibonacci (23.6%, 38.2%, 61.8%, 78.6%) levels
Table position and size customization
Comprehensive color scheme customization (background, text, headers)
Smart Alerts:
Proximity alerts with adjustable threshold
Level rejection detection
Failed breakout detector
Time-of-day filter to avoid lunch chop
Risk Management:
Stop loss method selection (ATR, PM Range %, Fixed Points)
Adjustable ATR multiplier
Target projection display
Statistics Explained
Touch Rates:
Percentage of days where level was touched during RTH
Based only on FIRST touch per day (not multiple re-tests)
Binary metric: Yes/No for each day
Timing Stats:
All based on timestamp of FIRST touch each day
Average, Earliest, Latest provide distribution context
Time buckets show concentration of first touches
Range Metrics:
Current range compared to historical average
Percentile shows where today ranks (0-100%)
Min/Max provide extreme boundaries from history
Important Notes
First Touch Only: All statistics track only the first time a level is touched each day, not subsequent re-tests
RTH Focus: Touch tracking occurs only during regular trading hours (9:30 AM-4:00 PM EST)
Data Accumulation: Historical statistics build over time as indicator runs; requires specified lookback period to populate
Chart Timeframe: Works on any timeframe but recommended 3-5 minute charts for best premarket level precision
Memory Reset: Each new premarket session resets tracking for fresh daily analysis
Best Practices
Use 60-100 day lookback for statistical significance
Combine high touch rates (80%+) with time bucket data for highest probability setups
Small ranges (< 50% of average) often lead to expansion moves
Large ranges (> 150% of average) often consolidate or mean-revert
First 30 minutes typically contains 50%+ of all level touches
After 12:00 PM, probability of untouched levels being hit drops significantly
Performance Considerations
Optimized for real-time calculation with minimal lag
Uses efficient array management for historical data
Table updates only on bar close for performance
Maximum lookback of 250 days to prevent memory issues
This indicator is for educational and informational purposes only. It is NOT financial advice.
The buy/sell signals are algorithmic suggestions based on historical patterns and should NOT be followed blindly
Past performance and historical statistics do NOT guarantee future results
All trading involves substantial risk of loss
You are solely responsible for your own trading decisions
Always perform your own analysis and risk assessment before entering any trade
The creator of this indicator is not responsible for any trading losses incurred from its use
No representation is being made that any account will or is likely to achieve profits or losses similar to those discussed in the indicator statistics
By using this indicator, you acknowledge that you understand these risks and accept full responsibility for your trading decisions.






















