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.
Sentiment
FUNDINGHello everyone. This is the Funding Indicator, and I'm going to tell you all about it.
I've selected 40 cryptocurrencies for this indicator to analyze. It analyzes all of them and combines the data in a unique way. How does it work exactly?
You will notice 4 different graphs in the indicator:
Change in the number of cryptocurrencies with funding above standard values (F > 0.01)
Change in the number of cryptocurrencies with standard funding values (F = 0.01)
Change in the number of cryptocurrencies with funding below standard values (F < 0.01)
Change in the number of cryptocurrencies with negative funding values (F < 0)
Why do we even need to analyze this?
The point is that by analyzing the funding rates of the entire market, as we do with our indicator, we can understand the overall sentiment of the mass of traders. For instance, if most cryptocurrencies are trading with a negative funding rate, we can assume that the market is currently opening predominantly short positions. Conversely, if most coins are trading with funding rates above standard values, it might suggest market euphoria, signaling that we should be cautious with long positions, as the market might move against the majority.
Therefore, by analyzing the funding rates of the entire market at once, we can observe in real-time how the crowd's sentiment is shifting. This allows us to timely open or, conversely, close our positions, anticipating a move against the majority's expectation. This gives us an advantage over other market participants.
The settings are extremely simple. In the "Styles" tab, you can select which groups of coins to display, as I described above.
Here are a few examples below.
In this version, I've kept only two graphs:
Change in the number of cryptocurrencies with funding above standard values (F > 0.01)
Change in the number of cryptocurrencies with funding below standard values (F < 0.01)
The moment these lines touch can be a good indicator for identifying a market bottom.
A bottom can also be identified by keeping only the graph for negative funding values.
Also, a very important note! Remember, the funding rate doesn't directly tell us the intentions of the majority; we interpret the sentiment indirectly through it. I wish you good luck in using it!
First Passage Time - Distribution AnalysisThe First Passage Time (FPT) Distribution Analysis indicator is a sophisticated probabilistic tool that answers one of the most critical questions in trading: "How long will it take for price to reach my target, and what are the odds of getting there first?"
Unlike traditional technical indicators that focus on what might happen, this indicator tells you when it's likely to happen.
Mathematical Foundation: First Passage Time Theory
What is First Passage Time?
First Passage Time (FPT) is a concept in stochastic processes that measures the time it takes for a random process to reach a specific threshold for the first time. Originally developed in physics and mathematics, FPT has applications in:
Quantitative Finance: Option pricing, risk management, and algorithmic trading
Neuroscience: Modeling neural firing patterns
Biology: Population dynamics and disease spread
Engineering: Reliability analysis and failure prediction
The Mathematics Behind It
This indicator uses Geometric Brownian Motion (GBM), the same stochastic model used in the Black-Scholes option pricing formula:
dS = μS dt + σS dW
Where:
S = Asset price
μ = Drift (trend component)
σ = Volatility (uncertainty component)
dW = Wiener process (random walk)
Through Monte Carlo simulation, the indicator runs 1,000+ price path simulations to statistically determine:
When each threshold (+X% or -X%) is likely to be hit
Which threshold is hit first (directional bias)
How often each scenario occurs (probability distribution)
🎯 How This Indicator Works
Core Algorithm Workflow:
Calculate Historical Statistics
Measures recent price volatility (standard deviation of log returns)
Calculates drift (average directional movement)
Annualizes these metrics for meaningful comparison
Run Monte Carlo Simulations
Generates 1,000+ random price paths based on historical behavior
Tracks when each path hits the upside (+X%) or downside (-X%) threshold
Records which threshold was hit first in each simulation
Aggregate Statistical Results
Calculates percentile distributions (10th, 25th, 50th, 75th, 90th)
Computes "first hit" probabilities (upside vs downside)
Determines average and median time-to-target
Visual Representation
Displays thresholds as horizontal lines
Shows gradient risk zones (purple-to-blue)
Provides comprehensive statistics table
📈 Use Cases
1. Options Trading
Selling Options: Determine if your strike price is likely to be hit before expiration
Buying Options: Estimate probability of reaching profit targets within your time window
Time Decay Management: Compare expected time-to-target vs theta decay
Example: You're considering selling a 30-day call option 5% out of the money. The indicator shows there's a 72% chance price hits +5% within 12 days. This tells you the trade has high assignment risk.
2. Swing Trading
Entry Timing: Wait for higher probability setups when directional bias is strong
Target Setting: Use median time-to-target to set realistic profit expectations
Stop Loss Placement: Understand probability of hitting your stop before target
Example: The indicator shows 85% upside probability with median time of 3.2 days. You can confidently enter long positions with appropriate position sizing.
3. Risk Management
Position Sizing: Larger positions when probability heavily favors one direction
Portfolio Allocation: Reduce exposure when probabilities are near 50/50 (high uncertainty)
Hedge Timing: Know when to add protective positions based on downside probability
Example: Indicator shows 55% upside vs 45% downside—nearly neutral. This signals high uncertainty, suggesting reduced position size or wait for better setup.
4. Market Regime Detection
Trending Markets: High directional bias (70%+ one direction)
Range-bound Markets: Balanced probabilities (45-55% both directions)
Volatility Regimes: Compare actual vs theoretical minimum time
Example: Consistent 90%+ bullish bias across multiple timeframes confirms strong uptrend—stay long and avoid counter-trend trades.
First Hit Rate (Most Important!)
Shows which threshold is likely to be hit FIRST:
Upside %: Probability of hitting upside target before downside
Downside %: Probability of hitting downside target before upside
These always sum to 100%
⚠️ Warning: If you see "Low Hit Rate" warning, increase this parameter!
Advanced Parameters
Drift Mode
Allows you to explore different scenarios:
Historical: Uses actual recent trend (default—most realistic)
Zero (Neutral): Assumes no trend, only volatility (symmetric probabilities)
50% Reduced: Dampens trend effect (conservative scenario)
Use Case: Switch to "Zero (Neutral)" to see what happens in a pure volatility environment, useful for range-bound markets.
Distribution Type
Percentile: Shows 10%, 25%, 50%, 75%, 90% levels (recommended for most users)
Sigma: Shows standard deviation levels (1σ, 2σ)—useful for statistical analysis
⚠️ Important Limitations & Best Practices
Limitations
Assumes GBM: Real markets have fat tails, jumps, and regime changes not captured by GBM
Historical Parameters: Uses recent volatility/drift—may not predict regime shifts
No Fundamental Events: Cannot predict earnings, news, or macro shocks
Computational: Runs only on last bar—doesn't give historical signals
Remember: Probabilities are not certainties. Use this indicator as part of a comprehensive trading plan with proper risk management.
Created by: Henrique Centieiro. feedback is more than welcome!
ProxyProxy Indicator
The Proxy indicator is a simplified version of the Larry Williams Proxy Index (LWPI), designed to identify potential overbought and oversold conditions in the market. It calculates a normalized value based on price momentum and volatility, helping traders spot reversal opportunities.
Features
Main Line: Displays the Proxy Index value with a customizable period (default: 8).
Configurable Levels: Five adjustable horizontal levels in the Style tab:
Sell Level 1 (default: 75, red, dotted, linewidth 1)
Sell Level 2 (default: 70, red, dotted, linewidth 1)
Middle Level (default: 50, gray, dashed, linewidth 1)
Buy Level 1 (default: 25, light green, dotted, linewidth 1)
Buy Level 2 (default: 20, light green, dotted, linewidth 1)
Alerts: Built-in alerts for crossovers and crossunders at the middle level (50).
Customization: Adjust the period in the Inputs tab and fine-tune level values, colors, and styles in the Style tab.
Usage
Use the indicator to identify overbought (Sell Levels) and oversold (Buy Levels) zones.
Set alerts to receive notifications when the Proxy Index crosses the middle level, signaling potential buy or sell opportunities.
Customize the levels in the Style tab to match your trading strategy.
Settings
Period: Adjust the lookback period for the calculation (default: 8).
Style Settings: Modify level values, colors, linewidths, and line styles (solid, dashed, dotted) directly in the Style tab.
This indicator is ideal for traders seeking a straightforward tool to gauge market momentum and potential reversals. Add it to your chart and customize it to fit your trading style!
Customizable Dashboard (SIMPLE)This is a custom table where you can track any ticker and it's daily change. color coded to make things easy.
Intraday Trading Master - Institutionthis is a momentum indicator where you will find the big player entry and exit
Square Root Price Calculator By ABPinescript to Calculate Square root of Price usefull for Gann Lover
CoT Bias Tracker [DOSALGO]Unlock a powerful new dimension in your market analysis with the CoT Bias Tracker . This advanced tool goes beyond price charts to reveal the positioning of the market's largest players, allowing you to track the "smart money" and make more informed trading decisions.
By harnessing the weekly Commitment of Traders (CoT) report, this indicator automatically fetches, processes, and displays the net positioning of Commercials (Hedgers), Non-Commercials (Large Speculators), and Retail traders. Its standout feature is the unique dual-asset analysis for Forex pairs, which automatically breaks down a pair like EURUSD into its Base (EUR) and Quote (USD) components, giving you a crystal-clear view of the capital flows driving the market.
Stop guessing the trend and start tracking the institutional bias that truly matters.
Key Features
📈 Complete CoT Data Analysis: Automatically fetches and displays the latest weekly net positions for three key market participants: Commercials, Non-Commercials, and Retail Traders.
🌍 Unique Forex Pair Analysis: The only tool you'll need for Forex. It intelligently separates pairs (e.g., AUDJPY) into their Base (AUD) and Quote (JPY) currencies and displays a full CoT analysis for each, revealing which currency is truly in demand.
📊 Advanced Bias Dashboard: A comprehensive and fully customizable dashboard provides an at-a-glance summary of the market's sentiment, including current positions, weekly changes, and both short-term and long-term bias readings.
🧠 Conviction Analysis: This indicator goes deeper than just net positions. By analyzing the relationship between positioning changes and Open Interest, it gauges the conviction behind a move, distinguishing between a "Strong Long" (new money entering) and a "Weak Long" (short covering).
🚀 POIV Metric: Includes the Position x Open Interest Volume (POIV) metric, an advanced tool for measuring the cumulative force behind positioning changes over time.
📉 Historical Data Plotting: Visualize the net positioning data and its moving average directly on your chart's indicator pane. This is perfect for identifying historical extremes, divergences, and long-term trends in positioning.
⚙️ Automatic Symbol Recognition: The indicator intelligently detects the asset on your chart—from Forex pairs to indices like the S&P 500 and commodities like Gold—and automatically fetches the correct CoT data.
🎨 Full Customization: Tailor the entire tool to your workspace. Control the dashboard's position, size, and colors. Toggle the visibility of any data row or plot to focus only on what matters to you.
The Dashboard Explained
The dashboard gives you a complete, multi-faceted view of the market's positioning.
Participant Groups:
Commercials: Often considered the "smart money." They use futures to hedge their business operations and typically fade trends, buying into lows and selling into highs.
Non-Commercials: Large speculators like hedge funds and institutions. They are typically trend-followers, and their positioning is a powerful indicator of the current dominant trend.
Retail Traders: Small, non-reportable speculators. They are often seen as a contrarian indicator.
Net Positions & Change: See the raw net long or short positions from the current and previous week's report, along with the net change to understand the weekly capital flow.
S-Term Bias (Short-Term): Based on the weekly net change, this tells you who was buying and who was selling since the last report.
L-Term Bias (Long-Term): Compares the current net position to its moving average to define the dominant positioning trend. (Note: This reading is most effective on the Weekly chart timeframe.)
Conviction (via Open Interest): Found in the "Open Interest" row under the L-Term Bias column, this powerful metric tells you how positions are changing:
Strong Long: New buyers are entering the market with conviction.
Weak Long: Existing shorts are covering their positions.
Strong Short: New sellers are entering the market with conviction.
Weak Short: Existing longs are closing their positions.
Use Cases & Strategy
Trend Confirmation: Use the positioning of Non-Commercials to confirm the strength and direction of a trend you've identified with technical analysis.
Reversal Signals: Look for extreme net positioning levels or divergences between Commercial and Non-Commercial sentiment, which can often precede major market reversals.
Forex Strength Analysis: When trading a pair like GBPJPY, use the dashboard to see if Non-Commercials are strongly bullish on GBP while being bearish on JPY. This "double confirmation" can highlight high-probability trade setups.
Important Notes
Understanding CoT Data: The Commitment of Traders report is released by the CFTC every Friday afternoon (~3:30 PM ET). Crucially, it reflects the positions that were held on the preceding Tuesday. It is a tool for gauging medium- to long-term sentiment, not for intraday signals.
Disclaimer: This tool is for analytical and educational purposes only and should not be considered financial advice. All forms of trading involve risk. Always conduct your own research and apply robust risk management.
Bias Table-manualIt is just at tabular column to manually update Bullish/Bearish for multiple timeframes. Provided date option which is also manual, to denote when the analysis was done and table updated. This will be helpful for multiple stocks/securities analysis on regular basis
Multi-Market Trend-Pullback Alerts (EMA20/50 + RSI) [v6]//@version=6 replaces 5
Some functions (like label.delete) need to be called as methods
Minor syntax tightening around string concatenation and label management
All alertcondition() and table logic still works, but must be explicitly version 6 compatible
Delta Bubbles by exp3rtsDelta Bubbles is a powerful volume-based order flow tool that detects aggressive market activity, highlights trapped traders, and visualizes key liquidity zones on your chart — perfect for scalpers, intraday traders, and anyone trading momentum or reversals.
🧠 What It Does:
📈 Buy/Sell Bubbles: Detects aggressive buying/selling pressure using a volume delta approximation.
🟩 Trap Zones: Highlights areas where traders likely got trapped (buying in downtrends or selling in uptrends).
⚠️ Potential Traps: Shows lighter “setup” zones for trades that may become traps.
🟥🟩 Colored Bars: Optional trend coloring for visual clarity (based on 50 EMA).
📉 Zone Liquidation: Automatically removes zones once price revisits them.
🧩 Customizable Settings:
Bubble sensitivity and size thresholds.
Trap zone width and minimum bubble size.
Toggle trap liquidation, potential zones, colored bars, and bubble visibility.
📌 How to Use It:
Look for trap zones forming against the trend (e.g., bearish bubble in an uptrend → green trap zone).
Watch for retests of zones — these can be key levels for fades or breakouts.
Combine with price action, support/resistance, VWAP, or other confluence tools.
🚀 Best For:
Scalping and reversal trading on intraday timeframes (5m, 15m).
Futures, indices (e.g., NASDAQ, S&P 500), crypto, or any liquid market.
GoldenJet - Cumulative Volume DeltaCumulative Volume Delta (CVD) Indicator - Understand Market Sentiment
Overview
The Cumulative Volume Delta (CVD) indicator will help traders decode market sentiment through volume trends. It provides clear visuals and real-time metrics to reveal the strength and direction of market forces.
Benefits for Traders
Gauge Sentiment: CVD uses colored candlesticks to display buying or selling pressure, making it easy to identify bullish or bearish market moods.
Spot Momentum Shifts: Tracks changes in volume flow to highlight emerging trends or weakening momentum.
Flexible Timeframes: Adjust analysis periods (e.g., intraday or daily) to suit your trading approach.
Real-Time Insights: A table shows live volume flow and its changes, offering a quick view of market dynamics.
Key Features
Customizable Display: Set table position and size (small, medium, large) for a clear chart setup.
Intuitive Visuals: Green (buying) or red (selling) candles for instant sentiment recognition.
Trend Metrics: Indicates rising or falling volume trends and their speed for deeper context.
How to Use
Apply CVD to your TradingView chart for any asset.
Configure timeframe and table settings to match your analysis needs.
Interpret candle colors and table data to assess market sentiment.
Combine with other indicators to validate trend direction.
Why It Helps
CVD empowers traders by revealing volume-driven market sentiment, helping you understand whether buyers or sellers are in control. This insight supports better decision-making across various trading strategies.
Synthetic Implied APROverview
The Synthetic Implied APR is an artificial implied APR, designed to imitate the implied APR seen when trading cryptocurrency funding rates. It combines real-time funding rates with premium data to calculate an artificial market expectation of the annualized funding rate.
The (actual) implied APR is the market's expectation of the annualized funding rate. This is dependent on bid/ask impacts of the implied APR, something which is currently unavailable to fetch with TradingView. In essence, an implied APR of X% means traders believe that asset's funding fees to average X% when annualized.
What's important to understand, is that the actual value of the synthetic implied APR is not relevant. We only simply use its relative changes when we trade (i.e if it crosses above/below its MA for a given weight). Even for the same asset, the implied APRs will change depending on days to maturity.
How it calculates
The synthetic implied APR is calculated with these steps:
Collects premium data from perpetual futures markets using optimized lower timeframe requests (check my 'Predicted Funding Rates' indicator)
Calculates the funding rate by adding the premium to an interest rate component (clamped within exchange limits)
Derives the underlying APR from the 8-hour funding rate (funding rate × 3 × 365)
Apply a weighed formula that imitates both the direction (underlying APR) with the volatility of prices (from the premium index and funding)
premium_component = (prem_avg / 50 ) * 365
weighedprem = (weight * fr) + ((1 - weight) * apr) + (premium_component * 0.3)
impliedAPR = math.avg(weighedprem, ta.sma(apr, maLength))
How to use it: Generally
Preface: Funding rates are an indication of market sentiment
If funding is positive, generally the market is bullish as longs are willing to pay shorts funding
If funding is negative, generally the market is bearish as shorts are willing to pay longs funding
So, this script can be used like a typical oscillator:
Bullish: If implied APR > MA OR if implied APR MA is green
Bearish: If implied APR < MA OR if implied APR MA is red
The components:
Synthetic Implied APR: The main metric. At current setting of 0.7, it imitates volatility
Weight: The higher the value, the smoother the synthetic implied APR is (and MA too). This value is very important to the imitation. At 0.7, it imitates the actual volatility of the implied APR. At weight = 1, it becomes very smooth. Perfect for trading
Synthetic Implied APR Moving Average: A moving average of the Synthetic implied APR. Can choose from multiple selections, (SMA, EMA, WMA, HMA, VWMA, RMA)
How to use it: Trading Funding
When trading funding there're multiple ways to use it with different settings
Trade funding rates with trend changes
Settings: Weight = 1
Method 1: When the implied APR MA turns green, long funding rates (or short if red)
Method 2: When the implied APR crosses above the MA, long funding rates (or short when crosses below)
Trade funding rates with MA pullbacks
Settings: Weight = 0.7, timeframe 15m
In an uptrend: When implied APR crosses below then above the script, long funding opportunity
In an downtrend: When implied APR crosses above then below the script, shortfunding opportunity
You can determine the trend with the method before, using a weight of 1
To trade funding rates, it's best to have these 3 scripts at these settings:
Predicted Funding Rates: This allows you to see the predicted funding rates and see if they've maxxed out for added confluence too (+/-0.01% usually for Binance BTC futures)
Synthetic implied APR: At weight 1, the MA provides a good trend (whether close above/below or colour change)
Synthetic implied APR: At weight 0.7, it provides a good imitation of volatility
How to use it: Trading Futures
When trading futures:
You can determine roughly what the trend is, if the assumption is made that funding rates can help identify trends if used as a sentiment indicator. It should be supplemented with traditional trend trading methods
To prevent whipsaws, weight should remain high
Long trend: When the implied APR MA turns green OR when it crosses above its MA
Short trend: When the implied APR MA turns red OR when it below above its MA
Why it's original
This indicator introduces a unique synthetic weighting system that combines funding rates, underlying APR, and premium components in a way not found in existing TradingView scripts. Trading funding rates is a niche area, there aren't that many scripts currently available. And to my knowledge, there's no synthetic implied APR scripts available on TradingView either. So I believe this script to be original in that sense.
Notes
Because it depends on my triangular weighting algos, optimal accuracy is found on timeframes that are 4H or less. On higher timeframes, the accuracy drops off. Best timeframes for intraday trading using this are 15m or 1 hour
The higher the timeframe, the lower the MA one should use. At 1 hour, 200 or higher is best. At say, 4h, length of 50 is best
Only works for coins that have a Binance premium index
Inputs
Funding Period - Select between "1 Hour" or "8 Hour" funding cycles. 8 hours is standard for Binance
Table - Toggle the information dashboard on/off to show or hide real-time metrics including funding rate, premium, and APR value
Weight - Controls the balance between funding rate (higher values = smoother) and APR (lower values = more responsive) in the calculation, ranging from 0.0 to 1.0. Default is 0.7, this imitates the volatility
Auto Timeframe Implied Length - Automatically calculates optimal smoothing length based on your chart timeframe for consistent behavior across different time periods
Manual Implied Length - Sets a fixed smoothing length (in bars) when auto mode is disabled, with lower values being more responsive and higher values being smoother
Show Implied APR MA - Displays an additional moving average line of the Synthetic Implied APR to help identify trend direction and crossover signals
MA Type for Implied APR - Selects the calculation method (SMA, EMA, WMA, HMA, VWMA, or RMA) for the moving average, each offering different responsiveness and lag characteristics
MA Length for Implied APR - Sets the lookback period (1-500 bars) for the moving average, with shorter lengths providing more signals and longer lengths filtering noise
Show Underlying APR - Displays the raw APR calculation (without synthetic weighting) as a reference line to compare against the main indicator
Bullish Color - Sets the color for positive values in the table and rising MA line
Bearish Color - Sets the color for negative values in the table and falling MA line
Table Background - Customizes the background color and transparency of the information dashboard
Table Text Color - Sets the color for label text in the left column of the information table
Table Text Size - Controls the font size of table text with options from Tiny to Huge
Market Structure DashboardThis indicator displays a **multi-timeframe dashboard** that helps traders track market structure across several horizons: Monthly, Weekly, Daily, H4, H1, M15, and M5.
It identifies the current trend (Bullish, Bearish, or Neutral) based on the progression of **swing highs and lows** (HH/HL, LH/LL).
For each timeframe, the dashboard shows:
* The **current structure** (Bullish, Bearish, Neutral) with a clear color code (green, red, gray).
* **Pivot information**:
* either the latest swing high/low values,
* or the exact date and time of their occurrence (user-selectable in the settings).
An integrated **alert system** notifies you whenever the market structure changes (e.g., "Daily: Neutral → Bullish").
### Key Features:
* Clear overview of multi-timeframe market structures.
* Customizable pivot info display (values or timestamps).
* Built-in alerts on trend changes.
* Compact and readable dashboard, displayed in the top-right corner of the chart.
This tool is ideal for traders who want to quickly assess the **overall market structure** across multiple timeframes and be instantly alerted to potential reversals.
Market Sentiment Trend Gauge [LevelUp]Market Sentiment Trend Gauge simplifies technical analysis by mathematically combining momentum, trend direction, volatility position, and comparison against a market benchmark, into a single trend score from -100 to +100. Displayed in a separate pane below your chart, it resolves conflicting signals from RSI, moving averages, Bollinger Bands, and market correlations, providing clear insights into trend direction, strength, and relative performance.
THE PROBLEM MARKET SENTIMENT TREND GAUGE (MSTG) SOLVES
Traditional indicators often produce conflicting signals, such as RSI showing overbought while prices rise or moving averages indicating an uptrend despite market underperformance. MSTG creates a weighted composite score to answer: "What's the overall bias for this asset?"
KEY COMPONENTS AND WEIGHTINGS
The trend score combines
▪ Momentum (25%): Normalized 14-period RSI, capped at ±100.
▪ Trend Direction (35%): 10/21-period EMA relationships,
▪ Volatility Position (20%): Price position, 20-period Bollinger Bands, capped at ±100.
▪ Market Comparison (20%): Daily performance vs. SPY benchmark, capped at ±100.
Final score = Weighted sum, smoothed with 5-period EMA.
INTERPRETING THE MSTG CHART
Trend Score Ranges and Colors
▪ Bright Green (>+30): Strong bullish; ideal for long entries.
▪ Light Green (+10 to +30): Weak bullish; cautiously favorable.
▪ Gray (-10 to +10): Neutral; avoid directional trades.
▪ Light Red (-10 to -30): Weak bearish; exercise caution.
▪ Bright Red (<-30): Strong bearish; high-risk for longs, consider shorts.
Reference Lines
▪ Zero Line (Gray): Separates bullish/bearish; crossovers signal trend changes.
▪ ±30 Lines (Dotted, Green/Red): Thresholds for strong trends.
▪ ±60 Lines (Dashed, Green/Red): Extreme strength zones (not overbought/oversold); manage risk (tighten stops, partial profits) but trends may persist.
Background Colors
▪ Green Tint (>+20): Bullish environment; favorable for longs.
▪ Red Tint (<-20): Bearish environment; caution for longs.
▪ Light Gray Tint (-20 to +20): Neutral/range-bound; wait for signals.
Extreme Readings vs. Traditional Signals
MSTG ±60 indicates maximum alignment of all factors, not reversals (unlike RSI >70/<30). Use for risk management, not automatic exits. Strong trends can sustain extremes; breakdowns occur below +30 or above -30.
INFORMATION TABLE INTERPRETATION
Trend Score Symbols
▲▲ >+30 strong bullish
▲ +10 to +30
● -10 to +10 neutral
▼ -30 to -10
▼▼ <-30 strong bearish
Colors: Green (positive), White (neutral), Red (negative).
Momentum Score
+40 to +100 strong bullish
0 to +40 moderate bullish
-40 to 0 moderate bearish
-100 to -40 strong bearish
Market vs. Stock
▪ Green: Stock outperforming market
▪ Red: Stock underperforming market
Example Interpretations:
-0.45% / +1.23% (Green): Market down, stock up = Strong relative strength
+2.10% / +1.50% (Red): Both rising, but stock lagging = Relative weakness
-1.20% / -0.80% (Green): Both falling, but stock declining less = Defensive strength
UNDERSTANDING EXTREME READINGS VS TRADITIONAL OVERBOUGHT/OVERSOLD
⚠️ Critical distinctions
Traditional Overbought/Oversold Signals:
▪ Single indicator (like RSI >70 or <30) showing momentum excess
▪ Often suggests immediate reversal or pullback expected
▪ Based on "price moved too far, too fast" concept
MSTG Extreme Readings (±60):
▪ Composite alignment of 4 different factors (momentum, trend, volatility, relative strength)
▪ Indicates maximum strength in current direction
▪ NOT a reversal signal - means "all systems extremely bullish/bearish"
Key Differences:
▪ RSI >70: "Price got ahead of itself, expect pullback"
▪ MSTG >+60: "Everything is extremely bullish right now"
▪ Strong trends can maintain extreme MSTG readings during major moves
▪ Breakdowns happen when MSTG falls below +30, not at +60
Proper Usage of Extreme Readings:
▪ Risk Management: Tighten stops, take partial profits
▪ Position Sizing: Reduce new position sizes at extremes
▪ Trend Continuation: Watch for sustained extreme readings in strong markets
▪ Exit Signals: Look for breakdown below +30, not reversal from +60
TRADING WITH MSTG
Quick Assessment
1. Check trend symbol for direction.
2. Confirm momentum strength.
3. Note relative performance color.
Examples:
▲▲ 55.2 (Green), Momentum +28.4, Outperforming: Strong buy setup.
▼ -18.6 (Red), Momentum -43.2, Underperforming: Defensive positioning.
Entry Conditions
▪ Long: stock outperforming market
- Score >+30 (bright green)
- Sustained green background
- ▲▲ symbol,
▪ Short: stock underperforming market
- Score <-30 (bright red)
- Sustained red background
- ▼▼ symbol
Avoid Trading When:
▪ Gray zone (-10 to +10).
▪ Rapid color changes or frequent zero-line crosses (choppy market).
▪ Gray background (range-bound).
Risk Management:
▪ Stop Loss: Exit on zero-line crossover against position.
▪ Take Profit: Partial at ±60 for risk control.
▪ Position Sizing: Larger when signals align; smaller in extremes or mixed conditions.
KEY ADVANTAGES
▪ Unified View: Weighted composite reduces noise and conflicts.
▪ Visual Clarity: 5-color system with gradients for rapid recognition.
▪ Market Context: Relative strength vs. SPY identifies leaders/laggards.
▪ Flexibility: Works across timeframes (1-min to weekly); customizable table.
▪ Noise Reduction: EMA smoothing minimizes false signals.
EXAMPLES
Strong Bull: Trend Score 71.9, Momentum Score 76.9
Neutral: Trend Score 0.1, Momentum Score -9.2
Strong Bear: Trend Score -51.7, Momentum Score -51.5
PERFORMANCE AND LIMITATIONS
Strengths: Trend identification, noise reduction, relative performance versus market.
Limitations: Lags at turning points, less effective in extreme volatility or non-trending markets.
Recommendations: View on multiple timeframes, combine with price action and fundamentals.
ActivTrades Europe Market Pulse – Ion JaureguiActivTrades Europe Market Pulse Indicator – Detailed Description
The ActivTrades Europe Market Pulse Indicator is a market analysis tool designed to assess overall risk sentiment in European financial markets. Unlike trading signals, it provides a clear view of market conditions, helping traders and analysts understand whether the market environment favors risk-taking or caution.
How it Works:
The indicator combines three key metrics to gauge European market sentiment:
1. Equity Index and Sector Performance:
o Compares the relative position of major European equity indices and sector ETFs to their 50-day moving averages.
o A performance above the moving average signals market strength, while below indicates relative weakness, reflecting investors’ appetite for risk.
2. German 10-Year Government Bond Yield:
o Monitors the level of the German 10-year bond yield relative to its 10-day moving average.
o Yields above the moving average indicate greater confidence and risk tolerance, while yields below suggest caution or risk aversion.
3. Point-Based Scoring System:
o Each instrument is assigned points depending on whether it is above or below its moving average.
o Points are combined to generate an overall Risk-On/Risk-Off score, which oscillates between -5 (Extreme Risk-Off) and +5 (Extreme Risk-On), providing a quantitative measure of European market sentiment.
Visual Output:
• The results are displayed as a colored histogram, allowing quick interpretation of market conditions.
• Labeled zones include:
o Extreme Risk-On: Indicates bullish conditions with high risk appetite.
o Extreme Risk-Off: Reflects heightened market caution or fear.
o Neutral Zone: Suggests mixed or balanced sentiment.
Purpose and Use:
• Provides investors, analysts, and traders with insight into the prevailing European market mood.
• Supports informed decision-making and risk management strategies without offering explicit buy or sell signals.
________________________________________
Disclaimer:
The information provided does not constitute investment research. It has not been prepared in accordance with legal requirements designed to promote the independence of investment research and should be considered marketing communication.
All information is prepared by ActivTrades ("AT") and does not contain a record of AT’s prices or constitute an offer or solicitation for a transaction in any financial instrument. No representation is made regarding its accuracy or completeness.
This material does not consider the specific investment objectives or financial situation of any individual. Past performance and forecasts are not reliable indicators of future results. AT provides execution-only services. Any action taken based on this information is at the recipient’s own risk. Political and central bank risks are unpredictable. Platform tools do not guarantee success.
Indicators Risk Advice: The indicator and publications do not constitute financial, investment, trading, or other advice. They are designed to provide trend guidance and filter market noise for international users and are not intended for use by users in Spain.
Sector RSI (Auto-Select)This indicator measures the relative strength momentum of any stock against its most closely correlated sector ETF, using the Relative Strength Index (RSI).
Auto sector selection: The script computes correlations between your symbol’s short-term returns and all major SPDR sector ETFs (XLB, XLE, XLF, XLI, XLK, XLP, XLU, XLV, XLY, XTN). The sector with the highest correlation is automatically chosen as the benchmark.
Sector vs Symbol RSI: It calculates RSI (default 14-period) for both the chosen sector and the current chart’s symbol.
Display modes:
Line mode: Plots both RSIs with colored fill (red if the sector RSI is stronger, green if the symbol RSI is stronger).
Histogram mode: Shows the difference between Sector RSI and Symbol RSI as a column chart.
RSI bands: Standard 70/50/30 reference lines are available in line mode.
Status line: The selected sector’s ticker is shown on the TradingView status line so you always know which sector is being used.
Use Cases:
Identify whether a stock’s momentum is driven by its sector or if it’s showing independent relative strength.
Detect sector rotations: when the stock begins to outperform or underperform its sector on momentum basis.
Combine with absolute RSI levels (overbought/oversold) to filter signals.
Notes:
This tool infers sector membership via rolling correlation, not from static classification metadata. This means in some cases (e.g. diversified companies or news shocks) the “best” sector may not be the official one, but the one most correlated in the current market regime.
Use min positive correlation input to filter out weak matches and enforce a fallback (defaults to Technology XLK).
3CRGANG - SESSIONSOverview
The "3CRGANG - SESSIONS" indicator is a comprehensive tool for visualizing and monitoring major global trading sessions on TradingView charts. It highlights sessions for key exchanges—New York (NYSE), London (LSE), Frankfurt (FSE), Sydney (ASX), Tokyo (TSE), and Hong Kong (HKSE)—with customizable alerts, background coloring on low timeframes, and an interactive dashboard table. Designed for traders who operate across timezones or need session-based context, it accounts for holidays, half-days, and daylight saving time (DST) adjustments to provide accurate, real-time session status. On charts of 1-minute or lower, it overlays semi-transparent background colors to mark active sessions visually. Across all timeframes, a compact table at the bottom center displays session cells with dynamic coloring, and hovering over each reveals a tooltip with the weekly schedule, time until open/close, and holiday notes.
Built on Pine Script v6, this overlay indicator enhances situational awareness for forex, stocks, futures, and other assets by syncing with exchange-specific calendars. Its invite-only status ensures access to refined features that go beyond standard session tools, making it ideal for multi-market strategies.
How It's Built: Core Concepts and Calculations
The indicator leverages a modular approach to session detection, drawing from time-based logic for precision. Sessions are defined by fixed start/end times in their native timezones (e.g., NYSE: 0930-1600 America/New_York), adjusted dynamically for DST via timezone-aware functions. Key components include:
Session Activation Checks: Using helper functions like f_isSessionActive, it evaluates if the current bar or real-time timestamp falls within session hours, excluding weekends. Time is broken into minutes since midnight for comparisons, with special handling for overnight sessions (though none here cross midnight significantly).
Holiday and Half-Day Integration: Pre-loaded holiday maps for each exchange detect full closures or early closes (e.g., NYSE half-days end at custom times like 1300). If a half-day is identified, session end times are overridden, and pre-close periods recalculated (e.g., 30/5 minutes before adjusted close).
Pre-Open/Pre-Close Detection: Sub-sessions (e.g., 30 minutes before open) use similar logic to flag impending events, triggering only on the first bar of these windows via f_SessionOpen and f_SessionClose for efficiency.
Timestamp Calculations: Functions like f_SessionTimes and f_SessionTimesForTooltip compute open/close timestamps from timenow, adjusting for next trading day if after close or on weekends/holidays. This ensures forward-looking accuracy in tooltips.
Alert System: Configurable per-session, it fires notifications for pre-open (30/5 min), open, pre-close (30/5 min), close, and holidays. Alerts use alert.freq_once_per_bar to avoid spam, gated by market open status.
Visual Dashboard: A 6-column table is drawn with table.new, positioned via input (default bottom-center). Cells update colors based on state: active (session color at 75% opacity), pre-active (yellow), or inactive (gray). Tooltips via f_getSessionTooltip compile weekly schedules using f_formatScheduleEntry, which converts session times to user timezone, formats dates (DD/MM), weekdays (padded for alignment), and notes holidays/early closes. Time remaining uses f_formatTimeRemainingtooltip for human-readable countdowns (e.g., "1h:30m").
Background Coloring: On ≤1m timeframes, bgcolor applies session-specific hues (e.g., green for NYSE) at 90-95% transparency, configurable via light/dark themes.
User Customization: Inputs handle timezone (90+ options with DST), time format (standard/military, though not fully implemented in script), device (adjusts text padding/sizes), and theme (swaps colors for readability).
This setup combines timestamp arithmetic, conditional mapping, and array-based date iteration to create a robust, adaptive system that respects global market nuances without relying on simplistic built-in session strings.
Why It's Useful
Trading sessions drive liquidity, volatility, and price action—e.g., London open often sparks trends in forex, while NYSE influences equities. This indicator demystifies these by providing at-a-glance visuals and alerts, reducing the need for manual timezone conversions or external calendars. Background colors on low TFs help spot session overlaps (e.g., London/NY for high volume), while the table's tooltips offer quick weekly overviews, ideal for planning around holidays like Lunar New Year (HKSE-specific additions). Alerts prevent missing key events, and holiday detection avoids false expectations during closures.
For global traders, it minimizes errors in multi-asset setups; scalpers benefit from pre-open warnings, while swing traders use schedules for longer-term context. Its non-intrusive design (transparent on higher TFs) keeps charts clean, enhancing overall workflow efficiency.
How to Use It
Add to Chart: Access via invite-only on TradingView; apply to any timeframe, best on intraday for backgrounds or any for the dashboard.
Configure Inputs:
Time Settings: Select your timezone (e.g., UTC+3 Jerusalem) for accurate tooltip conversions; choose time format (standard preferred for readability).
Visualization Setup: Pick device (Desktop/Tablet/Mobile) for optimized text sizing/padding; select Light/Dark theme to match your chart.
Sessions Dashboard: Adjust table position if needed (default bottom-center).
Notifications Settings: Toggle alerts per exchange (e.g., enable NYSE for US focus).
Trading Application:
Visual Cues: On ≤1m charts, watch for color changes to enter/exit during active sessions. Hover table cells for schedules—current day highlighted, future/past separated, holidays marked (*).
Alerts: Set up in TradingView's alert manager for "alert() function calls only" to get notifications like "New York Session is about to Open in less than 5 minutes!"
Strategies: Use pre-open for setups (e.g., range breaks), closes for profit-taking. Combine with volume indicators during overlaps.
Best Practices: Test on demo; adjust alerts to avoid overload. For non-realtime, tooltips use current date for projections.
Why It's Unique and Worth Invite-Only Access
Unlike basic session highlighters that use rigid time strings or ignore holidays, this indicator integrates a custom holiday library with half-day adjustments and additional events (e.g., Buddha's Birthday for HKSE), ensuring precision across exchanges. Its tooltip system—generating timezone-converted weekly schedules with day adjustments, countdowns, and holiday notes—provides unmatched planning utility, while adaptive visuals (device/theme-aware) and granular alerts (pre-events included) elevate it beyond public tools. The logic for timestamp forward-projection, weekend skipping, and formatted entries builds on but significantly enhances built-in functions and educational examples.
This originality—protecting the proprietary blend of global calendar handling, alert gating, and interactive dashboards—justifies closed-source status. As invite-only, it delivers premium value through reliable, low-maintenance features that free traders from external apps, warranting access for those seeking an edge in session-based trading. Contact via TradingView for support.
Disclaimer
This indicator is a tool for analyzing market sessions and does not guarantee success. Trading involves risk, and past performance is not indicative of future results. Always use proper risk management.
Gold NY Session Key TimesJust showing to us that news come out, open market, close bond for NY Session Time For Indonesia
ROGUE RSI PROThe ROGUE RSI PRO is a custom RSI with a floating 50 line that takes the classic Relative Strength Index and adds a dynamic midpoint that adapts to current market conditions. Instead of relying on the static 50-level, this indicator calculates a moving average of RSI to serve as a “floating 50 line,” helping traders better identify momentum bias and trend shifts.
Key Features:
-Dynamic Midpoint: The floating 50 line moves with RSI, providing a more adaptive measure of bullish/bearish control.
-Color-Coded RSI: The RSI line automatically changes color — green when bulls are in control, red when bears are in control, gray when neutral.
-Adaptive Bands (optional): Standard deviation bands around the floating line show when RSI is stretched relative to its own recent history.
-Classic Zones: Overbought (70) and oversold (30) levels remain for reference.
-Trend Context: Helps highlight when momentum is sustainably above or below its “normal” zone, filtering out false midline crosses.
How to Use:
-Watch the RSI line color — green = bullish momentum, red = bearish momentum.
-Use the floating 50 line as a dynamic pivot: RSI above it confirms strength, RSI below it confirms weakness.
-Look for band touches or extreme deviations as potential reversal or continuation signals.
*Combine with price action, volume, or higher timeframe bias for stronger setups.*
ICT Cycle Boxes - MTFICT Cycle Boxes – Pro Strategy (3×MTF)
A multi-timeframe, confluence-driven strategy designed to capture impulsive moves, controlled pullbacks, and regime shifts. It evaluates three timeframes at once:
TF-A (Higher): establishes the broader regime.
TF-B (Mid): confirms trend context and momentum.
TF-C (Trade TF): times the entry.
Two entry tiers are used:
Very-Good Entries: all conditions align in the direction of the higher-timeframe regime, with fresh confirmation on the trade timeframe.
Medium Entries: directionally aligned but with lighter confirmation, for additional opportunities during established trends.
Risk is managed with ATR-based stops/targets on the trade timeframe, an optional trailing stop, position sizing by percent of equity, a cooldown after flat, and optional early exit when the trade timeframe returns to a neutral regime. Session filtering and flip-on-opposite are available for refined execution.
How to use
Set TF-A/TF-B/TF-C to suit your market (e.g., W/D/60, D/240/30).
Adjust risk parameters (stop/target, trailing, position size).
Enable session filtering if desired.
Review results in the Strategy Tester and fine-tune to your market and instrument.
Adaptive Fear & Greed Index with ML-Enhanced SD - HOSSAM Adaptive Fear and Greed Index with ML-Enhanced Standard Deviation
📊 Overview
A sophisticated market sentiment indicator that combines traditional Fear and Greed Index methodology with machine learning-inspired adaptive algorithms. This tool dynamically adjusts to changing market conditions, providing more accurate sentiment readings and early warning signals.
🔥 Key Features
Adaptive Standard Deviation: Automatically adjusts volatility bands based on market conditions
VWAP Integration: Incorporates volume-weighted average price for better price context
Machine Learning Elements: Self-adjusting parameters that learn from recent market behavior
Multi-Regime Detection: Identifies high/low volatility environments
Dynamic Weighting: Automatically adjusts component weights based on market performance
Z-Score Analysis: Statistical significance measurement for deviations
📈 How It Works
The indicator combines four key market components:
Price Momentum with VWAP deviation
Volume-Weighted Volatility
RSI with Volume Confirmation
Market Structure Analysis
🎯 Interpretation
0-30: Extreme Fear (Potential Buying Opportunity)
30-40: Fear
40-60: Neutral
60-70: Greed
70-100: Extreme Greed (Potential Selling Opportunity)
⚡ Unique Advantages
Self-Adjusting Bands: SD bands expand during high volatility, contract during calm periods
Regime Awareness: Different signals for high/low volatility environments
Volume Validation: All components include volume confirmation
Statistical Significance: Z-scores show how extreme current readings are
🚨 Alert Conditions
Extreme greed/fear in high volatility regimes
Statistical outliers (Z-score > 2.5)
Trend acceleration signals
💡 Ideal For
Crypto traders seeking sentiment-based entries/exits
Swing traders looking for mean reversion opportunities
Risk management and position sizing decisions
Market regime identification
⚙️ Customization
Adjustable parameters include lookback period, SD multiplier, smoothing, and ML learning rate to match your trading style.
Category: Strategy & Sentiment Analysis
Tags: #FearAndGreed #MarketSentiment #Volatility #Cryptocurrency #Trading #Indicator #MachineLearning #VWAP






















