Crosby Ratio | QuantumResearch ⚖️ Crosby Ratio | QuantumResearch
A Heikin-Ashi Smoothed Momentum Oscillator for Trend Strength & Market Rotation
Inspired by the Original Work of Bitcoin Magazine Pro
🔗 www.bitcoinmagazinepro.com
📘 Overview
The Crosby Ratio, as originally conceptualized by Bitcoin Magazine Pro, is a powerful tool used to evaluate the momentum and directional strength of price movement by analyzing the slope of market trends in degrees.
This enhanced implementation by QuantumResearch builds on the original concept with a Pine Script version tailored for trading charts, integrating Heikin-Ashi smoothing, ATR scaling, and customizable visual modes to fit traders' unique styles.
🧠 What Is the Crosby Ratio?
At its core, the Crosby Ratio uses angular measurement to quantify price movement — translating price trend strength into degrees. This approach allows traders to:
📈 Identify when the market is exhibiting strong upward or downward pressure
🚨 Spot overextended or overheated trend conditions
⚖ Filter out short-term noise and focus on macro momentum
🔍 1. Key Innovations by QuantumResearch
✅ Heikin-Ashi Smoothing: Reduces noise and stabilizes price action before computing momentum angles
✅ Custom atan2() Angular Function: Measures the directional angle between smoothed price changes and ATR-based scaling
✅ Dynamic Threshold Bands: Color-coded zones highlight overbought/oversold momentum regions
✅ Fully Customizable Palette: Choose from 8 visual themes with automatic color adaptation
📊 2. Interpretation Guide
Crosby Value Interpretation
> +18° 🚀 Strong bullish trend acceleration
+13° to +18° 📈 Moderate upward momentum
-9° to +13° ⚖ Neutral/transition phase
-15° to -9° 📉 Moderate bearish pressure
< -15° 🛑 Strong bearish acceleration
The indicator also features background shading when values exceed key thresholds, improving visual clarity during trend inflection points.
📌 Ideal Use Cases
🔄 Rotational Momentum Strategies: Spot the strongest assets during rapid shifts
⚡ Breakout Filtering: Confirm whether breakouts have directional strength
🧘 Noise Reduction: Heikin-Ashi smoothing filters chaotic wicks, especially in crypto
📉 Bearish Exhaustion Detection: Quickly identify when bearish momentum might be overdone
🔗 Original Inspiration & Acknowledgment
This indicator draws its core idea and naming convention from the original Crosby Ratio developed and introduced by Bitcoin Magazine Pro in their excellent write-up:
🔗 The Crosby Ratio – Bitcoin Magazine Pro
Their work on quantifying market sentiment via angle-based momentum inspired this script adaptation for TradingView with added visual features, smoothing techniques, and alerts.
⚠️ Disclaimer
This indicator is a momentum oscillator and should be used in conjunction with other confirmation tools. Market dynamics can vary, and no single metric ensures profitable trades. Always apply proper risk management.
Sentiment
Weighted Ichimoku StrategyLSE:HSBA
The Ichimoku Kinko Hyo indicator is a comprehensive tool that combines multiple signals to identify market trends and potential buying/selling opportunities. My weighted variant of this strategy attempts to assign specific weights to each signal, allowing for a more nuanced and customizable approach to trend identification. The intent is to try and make a more informed trading decision based on the cumulative strength of various signals.
I've tried not to make it a mishmash of this and that + MACD + RSI and on and on; most people have their preferred indicator that focuses on just that that they can use in conjunction.
The signals used can be grouped into two groups the 'Core Ichimoku Signals' & the 'Additional Signals' (at the end you will find the signals and their assigned weights followed by the thresholds where they align).
The Core Ichimoku Signals are the primary signals used in Ichimoku analysis, including Kumo Breakout, Chikou Cross, Kijun Cross, Tenkan Cross, and Kumo Twist.
While the Additional Signals provide further insights and confirmations, such as Kijun Confirmation, Tenkan-Kijun Above Cloud, Chikou Above Cloud, Price-Kijun Cross, Chikou Span Signal, and Price Positioning.
Entries are triggered when the cumulative weight of bullish signals exceeds a specified buy threshold, indicating a strong uptrend or potential trend reversal.
Exits are initiated when the cumulative weight of bearish signals surpasses a specified sell threshold, or when additional conditions such as consolidation patterns or ATR-based targets are met.
There are various exit types that you can choose between, which can be used separately or in conjunction with one another. As an example you might want to exit on a different condition during consolidation periods than during other periods or just use ATR with some other backstop.
They are listed in evaluation order i.e. ATR trumps all, Consolidation exit trumps the regular Kumo sell and so on:
**ATR Sell**: Exits trades based on ATR-based profit targets and stop-losses.
**Consolidation Exit**: Exits trades during consolidation periods to reduce drawdown.
**Sell Below Kumo**: Exits trades when the price is below the Kumo, indicating a potential downtrend.
**Sell Threshold**: Exits trades when the cumulative weight of bearish signals surpasses a specified sell threshold.
There are various 'filters' which are really behavior modifiers:
**Kumo Breakout Filter**: Requires price to close above the Kumo for buy signals (essentially a entry delay).
**Whipsaw Filter**: Ensures trend strength over specified days to reduce false signals.
**Buy Cooldown**: Prevents new entries until half the Kijun period passes after an exit (prevents flapping).
**Chikou Filter**: Delays exits unless the previous close is below the Chikou Span.
**Consolidation Trend Filter**: Prevents consolidation exits if the trend is bullish (rare, but happens).
Then there are some debugging options. Ichimoku periods have some presets (personally I like 8/22/44/22) but are freely configurable, preset to the traditional values for purists.
The list of signals and most thresholds follow, play around with them. Thats all.
Cheers,
**Core Ichimoku Signals**
**Kumo Breakout**
- 30 (Bullish) / -30 (Bearish)
- Indicates a strong trend when the price breaks above (bullish) or below (bearish) the Kumo (cloud). This signal suggests a significant shift in market sentiment.
**Chikou Cross**
- 20 (Bullish) / -20 (Bearish)
- Shows the relationship between the Chikou Span (lagging span) and the current price. A bullish signal occurs when the Chikou Span is above the price, indicating a potential uptrend. Conversely, a bearish signal occurs when the Chikou Span is below the price, suggesting a downtrend.
**Kijun Cross**
- 15 (Bullish) / -15 (Bearish)
- Signals trend changes when the Tenkan-sen (conversion line) crosses above (bullish) or below (bearish) the Kijun-sen (base line). This crossover is often used to identify potential trend reversals.
**Tenkan Cross**
- 10 (Bullish) / -10 (Bearish)
- Indicates short-term trend changes when the price crosses above (bullish) or below (bearish) the Tenkan-sen. This signal helps identify minor trend shifts within the broader trend.
**Kumo Twist**
- 5 (Bullish) / -5 (Bearish)
- Shows changes in the Kumo's direction, indicating potential trend shifts. A bullish Kumo Twist occurs when Senkou Span A crosses above Senkou Span B, and a bearish twist occurs when Senkou Span A crosses below Senkou Span B.
**Additional Signals**
**Kijun Confirmation**
- 8 (Bullish) / -8 (Bearish)
- Confirms the trend based on the price's position relative to the Kijun-sen. A bullish signal occurs when the price is above the Kijun-sen, and a bearish signal occurs when the price is below it.
**Tenkan-Kijun Above Cloud**
- 5 (Bullish) / -5 (Bearish)
- Indicates a strong bullish trend when both the Tenkan-sen and Kijun-sen are above the Kumo. Conversely, a bearish signal occurs when both lines are below the Kumo.
**Chikou Above Cloud**
- 5 (Bullish) / -5 (Bearish)
- Shows the Chikou Span's position relative to the Kumo, indicating trend strength. A bullish signal occurs when the Chikou Span is above the Kumo, and a bearish signal occurs when it is below.
**Price-Kijun Cross**
- 2 (Bullish) / -2 (Bearish)
- Signals short-term trend changes when the price crosses above (bullish) or below (bearish) the Kijun-sen. This signal is similar to the Kijun Cross but focuses on the price's direct interaction with the Kijun-sen.
**Chikou Span Signal**
- 10 (Bullish) / -10 (Bearish)
- Indicates the trend based on the Chikou Span's position relative to past price highs and lows. A bullish signal occurs when the Chikou Span is above the highest high of the past period, and a bearish signal occurs when it is below the lowest low.
**Price Positioning**
- 10 (Bullish) / -10 (Bearish)
- Shows indecision when the price is between the Tenkan-sen and Kijun-sen, indicating a potential consolidation phase. A bullish signal occurs when the price is above both lines, and a bearish signal occurs when the price is below both lines.
**Confidence Level**: Highly Sensitive
- **Buy Threshold**: 50
- **Sell Threshold**: -50
- **Notes / Significance**: ~2–3 signals, very early trend detection. High sensitivity, may capture noise and false signals.
**Confidence Level**: Entry-Level
- **Buy Threshold**: 58
- **Sell Threshold**: -58
- **Notes / Significance**: ~3–4 signals, often Chikou Cross or Kumo Breakout. Very sensitive, risks noise (e.g., false buys in choppy markets).
**Confidence Level**: Entry-Level
- **Buy Threshold**: 60
- **Sell Threshold**: -60
- **Notes / Significance**: ~3–4 signals, Kumo Breakout or Chikou Cross anchors. Entry point for early trends.
**Confidence Level**: Moderate
- **Buy Threshold**: 65
- **Sell Threshold**: -65
- **Notes / Significance**: ~4–5 signals, balances sensitivity and reliability. Suitable for moderate risk tolerance.
**Confidence Level**: Conservative
- **Buy Threshold**: 70
- **Sell Threshold**: -70
- **Notes / Significance**: ~4–5 signals, emphasizes stronger confirmations. Reduces false signals but may miss some opportunities.
**Confidence Level**: Very Conservative
- **Buy Threshold**: 75
- **Sell Threshold**: -75
- **Notes / Significance**: ~5–6 signals, prioritizes high confidence. Minimizes risk but may enter trades late.
**Confidence Level**: High Confidence
- **Buy Threshold**: 80
- **Sell Threshold**: -80
- **Notes / Significance**: ~6–7 signals, very strong confirmations needed. Suitable for cautious traders.
**Confidence Level**: Very High Confidence
- **Buy Threshold**: 85
- **Sell Threshold**: -85
- **Notes / Significance**: ~7–8 signals, extremely high confidence required. Minimizes false signals significantly.
**Confidence Level**: Maximum Confidence
- **Buy Threshold**: 90
- **Sell Threshold**: -90
- **Notes / Significance**: ~8–9 signals, maximum confidence level. Ensures trades are highly reliable but may result in fewer trades.
**Confidence Level**: Ultra Conservative
- **Buy Threshold**: 100
- **Sell Threshold**: -100
- **Notes / Significance**: ~9–10 signals, ultra-high confidence. Trades are extremely reliable but opportunities are rare.
**Confidence Level**: Extreme Confidence
- **Buy Threshold**: 110
- **Sell Threshold**: -110
- **Notes / Significance**: All signals align, extreme confidence. Trades are almost certain but very few opportunities.
AI Signal by QuantSignalsAI Signal by QuantSignals delivers cutting-edge AI-powered trading signals, designed to help traders spot opportunities without traditional technical analysis. Powered by QuantSignals’ advanced AI algorithms, this indicator provides simple buy and sell signals for stocks, forex, crypto, and more. Customize signal frequency to match your trading style and explore AI-driven insights at www.quantsignals.xyz
Key Features:
- AI-generated buy/sell signals
- No complex TA, perfect for all traders
- Customizable signal frequency
- Powered by QuantSignals’ AI technology
Join thousands of traders using AI to enhance their strategies. Visit www.quantsignals.xyz for premium signals and insights!
#AI #TradingSignals #QuantSignals #Crypto #Forex #Stocks
🐍 Mongoose Macro Rotation Tracker🧵 Thread: How to Use the Mongoose Macro Rotation Tracker
1️⃣ What is it?
A real-time script that tracks capital rotation across the 3 major U.S. indices:
QQQ (NASDAQ – growth, tech)
SPY (S&P 500 – broad market)
DIA (Dow – value, industrials)
It also compares key sectors:
XLK vs XLF (Tech vs Financials)
XLF vs XLI (Financials vs Industrials)
XLK vs XLI (Tech vs Industrials)
2️⃣ How does it work?
It calculates the daily change in 6 ratios, then scores them:
+1 if capital is rotating into risk
-1 if capital is rotating out of risk
The total score ranges from -6 (full risk-off) to +6 (full risk-on).
3️⃣ What do the labels mean?
🔴 Risk-Off: Into DIA (Score -6) → Defensive, value names favored
🟢 Risk-On: Inflow to QQQ (Score +6) → Growth, tech, speculation back on
🟠 Mixed Rotation → No clear macro consensus (chop zone)
These are painted directly on your chart with color-coded boxes.
4️⃣ How do I use it?
Confirm macro shifts BEFORE they show in price
Time entries in SPX, QQQ, BTC, or risk assets with confidence
Watch for rotation score flips at key technical levels
Bonus tip: Use with Mongoose FX Sentiment Dashboard for a full macro sweep 🧠
5️⃣ Why it matters:
Money always moves before narratives change.
This tracker helps you see the where, when, and why — before the rest of the crowd.
💻 Published here on TradingView under:
"🐍 Mongoose Macro Rotation Tracker v1.0"
Built for clarity. Clean. Savage. Signal.
Market Sessions by BASSWELLThis TradingView indicator visually highlights major global trading sessions (Tokyo, London, New York) directly on intraday charts. It provides a clear, color-coded display of session activity and key statistics to help traders better understand session dynamics and overlaps.
✅ Key Features:
Visual Session Boxes: Draws background boxes for each session with configurable colors.
Session Names: Displays the name of each session as a label above the session box.
Open/Close Lines: Optionally shows dashed lines at session open and close prices.
Average Price Line: Plots the average session price as a dotted line.
Tick Range Display: Calculates and shows the high-low range in ticks.
Time Zone Support: Fully timezone-aware via IANA definitions (e.g. "Europe/London").
Overlap Handling: Automatically dims older sessions when a new one starts for visual clarity.
🔧 Configurable Parameters:
Show/hide each session individually.
Set session times and timezones.
Customize label visibility and box contents.
Adjust session colors with transparency.
Includes basic visual styling for better chart readability.
⚠️ Note: Works only on intraday timeframes. Daily/weekly/monthly charts are not supported.
QuantSignals AI Trading BotQuantSignals AI Trading Bot harnesses cutting-edge AI to deliver powerful trading signals without relying on traditional technical analysis. Perfect for stocks, forex, and crypto, this strategy uses proprietary AI-like logic to identify buy and sell opportunities, with customizable signal frequency, stop-loss, and take-profit settings. Backtest and optimize your trades with AI-driven insights from QuantSignals. Visit www.quantsignals.xyz for premium AI signals and advanced trading tools!
Key Features:
- AI-generated buy/sell signals for automated trading
- No TA, ideal for traders seeking innovative strategies
- Adjustable signal frequency, stop-loss, and take-profit
- Backed by QuantSignals’ AI expertise
Join the future of trading with AI. Explore more at www.quantsignals.xyz and share your results in the comments! #AI #TradingBot #QuantSignals #Crypto #Forex #Stocks
INTRADAY INDICATOR KMThis script provides a clean and minimal overlay displaying two essential metrics for intraday decision-making:
ADR% (Average Daily Range) – calculated from daily candles only, regardless of the selected chart timeframe.
% Change – shows the percentage change from the previous day's close.
It also includes an interpretation row that compares the % Change with ADR%:
If the move is within the ADR, it's marked as Below
If it exceeds ADR, it's marked as Above
If it exceeds 2× ADR, it's marked as Avoid
Master RS Dashboard: 15M, 1D, 1WThis indicator gives you a complete picture of Relative Strength (RS) across three critical timeframes — 15-minute, Daily, and Weekly — to help confirm high-conviction entries, spot trend alignment, and build context around trade setups.
It calculates RS by comparing your current symbol to a benchmark (default: SPY), adjusted for volatility using ATR. The dashboard displays:
• RS values per timeframe
• Trend arrows (↑, ↓, →)
• Bullish / Bearish / Neutral signals
• A total alignment score (e.g. 3/3 Bullish)
• Optional background shading when all 3 are aligned
✅ Use this tool to:
• Filter your watchlist for multi-timeframe RS alignment
• Confirm breakout or momentum trades with strong backing
• Avoid trades when RS is mixed or conflicting
Works great for stocks, ETFs, and even futures. Ideal for swing traders, intraday traders, and trend followers who want a full-perspective view.
Close-EMA120 Bias Histogram### **Indicator: Close-EMA120 Bias Histogram**
**Purpose**:
Visualizes the deviation (bias rate) between the closing price and its 120-period EMA (Exponential Moving Average) as a histogram.
**Calculation**:
\
- Positive values: Price is **above** EMA120 (bullish momentum).
- Negative values: Price is **below** EMA120 (bearish momentum).
**Key Features**:
1. **Clean Histogram**:
- Green bars: Price > EMA120
- Red bars: Price < EMA120
- Transparency (30%) for subtle visualization.
2. **Zero Line Reference**:
- Solid gray line at 0% for quick divergence assessment.
3. **Minimalist Design**:
- No overbought/oversold thresholds or clutter.
- Adjustable EMA period via input (default: 120).
**Use Cases**:
- Identify mean-reversion opportunities when bias extremes occur.
- Confirm trend strength (sustained positive/negative bias).
- Combine with price action for divergence signals.
**Code Simplicity**:
- Only 10 lines of core logic.
- Easy to modify (e.g., change EMA length or colors).
Weekly Open (Current Week Only)📘 Indicator Name: Weekly Open (Current Week Only)
📝 Description:
This indicator plots a horizontal line representing the weekly open price, visible only during the current trading week. At the beginning of each new week (based on TradingView’s weekly time segmentation), the indicator captures the open price of the first candle and draws a constant line across the chart until the week ends. Once the new week begins, the line resets and updates with the new weekly open.
🎯 How to Use – ICT Concepts Integration (Weekly Profile):
This tool is designed to complement ICT (Inner Circle Trader) trading strategies, particularly within the weekly profile framework, by offering a clear and persistent visual of the weekly open, which is a critical reference point in ICT’s market structure theory.
✅ Use Cases:
Directional Bias:
According to ICT concepts, price trading above the weekly open suggests a bullish bias for the week, while trading below it implies bearish conditions.
Traders can use the weekly open line to align their intraweek trades with higher timeframe directional bias.
Dealing Ranges:
Weekly open helps frame the weekly dealing range, especially when combined with other levels like weekly high/low or previous week’s range.
It allows traders to identify potential liquidity pools or areas where price may seek to rebalance.
Mean Reversion Entries:
Price often reverts to or reacts from the weekly open. Traders may use this as a target or entry level, particularly during Monday/Tuesday setups.
Works well in conjunction with concepts like OTE (Optimal Trade Entry) and Judas Swings.
Risk Management:
Acts as a clean and visual anchor to structure stop losses or take-profits based on weekly bias shifts.
SR Intensity CandleThis is a very simple script intended to find just what the title says, "Intensity Candles" is what i am calling them. A bullish intensity candle is taking the low of the previous candle and the close is above the previous candle high. Bearish intensity candle is the opposite, a candle that takes the high of the previous candle and the close is below the low of the previous candle.
Alternatively, if a "bullish" intensity candle is the mitigated and price pushes below, you can expect a back test short of the "bullish" intensity candle. They will act as SR zones for the future price action.
The BEST and most ideal spot for the intensity candles to happen is the see a bullish candle at the low of a move and a bearish candle at the highs indicating strong movement for reversal.
Multi-timeframe Moving Average Overlay w/ Sentiment Table🔍 Overview
This indicator overlays selected moving averages (MA) from multiple timeframes directly onto the chart and provides a dynamic sentiment table that summarizes the relative bullish or bearish alignment of short-, mid-, and long-term moving averages.
It supports seven moving average types — including traditional and advanced options like DEMA, TEMA, and HMA — and provides visual feedback via table highlights and alerts when strong momentum alignment is detected.
This tool is designed to support traders who rely on multi-timeframe analysis for trend confirmation, momentum filtering, and high-probability entry timing.
⚙️ Core Features
Multi-Timeframe MA Overlay:
Plot moving averages from 1-minute, 5-minute, 1-hour, 1-day, 1-week, and 1-month timeframes on the same chart for visual trend alignment.
Customizable MA Type:
Choose from:
EMA (Exponential Moving Average)
SMA (Simple Moving Average)
DEMA (Double EMA)
TEMA (Triple EMA)
WMA (Weighted MA)
VWMA (Volume-Weighted MA)
HMA (Hull MA)
Adjustable MA Length:
Change the length of all moving averages globally to suit your strategy (e.g. 9, 21, 50, etc.).
Sentiment Table:
Visually track trend sentiment across four key zones (Hourly, Daily, Weekly, Monthly). Each is based on the relative positioning of short-term and long-term MAs.
Sentiment Symbols Explained:
↑↑↑: Strong bullish momentum (short-term MAs stacked above longer-term MAs)
↑↑ / ↑: Moderate bullish bias
↓↓↓: Strong bearish momentum
↓↓ / ↓: Moderate bearish bias
Table Customization:
Choose the table’s position on the chart (bottom right, top right, bottom left, top left).
Style Customization:
Display MA lines as standard Line or Stepline format.
Color Customization:
Individual colors for each timeframe MA line for visual clarity.
Built-in Alerts:
Receive alerts when strong bullish (↑↑↑) or bearish (↓↓↓) sentiment is detected on any timeframe block.
📈 Use Cases
1. Trend Confirmation:
Use sentiment alignment across multiple timeframes to confirm the overall trend direction before entering a trade.
2. Entry Timing:
Wait for a shift from neutral to strong bullish or bearish sentiment to time entries during pullbacks or breakouts.
3. Momentum Filtering:
Only trade in the direction of the dominant multi-timeframe trend. For example, ignore long setups when all sentiment blocks show bearish alignment.
4. Swing & Intraday Scalping:
Use hourly and daily sentiment zones for swing trades, or rely on 1m/5m MAs for precise scalping decisions in fast-moving markets.
5. Strategy Layering:
Combine this overlay with support/resistance, RSI, or volume-based signals to enhance decision-making with multi-timeframe context.
⚠️ Important Notes
Lower-timeframe values (1m, 5m) may appear static on higher-timeframe charts due to resolution limits in TradingView. This is expected behavior.
The indicator uses MA stacking, not crossover events, to determine sentiment.
Daily Performance HeatmapThis script displays a customizable daily performance heatmap for key assets across crypto, equities, bonds, commodities, currencies, and volatility indices.
Each cell shows the current price and the percent change since the daily open, color-coded using a gradient from negative to positive. Assets are arranged in a left-to-right, top-down grid, with adjustable layout and styling.
⚙️ Features:
🔢 Displays current price and daily % change
🎨 Color-coded heatmap using customizable gradients
🧱 Adjustable layout: number of columns, cell size, and text size
🧠 Smart price formatting (no decimals for BTC, Gold, etc.)
🪟 Clean alignment with padded spacing for UI clarity
🛠️ Future plans:
User-input asset lists and labels
Category grouping and dynamic sorting
Optional icons, tooltips, or alerts
Mongoose Yield Spread Dashboard v5 – Labeled, Alerted, ReadableCurveGuard: Mongoose Edition
Track the macro tide before it turns.
This tool visualizes the three most-watched U.S. Treasury yield curve spreads:
2s10s (10Y - 2Y)
5s30s (30Y - 5Y)
3M10Y (10Y - 3M)
Each spread is plotted with dynamic color logic, inversion alerts, and floating labels. Background shading highlights historical inversion zones to help spot macro regime shifts in real time.
✅ Alert-ready
✅ Dark mode optimized
✅ Floating labels
✅ Clean layout for fast macro insight
📌 For educational and informational purposes only.
This script does not provide financial advice or trade recommendations.
NY ORB, VWAP & EMAsIndicator is designed to display key technical analysis tools on your Trading View chart. It includes:
One of the key benefits of this indicator is that it allows Basic Trading View users to set VWAP, EMAs, and ORB in a single indicator. This is particularly useful for users who are limited to a single indicator on their Basic plan, as it provides a comprehensive view of market sentiment, trend, and potential breakouts without the need for multiple indicators.
Features
New York Opening Range Breakout (ORB): Plots the high and low of the first 15 minutes (configurable) of the New York trading session.
Volume Weighted Average Price (VWAP): Displays the VWAP line, which can be toggled on or off.
Exponential Moving Averages (EMAs): Plots four EMAs (9, 21, 50, and 200 periods), which can also be toggled on or off.
Customization
ORB Length: Choose from 5 or 15 minutes for the ORB calculation.
Show VWAP and EMAs: Toggle the visibility of the VWAP and EMA lines on or off.
Usage
This indicator is designed to help traders identify key market levels, trends, and potential breakouts during the New York trading session. The ORB can be used to gauge market sentiment, while the VWAP provides a benchmark for average price action. The EMAs offer additional trend analysis and can be used to identify potential support and resistance levels.
ZVOL — Z-Score Volume Heatmapⓩ ZVOL transforms raw volume into a statistically calibrated heatmap using Z-score thresholds. Unlike classic volume indicators that rely on fixed MA comparisons, ZVOL calculates how many standard deviations each volume bar deviates from its mean. This makes the reading adaptive across timeframes and assets, in order to distinguish meaningful crowd behavior from random volatility.
📊 The core display is a five-zone histogram, each encoded by color and statistical depth. Optional background shading mirrors these zones across the entire pane, revealing subtle compression or structural rhythm shifts across time. By grounding the volume reading in volatility-adjusted context, ZVOL inhibits impulsive trading tactics by compelling the structure, not the sentiment, to dictate the signal.
🥵 Heatmap Coloration:
🌚 Suppressed volume — congestion, coiling phases
🩱 Stable flow — early trend or resting volume
🏀 High activity — emerging pressure
💔 Extreme — possible climax or institutional print
🎗️ A dynamic Fibonacci-based 21:34-period EMA ribbon overlays the histogram. The fill area inverts color on crossover, providing a real-time read on tempo, expansion, or divergence between price structure and crowd effort.
💡 LTF Usage Suggestions:
• Confirm breakout legs when orange or red zones align with range exits
• Fade overextended moves when red bars appear into resistance
• Watch for rising EMAs and orange volume to front-run impulsive moves
• Combine with volatility suppression (e.g. ATR) to catch compression → expansion transitions
🥂 Ideal Pairings:
• OBVX Conviction Bias — to confirm directional intent behind volume shifts
• SUPeR TReND 2.718 — for directional filters
• ATR Turbulence Ribbon — to detect compression phases
👥 The OBVX Conviction Bias adds a second dimension to ZVOL by revealing whether crowd effort is aligning with price direction or diverging beneath the surface. While ZVOL identifies statistical anomalies in raw volume, OBVX tracks directional commitment using cumulative volume and moving average cross logic. Use them together to spot fake-outs, anticipate structure-confirmed breakouts, or time pullbacks with volume-based conviction.
🔬 ZVOL isn’t just a volume filter — it’s a structural lens. It reveals when crowd effort is meaningful, when it's fading, and when something is about to shift. Designed for structure-aware traders who care about context, not noise.
Market Regime Candle DominanceDescription: This script, "Market Regime Candle Dominance," overlays a TradingView chart to visually identify market regimes—bullish trends, bearish trends, or ranging markets—using adaptive calculations and volatility detection. It dynamically colors candles and highlights the background to indicate current market conditions.
How It Works:
Inputs:
Users define colors for bullish, bearish, and ranging trends, adjust sensitivity thresholds for volatility and trends, and set an adaptive calculation length.
Adaptive Calculation:
A period adjustment factor (calcPeriod) dynamically alters based on the chart's timeframe, ensuring meaningful calculations across different timeframes.
Volatility and Trend Detection:
Using the True Range (ta.tr) and price change (close - close ), the script calculates volatility and trend strength to determine market conditions.
Trend sensitivity is adjustable through thresholds (trendThreshold), enabling finer or broader regime detection.
Market Regime Identification:
Bullish Trend: Detected when trendStrength > trendThreshold.
Bearish Trend: Triggered when trendStrength < -trendThreshold.
Ranging Market: Identified when neither bullish nor bearish trends are present.
Candle Coloring:
Candles are colored according to the market regime:
Green for bullish trends.
Red for bearish trends.
Blue (semi-transparent) for ranging markets.
Background Highlights:
An optional feature (highlightRegime) adds semi-transparent background colors corresponding to the detected regime, enhancing visual clarity of the chart.
Features:
Adaptive Sensitivity: Adjusts the calculation length and thresholds for precision across different chart timeframes.
Customizable Display: Allows users to personalize colors and enable/disable background highlights.
Visual Clarity: Simplifies the identification of market regimes, providing clear direction at a glance.
Momentum Indicators Bias/*
Description:
This script, "Advanced Momentum Indicators Bias," displays a table summarizing the directional bias of various technical indicators on a TradingView chart. It allows users to toggle between simple "Up/Down" directions and advanced "Strong Up/Weak Up/Strong Down/Weak Down" classifications using the `use_advanced_counts` input.
How It Works:
1. **Inputs**: Users can enable/disable 25 indicators and customize table appearance (position, colors, visibility).
2. **Direction Calculation**: Each indicator has a `get_*_dir()` function that determines its direction:
- When `use_advanced_counts` is false, it returns "up" or "down" based on basic conditions (e.g., RSI > 50 = "up").
- When `use_advanced_counts` is true, it returns "strong_up," "weak_up," "strong_down," or "weak_down" by assessing trend strength.
3. **Strength Determination**:
- Advanced indicators (e.g., RSI, MACD) use momentum (e.g., value increasing vs. previous) to differentiate "strong" (rising) from "weak" (flat/declining).
- Simple indicators (e.g., ADX, Ichimoku) add a strength heuristic (e.g., price or indicator value change) when `use_advanced_counts` is true.
4. **Table Display**: The `get_display_text` function maps directions to text:
- Toggle off: "Up" or "Down."
- Toggle on: "Strong Up," "Weak Up," "Strong Down," or "Weak Down" only.
- Background colors reflect strength (solid for strong, faded for weak).
5. **Total Count**: Optionally shows a summary of up/down counts, with detailed strong/weak counts when advanced mode is enabled.
Indicators Used:
- Oscillators: RSI, MACD, Stochastic, MFI, Williams %R, CCI, ROC, Momentum, Trix, Schaff Trend Cycle, Chaikin Oscillator, Ultimate Oscillator.
- Trend/Other: ADX, Ichimoku, Parabolic SAR, Aroon, OBV, Bull Bear Power, Elder Ray, Gator Oscillator, Keltner Channels, Zig Zag, Donchian Channels, Envelopes, Fractals.
The script overlays the chart and updates on the last bar, providing a quick visual bias assessment across multiple indicators.
*/
GannLvlSHGann Indicator created to display the Support and Resistances levels on Chart based on study of WD Gann
Buy/Sell Volume ComparisonKey improvements:
Direct volume comparison: Now shows the current day's volume and previous day's volume side by side
Percentage change display: Clear percentage change with up/down arrows
Table position customization: Added a dropdown menu to select where you want the table to appear
To adjust the table position:
Click on the settings (gear icon) for the indicator after adding it to your chart
You'll see a dropdown menu labeled "Table Position"
Select from options like "Top Right", "Bottom Left", etc.
Click "OK" to apply your changes
This version also handles the case where there's no previous volume data (first bar of the chart) by checking for NA values.
Let me know if this meets your requirements, or if you'd like any other adjustments!RetryClaude does not have the ability to run the code it generates yet.Claude can make mistakes. Please double-check responses.Tip: Long chats cause you to reach your usage limits faster.
Gold DCA IndicatorThis indicator operates on the assumption that when there is a bearish cross on the MACD on the S&P 500, it is ideal to DCA into gold as investors are hedging their investments into safe assets.
It plots these events with tags on the gold chart and also provides alerts when these events occur.
EMA-Based Squeeze Dynamics (Gap Momentum & EWMA Projection)EMA-Based Squeeze Dynamics (Gap Momentum & EWMA Projection)
🚨 Main Utility: Early Squeeze Warning
The primary function of this indicator is to warn traders early when the market is approaching a "squeeze"—a tightening condition that often precedes significant moves or regime shifts. By visually highlighting areas of increasing tension, it helps traders anticipate potential volatility and prepare accordingly. This is intended to be a statistically and psychologically grounded replacement of so-called "fib-time-zones," which are overly-deterministic and subjective.
📌 Overview
The EMA-Based Squeeze Dynamics indicator projects future regime shifts (such as golden and death crosses) using exponential moving averages (EMAs). It employs historical interval data and current market conditions to dynamically forecast when the critical EMAs (50-period and 200-period) will reconverge, marking likely trend-change points.
This indicator leverages two core ideas:
Behavioral finance theory: Traders often collectively anticipate popular EMA crossovers, creating a self-fulfilling prophecy (normative social influence), similar to findings from Solomon Asch’s conformity experiments.
Bayesian-like updates: It utilizes historical crossover intervals as a prior, dynamically updating expectations based on evolving market data, ensuring its signals remain objectively grounded in actual market behavior.
⚙️ Technical & Mathematical Explanation
1. EMA Calculations and Regime Definitions
The indicator uses three EMAs:
Fast (9-period): Represents short-term price movement.
Medial (50-period): Indicates medium-term trend direction.
Slow (200-period): Defines long-term market sentiment.
Regime States:
Bullish: 50 EMA is above the 200 EMA.
Bearish: 50 EMA is below the 200 EMA.
A shift between these states triggers visual markers (arrows and labels) directly on the chart.
2. Gap Dynamics and Historical Intervals
At each crossover:
The indicator records the gap (distance) between the 50 and 200 EMAs.
It tracks the historical intervals between past crossovers.
An Exponentially Weighted Moving Average (EWMA) of these intervals is calculated, weighting recent intervals more heavily, dynamically updating expectations.
Important note:
After every regime shift, the projected crossover line resets its calculation. This reset is visually evident as the projection line appears to move further away after each regime change, temporarily "repelled" until the EMAs begin converging again. This ensures projections remain realistic, grounded in actual EMA convergence, and prevents overly optimistic forecasts immediately after a regime shift.
3. Gap Momentum & Adaptive Scaling
The indicator measures how quickly or slowly the gap between EMAs is changing ("gap momentum") and adjusts its forecast accordingly:
If the gap narrows rapidly, a crossover becomes more imminent.
If the gap widens, the next crossover is pushed further into the future.
The "gap factor" dynamically scales the projection based on recent gap momentum, bounded between reasonable limits (0.7–1.3).
4. Squeeze Ratio & Background Color (Visual Cues)
A "squeeze ratio" is computed when market conditions indicate tightening:
In a bullish regime, if the fast EMA is below the medial EMA (price pulling back towards long-term support), the squeeze ratio increases.
In a bearish regime, if the fast EMA rises above the medial EMA (price rallying into long-term resistance), the squeeze ratio increases.
What the Background Colors Mean:
Red Background: Indicates a bullish squeeze—price is compressing downward, hinting a bullish reversal or continuation breakout may occur soon.
Green Background: Indicates a bearish squeeze—price is compressing upward, suggesting a bearish reversal or continuation breakout could soon follow.
Opacity Explanation:
The transparency (opacity) of the background indicates the intensity of the squeeze:
High Opacity (solid color): Strong squeeze, high likelihood of imminent volatility or regime shift.
Low Opacity (faint color): Mild squeeze, signaling early stages of tightening.
Thus, more vivid colors serve as urgent visual warnings that a squeeze is rapidly intensifying.
5. Projected Next Crossover and Pseudo Crossover Mechanism
The indicator calculates an estimated future bar when a crossover (and thus, regime shift) is expected to occur. This calculation incorporates:
Historical EWMA interval.
Current squeeze intensity.
Gap momentum.
A dynamic penalty based on divergence from baseline conditions.
The "Pseudo Crossover" Explained:
A key adaptive feature is the pseudo crossover mechanism. If price action significantly deviates from the projected crossover (for example, if price stays beyond the projected line longer than expected), the indicator acknowledges the projection was incorrect and triggers a "pseudo crossover" event. Essentially, this acts as a reset, updating historical intervals with a weighted adjustment to recalibrate future predictions. In other words, if the indicator’s initial forecast proves inaccurate, it recognizes this quickly, resets itself, and tries again—ensuring it remains responsive and adaptive to actual market conditions.
🧠 Behavioral Theory: Normative Social Influence
This indicator is rooted in behavioral finance theory, specifically leveraging normative social influence (conformity). Traders commonly watch EMA signals (especially the 50 and 200 EMA crossovers). When traders collectively anticipate these signals, they begin trading ahead of actual crossovers, effectively creating self-fulfilling prophecies—similar to Solomon Asch’s famous conformity experiments, where individuals adopted group behaviors even against direct evidence.
This behavior means genuine regime shifts (actual EMA crossovers) rarely occur until EMAs visibly reconverge due to widespread anticipatory trading activity. The indicator quantifies these dynamics by objectively measuring EMA convergence and updating projections accordingly.
📊 How to Use This Indicator
Monitor the background color and opacity as primary visual cues.
A strongly colored background (solid red/green) is an early alert that a squeeze is intensifying—prepare for potential volatility or a regime shift.
Projected crossover lines give a dynamic target bar to watch for trend reversals or confirmations.
After each regime shift, expect a reset of the projection line. The line may seem initially repelled from price action, but it will recalibrate as EMAs converge again.
Trust the pseudo crossover mechanism to automatically recalibrate the indicator if its original projection misses.
🎯 Why Choose This Indicator?
Early Warning: Visual squeeze intensity helps anticipate market breakouts.
Behaviorally Grounded: Leverages real trader psychology (conformity and anticipation).
Objective & Adaptive: Uses real-time, data-driven updates rather than static levels or subjective analysis.
Easy to Interpret: Clear visual signals (arrows, labels, colors) simplify trading decisions.
Self-correcting (Pseudo Crossovers): Quickly adjusts when initial predictions miss, maintaining accuracy over time.
Summary:
The EMA-Based Squeeze Dynamics Indicator combines behavioral insights, dynamic Bayesian-like updates, intuitive visual cues, and a self-correcting pseudo crossover feature to offer traders a reliable early warning system for market squeezes and impending regime shifts. It transparently recalibrates after each regime shift and automatically resets whenever projections prove inaccurate—ensuring you always have an adaptive, realistic forecast.
Whether you're a discretionary trader or algorithmic strategist, this indicator provides a powerful tool to navigate market volatility effectively.
Happy Trading! 📈✨