TSM Supertrend (PINE SCRIPT v5) 202609This script is a trend-following Supertrend indicator, rewritten in Pine Script v5, designed to clearly identify market direction, trend reversals, and high-probability BUY / SELL signals.
Indicators and strategies
Price Acceptance MapPrice Acceptance Map
Price Acceptance Map is a read-only market context indicator that evaluates whether newly asserted price levels are being accepted, rejected, or remain undefined by subsequent market behavior.
Rather than treating trend continuation as confirmation, this indicator frames directional price movement as an attempt to establish a new auction level. That attempt must then be validated or rejected after the fact.
The indicator follows three conceptual steps:
Environment Qualification
Evaluation is permitted only when market structure and volatility conditions are suitable. When these conditions are not met, the indicator intentionally remains silent.
Level Assertion Detection
Meaningful price expansion beyond recent balance is interpreted as a level claim. Gradual movement may result in no level being defined.
Acceptance Verdict
Subsequent price behavior determines whether the level is:
Accepted (held by the market),
Rejected (failed and returned into prior balance), or
Undefined (no valid level requiring a verdict).
The current state is displayed using a simple, non-interpretive panel:
ACCEPTED / LEVEL ACCEPTED
NOT ACCEPTED / LEVEL REJECTED
UNRESOLVED / LEVEL UNDEFINED
Important Notes
Indicator only (no signals, no orders)
Evaluated on confirmed bar close
No intentional repaint or lookahead logic
Designed for contextual analysis, not prediction
Price Acceptance Map is intended to clarify when the market is making a decision — and when it is not.
4x Pure Moving Averages (Close only)This script is intended for Qullamaggie Breakout Continuation strategy.
NY S/R Breakout V1drive.google.com
drive.google.com
Using ATR, VWAP, and RVOL, we can make assumed breakout lines that follow as the price develops, and when a good breakout happens, the lines won't follow but become slightly static to confirm.
The best use I've seen with this indicator is when Price on the 5m closes officially above or below one of the lines, and then shows some bullish push up on the 1m, followed by VWAP price being below price if Bullish, and Above price if Bearish (A good distance is developed for an accurate VWAP)
Please note that this indicator was developed using Google AI.
Please comment on your thoughts, ideas, and improvements to help this indicator grow!
The best settings for this are:
Keep only Long Buffer, short Buffer, and VWAP on
Turn off the ORB High and Low
ATR - 0.3
Relative Volume Threshold - 1.2
These are the settings I found successful for finding confirmed breakouts at 9:30 AM EST, market open
This code was developed by @parischristo67
Coded with Gemini
TSM RSI < 30 BUY | RSI > 70 SELL (One-Time)This script is a trend-following indicator built using Pine Script v5, designed to identify major market direction changes using Daily Moving Averages (DMA). It is simple, reliable, and ideal for positional, swing, and trend-filter trading.
Dual HTF EMAMulti-timeframe Exponential Moving Average (EMA) indicator plots two separate higher timeframe (HTF) EMAs of your choice. Displays four EMAs per HTF while providing optional background coloring (bullish/bearish). The background coloring occurs when two EMA's cross per HTF. User can select two of the four EMAs to determine the trend direction as they cross creating the background color.
User can configure timeframe, EMA lengths, EMA cross and background, source, and visibility; separately for each timeframe.
Default lengths are 9, 21, 50, 200 with source as closed and EMA cross background from EMA 1 and EMA 3. Also clear visual distinction using thick solid lines for HTF 1 and thin dashed lines for HTF 2.
Uses request.security() with gaps=barmerge.gaps_on to avoid staircase effects on lower timeframes.
This script is ideal for multi-timeframe analysis, helping traders align shorter-term price movements with broader trends from higher timeframes without cluttering the chart.
Engulfing Candle Mid-pointsThis Pine Script, “Engulfing Candle Mid-points,” identifies bullish and bearish engulfing candles within a user-selected intraday time range. For a candle to qualify, it must fully engulf the previous candle’s body in the opposite direction and meet a configurable minimum body size in points. When such a candle is detected, the script draws a horizontal line at the mid-point of the candle’s body, extending forward for a user-defined number of bars. The script stores only the five most recent bullish and bearish lines to keep the chart clean, and all line colors, widths, and extension lengths are configurable, allowing traders to visually track significant price moves during specific trading sessions.
DMA 50 & 200 Cross Signals TSM 202603This script is a trend-following indicator built using Pine Script v5, designed to identify major market direction changes using Daily Moving Averages (DMA). It is simple, reliable, and ideal for positional, swing, and trend-filter trading.
Market State Tracker🙏🏻 This is MST (Market State Tracker) , it’s main purpose is to tell whether it's better to take a predefined take-profit, or to expect a runner.
Unlike widely-known alternatives, this model is made with top state-space and innovation modelling tech, and it takes the necessary info ‘itself’ (not the derivatives) from the right places. In fancy terms it’s not even a model, it’s an ensemble of several models. If you want to get familiar with other work of mine like this, check UAT .
^^ compared with reverse-engineered Jurik Moving Average in moving window mode
…
Main use case : take-profit engine. It tells whether to hold a position past its primary 1:1 Risk:Reward take-profit up to the opposite entry), or to close it right away at 1:1.
Alternative use case : market state operator. Alternatively the study can be used as a primary market-state operator that would actually define further strategies and actions. It’s very useful if your strategies are not market regime agnostic. Otherwise, use it only as the main use case tells.
Other use cases : anything that other mainstream studies are doing, but better* (proceed to the Tech Note in the end of the post): trend detection, price smoothing, crossovers, dynamic S&R etc.
…
How to use:
The script has 2 studies, lower study (blue and red lines) and upper study (purple and gray lines).
...
Lower study is less variance & more bias option , in general it’s less preferred than upper study, but if none of your other system layers do not gauge directional info directly and you wanna keep it simply this way, this lower study is what you need.
Lower study states -> advised take-profit strategy:
When: negative gamma (red line) is above positive gamma (blue line), market is biased towards sell side, so shorts should be held up to the opposite entry, while longs should be closed asap after 1:1 Risk:Reward
When: positive gamma (blue line) is above negative gamma (red line), market is biased towards buy side, so longs should be held up to the opposite entry, while shorts should be closed asap after 1:1 Risk:Reward
...
Upper study is the preferred one in general because of its higher informational content. Most probably, if you’re already gaining directional info on your other system layers, this one will likely provide you information you don’t gain there. Here the purple line is the lead state estimate, and the gray line is the lagged state estimate, and current price = current bar POC or HLC3 (inferred POC).
Upper study states -> advised take-profit strategy:
When: current price > purple line > gray line, market is heavily biased towards buy side, so longs should be held up to the opposite entry, while shorts should be closed asap after 1:1 Risk:Reward
When: current price < purple line < gray line, market is heavily biased towards sell side, so shorts should be held up to the opposite entry, while longs should be closed asap after 1:1 Risk:Reward
When: purple line > gray line > current price, market is biased towards another buy wave, so longs should be held up to the opposite entry, while shorts should be closed asap after 1:1 Risk:Reward
When: purple line < gray line < current price, market is biased towards another sell wave, so shorts should be held up to the opposite entry, while longs should be closed asap after 1:1 Risk:Reward
All other price x purple line x gray line patterns are considered neutral, and both longs and shorts are done with minimal 1:1 Risk:Reward.
Important: if you trade based on current session activity, you have to track current states. If you trade based on previous session levels, you only need the last state of that session that originated the level.
Important 2: The script has a setting called “blend”. The differences between all 3 options provided there are extremely low, and moreover it doesn’t change the main part: location of crossovers. So I left it here because I genuinely don’t know yet which of these is the most primordial math option for the current context xd.
...
* now about this:
Tech note
In short: it gains all the information without touching artifacts with the best possible math that runs on O(1) time complexity.
The ‘final’ time complexity of the whole method is O(1), both in moving and expanding window modes.
The main short-term forecasting & innovations engine, I called it VAPM (Volume Acceleration Price Model) , is inspired by how prediction and NaN fills works on the lowest hardware level, processor cache etc. It’s based on splines , the most fundamental geometrical principles. This is the stuff you can run on FPGAs doing UHFT, not even HFT.
Based on lead/lag and negative/positive relationships with the VAPM forecasts, innovations are separated into 4 different streams.
Each stream of these 4 then discovers its own adaptive gain (limited by theoretical constraints of the exponential distribution each stream follows).
Then, 4 separate PVA (Position Velocity Acceleration) state-space models are run on POC estimate of each bar, using previously computed 4 different adaptive gains. Initial impulse response of the models was almost exactly matched with the Extended Beta(2, 2) Window, provided in UAT open access script (heck the code & description, it would worth it).
Then these 4 separate trackers are grouped pairwise and blended into 2, resulting in the lead/lag model.
Additionally, 4 adaptive gains are blended into 2 separate pos/neg models. I offer 3 blending options: max(), contraharmonic mean, and Log-Sum-Exp. The differences of outputs based on these 3 options are almost negligible.
All possible hidden issues like info leakage from previous finished expanding windows, or special cases of forecasts at the very few first datapoints, are taken into account and solved. The whole method has zero constants and zero pre-optimized or arbitrary values, everything based on fundamental math entities / objects.
…
∞
UFX PRO How it works
The indicator plots a single line on the chart that changes position and color depending on the trend:
🟢 Uptrend:
The SuperTrend line is below the price → bullish bias
🔴 Downtrend:
The SuperTrend line is above the price → bearish bias
When the price crosses the SuperTrend line, it often signals a potential trend reversal.
✅ Advantages
✔ Easy to read
✔ Works well in trending markets
✔ Adaptive to volatility
✔ Useful for stops and trend confirmation
RSI < 30 BUY | RSI > 70 SELL (One-Time) TSMThis script is a clean, non-repainting RSI-based trading indicator designed for scalping and intraday trading. It focuses on extreme market conditions and gives one-time BUY and SELL signals only, avoiding repeated or noisy alerts.
BTC - Power Law 1.5: Dynamic 50/50 Decay OVERVIEW
Most Bitcoin models treat the asset as if it exists in a vacuum of infinite exponential growth. The classical Power Law (v1.0) was a groundbreaking start, but as Bitcoin matures into a multi-trillion dollar institutional asset, our models must account for the laws of physics and liquidity. The Power Law 1.5: Dynamic 50/50 Decay is a second-generation structural engine. It doesn't just draw a line; it calculates the structural "Center of Gravity" of Bitcoin’s adoption curve while accounting for the natural maturation (decay) of the network’s growth speed.
THE MATHEMATICAL BACKBONE: QUANTILE MEDIAN CALCULATION
The "Fair Value" line (blue) is derived using a Log-Log Linear Regression focused on the 50th percentile (Median). The script first transforms the price and the time (days since the Genesis Block) into a logarithmic scale. It then calculates a power-law constant by finding the Absolute Least Deviation across the entire historical dataset since 2011. Specifically, it uses the formula: Price = 10^(Intercept + Slope * log10(Days)) . To ensure the line is a true median, the script calculates the Median Offset of every historical price point from the raw regression line. By shifting the intercept by this median value, we guarantee that exactly 50% of all weekly bars fall above the curve and 50% fall below it, creating a robust, non-biased structural center.
THE ALPHA SHADOW: DYNAMIC EXPONENT PROJECTION
Unlike standard power-law projections that rely on a static slope, the "Alpha Shadow" (the projection extending from the blue backbone) utilizes a Time-Varying Exponent Model . The model acknowledges that Bitcoin's growth speed—the exponent 'b'—is a decaying function of time, reflecting the diminishing returns of a maturing asset. The script recalculated the Instantaneous Slope on every single bar using the formula: Future_Slope = Initial_Slope - (Decay_Rate * log10(Total_Days_from_Genesis)) . While the Decay Rate (default 0.045) serves as a structural sensitivity constant, its application ensures the growth speed is a dynamic variable rather than a fixed number. Each segment of the dashed green "Shadow" is a unique power-law arc calculated for its specific future time window. This ensures the projection isn't just a straight line drawn on a log chart, but a mathematically tethered curve that "feels" the weight of increasing market capitalization and respects the reality of global liquidity constraints as we approach 2029.
HOW TO READ THE CHART
• The Backbone (Solid Blue): This is the 50/50 Fair Value. When price is below this line, Bitcoin is structurally "cheap." When price is far above it, the asset is in a state of cyclical expansion.
• The Alpha Shadow (Green): This is the mathematical projection of the current curve into 2029. It shows the path of "Fair Value" as the network continues to mature.
• The Regime Audit (Dashboard): A real-time table in the middle-right of your chart provides an audit of the model's integrity, including the current slope (b) and the projected Fair Price for Jan 1, 2029.
WHY THIS IS "FRESH"
Most open-source Power Law scripts on TradingView utilize a Static Linear Regression —calculating a single constant slope that is applied equally to 2011 and 2029. Furthermore, common community models often rely on "Outer Band" fitting (connecting historical cycle peaks to cycle lows). While visually appealing, these methods can be highly sensitive to "Black Swan" outliers and often assume Bitcoin’s growth velocity is a permanent constant.
This script stands out by introducing a Maturation Framework . Instead of fitting to volatile extremes, we anchor the logic to a 50/50 Quantile Median , creating a backbone that is mathematically centered regardless of cyclical noise. By then applying a Dynamic Decay Factor to the growth exponent, we move away from the "static bands" approach and toward a model that respects the physical reality of a maturing, multi-trillion-dollar asset class. This provides a structurally grounded, institutional-grade view of Bitcoin’s trajectory that accounts for the diminishing returns inherent in global adoption.
DISCLAIMER
This script is for educational and macro-analytical purposes only. It does not constitute financial advice. The 2029 projection is a mathematical extrapolation based on historical data and decay constants; it is not a guarantee of future price action.
TAGS
bitcoin, powerlaw, macro, regression, fairvalue, btc, projection, quantitative, math, structural, Rob Maths, robmaths, Rob_Maths
MTF Trend Zone NIFTYI am Arpit Sharma , with an experience of over 6 years in derivative trading . This indicator works on nifty only and gives trend bases buy /sell signal .
Sector Rotation Dashboard (Beta)🎯 OVERVIEW
The Sector Rotation Indicator is a comprehensive real-time dashboard that tracks money flow across all 11 S&P 500 sector ETFs and 6 major macro assets. It automatically detects market regimes (Risk-On, Risk-Off, Tech-Led), flags anomalies, and shows you where institutional money is flowing.
Whether you're trading individual stocks, sector ETFs, or managing a portfolio, this indicator tells you:
• Which sectors are leading/lagging (ranked by relative strength)
• What market regime we're in (Risk-On, Risk-Off, Tech-Led, Mixed)
• Where the anomalies are (sectors behaving unexpectedly)
• How confident the signals are (based on cross-sector confirmation)
• What sector ETF the current chart ticker belongs to, if any (with rank and RS%)
🚧 BETA NOTICE
⚠️ This indicator is currently in BETA.
IMPORTANT - ETF Holdings Database:
• The 500+ stock-to-sector mappings are based on actual ETF holdings
• SPDR sector ETFs rebalance quarterly (3rd Friday of Mar/Jun/Sep/Dec)
• Holdings data requires MANUAL updating by the creator after each rebalance
• Users may experience DELAYS in data updates following rebalance dates
• Some newly added or removed stocks may be temporarily misclassified
📊 WHAT IT TRACKS
11 SPDR Sector ETFs:
• XLE (Energy) - Cyclical
• XLF (Financials) - Cyclical
• XLI (Industrials) - Cyclical
• XLY (Consumer Discretionary) - Cyclical
• XLB (Materials) - Cyclical
• XLK (Technology) - Growth
• XLC (Communication Services) - Growth
• XLV (Healthcare) - Defensive
• XLP (Consumer Staples) - Defensive
• XLU (Utilities) - Defensive
• XLRE (Real Estate) - Defensive
6 Macro Assets:
• GLD (Gold) - Safe Haven
• TLT (20+ Year Treasuries) - Safe Haven
• UUP (US Dollar Index) - Currency
• DBC (Commodities) - Risk/Inflation
• EEM (Emerging Markets) - Risk Appetite
• IBIT (Bitcoin) - Speculative
🔥 KEY FEATURES
1️⃣ Real-Time Sector Rankings
• All 11 sectors ranked by Relative Strength (RS) vs SPX
• Dual color coding: Background = RS, Text = Absolute performance
• Trend arrows showing momentum (↑↑, ↑, →, ↓, ↓↓)
• Rank change tracking with configurable alert threshold
2️⃣ Intelligent Regime Detection
• Risk-On: Cyclicals leading (XLE, XLF, XLI, XLY, XLB)
• Risk-Off: Defensives leading (XLV, XLP, XLU, XLRE)
• Tech-Led: Growth dominating (XLK, XLC)
• Mixed: No clear leadership
• High Volatility: Signals unreliable
3️⃣ Anomaly Detection System
• Flags sectors that jump/drop 3+ ranks
• Detects behavioral anomalies (e.g., Energy #1 in Risk-Off)
• High volatility warnings when multiple sectors show extreme moves
• Dynamic tooltips explain WHY each anomaly is flagged
4️⃣ Confidence Scoring
• Counts how many sectors confirm the current regime
• High (7+), Medium (5-6), Low (<5) confidence levels
• Shows exactly which sectors are confirming vs diverging
5️⃣ Current Ticker Classification
• Built-in database of 500+ stock tickers mapped to sector ETFs
• Shows your current chart's sector, rank, and RS
• Dual classification: ETF Holdings + TradingView (mismatch detection)
6️⃣ Macro Cross-Asset Flow
• Tracks 6 macro assets for broader market context
• Interprets flows: Risk-Off Flow, Risk-On Flow, Flight to Safety
• Equity outflow warnings when safe havens beat SPX significantly
7️⃣ Educational Tooltips
• Hover over ANY cell for detailed explanations
• Dynamic tooltips show live data + educational context
• Learn what drives each signal while you trade
📖 HOW TO READ THE DASHBOARD
Sector Panel:
• Green background = Outperforming SPX (positive RS)
• Red background = Underperforming SPX (negative RS)
• Green text = Positive absolute return
• Red text = Negative absolute return
• Δ column shows rank changes (⚠️ = significant move)
Interpretation Panel:
• ROTATION → Describes current sector movement pattern
• REGIME → Current market environment classification
• ALERT → Anomalies detected or "All Clear" status
• CONFIDENCE → Signal reliability score with breakdown
Macro Panel:
• Signal column: Strong > Bid > Neutral > Offered > Weak
• FLOW row: Summary of cross-asset money movement
⚙️ SETTINGS & RECOMMENDATIONS
PRIMARY TIMEFRAME (days) - Default: 20
Lookback period for RS calculation.
• 5-10 days: Day/swing traders - responsive but noisier
• 20 days: Most traders - good balance of signal vs noise ⭐
• 50 days: Position traders - smooth, confirms established trends
• 100+ days: Investors - major regime shifts only
Tip: Match to your typical holding period.
TREND TIMEFRAME (days) - Default: 5
Shorter lookback for momentum arrows (↑↑ ↑ → ↓ ↓↓).
• 3 days: Aggressive - more sensitive, more arrow changes
• 5 days: Most traders - catches momentum shifts without whipsaws ⭐
• 10 days: Conservative - smoother, fewer false reversals
Tip: Keep at 1/4 to 1/5 of Primary Timeframe.
ALERT THRESHOLD (ranks) - Default: 3
Minimum rank change to trigger ⚠️ anomaly alert.
• 2 ranks: Active traders - more alerts, catches smaller rotations
• 3 ranks: Most traders - significant moves only (e.g., #8→#5) ⭐
• 4-5 ranks: Swing/position - major disruptions only, high conviction
Tip: Lower = more alerts, Higher = fewer but stronger signals.
RECOMMENDED COMBINATIONS BY TRADING STYLE:
• Day Trading: Primary 10, Trend 3, Alert 2
• Swing Trading: Primary 20, Trend 5, Alert 3
• Position Trading: Primary 50, Trend 10, Alert 4
• Long-term Investing: Primary 100, Trend 20, Alert 5
OTHER SETTINGS:
• 44+ color and opacity controls for full customization
• Dark/Light theme support
• Compact view (Top 3 + Bottom 3) or Full view (all 11)
• Show/hide interpretation panel
🚨 BUILT-IN ALERTS
• Sector rotation changes (Cyclical ↔ Defensive)
• Regime changes (Risk-On ↔ Risk-Off ↔ Tech-Led)
• Large rank movements (configurable threshold)
• Equity outflow detection
• Safe haven bid alerts
• Global risk-on signals
💡 TRADING APPLICATIONS
For Stock Traders:
• See if your stock's sector is leading or lagging
• Avoid fighting the sector trend
• Find stocks in leading sectors for momentum plays
For Sector Rotators:
• Identify rotation early with rank change alerts
• Confirm regime with confidence scoring
• Spot anomalies that may signal turning points
For Portfolio Managers:
• Monitor risk-on/risk-off positioning
• Track cross-asset correlations
• Get early warning of defensive rotations
For Macro Traders:
• Cross-reference sector rotation with macro flows
• Identify flight-to-safety episodes
• Track inflation hedge positioning
📝 TECHNICAL NOTES
• Data Source: TradingView sector data + custom ETF holdings database
• ETF Holdings: 500+ tickers mapped to sector ETFs (manually maintained)
• Rebalancing: SPDR ETFs rebalance on 3rd Friday of Mar/Jun/Sep/Dec
• Best Timeframe: Daily recommended, works on all timeframes
• Performance: Optimized for minimal lag despite tracking 17 assets
• Pine Script: Version 6
⚠️ DATA UPDATE SCHEDULE:
The ETF holdings database is manually updated by the creator following each quarterly rebalance. Updates are typically completed within 1-2 weeks after the official rebalance date. During this period, some ticker classifications may be outdated. The indicator will fall back to TradingView's sector classification for any tickers not found in the database.
⚠️ DISCLAIMER
This indicator is currently in BETA. Features may change, and bugs may exist.
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always do your own research and consider your risk tolerance before making trading decisions. Past performance does not guarantee future results.
True FVGsThis script highlights 3-candle Fair Value Gaps (FVGs) on your chart, showing areas where price moved quickly and left potential gaps in market structure. Bullish FVGs are shown with green boxes and suggest possible support, while bearish FVGs are shown with red boxes and suggest possible resistance. It also includes doji candles—very small-bodied candles that indicate indecision—so these patterns are not missed. The script displays the most recent 5 FVGs, making it easy to spot recent potential areas where price may react.
Ghost Protocol [Bit2Billions]📌 Ghost Protocol — RSI Percentile Momentum Engine
Ghost Protocol is a closed-source RSI momentum indicator built around a non-standard RSI calculation method designed to solve a core limitation of traditional RSI tools: fixed threshold bias.
Standard RSI uses static levels (30/70 or 20/80), which assume all markets, assets, and volatility regimes behave the same. In practice, this causes false signals, late divergences, and inconsistent momentum interpretation.
Ghost Protocol replaces fixed RSI thresholds with a percentile-ranked RSI distribution model, allowing momentum to be evaluated relative to its own historical behavior rather than absolute levels.
📌 Core Calculation Method (Non-Standard RSI Implementation)
Instead of interpreting RSI using fixed values, Ghost Protocol evaluates RSI using:
* A rolling RSI distribution
* Percentile ranking of RSI values within that distribution
* Volatility-aware normalization of momentum extremes
This means:
* “Overbought” and “oversold” conditions are defined by relative momentum rarity, not static numbers.
* RSI adapts automatically to different instruments and volatility regimes.
* Momentum signals remain consistent across markets without manual tuning.
This calculation method cannot be replicated using built-in RSI alone, as built-ins do not provide percentile-based RSI context or distribution awareness.
📌 How the Components Work Together
All modules in Ghost Protocol reference the same percentile-based RSI state:
1. Percentile RSI Core defines momentum pressure relative to historical distribution.
2. Divergence Detection compares price swings against percentile-ranked RSI swings, reducing false signals caused by static RSI levels.
3. Trend & Regime Filtering evaluates whether momentum is expanding, compressing, or exhausting based on percentile persistence rather than crossings.
4. Multi-Timeframe Alignment compares percentile RSI states across timeframes using normalized momentum, not raw RSI values.
Because every component references the same normalized RSI context, signals confirm or invalidate each other instead of conflicting.
📌 What Problem This Script Solves
Ghost Protocol is designed for traders who struggle with:
* RSI behaving differently across assets
* Fixed OB/OS levels failing in trending markets
* Divergences appearing too late or inconsistently
* Multiple RSI tools giving contradictory signals
* Manual RSI calibration per instrument
By using percentile-based RSI logic, Ghost Protocol provides:
* Consistent momentum interpretation
* Regime-aware RSI behavior
* Contextual divergence detection
* Cleaner, more reliable momentum structure
📌 How Traders Use Ghost Protocol
Ghost Protocol is not a signal generator.
Traders use it to:
* Identify momentum expansion vs exhaustion
* Evaluate divergence strength in context
* Confirm trend continuation or weakening pressure
* Align momentum across timeframes
All outputs are designed for decision context, not automated entries.
📌 Why This Script Is Original
Ghost Protocol does not modify RSI visually—it redefines how RSI is interpreted.
Originality comes from:
* Percentile-based RSI evaluation
* Distribution-aware momentum logic
* Contextual divergence validation
* Unified RSI state shared across all modules
This approach cannot be reproduced by stacking public RSI indicators or using built-in thresholds.
📌 Why This Script Is Invite-Only
Ghost Protocol is offered as a closed-source script because its value lies in the calculation model, not the visual elements.
The script replaces:
* Manual RSI tuning
* Multiple RSI variants
* Separate divergence tools
* Multi-timeframe RSI comparisons
This level of consistency and normalization requires proprietary logic and is therefore provided as an invite-only indicator.
📌 Key Components & Intent
#RSI Candles (Standard & Heikin-Ashi)
Purpose: clearer momentum transitions and divergence readability.
#Divergence Engine
Detects:
• Regular divergence
• Hidden divergence
• Ghost Candidate pre-divergence
Purpose: identify exhaustion before price confirmation.
#Adaptive RSI Zones
Zones adjust based on:
• Volatility
• Displacement
• Trend direction
Purpose: eliminate static OB/OS bias.
#RSI Ichimoku Cloud
Shows:
• Regime bias
• Momentum compression/expansion
• Equilibrium shifts
Purpose: identify internal RSI regime transitions.
#RSI Trendlines
Automatically maps momentum structure.
Purpose: remove manual RSI drawing.
#Relative Trend Index
Evaluates trend alignment across multiple timeframes.
📌 Dashboard Metrics (Contextual, Not Signal-Based)
Provides a consolidated view of:
• Volatility
• Volume
• VWAP vs price
• EMA sentiment and structure
• RSI and price OB/OS statistics
• Relative trend alignment
• ATR state and trailing stop context
Purpose: decision context, not trade automation.
📌 Visual Design & Usability
• Only real-time labels are displayed
• Historical clutter is hidden
• Consistent color and line hierarchy
• Clear distinction between divergence types and momentum states
This design supports institutional-style momentum reading, not signal spam.
📌 Summary
Ghost Protocol is a closed-source, invite-only RSI intelligence system built on original logic.
Its mashup structure is intentional, necessary, and justified, because it solves real RSI limitations that cannot be addressed by isolated tools.
This script delivers clear analytical value, coherent momentum interpretation, and a professional workflow worthy of a paid publication.
📌 Recommended Use
* Best on: 15m, 1H, 4H, Daily, Weekly
* Works across: crypto, forex, indices, liquid equities
* Pivot-style modules may show noise in illiquid markets
📌 Performance Notes
* Heavy modules may draw many objects → disable unused tools
* Refresh chart if buffer limits are approached
* Internal handling of TradingView object rules
📌 License
* Proprietary script © 2025
* Independently developed
* Redistribution, sharing, resale, or decompilation prohibited
* Similarities to public tools result only from shared market concepts
📌 Respect & Transparency
Built using widely-recognized RSI concepts, but extended with proprietary logic.
Developed with respect for the TradingView community.
Any overlaps can be addressed openly and constructively.
📌 Disclaimer
For educational and research use only.
Not financial advice.
Always test responsibly and manage risk.
📌 FAQs
* Source code is intentionally private
* Modules can be toggled
* Alerts can be configured manually
* Works on all major markets and timeframes
📌 About Ghost Trading Suite
Author: BIT2BILLIONS
Project: Ghost Trading Suite © 2025
Indicators: Ghost Matrix, Ghost Protocol, Ghost Cipher, Ghost Shadow
Strategies: Ghost Robo, Ghost Robo Plus
Pine Version: V6
The Ghost Trading Suite is designed to simplify and automate many aspects of chart analysis. It helps traders identify market structure, divergences, support and resistance levels, and momentum efficiently, reducing manual charting time.
The suite includes several integrated tools — such as Ghost Matrix, Ghost Protocol, Ghost Cipher, Ghost Shadow, Ghost Robo, and Ghost Robo Plus — each combining analytical modules for enhanced clarity in trend direction, volatility, pivot detection, and momentum tracking.
Together, these tools form a cohesive framework that assists in visualizing market behavior, measuring momentum, detecting pivots, and analyzing price structure effectively.
This project focuses on providing adaptable and professional-grade tools that turn complex market data into clear, actionable insights for technical analysis.
Crafted with 💖 by BIT2BILLIONS for Traders. That's All Folks!
📌 Changelog
v1.0 – Initial Release
* Added RSI Candles (Standard & Heiken-Ashi) for enhanced trend and divergence clarity.
* Implemented Divergence Engine to highlight both regular and hidden divergences automatically.
* Introduced Live Ghost Candidates to visualize forming divergence setups.
* Added Adaptive RSI Zones for dynamic overbought and oversold thresholds.
* Integrated Trend Index using percentile volatility sampling for directional bias.
* Added RSI Ichimoku Cloud for equilibrium and momentum zone visualization.
* Implemented RSI Trend Lines for auto support/resistance on RSI.
* Added Momentum Shift Visualization and real-time momentum tracking.
* Introduced Relative Trend Index for multi-timeframe trend strength analysis.
* Developed Dashboard Module displaying volatility, volume, EMA trends, RSI/price overbought-oversold percentages, relative trend, and ATR-based metrics.
V3 Multi-MA MTF Full (by RUG)This Multiple Moving Averages (MA) indicator lets you plot and compare several moving averages on the same chart to quickly read trend direction and momentum. You can configure up to 10 MAs, choosing each one’s type (for example, SMA or EMA), length (periods), and—most importantly—its own independent timeframe (for instance, a 9-period EMA on the daily timeframe while you’re viewing a 15-minute chart). This creates a clean “context layer” that blends short-, mid-, and long-term trends, helping you spot trend alignment, dynamic support/resistance zones, and key crossovers without constantly switching timeframes.
Straddle Premium TrackerStraddle Premium Trackefr is used to combine CALL and PUT of premiums of same strike price
SilverHawk Flip Confirm (4-Step)This premium indicator identifies high-probability trend flips using a 4-step confirmation sequence (Sweep → Displacement → BOS → Retest/Hold) with zone-based filters.
Core logic & how it works:
- Step 1 (Sweep): price wicks through a recent Supply/Demand area or Order Block (ATR-buffered)
- Step 2 (Displacement): strong candle body (ATR size + min body %) after sweep
- Step 3 (BOS): price breaks previous swing high/low
- Step 4 (Retest + Hold): price retests the entry zone (OB or S&D area) without breaking opposite side
- Zone modes: Hybrid (S&D area + OB entry), Supply/Demand only, or Order Block only
- Non-repainting option (confirmed bars only)
- Timeout: max bars between steps to avoid stale setups
Features:
- Visual zones (boxes) for S&D areas & OBs (toggleable)
- Step labels (Sweep/Disp/BOS/Retest) on signal candles
- Small panel with current steps, confidence %, and perfect sequence reminder
- Alerts for full flip confirmation + individual steps
- Customizable zone padding, pivot lengths, ATR buffers
Settings:
- Zone Mode: Hybrid, Supply & Demand only, Order Block only
- Use Confirmed Bars Only: non-repainting toggle
- Max Bars Between Steps: timeout for sequence
- Pivot lengths for S&D and BOS
- ATR multipliers for sweep buffer, displacement, padding, retest tolerance
- Visuals: show zones/labels/panel
- Alerts: enable/disable full flip + step triggers
Best used on H1–D4 timeframes in Forex or indices for spotting trend reversals or continuations after liquidity sweeps. Combine with higher-timeframe structure and risk management.
Invite-only access. Educational tool only. Not financial advice. Trading involves risk.
Smart Liquidity & Step-TrendSmart Liquidity & Step-Trend
Overview
The Smart Liquidity & Step-Trend is a technical analysis tool designed to identify market manipulation points, specifically Liquidity Sweeps, and filter them using a Dynamic Multi-Timeframe (MTF) Trend.
By combining Price Action concepts with institutional flow logic, this indicator helps traders spot high-probability reversal zones where "Smart Money" typically enters the market by capturing retail stop-losses.
The Core Concept: Where is the Liquidity?
Markets do not move randomly. Institutional players require significant liquidity to fill their large orders. This liquidity is often found where retail traders place their stop-loss orders: above obvious swing highs and below obvious swing lows.
A Liquidity Sweep occurs when the price briefly breaks through these key levels to trigger stops/orders and then immediately reverses back into the range. This indicator visualizes these events as potential turning points.
To increase the probability of success, the Step-Trend (EMA) provides a higher-timeframe context, ensuring you are aware of the dominant market direction.
Key Features
Advanced Sweep Detection: Automatically identifies false breakouts of key swing highs and lows.
Dynamic MTF Logic:
- Trend Filter: The EMA (Exponential Moving Average) is calculated on a timeframe of your choice (e.g., 4H) even while viewing a lower timeframe (e.g., 15m).
- MTF Swings: Support and Resistance zones are derived from MTF data for higher reliability.
Temporary vs. Historical Zones:
- Mitigation Logic (Default): Zones are automatically deleted once the price closes through them. This keeps your chart clean, showing only active and relevant levels that haven't been "tested" yet.
- History Mode: Toggle "Show Historical Zones" to keep all past levels on the chart for backtesting and analysis.
ATR Filter (Zone Importance): Adjustable sensitivity to filter out market noise and focus on significant liquidity grabs.
How to Trade with This Indicator
1. Trend Confluence (Recommended)
This is the highest probability setup.
- BUY Signal: Look for a "SUPPORT" zone (teal) forming below the price while the Step-Trend EMA indicates an uptrend. This suggests a "buy-the-dip" manipulation. Use the "Trend Confluence Buy Signal" alert.
- SELL Signal: Look for a "RESISTANCE" zone (orange) forming above the price while the Step-Trend EMA indicates a downtrend. Use the "Trend Confluence Sell Signal" alert.
2. Scalping & Reversals
- Users can utilize the "SUPPORT" and "RESISTANCE" zones as potential targets or quick scalp entry points even against the main trend. Use the "Any Trend" sweep alerts for this style of trading.
Settings Explained
- Liquidity & Trend Timeframe: The timeframe used for trend calculation and swing detection.
- Swing Sensitivity: How "obvious" a high or low must be to be considered a liquidity target.
- Zone Importance (ATR Filter): Defines how deep the sweep must be relative to current volatility.
- Show Historical Zones: Switch between a clean chart (temporary zones) and a backtesting view (historical zones).
Important Notice:
No indicator is 100% accurate. This tool is intended to confirm your own analysis and trading strategies. Always use proper Risk Management and do not trade based on just one indicator.
I hope this tool will help you improve your trading!
SilverHawk Scenario Matrix ProThis premium indicator scans historical price patterns and projects forward-looking scenarios based on similarity to past analogs.
Core calculation & how it works:
- Current window (length L) normalized for shape, volatility, RVOL, trend slope, structure
- Scans up to 2000 bars back (configurable) to find top K most similar past windows
- Weights similarity across shape correlation, vol regime, RVOL regime, trend slope, structure
- Projects forward H bars using the matched historical paths → computes P10 (low), P50 (median), P90 (high) quantiles
- Smooths projections (configurable %) to reduce noise
- Calculates metrics: match quality (MatchQ), uncertainty %, confidence, regime, gate pass/fail, quality rating (A/B/WAIT)
Features:
- Visual projection lines (P10 red, P50 white, P90 green) with endpoint labels
- Decision table: bias, confidence, MatchQ, uncertainty, regime, gate, strength, volume, near HTF, expected range
- Optional smoothing on projections (0–100%)
- Update modes: Locked (fixed on signal), On Close, Live
- Alerts on new high-quality scenarios (optional)
Settings:
- Pattern length L & projection horizon H
- History bars to scan & min gap from present
- Top K matches to consider
- Similarity weights (shape, vol, RVOL, trend, structure)
- Regime thresholds & normalizers
- Decision thresholds (MatchQ, confidence, uncertainty, bias)
- Display: location, manual panel, smoothing %, update mode
- Projection plot: show lines, colors, style
Best used on H1–D1 timeframes in Forex or indices for forward-looking pattern-based forecasting and scenario planning. Combine with structure, volume confirmation and risk management.
Invite-only access. Educational tool only. Not financial advice. Trading involves risk.
HTF Candle Boxes (Body Focused)- GH improved v 0.9the candle body doesn't bleed into the next candle. To me a major improvement.
I will next work on making the "wick"on the higher time frame look like a "wick"
Please read the diss-haiku in the code.
No offence!






















