Swing Highs and Lows Detector🔍 Swing Highs and Lows Detector
The Swing Highs and Lows Detector is a powerful tool for traders looking to identify meaningful structural shifts in price action, based on swing point logic and internal trend shifts.
📈 What It Does
This indicator automatically identifies and labels:
HH (Higher High) – Price broke above the previous swing high
LH (Lower High) – Price failed to break the previous high, signaling potential weakness
LL (Lower Low) – Price broke below the previous swing low
HL (Higher Low) – Price maintained a higher support level, indicating strength
The script distinguishes between bullish and bearish internal shifts and tracks the highest/lowest points between those shifts to determine the swing structure.
⚙️ How It Works
You can choose between two shift detection modes:
"Open": Compares closing price to the first open of the opposite streak
"High/Low": Uses the high of bearish or low of bullish candles
Once a shift is confirmed, the indicator scans the bars between shifts to find the most significant swing high or low
When a valid swing is detected, it’s labeled directly on the chart with color-coded markers
🛎️ Built-in Alerts
Set alerts for:
Higher High
Lower High
Lower Low
Higher Low
These alerts help you catch key structural shifts in real time — great for breakout traders, structure-based analysts, and smart money concepts (SMC) strategies.
✅ How to Use
Confirm Trend Strength or Reversals – Use HH/HL to confirm an uptrend, LL/LH to confirm a downtrend
Combine with Liquidity Sweeps or Zones – Ideal for SMC or Wyckoff-style setups
Entry/Exit Triggers – Use swing breaks to time entries or exits near key structural points
Sentiment
Bitcoin Open Interest [SAKANE]Bitcoin Open Interest
— Unveiling the True Flow of Capital
PurposeVisualize and compare Bitcoin open interest (OI) from CME and Binance, the leading derivatives exchanges, in a single intuitive chart, providing traders with clear insights into crypto market capital dynamics.
Background & MotivationIn the 24/7 crypto market, price movements alone reveal only part of the story. Open interest (OI)—the total outstanding futures contracts—offers critical clues to the market’s next move. Yet, accessing and interpreting OI data is challenging:
CME Constraints: Commitment of Traders (COT) reports are weekly, and standalone BTC1! or BTC2! OI is noisy due to contract rollovers, obscuring true OI changes.
Existing Tool Limitations: Most OI indicators are fixed to either USD or BTC, limiting flexible analysis.
This indicator overcomes these hurdles, enabling seamless comparison of CME and Binance OI to track the market’s “capital center of gravity” in real time.
Key Features
Synthetic CME OI: Combines BTC1! and BTC2! to deliver high-accuracy OI, eliminating rollover noise.
Multi-Timeframe Analysis: Displays daily CME OI as pseudo-candlestick (OHLC) on any timeframe (e.g., 4H), allowing intuitive capital flow tracking across timeframes.
CME/Binance One-Click Toggle: Instantly compare institutional-driven CME and retail-driven Binance OI.
USD/BTC Flexibility: Switch between BTC (real demand) and USD (margin) perspectives for OI analysis.
Robust Design: Concise, global-scope code ensures stability and adaptability to TradingView updates.
Insights & Use Cases
Holistic Market Sentiment: Analyze capital flows by region and exchange for a multidimensional view.
Signal Detection: E.g., a sharp drop in CME OI during a sell-off may signal institutional withdrawal.
Retail Trends: A surge in Binance OI suggests retail-driven inflows.
Event-Driven Insights: E.g., during a hypothetical April 2025 “Trump Tariff Shock,” instantly identify which exchange drives capital shifts.
Unique ValueUnlike price-centric indicators, this tool focuses on capital flow (OI). It’s the only indicator offering one-click multi-timeframe and multi-exchange OI comparison, empowering traders to uncover the market’s “true intent” and gain a strategic edge.
ConclusionBitcoin Open Interest makes the market’s hidden capital movements accessible to all. By capturing market dynamics and pinpointing the “leading forces” during events, it sets a new standard for traders seeking a revolutionary perspective.
Supply and Demand Zones🔍 Supply and Demand Zones
by The_Forex_Steward
This indicator automatically identifies Supply and Demand Zones based on aggregated synthetic candles, helping traders pinpoint potential reversal or breakout levels with clarity and precision.
🧠 How It Works:
This tool aggregates price data over a set number of candles (defined by the Aggregation Factor ) to create "synthetic candles" that smooth out noise and highlight significant institutional price activity. These candles are then analyzed to detect bullish or bearish order blocks , which are visualized as zones:
-Demand Zones (Green) : Formed when price breaks above the high of a previous bearish synthetic candle.
-Supply Zones (Red) : Formed when price breaks below the low of a previous bullish synthetic candle.
These areas often represent key institutional interest where price is likely to react.
⚙️ Key Features:
-Aggregation Factor : Groups candles to form larger, synthetic ones. Higher values smooth price and reduce noise.
-Custom Zone Length : Define how far zones extend forward (up to 500 bars).
-Mitigation Logic : Choose whether to auto-delete zones once price breaks through them.
-Visual Customization : Customize zone colors and borders to suit your charting style.
-Alerts : Get notified when new Supply or Demand zones are formed.
📈 How to Use It:
1. Trend Trading : Use zones as dynamic support/resistance to enter with trend pullbacks.
2. Reversals : Look for price reactions at untested zones for potential counter-trend setups.
3. Breakouts : Monitor for zone breaks that signal strong momentum or shifts in market structure.
4. Confluence : Combine with other indicators (like RSI or volume) for more robust trade setups.
🔔 Alerts:
Receive alerts when new demand or supply zones are formed so you can take action in real time.
✅ Recommended Settings:
For intraday trading : Use lower aggregation values (e.g., 3–5).
For swing/position trading : Higher values (e.g., 6–10) may give better structure.
Order Blocks📈 Order Blocks Only (With Mitigation Alerts)
This indicator identifies bullish and bearish order blocks on your chart and alerts you when they are formed or mitigated . Order blocks are key institutional price levels where strong buying or selling has previously occurred, often leading to significant future price reactions.
🔍 How It Works:
-Bullish Order Block: Formed when price closes above the high of a recent bearish candle. This suggests buyers have taken control.
-Bearish Order Block: Formed when price closes below the low of a recent bullish candle. This signals seller dominance.
-Once an order block is formed, a box is drawn on the chart to highlight the zone.
-These boxes last for a user-defined number of bars (default is 20) and can be automatically removed when price mitigates (retests and closes beyond) the zone.
🛠 User Settings:
-Show Bullish Order Blocks – Toggle green zones on/off.
-Show Bearish Order Blocks – Toggle red zones on/off.
-Order Block Duration – How many bars the boxes should remain on the chart.
-Delete Mitigated Boxes – If enabled, mitigated zones are automatically removed.
-Custom Colors – Personalize the fill and border colors of bullish and bearish blocks.
🔔 Alerts:
This tool supports four built-in alert types:
-Bullish Order Block Formed
-Bearish Order Block Formed
-Bullish Order Block Mitigated
-Bearish Order Block Mitigated
Set these alerts to stay on top of key price reactions.
✅ How to Use It:
1. Apply the indicator to any chart and timeframe.
2. Watch for new order blocks to form after strong price breaks.
3. Use these zones as potential entry points, stop placement areas, or take profit zones.
4. Enable alerts to catch key institutional levels as they form or are retested.
Fast Lane, Slow Lane (Dem)Fast Lane, Slow Lane script based on Barbara Star's trading style.
Simple trend advisor where green indicates the fast lane and red indicates the slow lane.
When the candles enter the green lane you know you have decent upwards momentum and as you fall below into the blank area you know momentum is fading and vice versa.
Green Bullish momentum, Red Bearish momentum.
SOFR Spread (proxy: FEDFUNDS - US03MY)📊 SOFR Spread (Proxy: FEDFUNDS - US03MY) – Monitoring USD Money Market Liquidity
In 2008, the spread exhibits a sharp vertical spike, signaling a severe liquidity dislocation: investors rushed into short-term U.S. Treasuries, pushing their yields down dramatically, while the FEDFUNDS rate remained relatively high.
This behavior indicates extreme systemic stress in the interbank lending market, preceding massive Federal Reserve interventions such as rate cuts, emergency liquidity operations, and the launch of quantitative easing (QE).
Description:
This indicator plots the spread between the Effective Federal Funds Rate (FEDFUNDS) and the 3-Month US Treasury Bill yield (US03MY), used here as a proxy for the SOFR spread.
It serves as a simple yet powerful tool to detect liquidity dislocations and stress signals in the US short-term funding markets.
Interpretation:
🔴 Spread > 0.20% → Possible liquidity stress: elevated repo rates, cash shortage, interbank distrust.
🟡 Spread ≈ 0% → Normal market conditions, balanced liquidity.
🟢 Spread < 0% → Excess liquidity: strong demand for T-Bills, “flight to safety”, or distortion due to expansionary monetary policy.
Ideal for:
Monitoring Fed policy impact
Anticipating market-wide liquidity squeezes
Correlation with DXY, SPX, VIX, MOVE Index, and risk sentiment
🧠 Note: As SOFR is not directly available on TradingView, FEDFUNDS is used as a reliable proxy, closely tracking the same trends in most macro conditions.
Break-out DailyBreakout - with body - of yesterday's daily high or low.
With body we mean that the indicator only signals if the candle has closed above the high (Breakout - Long) or below the low (Breakout - Short).
This indicator can make mistakes such as not signaling a breakout or signaling it at the wrong level (this is because it is based on the highs/lows recorded in the daily candle, not the daily high/low in the reference timeframe).
I recommend always checking if the breakout has actually occurred.
I hope it will make it easier for you to read the charts and happy trading to everyone! :)
###################################################################################
Rottura strutturale - con corpo - del massimo o minimo giornaliero di ieri.
Con corpo si intende che l'indicatore segnala solo se la candela ha chiuso al di sopra del massimo(Break-out - Long) o al di sotto del minimo(Break-out - Short).
Questo indicatore può fare degli errori come non segnalare una rottura strutturale o segnalarla su un livello sbagliato(questo perché si basa sui massimi/minimi registrati nella candela giornaliera, non il massimo/minimo giornaliero nel timeframe di riferimento).
Consiglio di controllare sempre se effettivamente è avvenuta la rottura.
Spero che vi semplificherà la lettura dei grafici e buon trading a tutti! :)
Wick Spike 50% Detector (15m & 1h)This script identifies candles with significant upper or lower wicks (spikes) based on a percentage of the total candle range. It helps spot potential reversals, exhaustion moves, or liquidity grabs — especially useful in volatile markets.
📍 Key Features:
15-Minute Timeframe:
Red Triangle Above: Candle range ≥ 0.35% and upper wick ≥ 50% of the range.
Green Triangle Below: Candle range ≥ 0.30% and lower wick ≥ 50% of the range.
1-Hour Timeframe:
Red Circle Above: Candle range ≥ 0.50% and upper wick ≥ 50%.
Green Circle Below: Candle range ≥ 0.50% and lower wick ≥ 50%.
📢 Alerts:
Alerts trigger when the 50% spike condition is met — within the last 60 seconds before candle close — ensuring timely notifications.
🎯 Designed to assist traders in identifying spike-driven opportunities and refining entry/exit strategies.
Aftershock by Session [SAKANE]■ Background & Motivation
In 24/7 markets like crypto, not all participants react simultaneously to major events.
Instead, reactions unfold across different regional trading sessions — Asia (APAC), Europe (EU), and the United States (US) — each with its own tempo and sentiment.
This indicator is designed to visualize which session drives the market after a key event — capturing the "aftershock" effect that ripples through time zones.
■ Key Features
Tracks price return (open → close) for each session: APAC / EU / US
Cumulative session returns are calculated and visualized
Smoothing options: SMA, EMA, or Ehlers SuperSmoother
Optimized for daily charts to highlight structural momentum shifts
Toggle visibility of each session independently
■ Why “Aftershock”?
Take April 2, 2025 — the day of the “Trump Tariff Opening.”
That policy announcement triggered a market-wide response. But:
Which session reacted first?
Which session truly moved the market?
This indicator is named “Aftershock” because it helps you see the ripple effect of such events — when and where momentum followed.
■ How to Use
Search for “Aftershock by Session ” on TradingView
Add it to your chart (use Daily timeframe)
Customize sessions and smoothing options via settings
You can also bookmark it for quick access.
■ Insights & Use Cases
Detect which session initiated or led market moves after news events
Understand geo-temporal dynamics — did the move start in Asia, Europe, or the US?
For example, on April 2, 2025, the day Trump’s tariff pivot was announced:
You can instantly see which session took the lead —
the APAC session hesitated, while the US session drove the trend.
This insight becomes visually obvious with the cumulative lines.
■ Unique Value
Unlike typical indicators based on raw price action,
Aftershock analyzes market movement through a session-based structural lens.
It captures where capital actually moved — and when.
A tool not just for technical analysis, but for event-driven, macro-aware market reading.
■ Final Thoughts
To truly understand market mechanics, we must look beyond candles and trends.
Aftershock by Session breaks down the 24-hour cycle into meaningful regional flows,
allowing you to track the true drivers behind price momentum.
Whether you're trading, researching, or tracking macro catalysts,
this tool helps answer the key question:
“Who moved the market — and when?”
BowtieThe bowtie is merely a plot of the 10 period SMA, the 20 period, EMA and the 30 period EMA. When the shorter SMA crosses above both of the longer EMA's it is considered a bullish indicator. When the shorter SMA crosses below both of the longer EMA's, it is consider a bearish indicator. As with all such indicators, this lags actual price action.
The name comes from the crossover that resembles the shape of a bowtie.
Fear and GreedFear and greed with RSI - 14 and ATR - 14. Check the market sentiment and the volatility. you can adjust the level of overbuying (green zone) and overselling (red zone).
Score and Interpretation :
0 - 25
Extreme fear
25 - 50
Moderate fear
50 - 75
Moderate greed
75 - 100
Extreme greed
Future updates and free to modify !
SPY EMA Levels on RSPD/RSPS with SPY FilterBuys SPY when risk on environment occurs using the ratio of RSPD (equal weight discretionary) to RSPS (equal weight staples)
when the 9/20 EMA cross on that ratio occurs when SPY is above 20 EMA a buy occurs
A sell occurs when the 9/20 EMA ratio crosses downwards and SPY is below its 20 EMA
ZenAlgo - DominatorThis indicator provides a structured multi-ticker overview of market momentum and relative strength by analyzing short-term price behavior across selected assets in comparison with broader crypto dominance and Bitcoin/ETH performance.
Ticker and Market Data Handling
The script accepts up to 9 user-defined symbols (tickers) along with BTCUSD and ETHUSD. For each symbol:
It retrieves the current price.
It also requests the daily opening price from the "D" timeframe to compute intraday percentage change.
For BTC, ETH, and dominance (sum of BTC, USDT, and USDC dominance), daily change is calculated using this same method.
This comparison enables tracking relative performance from the daily open, which provides meaningful insight into intraday strength or weakness among different assets.
Dominance Logic
The indicator aggregates dominance data from BTC , USDT , and USDC using TradingView’s CRYPTOCAP indices. This combined dominance is used as a reference in directional and status calculations. ETH dominance is also analyzed independently.
Changes in dominance are used to infer whether market attention is shifting toward Bitcoin/stablecoins (typically indicating risk-off sentiment) or away from them (typically risk-on behavior, benefiting altcoins).
Price Direction Estimation
The script estimates directional bias using an EMA-based deviation technique:
A short EMA (user-defined lookback , default 4 bars) is calculated.
The current close is compared to the EMA to assess directional bias.
Recent candle changes are also inspected to confirm a consistent short-term trend (e.g., 3 consecutive higher closes for "up").
A small threshold is used to avoid classifying flat movements as trends.
This directionality logic is applied separately to:
The selected ticker's price
BTC price
Combined dominance
This allows the script to contextualize the movement of each asset within broader market conditions.
Market Status Evaluation
A custom function analyzes ETH and BTC dominance trends along with their relative strength to define the overall market regime:
Altseason is identified when BTC dominance is declining, ETH dominance rising, and ETH outperforms BTC.
BTC Season occurs when BTC dominance is rising, ETH dominance falling, and BTC outperforms ETH.
If neither condition is met, the state is Neutral .
This classification is shown alongside each ticker's row in the table and helps traders assess whether market conditions favor Bitcoin, Ethereum, or altcoins in general.
Ticker Status Classification
Each ticker is analyzed independently using the earlier directional logic. Its status is then determined as follows:
Full Bull : Ticker is trending up while dominance is declining or BTC is also rising.
Bullish : Ticker is trending up but not supported by broader bullish context.
Bearish : Ticker is trending down but without broader confirmation.
Full Bear : Ticker is trending down while dominance rises or BTC falls.
Neutral : No strong directional bias or conflicting context.
This classification reflects short-term momentum and macro alignment and is color-coded in the results table.
Table Display and Plotting
A configurable table is shown on the chart, which:
Displays the name and status of each selected ticker.
Optionally includes BTC, ETH, and market state.
Uses color-coding for intuitive interpretation.
Additionally, price changes from the daily open are plotted for each selected ticker, BTC, ETH, and combined dominance. These values are also labeled directly on the chart.
Labeling and UX Enhancements
Labels next to the current candle display price and percent change for each active ticker and for BTC, ETH, and combined dominance.
Labels update each bar, and old labels are deleted to avoid clutter.
Ticker names are dynamically shortened by stripping exchange prefixes.
How to Use This Indicator
This tool helps traders:
Spot early rotations between Bitcoin and altcoins.
Identify intraday momentum leaders or laggards.
Monitor which tickers align with or diverge from broader market trends.
Detect possible sentiment shifts based on dominance trends.
It is best used on lower to mid timeframes (15m–4h) to capture intraday to short-term shifts. Users should cross-reference with longer-term trend tools or structural indicators when making directional decisions.
Interpretation of Values
% Change : Measures intraday move from daily open. Strong positive/negative values may indicate breakouts or reversals.
Status : Describes directional strength relative to market conditions.
Market State : Gives a general bias toward BTC dominance, ETH strength, or altcoin momentum.
Limitations & Considerations
The indicator does not analyze liquidity or volume directly.
All logic is based on short-term movements and may produce false signals in ranging or low-volume environments.
Dominance calculations rely on external CRYPTOCAP indices, which may differ from exchange-specific flows.
Added Value Over Other Free Tools
Unlike basic % change tables or price overlays, this indicator:
Integrates dominance-based macro context into ticker evaluation.
Dynamically classifies market regimes (BTC season / Altseason).
Uses multi-factor logic to determine ticker bias, avoiding single-metric interpretation.
Displays consolidated information in a table and chart overlays for rapid assessment.
BS with PeriodThe “BS with Period” indicator visualizes the balance between buying and selling volume within each candle, and also tracks those volumes accumulated over a specified number of bars.
It first splits a candle’s total volume into two parts based on where the close sits: the closer the close is to the high, the larger the “buying” portion; the closer it is to the low, the larger the “selling” portion. This means that for any given volume you can see whether buyers or sellers were more active.
On the chart you see three column plots:
Gray for total volume
Red for the portion attributed to selling
Teal for the portion attributed to buying
Optionally, it also sums those buying and selling volumes over the last N bars and plots them as two lines. This gives you a medium-term view of which side is dominating: if the buying-volume line stays well above the selling-volume line, buyers are in control, and vice versa.
Traders use it to:
Spot sustained buying or selling pressure when one accumulated-volume line pulls ahead of the other.
Confirm trend accelerations or potential reversals when the balance shifts.
Adjust sensitivity by choosing a shorter period (more responsive, but noisier) or a longer period (smoother, but slower).
Overall, the indicator helps quantify the internal volume structure and the tug-of-war between buyers and sellers both within each candle and over your chosen look-back period.
USDTUSD Stochastic RSI [SAKANE]Release Note
■ Overview
The USDTUSD Stochastic RSI indicator visualizes shifts in market sentiment and liquidity by applying the Stochastic RSI to the USDT/USD price pair.
Rather than tracking the price of Bitcoin directly, this tool observes the momentum of USDT, a key intermediary in most crypto transactions, to detect early signals of trend reversals.
■ Background & Motivation
USDT exhibits two distinct characteristics:
Its credibility as a long-term store of value is limited.
Yet, it serves as one of the most liquid assets in the crypto space and is widely used as a trading base pair.
Because most BTC trades involve converting fiat into USDT and vice versa, USDT/USD frequently deviates slightly from its peg to USD.
These deviations—though subtle—often occur just before major shifts in the broader crypto market.
This indicator is designed to detect such moments of structural imbalance by applying momentum analysis to USDT itself.
■ Feature Highlights
Calculates RSI and Stochastic RSI on the USDT/USD closing price
Supports customizable smoothing via SMA or EMA
Background shading dynamically visualizes overheated or cooled market states (thresholds are adjustable)
Displayed in a separate pane, keeping it visually distinct from the price chart
■ Usage Insights
This indicator is based on an observable pattern:
When the Stochastic RSI bottoms out, Bitcoin tends to form a price bottom shortly afterward
Conversely, when the indicator peaks, Bitcoin tends to top out with a slight delay
Since USDT acts as a gateway for capital in and out of the market, changes in its momentum often foreshadow turning points in BTC.
This allows traders to anticipate shifts in sentiment rather than merely reacting to them.
■ Unique Value Proposition
Unlike conventional price-based indicators, this tool offers a structural perspective.
It focuses on USDT as a mechanism of liquidity flow, making it possible to detect the "hidden rhythm" of the crypto market.
In that sense, this is not just a technical tool, but an entry point into market microstructure analysis—allowing users to read the market’s intentions rather than just its movements.
■ Practical Tips
Look for reversals in momentum as potential BTC entry or exit points.
Overlay this indicator with the BTC chart to compare timing and divergence.
Combine with other tools such as on-chain data or macro indicators for comprehensive analysis.
■ Final Thoughts
USDTUSD Stochastic RSI is designed with the belief that the most important market signals often come from what drives the price, not the price itself.
By tuning into the “heartbeat” of capital flow, this indicator sheds light on market dynamics that would otherwise remain unseen.
We hope it proves useful in your trading and research.
[TehThomas] - Fair Value GapsThis script is designed to automatically detect and visualize Fair Value Gaps (FVGs) on your chart in a clean, intuitive, and highly responsive way. It’s built with active traders in mind, offering both dynamic updates and customization options that help you stay focused on price action without being distracted by outdated or irrelevant information.
What Are Fair Value Gaps?
Fair Value Gaps are areas on a chart where there’s an inefficiency in price, typically formed when price moves aggressively in one direction, leaving a gap between the wicks of consecutive candles. These gaps represent imbalanced price action where not all buy or sell orders were efficiently matched. As a result, they often become magnet zones where price returns later to "fill" the imbalance before continuing in its intended direction. Many traders use them as points of interest for entries, re-entries, or anticipating reversals and consolidations.
This concept is frequently used in Smart Money and ICT-based trading models, where understanding how price seeks efficiency is crucial to anticipating future moves. When combined with concepts like liquidity, displacement, and market structure, FVGs become powerful tools for technical decision-making.
Script Features & Functionality
1. Live Updating Gaps (Dynamic Shrinking)
One of the core features of this script is its ability to track and dynamically shrink Fair Value Gaps as price trades into them. Instead of leaving a static zone on your chart, the gap will adjust in real-time, reflecting the portion that has been filled. This gives you a much more accurate picture of remaining imbalance and avoids misleading zones.
2. Automatic Cleanup After Fill
Once price fully fills an FVG, the script automatically removes it from the chart. This helps keep your workspace clean and focused only on relevant price zones. There’s no need to manually manage your gaps, everything is handled behind the scenes to reduce clutter and distraction.
3. Static Mode Option
While dynamic updating is the default, some traders may prefer to keep the original size of the gap visible even after partial fills. For that reason, the script includes a toggle to switch from live-updating (shrinking) mode to static mode. In static mode, FVGs stay fixed from the moment they are drawn, giving you a more traditional visual reference point.
4. Multi-Timeframe Support (MTF)
You can now view higher timeframe FVGs, such as those from the 1H or 4H chart, while analyzing lower timeframes like the 5-minute. This allows you to see key imbalances from broader market context without having to flip between charts. FVGs from higher timeframes will be drawn distinctly so you can differentiate them at a glance.
5. Cleaner Visualization
The script is designed with clarity in mind. All drawings are streamlined, and filled gaps are removed to maintain a minimal, distraction-free chart. This makes it easier to combine this tool with other indicators or price-action-based strategies without overloading your workspace.
6. Suitable for All Market Types
This script can be used on any asset that displays candlestick-based price action — including crypto, forex, indices, and stocks. Whether you're scalping low-timeframe setups or swing trading with a higher timeframe bias, FVGs remain a useful concept and this script adapts to your trading style.
Use Case Examples
On a 5-minute chart, display 1-hour FVGs to catch major imbalance zones during intraday trading.
Combine the FVGs with liquidity levels and inducement patterns to build ICT-style trade setups.
Use live-updating gaps to monitor in-progress fills and evaluate whether a zone still holds validity.
Set the script to static mode to perform backtesting or visual replay with historical setups.
Final Notes
Fair Value Gaps are not a standalone trading signal, but when used with market structure, liquidity, displacement, and order flow concepts, they provide high-probability trade locations that align with institutional-style trading models. This script simplifies the visualization of those zones so you can react faster, stay focused on clean setups, and eliminate unnecessary distractions.
Whether you’re trading high volatility breakouts or patiently waiting for retracements into unfilled imbalances, this tool is designed to support your edge with precision and flexibility.
(OFPI) Order Flow Polarity Index - Momentum Gauge (DAFE) (OFPI) Order Flow Polarity Index - Momentum Gauge: Decode Market Aggression
The (OFPI) Gauge Bar is your front-row seat to the battle between buyers and sellers. This isn’t just another indicator—it’s a momentum tracker that reveals market aggression through a sleek, centered gauge bar and a smart dashboard. Built for traders who want clarity without clutter, it’s your edge for spotting who’s driving price, bar by bar.
What Makes It Unique?
Order Flow Pressure Index (OFPI): Splits volume into buy vs. sell pressure based on candle body position. It’s not just volume—it’s intent, showing who’s got the upper hand.
T3 Smoothing Magic: Uses a Tilson T3 moving average to keep signals smooth yet responsive. No laggy SMA nonsense here.
Centered Gauge Bar: A 20-segment bar splits bullish (lime) and bearish (red) momentum around a neutral center. Empty segments scream indecision—it’s like a visual heartbeat of the market.
Momentum Shift Alerts: Catches reversals with “Momentum Shift” flags when the OFPI crests, so you’re not caught off guard.
Clean Dashboard: A compact, bottom-left table shows momentum status, the gauge bar, and the OFPI value. Color-coded, transparent, and no chart clutter.
Inputs & Customization
Lookback Length (default 10): Set the window for pressure calculations. Short for scalps, long for trends.
T3 Smoothing Length (default 5): Tune the smoothness. Tight for fast markets, relaxed for chill ones.
T3 Volume Factor (default 0.7): Crank it up for snappy signals or down for silky trends.
Toggle the dashboard for minimalist setups or mobile trading.
How to Use It
Bullish Momentum (Lime, Right-Filled): Buyers are flexing. Look for breakouts or trend continuations. Pair with support levels.
Bearish Momentum (Red, Left-Filled): Sellers are in charge. Scout for breakdowns or shorts. Check resistance zones.
Neutral (Orange, Near Center): Market’s chilling. Avoid big bets—wait for a breakout or play the range.
Momentum Shift: A reversal might be brewing. Confirm with price action before jumping in.
Not a Solo Act: Combine with your strategy—trendlines, RSI, whatever. It’s a momentum lens, not a buy/sell bot.
Why Use the OFPI Gauge?
See the Fight: Most tools just count volume. OFPI shows who’s winning with a visual that slaps.
Works Anywhere: Crypto, stocks, forex, any timeframe. Tune it to your style.
Clean & Pro: No chart spam, just a sharp gauge and a dashboard that delivers.
Unique Edge: No other indicator blends body-based pressure, T3 smoothing, and a centered gauge like this.
The OFPI Gauge catches the market’s pulse so you can trade with confidence. It’s not about predicting the future—it’s about knowing who’s in control right now.
For educational purposes only. Not financial advice. Always use proper risk management.
Use with discipline. Trade your edge.
— Dskyz , for DAFE Trading Systems
Index Futures vs Cash ArbitrageThis indicator measures the statistical spread between major stock index futures and their corresponding cash indices (e.g., ES vs SPX, NQ vs NDX) using Z-score normalization. It automatically detects commonly traded index pairs (S&P 500, Nasdaq, Dow Jones, Russell 2000) and calculates a smoothed spread between futures and spot prices. A Z-score is then derived from this spread to highlight potential overpricing or underpricing conditions.
Traders can use customizable thresholds to identify mean-reversion opportunities where the futures contract may be temporarily overvalued or undervalued relative to the index. The histogram highlights the direction of the Z-score (green = futures > index, red = futures < index), while built-in alerts notify users of key threshold breaches or zero-line crosses.
This tool is designed for discretionary traders, pairs traders, or anyone exploring statistical arbitrage strategies between futures and spot markets. It is not a buy/sell signal by itself and should be used with additional confluence or risk management techniques.
India VIX TableThis indicator gives you the India Vix value in real time on your chart. You can change the position on the chart as per your preference.
Multi Timeframe BiasYo what's up this is my first indicator that I have ever posted.
Basically it detects the most recent ChoCH (Bullish or Bearish) for the 1m, 5m, 15m, 1h, 4h, 1D, and 1W timeframes and organizes them in a table in the top right. Let me know if yall would like anything added to this. Im new to this my code might be bad but it appears to be working haha.
DXY Z-ScoreThe "DXY Z-Score" indicator measures the US Dollar Index’s (DXY) current price relative to its recent average, normalized by its standard deviation.
It calculates a standardized Z-Score that oscillates around zero, highlighting when the DXY is significantly overbought or oversold.
Key features include:
- The Z-Score line oscillating between fixed upper (+2) and lower (-2) horizontal levels
- A shaded background to emphasize the Z-Score range between these bands
- A dynamic table showing the current Z-Score value linked linearly to the Z-Score plot
This indicator is useful for assessing the strength or weakness of the US Dollar relative to its recent history, providing insights into potential market reversals or trend continuations.
VIX Z-Score (Inverted)📘 Indicator: VIX Z-Score (Inverted) + Table
🔍 Overview
This indicator calculates the Z-Score of the VIX (Volatility Index) and inverts it to identify potential buying opportunities during periods of fear and caution during periods of extreme optimism. The Z-Score is smoothed and visually displayed alongside a dynamic info table.
⚙️ How It Works
VIX Data: The VIX (ticker: CBOE:VIX) is pulled in real time.
Z-Score Calculation:
𝑍
=
(
𝑉
𝐼
𝑋
−
mean
)
standard deviation
Z=
standard deviation
(VIX−mean)
Over a customizable lookback period (default: 50).
Inversion:
Since high VIX usually means fear (often a contrarian buying signal), we invert the Z-Score:
𝑍
inv
=
−
𝑍
Z
inv
=−Z
Smoothing:
An EMA is applied to reduce noise and false signals.
Clamping:
The Z-Score is linearly scaled and capped between +2 and -2 for easy visualization in the info table.
📊 Z-Score Table (Top-Right)
Range Interpretation Table Color
+1.5 to +2 Extreme fear → Buy zone 🟩 Green
+0.5 to +1.5 Moderate fear 🟨 Lime
–0.5 to +0.5 Neutral ⬜ Gray
–0.5 to –1.5 Growing complacency 🟧 Orange
–1.5 to –2 Extreme optimism → Caution 🟥 Red
The current Z-Score (clamped version) is shown in real time on the right-hand info panel.
🧠 How to Use It
+2 Zone (Table: Green):
Market fear is at an extreme. Historically, such conditions are contrarian bullish—possible entry zones.
–2 Zone (Table: Red):
Indicates extreme optimism and low fear. Often a signal to be cautious or take profits.
Middle range (±0.5):
Market is neutral. Avoid major decisions based solely on sentiment here.
🧪 Best Practices
Combine with price action, volume, or trend filters.
Works well on daily or 4H timeframes.
Not a standalone signal—best used to confirm or fade sentiment extremes.
SSRO Z-ScoreSSRO Z-Score Indicator — Description
What it does:
This indicator measures the Stablecoin Supply Ratio (SSR) relative to Bitcoin’s market cap and calculates a normalized Z-Score of this ratio to help identify potential market tops and bottoms in the crypto market.
How it works:
The Stablecoin Supply Ratio (SSR) is calculated by dividing Bitcoin’s market capitalization by the combined market capitalization of major stablecoins (USDT, USDC, TUSD, DAI, FRAX).
The SSR is then smoothed over a user-defined lookback period to reduce noise.
A Z-Score is computed by normalizing the SSR over a specified moving window, which shows how far the current SSR deviates from its historical average in terms of standard deviations.
This Z-Score is further smoothed using an exponential moving average (EMA) to filter short-term volatility.
How to read the Z-Score:
Z-Score = 0: SSR is at its historical average.
Z-Score > 0: SSR is above average, indicating Bitcoin’s market cap is relatively high compared to stablecoin supply, potentially signaling bullish market conditions.
Z-Score < 0: SSR is below average, indicating stablecoin supply is high relative to Bitcoin’s market cap, possibly signaling bearish pressure or increased liquidity waiting to enter the market.
Upper and Lower Bands: These user-defined levels (e.g., +2 and -2) represent thresholds for extreme conditions. Values above the upper band may indicate overbought or overheated market conditions, while values below the lower band may indicate oversold or undervalued conditions.
Additional Features:
A dynamic table displays a linear scaled Z-Score alongside the main plot, clamped between -2 and +2 relative to the upper and lower bands for intuitive interpretation.
Usage Tips:
Combine the SSRO Z-Score with other technical indicators or volume analysis for more reliable signals.
Look for divergence between price and Z-Score extremes as potential reversal signals.