OrderBlocks by exp3rts (Non-Repainting)The OrderBlocks by exp3rts indicator automatically identifies and visualizes bullish and bearish order blocks using confirmed, non-repainting fractals combined with Fair Value Gap (FVG) validation for enhanced accuracy.
This tool is designed to help traders spot high-probability institutional price zones — areas where large buy or sell orders previously caused significant moves — allowing you to anticipate potential reversal, continuation, or mitigation levels with precision.
Core Features
✅ Non-Repainting Logic: Uses confirmed 3- or 5-bar fractals only after full pattern completion.
📈 Dynamic Order Block Detection: Marks both bullish and bearish OBs automatically.
⚖️ FVG Filter (Optional): Optionally require a Fair Value Gap within a user-defined distance to confirm valid OBs.
🎯 Customizable OB Lines: Adjust color, style (solid, dashed, dotted), width, and body/wick placement.
🧹 Auto-Cleanup: Option to remove order block lines once price has been mitigated (touched/filled).
🔺🔻 Fractal Display: Toggle fractal highs/lows on or off for extra structure clarity.
⚡ Optimized for Performance: Uses efficient array management to run smoothly within TradingView’s bar processing limits.
How to Use
Add the indicator to your chart.
Adjust settings such as Fractal Filter (3/5), FVG distance, and Line Style to match your trading preference.
Watch for bullish OBs (green lines) near potential demand zones and bearish OBs (red lines) near supply zones.
Use in confluence with market structure and liquidity concepts for best results.
Settings Overview
Fractal Filter: Choose between 3-bar or 5-bar swing fractals.
Order Block Type: Detect OBs based on Close or High/Low break structure.
FVG Filter: Optionally require nearby Fair Value Gaps.
Delete After Fill: Automatically remove mitigated OBs.
Visuals: Customize line color, thickness, and style for clear chart integration.
Made for any timeframe & any market.
Sentiment
Background Trend Follower by exp3rtsThe Background Trend Follower indicator visually highlights the market’s daily directional bias using subtle background colors. It calculates the price change from the daily open and shades the chart background according to the current intraday momentum.
🟢 Green background → Price is significantly above the daily open (strong bullish trend)
🔴 Red background → Price is significantly below the daily open (strong bearish trend)
🟡 Yellow background → Price is trading near the daily open (neutral or consolidating phase)
The script automatically detects each new trading day.
It records the opening price at the start of the day.
As the session progresses, it continuously measures how far the current price has moved from that open.
When the move exceeds ±50 points (custom threshold), the background color adapts to reflect the trend strength.
Perfect for traders who want a quick visual sense of intraday bias — bullish, bearish, or neutral — without cluttering the chart with extra indicators.
Smart Risk DCA Meter — Adaptive Market Risk EngineThe **Smart Risk DCA Meter** is an adaptive market-risk indicator that helps you invest smarter by scaling your DCA buys based on actual market conditions instead of emotion. It combines momentum, distance from trend, and drawdown factors into a single 0–1 risk score that automatically adjusts to each asset’s volatility — from stable indices like SPX to high-beta assets like BTC. Low readings (green zones) signal opportunity to buy heavier, while high readings (red zones) warn to slow down and protect capital.
MomentumQ Sector MatrixMomentumQ Sector Matrix — Multi-Timeframe & Sector Performance Dashboard
The MomentumQ Sector Matrix is a professional dashboard-style indicator designed to help traders quickly evaluate sector performance and momentum alignment across multiple timeframes.
It provides an instant visual snapshot of how each major U.S. sector is performing, helping traders identify strength, weakness, and rotation trends without switching between charts.
What It Does
MomentumQ Sector Matrix consolidates multi-timeframe return data (1-Month, 1-Week, and 1-Day) into a clean, color-coded table.
Each sector’s cell displays percentage performance, automatically colored green or red based on relative gains or losses.
This tool serves as a sector rotation map , letting traders:
Spot which parts of the market are leading or lagging
Track momentum alignment across monthly, weekly, and daily timeframes
Instantly identify broad market conditions (risk-on vs. risk-off)
Key Features
1. Multi-Timeframe Sector Overview
Displays percentage returns for major SPDR sectors on 1-Month, 1-Week, and 1-Day bases.
Toggle between Today and PrevD (previous day) return modes.
2. Adaptive Table Layout
Fully resizable — choose Small, Medium, or Large table sizes for the best fit on your chart.
Works seamlessly with both light and dark TradingView themes.
3. Light / Dark Mode Support
Switch between modes to automatically match your chart background.
4. Performance-Based Coloring
Green for positive returns, red for negative, gray for neutral.
Provides clear visual contrast even in compact layouts.
5. Instant Market Context
Gain quick insight into overall market strength or weakness.
Ideal for top-down analysis, ETF rotation strategies, and macro confirmation.
How to Use
Add the indicator to any chart (symbol-independent).
Choose your preferred table position and size in the settings panel.
Use 1M / 1W / 1D readings to align your trading bias with higher-timeframe context.
Why It’s Valuable
Consolidates sector analysis into a single, easy-to-read dashboard
Helps identify macro trends and sector leadership quickly
Supports both swing and intraday trading approaches
Complements existing momentum or regime-tracking systems
Disclaimer
This indicator is a technical analysis tool for educational and informational purposes only.
It does not constitute financial advice and does not guarantee profitability.
Always perform your own analysis and use proper risk management.
Coinbase Premium IndexCoinbase Premium Index
This indicator tracks the price premium or discount of Bitcoin on Coinbase relative to Binance, providing insights into institutional demand and market sentiment.
How It Works:
- Compares BTC/USD price on Coinbase vs BTC/USDT on Binance
- Calculates the price differential in real-time
- Displays as a histogram with positive (green) or negative (red) values
- Offers both percentage and dollar-based views
Key Features:
- Dual Display Modes: Switch between percentage and dollar premium
- Color-Coded Histogram: Green bars indicate Coinbase premium, red bars show discount
- Real-Time Data: Uses live price feeds from both exchanges
- Clean Visualization: Easy-to-read histogram format in separate pane
Market Implications:
- Positive Premium (Green): Coinbase trading higher = potential institutional buying pressure
- Negative Premium (Red): Coinbase trading lower = possible institutional selling or retail dominance
- Magnitude Matters: Larger premiums/discounts suggest stronger sentiment shifts
- Divergence Signals: Premium changes can precede price movements
Use Cases:
- Gauge institutional vs retail sentiment
- Identify potential trend reversals
- Confirm breakout strength
- Monitor smart money flow
Settings:
- Display Mode: Choose between "Percentage" or "Dollar" view
Days Without -x% Move (Within x Days)Days Without X% Move
This indicator tracks consecutive days without a significant price drop, helping traders monitor market stability and potential risk buildup.
How It Works:
- Monitors a rolling window (default: 3 days) for the maximum drawdown
- Resets the counter when price drops by the specified percentage (default: 15%)
- Counts consecutive days where the threshold hasn't been breached
- Higher values indicate extended periods without significant corrections
Key Features:
- Configurable Drop Threshold: Set the percentage drop that resets the counter
- Adjustable Window: Define the lookback period for measuring drawdowns
- Wick Analysis: Option to include or exclude wicks in calculations
- Visual Display: Red area plot shows the current streak length
Use Cases:
- Risk management: Identify when markets are "overdue" for a correction
- Market regime analysis: Compare calm vs volatile periods
- Position sizing: Adjust exposure based on streak length
- Entry timing: Higher streak values may indicate increased correction risk
Overleverage Short Screener Alert Overleverage Short Screener Alert Guide (inspired by a posting "an on-chain trader nicknamed "Calm Order King" has reportedly made over $10 million in porfit this month - mainly by shorting BTC and SOL at precise reversal points", this script tries to guess his work.
🎯 Purpose of the Script
The script aims to identify potential **shorting opportunities** in derivatives markets (Perpetual Futures).
It looks for a setup often associated with a "long squeeze" or "blow-off top" by checking three criteria simultaneously: **High Excitement**, **Liquidity Buildup**, and the start of a **Price Dip**.
***
### 🛠️ Customize Inputs (Settings)
Access the indicator's settings window to adjust the following values:
Funding Rate Threshold (%):** Controls the required bar momentum (proxy for excitement). *Adjust between 0.01 and 0.05.*
OI MA Period:** Sets the lookback period for the Open Interest/Volume trend. *Use 7 to 14.*
OI Spike % Above MA:** Defines how far above its trend the Volume/OI must be to signal high liquidity buildup. *Try 20.0 to 50.0.*
Price Drop % From X-Period High:** Sets the minimum percentage drop required from the recent high to confirm the setup. *Use 3.0 to 7.0.*
High Timeframe:** The period used to calculate the "recent high." *Use '7D' (7 Days) or '1D' (1 Day).*
***
🔔 Reading the Signal and Setting Alerts
Visual Signal (Short\_Alert):** A **red triangle down** will appear at the top of the indicator pane when all three conditions are met. The background will also turn light red.
Signal Confirmation:**
* The **FR Proxy % (Blue Line)** must be **above** its blue threshold line.
* The **OI Spike % (Orange Line)** must be **above** its orange threshold line.
* The **Price Drop % (Fuchsia Line)** must be **below** its fuchsia threshold line.
Setting Alerts:**
1. Click the **"Alert"** button (bell icon) on the chart.
2. Set the **Condition** to the indicator's name: **"Overleverage Short Screener Alert
3. Set the specific condition to: **"Overleverage Short Alert"**.
4. The default alert message includes the current percentage values for all three factors for quick review.
VIX Delta SentimentThis script uses the volatility index VIX and the two nearest futures VX1! and VX2! to calculate the market sentiment and trigger a crash alert before it happens.
VIX Delta SentimentThis script opens a new panel underneath the main panel.
It displays a table with the values of the CBOE volatility index VIX, which measures the last 30 days implied volatility of the S&P500 index, the VX1! and the VX2! values, which are the front month and the second month VIX futures.
To curves are plotted: the relative difference or delta of the two VIX futures as well as the relative delta between VIX and the first futures month. The dotted lines visualize the thresholds of these two relative deltas.
These values are needed to determine the market sentiment and to trigger a crash alert before it happens. It can be used to trade the major indices SPX, QQQ, etc. or to avoid catastrophic losses.
The market sentiment is annotated in the table and also visualized as background color.
Inverse VIX / Custom Inverse Line🎯 Main Idea
This indicator creates a line that moves opposite to the VIX (Volatility Index) — or any symbol you choose.
When VIX rises (fear increases), → this line goes down.
When VIX falls (market calm), → this line goes up.
It helps you visually understand market sentiment — calm periods (bullish) vs fear periods (bearish).
⚙️ Input Settings
Setting Description
Symbol to invert The symbol to invert. Default is CBOE:VIX.
Inverse mode The method used to invert the values. There are 3 options:
① Negate Simply flips the sign (multiplies by -1). Very straightforward.
② Reciprocal Uses the mathematical inverse (1 ÷ value). High values become smaller, and vice versa.
③ Inverse Normalized The most useful mode 🔥 — normalizes values between 0–100 and flips them, similar to an RSI.
Normalization lookback How many bars to use for normalization (default 252 = roughly one trading year).
Smoothing (SMA) Number of bars for smoothing (makes the line smoother).
Use log for reciprocal Uses logarithmic scaling to stabilize big swings.
Plot color / width Customize the line’s color and thickness.
Show original source If enabled, shows the original VIX line for comparison.
📈 How It Works
The script fetches the close price of the VIX (or your chosen symbol).
It applies the selected inversion method.
The inverted line is plotted on the chart.
In “Inverse Normalized” mode:
The range is 0–100.
Values above 75 = high optimism (market often overheated).
Values below 25 = high fear (potential buying opportunity).
A middle line at 50 marks neutral sentiment.
⚠️ Alerts
The indicator includes two default alerts when using “Inverse Normalized” mode:
🔔 Above 75: Market showing strong optimism (potential top or correction zone).
🔔 Below 25: Market showing fear (potential bottom or buy signal).
🧠 How to Use It
Use it on daily or weekly charts for clearer signals.
Compare it with SPX or NASDAQ:
When the Inverse VIX line rises, markets often go up.
When it falls, markets usually drop or consolidate.
Combine it with other indicators (e.g., RSI, MACD) for confirmation.
Sri - Relative Trend Index (RTI) with CTF🧭 Sri - Relative Trend Index (RTI) with Custom Timeframe (CTF)
Developed by Venkat Raman (Sri)
📘 Overview
The Relative Trend Index (RTI) is a proprietary oscillator designed to measure trend strength, direction, and relative positioning within a smoothed statistical band.
Unlike standard oscillators, RTI adapts dynamically using custom timeframe data (CTF), allowing traders to evaluate multi-timeframe trend momentum and reversals more effectively.
The indicator uses standard deviation envelopes and quantile-based sensitivity to calculate upper and lower dynamic bands, then measures the relative position of the current price within those bands — resulting in a smoothed, normalized trend index scaled from 0 to 100.
⚙️ Key Features
✅ Custom Timeframe Input (CTF):
Analyze RTI on any timeframe (e.g., 60m, 120m, 1D) while viewing on lower or higher charts.
✅ Color-coded RTI Line:
Green when RTI is above the 50 baseline → bullish trend momentum.
Red when RTI is below the 50 baseline → bearish trend momentum.
✅ Adaptive Smoothing:
Smoothing automatically adjusts based on sensitivity.
Higher sensitivity = smoother RTI curve (reduces noise).
✅ Dynamic Quantile Calculation:
RTI uses quantile-based ranking of upper and lower volatility bands, making it adaptive to market volatility and minimizing lag.
✅ Overbought/Oversold & Mid Levels:
Visual reference zones for identifying potential exhaustion or reversal regions:
Overbought: Default 80
Oversold: Default 20
Midline: 50
✅ Smoothed Signal Line:
Provides an additional reference curve for crossover signals and confirmation.
✅ Visual Clarity:
Clean color-coded plots
Overbought/Oversold fill shading
Adaptive smoothing curve overlay
✅ Alert Conditions Included:
Ready-to-use alerts for:
Crossing overbought/oversold levels
Crossing midline (50)
Signal crossovers between RTI and smoothed line
🧩 Inputs Explained
Input Description
Custom Timeframe (CTF) Selects timeframe used for RTI calculation (e.g., 60, 120, D).
Trend Length Period used to calculate trend envelope range.
Sensitivity Adjusts responsiveness (lower = faster, higher = smoother).
Base Smoothing Length Controls EMA smoothing of the signal line.
Overbought / Oversold Thresholds for reversal or momentum exhaustion zones.
🟩 Interpretation
RTI > 50 (Green): Uptrend or bullish bias; stronger if rising toward 80+.
RTI < 50 (Red): Downtrend or bearish bias; stronger if falling toward 20 or below.
Crossing 50: Often indicates a shift in momentum.
Signal crossover (RTI vs. EMA): Potential early entry/exit trigger.
🔔 Built-In Alerts
RTI crossing Overbought / Oversold
RTI crossing 50 baseline
RTI crossing Smoothed Signal Line
🧠 Suggested Uses
Combine with volume, price structure, or volatility-based tools for confirmation.
Use higher-timeframe RTI (via CTF) as a trend filter and lower-timeframe RTI for entry timing.
Ideal for swing traders and intraday analysts seeking adaptive trend strength confirmation.
🎨 Color Scheme
Element Color Meaning
RTI Line 🟢 Green / 🔴 Red Above or below 50 baseline
Smoothed RTI 🔵 Blue (light) Reference EMA of RTI
Background Fill 🩵 Soft Teal Highlights oscillator zone
💡 Note
This is a proprietary adaptation of the Relative Trend Index concept by Sri (Venkat Raman), optimized for flexibility, visual clarity, and dynamic responsiveness across multiple timeframes.
TrueOI - Ktsoev CryptoCumulative open interest on major exchanges (Binance, Bitmex, Kraken, Bybit, Mexc, Okx, Bitget, BingX, Gate, Kucoin)
Sentiment NavigatorFREE|SuperFundedSentiment Navigator — Momentum × Volatility Heatmap
What it is
Sentiment Navigator blends momentum (RSI) with volatility (ATR normalized by price) to visualize market psychology using a background heatmap and a lower oscillator.
・Background: quick read of the market’s “temperature” → Extreme Greed / Greed / Neutral / Fear / Extreme Fear.
・Oscillator: a bounded sentiment score from -100 to +100 showing bias strength and potential extremes.
Why this is not a simple mashup
Instead of showing RSI and ATR separately, this tool integrates them into a single, weighted score and a state machine:
・Context-aware weighting: When volatility is high (ATR vs its SMA baseline), the score is amplified, reflecting that momentum matters more in turbulent regimes.
・Unified states: RSI thresholds classify regimes (Greed/Fear) and are conditioned by volatility to promote Extreme states only when justified.
・Actionable cues: Reversal labels appear at the extreme levels with candle confirmation to reduce noise.
How it works (concise)
1. Momentum: RSI(len) (default 21).
2. Volatility: ATR(len)/close*100 (default ATR=14), smoothed by SMA(volSmaLen) and compared using volMultiplier.
3. Sentiment score: transform RSI to (-100..+100) via (RSI-50)*2, then amplify ×1.5 when high volatility. Finally clamp to .
4. States:
・RSI > greedLevel → Greed (upgraded to Extreme Greed if high vol)
・RSI < fearLevel → Fear (upgraded to Extreme Fear if high vol)
・else Neutral
5. Plotting:
・Oscillator (area) with 0-line and dotted extreme bands.
・Background color by state (greens for Greed, reds for Fear, gray for Neutral).
6. Signals (optional):
・Buy: crossover(score, -extremeGreedLevel) and close > open → prints ▲ at -extremeGreedLevel
・Sell: crossunder(score, extremeGreedLevel) and close < open → prints ▼ at +extremeGreedLevel
Parameters (UI mapping)
Core
・RSI Length (rsiLen)
・ATR Length (atrLen)
・Volatility SMA Length (volSmaLen)
・High-Vol Multiplier (volMultiplier)
State thresholds
・Extreme Greed (extremeGreedLevel)
・Greed (greedLevel)
・Fear (fearLevel)
・Extreme Fear (extremeFearLevel)
Display
・Show Background (showBgColor)
・Show Reversal Signals (showSignals)
Practical usage
・Regime read: Treat greens as risk-on bias, reds as risk-off, gray as indecision.
・Entries: Use ▲/▼ as triggers, not commands—wait for price action (wicks/engulfings) at structure.
・Extreme management: At Extreme states, favor mean-reversion tactics; in plain Greed/Fear with low vol, trends may persist longer.
・Tuning:
・Raise greedLevel/fearLevel to reduce signals.
・Increase volMultiplier to demand stronger vol for “Extreme” states.
Repainting & confirmation
Signals rely on cross events of the oscillator; judge on bar close for stricter rules. Background/state can change intrabar as RSI/ATR evolve.
Disclaimer
No indicator guarantees outcomes. News/liquidity can override signals. Trade responsibly with proper risk controls.
Sentiment Navigator — クイックガイド(日本語)
概要
本インジは RSI(モメンタム) と ATR/価格(ボラティリティ) を統合し、背景のヒートマップと下部オシレーターで市場心理を可視化します。
・背景色:極度の強欲 / 強欲 / 中立 / 恐怖 / 極度の恐怖 を直感表示。
・オシレーター:-100〜+100 のスコアでバイアスの強さと過熱を示します。
独自性・新規性
・高ボラ状態ではスコアを増幅し、同じRSIでも環境次第で体感インパクトを反映。
・RSIしきい値×ボラで極端ゾーンの発生を制御し、意義のあるExtremeのみ点灯。
・反転ラベルは極端レベルのクロス+ローソク条件で点灯し、ノイズを抑制。
仕組み(要点)
1. RSI を算出。
2. ATR/close*100 を SMA と比較し、しきい値倍率で高ボラを判定。
3. score = (RSI-50)*2 を 高ボラで×1.5、 にクランプ。
4. 状態:RSI>Greed → Greed/Extreme Greed、RSI
Cumulative Volume DeltaCumulative Volume Delta (CVD) Indicator
This indicator is a modification of the Trading View CVD indicator. Cumulative Volume Delta (CVD), which represents the net difference between up volume (volume traded as the price increases) and down volume (volume traded as the price decreases) over a chosen Anchor Period.
The data for the CVD calculation is requested using the built-in ta.requestVolumeDelta function from a lower timeframe to approximate the directional volume with greater precision. This lower timeframe is either automatically selected based on the chart's timeframe or can be customized by the user.
Key Features and Inputs
Anchor Period: Defines the period over which the volume delta is accumulated and plotted. The default is "1D" (Daily), but it can be changed to any higher timeframe (e.g., "1W" for Weekly) to analyze CVD across different cycles.
CVD Candle Plot: The calculated volume delta values are plotted as a custom candle, where:
The open and close of the CVD candle represent the volume delta at the start and end of the anchor period, respectively.
The high and low represent the maximum and minimum volume delta reached during that period.
Up/Down Coloring Logic: The color of the CVD candle is determined by the directional movement of the price during the anchor period, allowing traders to quickly correlate volume delta with price action. Users can select between two methods via the "Strong Up/Down Coloring" input:
Strong Up/Down (Default): The candle is colored bullish (Teal) if the current price closes above the previous bar's high or bearish (Red) if it closes below the previous bar's low. This logic highlights significant momentum.
Regular Up/Down: The candle is colored bullish (Teal) if the close is greater than the open (price moved up) or bearish (Red) if the close is less than the open (price moved down).
Lower Timeframe Selection: This determines the resolution of the up and down volume components.
By default, the script automatically selects an appropriate lower timeframe (e.g., "1" minute for intraday charts, "5" minutes for daily charts) to balance historical data availability with calculation precision.
An option is provided to customize this "Lower Timeframe" for advanced users seeking higher or lower resolution.
The CVD indicator is a powerful tool for analyzing order flow dynamics and assessing the genuine strength of price movements by comparing the aggregate buying pressure (up volume) against the selling pressure (down volume).
Technical Notes (Code Details)
Language: Pine Script® //@version=6.
Function: Utilizes the ta.requestVolumeDelta() function with a user-defined anchorInput (default "1D") and a determined lowerTimeframe to retrieve the relevant delta data: .
Error Handling: Includes a check to confirm the symbol provides volume data, preventing runtime errors.
Smart Money Volume Activity [AlgoAlpha]🟠 OVERVIEW
This tool visualizes how Smart Money and Retail participants behave through lower-timeframe volume analysis. It detects volume spikes far beyond normal activity, classifies them as institutional or retail, and projects those zones as reactive levels. The script updates dynamically with each bar, showing when large players enter while tracking whether those events remain profitable. Each event is drawn as a horizontal line with bubble markers and summarized in a live P/L table comparing Smart Money versus Retail.
🟠 CONCEPTS
The core logic uses Z-score normalization on lower-timeframe volumes (like 5m inside a 1h chart). This lets the script detect statistically extreme bursts of buying or selling activity. It classifies each detected event as:
Smart Money — volume inside the candle body (suggesting hidden accumulation or distribution)
Retail — volume closing at bar extremes (suggesting chase entries or panic exits)
When new events appear, the script plots them as horizontal levels that persist until price interacts again. Each level acts as a potential reaction zone or liquidity footprint. The integrated P/L table then measures which class (Retail or Smart Money) is currently “winning” — comparing cumulative profitable versus losing volume.
🟠 FEATURES
Classifies flows into Smart Money or Retail based on candle-body context.
Displays live P/L comparison table for Smart vs Retail performance.
Alerts for each detected Smart or Retail buy/sell event.
🟠 USAGE
Setup : Add the script to any chart. Set Lower Timeframe Value (e.g., “5” for 5m) smaller than your main chart timeframe. The Period input controls how many bars are analyzed for the Z-score baseline. The Threshold (|Z|) decides how extreme a volume must be to plot a level.
Read the chart : Horizontal lines mark where heavy Smart or Retail volume occurred. Bright bubbles show the strongest events — their size reflects Z-score intensity. The on-chart table updates live: green cells show profitable flows, red cells show losing flows. A dominant green Smart Money row suggests institutions are currently controlling price.
See what others are doing :
Settings that matter : Raising Threshold (|Z|) filters noise, showing only large players. Increasing Period smooths results but reacts slower to new bursts. Use Show = “Both” for full comparison or isolate “Smart Money” / “Retail” to focus on one class.
Market Regime IndexThe Market Regime Index is a top-down macro regime nowcasting tool that offers a consolidated view of the market’s risk appetite. It tracks 32 of the world’s most influential markets across asset classes to determine investor sentiment by applying trend-following signals to each independent asset. It features adjustable parameters and a built-in alert system that notifies investors when conditions transition between Risk-On and Risk-Off regimes. The selected markets are grouped into equities (7), fixed income (9), currencies (7), commodities (5), and derivatives (4):
Equities = S&P 500 E-mini Index Futures, Nasdaq-100 E-mini Index Futures, Russell 2000 E-mini Index Futures, STOXX Europe 600 Index Futures, Nikkei 225 Index Futures, MSCI Emerging Markets Index Futures, and S&P 500 High Beta (SPHB)/Low Beta (SPLV) Ratio.
Fixed Income = US 10Y Treasury Yield, US 2Y Treasury Yield, US 10Y-02Y Yield Spread, German 10Y Bund Yield, UK 10Y Gilt Yield, US 10Y Breakeven Inflation Rate, US 10Y TIPS Yield, US High Yield Option-Adjusted Spread, and US Corporate Option-Adjusted Spread.
Currencies = US Dollar Index (DXY), Australian Dollar/US Dollar, Euro/US Dollar, Chinese Yuan/US Dollar, Pound Sterling/US Dollar, Japanese Yen/US Dollar, and Bitcoin/US Dollar.
Commodities = ICE Brent Crude Oil Futures, COMEX Gold Futures, COMEX Silver Futures, COMEX Copper Futures, and S&P Goldman Sachs Commodity Index (GSCI) Futures.
Derivatives = CBOE S&P 500 Volatility Index (VIX), ICE US Bond Market Volatility Index (MOVE), CBOE 3M Implied Correlation Index, and CBOE VIX Volatility Index (VVIX)/VIX.
All assets are directionally aligned with their historical correlation to the S&P 500. Each asset contributes equally based on its individual bullish or bearish signal. The overall market regime is calculated as the difference between the number of Risk-On and Risk-Off signals divided by the total number of assets, displayed as the percentage of markets confirming each regime. Green indicates Risk-On and occurs when the number of Risk-On signals exceeds Risk-Off signals, while red indicates Risk-Off and occurs when the number of Risk-Off signals exceeds Risk-On signals.
Bullish Signal = (Fast MA – Slow MA) > (ATR × ATR Margin)
Bearish Signal = (Fast MA – Slow MA) < –(ATR × ATR Margin)
Market Regime = (Risk-On signals – Risk-Off signals) ÷ Total assets
This indicator is designed with flexibility in mind, allowing users to include or exclude individual assets that contribute to the market regime and adjust the input parameters used for trend signal detection. These parameters apply to each independent asset, and the overall regime signal is smoothed by the signal length to reduce noise and enhance reliability. Investors can position according to the prevailing market regime by selecting factors that have historically outperformed under each regime environment to minimise downside risk and maximise upside potential:
Risk-On Equity Factors = High Beta > Cyclicals > Low Volatility > Defensives.
Risk-Off Equity Factors = Defensives > Low Volatility > Cyclicals > High Beta.
Risk-On Fixed Income Factors = High Yield > Investment Grade > Treasuries.
Risk-Off Fixed Income Factors = Treasuries > Investment Grade > High Yield.
Risk-On Commodity Factors = Industrial Metals > Energy > Agriculture > Gold.
Risk-Off Commodity Factors = Gold > Agriculture > Energy > Industrial Metals.
Risk-On Currency Factors = Cryptocurrencies > Foreign Currencies > US Dollar.
Risk-Off Currency Factors = US Dollar > Foreign Currencies > Cryptocurrencies.
In summary, the Market Regime Index is a comprehensive macro risk-management tool that identifies the current market regime and helps investors align portfolio risk with the market’s underlying risk appetite. Its intuitive, color-coded design makes it an indispensable resource for investors seeking to navigate shifting market conditions and enhance risk-adjusted performance by selecting factors that have historically outperformed. While it has proven historically valuable, asset-specific characteristics and correlations evolve over time as market dynamics change.
Multi-Currency Price Comparison[nakano]# Multi-Currency Price Comparison
## Description
A comprehensive Pine Script indicator that displays multiple cryptocurrency prices in different currencies (USD, JPY, KRW) on a single chart. Perfect for traders who want to compare how their base asset performs across different markets and currencies.
複数の通貨(USD、JPY、KRW)での暗号通貨価格を単一チャート上に表示する包括的なPine Scriptインジケーター。異なる市場や通貨でのベースアセットのパフォーマンスを比較したいトレーダーに最適です。
**Features / 機能:**
- **Multi-Currency Display / マルチ通貨表示**: Show USD, JPY, and KRW price lines simultaneously / USD、JPY、KRW価格ラインを同時表示
- **Flexible Display Modes / 柔軟な表示モード**: Line, Bars, or Candles rendering / ライン、バー、ローソク足での描画
- **Custom Ticker Support / カスタムティッカー対応**: Use any base symbol (BTC, ETH, etc.) instead of current chart / 現在チャート以外の任意のベース銘柄(BTC、ETH等)を使用可能
- **Exchange Selection / 取引所選択**: Choose from multiple exchanges (Binance, Coinbase, Kraken, etc.) / 複数の取引所(Binance、Coinbase、Kraken等)から選択
- **Price Labels / 価格ラベル**: Display original prices with optional deviation percentages / 元の価格を表示、オプションで乖離率も表示
- **Exchange Rate Table / 為替レートテーブル**: Show real-time USD/JPY/KRW exchange rates / リアルタイムのUSD/JPY/KRW為替レートを表示
- **Performance Optimized / パフォーマンス最適化**: Only fetches data when needed / 必要な時のみデータを取得
- **K/M Notation / K/M表記**: Large numbers displayed as 1.5K, 2.3M for better readability / 大きな数値を1.5K、2.3Mとして表示し、可読性を向上
**Use Cases / 使用例:**
- Compare Bitcoin performance in USD vs JPY markets / ビットコインのUSD市場とJPY市場でのパフォーマンス比較
- Monitor altcoin prices across different currency pairs / 異なる通貨ペアでのアルトコイン価格の監視
- Analyze currency impact on crypto valuations / 通貨が暗号通貨評価に与える影響の分析
- Track exchange rate correlations with crypto prices / 為替レートと暗号通貨価格の相関関係の追跡
## Settings
### Currencies / 通貨設定
- **USD**: Toggle USD/USDT line display, choose color and exchange / USD/USDTラインの表示、色、取引所を設定
- **JPY**: Toggle JPY line display, choose color and exchange / JPYラインの表示、色、取引所を設定
- **KRW**: Toggle KRW line display, choose color and exchange / KRWラインの表示、色、取引所を設定
### General / 一般設定
- **Display Mode**: Choose Line, Bars, or Candles rendering / 表示方法を選択(ライン/バー/ローソク足)
- **Plot Style**: Line rendering style (only applies to Line mode) / 価格ラインの描画スタイル(Display ModeがLineの時のみ適用)
- **Use Custom Ticker**: Enable to use custom base symbol / カスタムベース銘柄の使用を有効化
- **Show same-quote currency lines**: Display lines for chart's quote currency / 現チャートと同一通貨建てのラインも表示
- **Show Price Labels**: Display original prices as labels / 最新バーに元の価格をラベルで表示
- **Show Deviation (%)**: Show deviation percentage from current chart price / ラベルに現在チャート価格からの乖離率を表示
### Table / テーブル設定
- **Show Price Table**: Toggle info table display / 価格情報テーブルの表示を切り替え
- **Show Exchange Rates**: Display USD/JPY/KRW exchange rates row / テーブルに為替レート行(USD/JPY/KRW)を表示
- **Position**: Table position (9 positions available) / テーブルの表示位置(9箇所から選択可能)
- **Text Size**: Table text size / テーブルの文字サイズ
## Support
For issues or feature requests, please contact the developer.
問題や機能リクエストについては、開発者にお問い合わせください。
---
**Version**: 1.0
**Author**: nakano
**Pine Script Version**: 6
**Last Updated**: 2025.10.07
MTF RSI Heatmap)# MTF RSI Heatmap — v2.7.2
**Hybrid Higher-TF Trend + Intraday Impulse Detection + Smart Counters & Alerts**
Turn your lower pane into a **multi-timeframe market bias dashboard**. This heatmap blends classic RSI momentum with a **hybrid Daily/Weekly MA-stack trend** and an **intraday impulse override** that flags fast moves *as they happen*. Clean, configurable, and built for real trading flow.
---
## What it shows
* **6 stacked rows = 6 timeframes** (bottom → top).
* **Colors**: Green = Bull, Red = Bear, Yellow = Neutral.
* **Header counter**: `Bull X/6 | Bear Y/6` = live agreement across visible rows.
* **Impulse markers** ▲/▼ on intraday rows (5m/15m/60m/240m) when a shock move triggers.
* **Signal bar**: A thin column above the top row when at least **N of 6** rows align (configurable).
---
## Why it’s different
* **Impulse Override (intraday)**
Detects sharp moves using % change over the last *N* bars, optionally gated by **volume > SMA × multiplier**. This catches dumps/pops earlier than RSI alone.
* **Hybrid D/W (structure over noise)**
Daily/Weekly rows can use an **MA stack (8/21/55)** instead of RSI for a more stable higher-timeframe trend read. Optional **price > fast MA** filter for stricter confirmation.
* **Intrabar option**
Flip rows **during the bar** for early reads (accepting repaint on TF close), or keep it close-only for no surprises.
---
## Key features
* 🌈 **Theme**: Classic or High-Contrast colors.
* 🧠 **RSI thresholds**: Bull above 55, Bear below 45 (editable).
* 🧲 **RSI smoothing** (EMA) for intraday rows to reduce flicker.
* 🧰 **Compact left legend** with adjustable text size & opacity.
* 🚨 **Alerts**:
* **Impulse-only** (per TF and “any intraday”)
* **N-of-6 confirmation** (bull/bear)
---
## Recommended settings (fast opens & news)
* **Impulse**: `Bars = 1–2`, `Threshold = 0.25–0.35%`, `Vol confirm = ON`, `Multiplier = 1.3–1.5`.
* **Hybrid D/W**: `ON`, `EMA 8/21/55`, `Price filter = ON`.
* **Intrabar**: `ON` if you want intra-bar updates (repaints at TF close).
---
## How to read it
1. **Row scan**: Are the bottom (fast) rows aligning first? That’s early momentum.
2. **Header counter**: Look for 4+/6 agreement as momentum broadens.
3. **Signal bar**: Acts as a “go/no-go” confirmation when your threshold is met.
4. **Impulse ▲/▼**: Use as a **heads-up** for acceleration; then watch if rows cascade in that direction.
---
## Alerts (exact names)
Create alerts with these built-ins:
* **Impulse UP — any intraday**
* **Impulse DOWN — any intraday**
* **Impulse UP — TF1 / TF2 / TF3 / TF4**
* **Impulse DOWN — TF1 / TF2 / TF3 / TF4**
* **Bull confirmation** (N-of-6)
* **Bear confirmation** (N-of-6)
Tip: Use **Once per bar** or **Once per bar close** depending on whether you enabled *Intrabar*.
---
## Inputs overview
* **Timeframes & visibility** per row.
* **RSI**: length, bull/bear thresholds, optional EMA smoothing (intraday only).
* **Impulse**: bars, %, volume confirm, SMA length, multiplier, markers.
* **Hybrid D/W**: MA type (EMA/SMA/HMA), 8/21/55 lengths, price filter.
* **Theme & Legend**: color theme, label size (Tiny/Small/Normal), legend opacity.
* **Signal**: N required for confirmation (default 4).
---
## Pro tips
* Combine with **session opens**, **VWAP**, and **liquidity levels**.
* If you trade breakouts, let **impulse triggers** cue attention, then wait for **N-of-6** confirmation.
* For swing bias, lean on **Hybrid D/W**—it changes slower, but with intent.
---
## Notes & limitations
* **Intrabar = repaint expected** on higher-TF closes—by design for earlier context.
* Colors/thresholds are general guidance, not signals by themselves.
* Past performance ≠ future results; **this is not financial advice**.
---
If you enjoy this, drop a ⭐ and tell me what you want next: background shading on confirmation, tooltips with RSI/ROC per row, or a MACD/RSI hybrid mode. Trade sharp! ✨
Crypto Exchange PremiumDescription: Crypto Exchange Premium
The Crypto Exchange Premium indicator is designed to quantify and visualize price disparities between different types of crypto markets — specifically between spot and perpetual futures markets, or between any two customizable sources of price data. By consolidating live data from multiple major exchanges, it creates a unified, cross-market measure of premium (or discount), helping traders identify institutional activity (i. e. by comparing exchanges with high institutional activity against others), arbitrage opportunities, and shifts in market sentiment before they become visible in price action alone.
Concept and Purpose
In cryptocurrency markets, price divergence between spot and perpetual pairs reflects the real-time interaction of demand and liquidity across market segments.
When perpetual prices trade above spot, it implies aggressive long positioning or bullish leverage (positive funding expectations).
Conversely, when spot trades above perps, it may reflect net selling pressure in futures or strong spot accumulation.
Unlike most tools that rely on funding rates or open interest alone, this indicator measures the actual traded price spread dynamically across exchanges. This allows traders to visualize the “premium curve” of the crypto market in a clear, data-driven format.
How It Works
The indicator aggregates real-time prices from a wide selection of exchanges, normalizes them into groups, and computes the difference (“premium”) between two chosen reference markets.
1. Exchange Aggregation:
Users can toggle individual exchanges for both spot and perpetual aggregation groups.
The script automatically calculates group averages by dividing the sum of all enabled exchange prices by the number of valid feeds.
Non-USD exchanges (e.g., KRW pairs on Upbit or Bithumb) are automatically converted into USD using live FX data (USDKRW) for accurate normalization.
2. Flexible Comparison Logic:
Each leg of the comparison (First vs. Second Source) can be chosen as one of:
Local chart symbol
Custom symbol
Aggregated Spot group
Aggregated Perpetual group
This allows users to compare, for example:
Binance Spot vs. Global Perp Average
Coinbase Spot vs. Binance Perp
BTCUSD vs. BTCUSDT.P (or any cross-exchange combination)
3. Premium Calculation:
The final value is computed as:
Premium = First Source Price − Second Source Price
and is plotted as a histogram (positive = green, negative = red). This visual instantly shows whether the first source trades at a premium or discount relative to the second.
How to Use
Select Data Sources:
Configure the “First Symbol” and “Second Symbol” in the settings. For most use cases:
First Symbol → Perps (Aggregated)
Second Symbol → Spot (Aggregated)
Adjust Exchange Selection:
Enable or disable individual exchanges to fine-tune your data set. For instance, disabling Korean exchanges filters out regional FX distortions.
Originality and Value
While many exchange difference or “premium indicators” track one or two exchanges, this script introduces multi-exchange aggregation, cross-market normalization, and user-configurable pairing, resulting in a more holistic and accurate reflection of market structure.
It bridges a gap between macro market breadth and microstructural price dynamics, empowering traders to:
Detect arbitrage inefficiencies between spot and perps.
Track regional price dislocations (USD vs. KRW).
Gauge the intensity of speculative leverage over time.
Anticipate funding rate shifts and liquidation clusters before they happen.
Ajay R5.41🔻 Ajay Gold 3H Sell Power Indicator 🔻
Precision-Based Smart Sell System for Gold (XAU/USD)
💡 Overview
This indicator is specifically designed for Gold (XAU/USD) and delivers best results on the 3-Hour Timeframe (3H TF).
It is a Smart Money Logic-based Sell Confirmation System, combining institutional structure and candle behavior to generate highly accurate bearish signals.
⚙️ Technical Foundation
The indicator uses multiple advanced confirmations:
📉 EMA Trend Filter → Confirms downtrend
💪 RSI Overbought Rejection → Momentum reversal signal
📊 MACD Bearish Cross → Confirms trend strength
🕯️ Bearish Candle Structure → Price action validation
When all conditions align, a clear 🔻 Sell Signal is plotted on the chart.
💎 Hidden Feature
This indicator includes a hidden feature that activates only when the correct market structure forms.
It helps reduce false signals and increases accuracy without being visible on the chart — fully automated internal logic.
📆 Recommended Settings
Symbol: XAU/USD (Gold)
Timeframe: 3-Hour (3H)
Market: Forex / Commodity
Mode: Sell-Only Confirmation Indicator
Performance: Best precision and consistency on 3H TF
📈 How to Use
Select XAU/USD on chart and set 3H timeframe.
Add the indicator to the chart.
Wait for the 🔻 Sell Signal and confirm the market structure after candle close.
Take entry according to your risk management.
⚠️ Disclaimer
This indicator is for educational and analytical purposes only.
No system is 100% accurate — always backtest and demo trade before using in real trading.
💬 Credits
Developed by Ajay Sahu (India)
Based on Institutional & Smart Money Logic
Best results on 3H TF
Hidden Algorithm for XAU/USD traders
Ajay R5.41🔻 Ajay Gold 3H Power Indicator 🔻
Precision-Based Smart Sell System for Gold (XAU/USD)
💡 Overview
This indicator is specifically designed for Gold (XAU/USD) and delivers best results on the 3-Hour Timeframe (3H TF).
It is a Smart Money Logic-based Sell Confirmation System, combining institutional structure and candle behavior to generate highly accurate bearish signals.
⚙️ Technical Foundation
The indicator uses multiple advanced confirmations:
📉 EMA Trend Filter → Confirms downtrend
💪 RSI Overbought Rejection → Momentum reversal signal
📊 MACD Bearish Cross → Confirms trend strength
🕯️ Bearish Candle Structure → Price action validation
When all conditions align, a clear 🔻 Sell Signal is plotted on the chart.
💎 Hidden Feature
This indicator includes a hidden feature that activates only when the correct market structure forms.
It helps reduce false signals and increases accuracy without being visible on the chart — fully automated internal logic.
📆 Recommended Settings
Symbol: XAU/USD (Gold)
Timeframe: 3-Hour (3H)
Market: Forex / Commodity
Mode: Sell-Only Confirmation Indicator
Performance: Best precision and consistency on 3H TF
📈 How to Use
Select XAU/USD on chart and set 3H timeframe.
Add the indicator to the chart.
Wait for the 🔻 Sell Signal and confirm the market structure after candle close.
Take entry according to your risk management.
⚠️ Disclaimer
This indicator is for educational and analytical purposes only.
No system is 100% accurate — always backtest and demo trade before using in real trading.
💬 Credits
Developed by Ajay Sahu (India)
Based on Institutional & Smart Money Logic
Best results on 3H TF
Hidden Algorithm for XAU/USD traders






















