Binance Perp Basis % (Auto)Hello,
This script is pretty much self explanatory.
It is the real-time basis rate % of Binance futures crypto paired with USDT.
If the indicator shows "NaN" it means that the coin exists in USDT.P but does not have a homologue in spot to run the basis rate & calculation.
To change colors:
for positive & negative basis rate % you simply have to open the script & change the values here shown:
//=== 4. Plot =================================================================
col = basis >= 0 ? color.new(color. white , 0) : color.new(color. black , 0)
To change the 0 line color and opacity:
line(0, "Zero line", color=color.new(color.gray, 60), linestyle=hline.style_dashed)
Индикаторы и стратегии
Clock&Flow: Elements of Cycle Analysis 1st partClock&Flow – Elements of Cycle Analysis (ECA) | Complete Suite
Elements of Cycle Analysis (ECA) is an advanced cyclic analysis suite designed to interpret the market through time, structure, strength, and energy, combining cycles, volatility, and participation into a single operational framework.
The suite consists of two complementary modules:
🔹 ECA 1 – Cycles, Structure, and Volatility (Overlay: True)
ECA 1 is dedicated to the structural and temporal analysis of the market.
Cyclic SMAs (Cyclic Ratio) Moving averages are calibrated according to nominal cycles and timeframes to monitor multiple cycles simultaneously (from the lower cycle to the upper cycles). Crossovers between fast and slow SMAs certify the closing or transition of the cycle related to the faster SMA. The specific cycle is identified in the Info Table at the bottom right (for 15m - 1h - 2h - 1D timeframes). You can select the number of cycles to observe and the asset type to apply them to:
Index: Standard quotes (e.g., Cash sessions).
Future: Extended quotes (24h).
50-200: Classic institutional references for the medium-long term.
ATR-based Dynamic Cyclic Channels The channels represent a lower cycle and its upper counterpart; their width is determined by the observed timeframe and calculated based on average volatility (ATR). Volatility is not treated as noise but as a structural component of the cycle, essential for contextualizing excesses, compressions, and expansions.
Info Table and Quick Guide Dynamic tables automatically link SMAs, timeframes, and time cycles, providing an immediate reading of the current cyclic context.
Time Bands (Weekly / Daily) Temporal visualization helps identify cyclic pivots and rhythm transitions.
🔹 ECA 2 – Market Excesses, Strength, and Energy
ECA 2 analyzes how the market moves within the cyclic structure.
Excesses and Divergences (Cyclic Stochastic) An oscillator calibrated on the same cyclic ratio as the suite. Crossovers between the lower cycle (blue) and upper cycle (red) signal potential phase changes. In areas of excess, divergences often confirm the closing and restart of a cycle.
Directional Movement System (DMS) The ADX measures the strength of the movement, while +DI and -DI indicate direction. A simultaneous crossover of ADX, +DI, and -DI signals imminent acceleration, even before the strength is fully expressed.
Market Pulse – Real Market Energy The Market Pulse measures the amount of real energy moving through the market by relating three factors:
Price Velocity
Normalized Volume
Volatility (ATR relative to price)
These three factors are combined multiplicatively: if one is missing, the impulse weakens. The zero line represents a state of energy equilibrium; values above or below indicate a real imbalance (bullish or bearish). Note: Market Pulse is not a classic oscillator and should not be interpreted as overbought or oversold; it is used to evaluate the energetic quality of a movement.
Operational Convergence
The maximum operational effectiveness of the ECA suite is achieved when all modules converge on the same market phase.
When cyclic timing, volatility, price structure, trend strength, and movement energy align, the context signals a high-probability operational phase. The system is applicable to any timeframe or asset because it is not bound by dogmatic or subjective interpretations of technical or fundamental analysis; instead, it leverages what is actually happening in the market. Major chart patterns and Volume Profile (technically not includable in this specific suite) provide further confirmation.
Under these conditions, the signal does not originate from a single indicator but from the consistency of the entire system: time, volatility, and energy moving in the same direction.
Entries should always be accompanied by proper risk management.
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
Clock&Flow – Elements of Cycle Analysis (ECA) | Suite Completa
Elements of Cycle Analysis (ECA) è una suite avanzata di analisi ciclica progettata per leggere il mercato attraverso tempo, struttura, forza ed energia, combinando cicli, volatilità e partecipazione in un unico framework operativo.
La suite è composta da due moduli complementari:
🔹 ECA 1 – Cicli, Struttura e Volatilità (overlay true)
ECA 1 è dedicato all’analisi strutturale e temporale del mercato.
SMA cicliche (ratio ciclica)
Le medie mobili sono calibrate in funzione dei cicli nominali e del timeframe per monitorare più cicli simultaneamente (dal ciclo inferiore fino ai cicli superiori).
Gli incroci tra SMA veloci e lente certificano la chiusura o transizione del ciclo correlato alla SMA più veloce. Il ciclo in questione è segnalato nella info table in basso a destra (per i time frame 15’ - 1h - 2h - 1D) Puoi selezionare il numero dei cicli da osservare e su quali asset applicarle (Index = quotazioni standard / Future = quotazioni estese / 50-200 i classici riferimenti istituzionali per il medio-lungo periodo
Canali ciclici dinamici basati su ATR
I canali rappresentano un ciclo inferiore e il suo superiore, l’ampiezza è data dal time frame osservato e calcolata sulla volatilità media (ATR).
La volatilità non è trattata come rumore, ma come componente strutturale del ciclo, utile per contestualizzare eccessi, compressioni ed espansioni.
Info Table e Quick Guide
Tabelle dinamiche collegano automaticamente SMA, timeframe e cicli temporali, fornendo una lettura immediata del contesto ciclico in corso.
Time Bands (Weekly / Daily)
La visualizzazione temporale aiuta a individuare pivot ciclici e transizioni di ritmo.
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
🔹 ECA 2 – Eccessi, Forza ed Energia del Mercato
ECA 2 analizza come il mercato si muove all’interno della struttura ciclica.
Eccessi e divergenze (Stochastic ciclico)
Oscillatore calibrato sulla stessa ratio ciclica della suite.
Gli incroci tra ciclo inferiore (blu) e superiore (rosso) segnalano potenziali cambi di fase; in area di eccesso, le divergenze certificano spesso la chiusura e ripartenza del ciclo.
Directional Movement System (DMS)
L’ADX misura la forza del movimento, mentre +DI e –DI ne indicano la direzione.
L’incrocio simultaneo di ADX, +DI e –DI segnala un’accelerazione imminente, anche in assenza di forza già espressa.
Market Pulse – Energia reale del mercato
Il Market Pulse misura quanta energia reale sta attraversando il mercato mettendo in relazione:
velocità del prezzo
volume normalizzato
volatilità (ATR rapportato al prezzo)
I tre fattori sono combinati in modo moltiplicativo: se uno manca, l’impulso si indebolisce.
La linea dello zero rappresenta una condizione di equilibrio energetico; valori sopra o sotto indicano uno sbilanciamento reale, rialzista o ribassista.
Il Market Pulse non è un oscillatore classico e non va interpretato in termini di ipercomprato o ipervenduto: serve a valutare la qualità energetica del movimento.
La massima efficacia operativa della suite ECA si ottiene quando tutti i moduli convergono sulla stessa fase di mercato.
Quando tempi ciclici, volatilità, struttura del prezzo, forza del trend ed energia del movimento risultano allineati, il contesto segnala una fase ad alta probabilità operativa.
È applicabile su qualunque time frame o asset perché non è vincolato a dogmatiche e soggettive interpretazioni di analisi tecnica - fondamentale ma sfrutta ciò che realmente sta accadendo sul mercato.
I principali pattern grafici e il Volume Profile (in questa suite tecnicamente non inseribili) forniscono ulteriori conferme e/o indicazioni.
In queste condizioni il segnale non nasce da un singolo indicatore, ma dalla coerenza dell’intero sistema: tempo, volatilità ed energia si muovono nella stessa direzione.
Gli ingressi vanno sempre accompagnati da una corretta gestione del rischio.
GuidedByGod-Vertical Timestamp-GOD MODEmaximum 15 custom vertical lines for time based study-timing might be off by Hour or so , will fix in future iteration , for now does the job
BHUVANA Fib 50/61.8 Stairs with RR Targets Fib 50–61.8 Stairs with RR Targets (debug) automatically tracks the latest swing and draws a 50%–61.8% Fibonacci pullback zone as step-like “stairs.” From that zone it plots a planned trade framework: entry reference, stop/invalidation, and multiple Risk:Reward targets (e.g., 1R/1.5R/2R/3R).
What it’s for
Visualize the “buy/sell pullback” area (50–61.8) in trending moves
Standardize exits with RR targets instead of guessing
Quickly see when the swing/zone updates as structure changes
How to use (simple)
Wait for a clear impulse swing to form.
Let price retrace into the 50–61.8 zone.
Take entries only with your own trigger (reclaim / rejection / BOS).
Use the plotted stop and RR targets for management.
Inputs
Swing detection / lookback
RR multiples and target count
Show/hide stairs, labels, debug visuals
Important
This is a mapping tool, not a standalone signal. If you trade every touch of 50–61.8 without confirmation, you’ll get chopped. Debug version may show extra visuals and can repaint on swing updates. Not financial advice.
IV Rank as a Label (Top Right)IV Rank (HV Proxy) – Label
Displays an IV Rank–style metric using Historical Volatility (HV) as a proxy, since TradingView Pine Script does not provide access to true per-strike implied volatility or IV Rank.
The script:
Calculates annualized Historical Volatility (HV) from price returns
Ranks current HV relative to its lookback range (default 252 bars)
Displays the result as a clean, color-coded label in the top-right corner
Color logic:
🟢 Green: Low volatility regime (IV Rank < 20)
🟡 Yellow: Neutral volatility regime (20–50)
🔴 Red: High volatility regime (> 50)
This tool is intended for options context awareness, risk framing, and volatility regime identification, not as a substitute for broker-provided IV Rank.
Best used alongside:
Options chain implied volatility
Delta / extrinsic value
Time-to-expiration analysis
Note: This indicator does not use true implied volatility data.
Anurag Institutional Swing Trader Pro [Robust]nstitutional Swing Flow is a comprehensive, multi-timeframe system designed for swing traders who want to align with "Smart Money" rather than fight against it.
Unlike standard indicators that rely solely on price crossovers, this script analyzes the underlying order flow—tracking stealth accumulation, volume anomalies, and institutional footprints—to generate high-probability swing setups.
Key Features (The "Smart Money" Logic)
1. Institutional Footprints
Stealth Accumulation/Distribution: Detects when price is held in a tight range despite high volume (a classic sign of institutions building a position).
Smart Money Divergence: Identifies when price makes a lower low but Money Flow (OBV/Accumulation-Distribution) makes a higher high.
Fair Value Gaps (FVG): Automatically plots Bullish and Bearish imbalance zones where price is likely to retrace before continuing the trend.
2. Safety First (Risk Management)
Real Earnings Detection: Automatically checks upcoming earnings dates. If an earnings report is within 5 days (adjustable), the script blocks new signals to prevent gambling on binary events.
Visual Exits: Plots dynamic Stop Loss and Take Profit levels on the chart the moment a trade is taken, along with "SL Hit" or "TP Hit" markers for visual backtesting.
3. The "Confluence Score" Dashboard A sophisticated dashboard in the top-right corner rates every setup on a scale of 0 to 100 based on:
Multi-Timeframe Trend: Is the Weekly, Daily, and 4H trend aligned?
Relative Strength: Is the asset outperforming the SPY benchmark?
Volatility: Is the asset in a "Squeeze" (Bollinger Band compression)?
Momentum: RSI, MACD, and CMF confirmation.
Only setups with a score > 65 (adjustable) trigger a BUY or SELL signal.
How to Use
Timeframe: Optimized for 4-Hour (4H) and Daily (D) charts. (Avoid using on <15m charts due to multi-timeframe calculations).
The Signal: Wait for a large "CALL" or "PUT" label.
The Confirmation: Check the Dashboard. Ideally, look for a "Squeeze: YES" combined with a high Institutional Buy Score.
The Exit: Follow the Red (Stop Loss) and Green (Take Profit) lines plotted automatically.
Disclaimer
This tool is for educational purposes only. Swing trading involves risk. Always confirm signals with your own analysis and risk management rules.
Long Short Trading System With TableSmart Trading System Pro is an advanced TradingView indicator designed for precision and clarity.
It combines Order Blocks, Liquidity Zones, EMA trend alignment, MACD, RSI, Volume, and ATR-based risk management to generate high-quality LONG / SHORT signals.
🔹 Clear trade direction
🔹 Smart entry, stop-loss & multi-level take-profit
🔹 Automatic risk/reward & leverage calculation
🔹 Clean visual dashboard for fast decision-making
Built for traders who value structure, confirmation, and risk control.
Best suited for crypto, forex, and indices on all timeframes.
Disclaimer:
This indicator is for educational and informational purposes only and does not constitute financial advice.
Trading involves risk, and past performance does not guarantee future results.
You are solely responsible for your trading decisions and outcomes.
Volatility Regimes | GainzAlgo📊 OVERVIEW
This is a comprehensive ATR-based trading system designed for professional traders who need advanced volatility analysis, precise trade management, and intelligent market-regime detection.
The indicator combines multiple proven volatility concepts into one powerful, highly customizable tool.
⚙️ CORE FEATURES
1️⃣ ATR BANDS (Dynamic Support & Resistance)
- Three levels of ATR-based bands plotted around price
- Band 1 (1× ATR): Closest support/resistance, primary TP target
- Band 2 (2× ATR): Secondary TP target, stronger S/R zone
- Band 3 (3× ATR): Extended TP target, major S/R level
- Bands adapt to volatility in real time
- Dotted lines mark TP points on the latest candle
2️⃣ VOLATILITY REGIME DETECTION (Market Phase Analysis)
Automatically classifies the market into four distinct volatility regimes:
🟢 COMPRESSION
ATR < 70% of baseline
Low-volatility consolidation, market is coiling
Best for: Preparing breakouts, tightening stops
🟠 EXPANSION
ATR 115–140% of baseline
Volatility breakout, early trend formation
Best for: Breakout entries, momentum trades
🔴 HIGH VOLATILITY
ATR > 140% of baseline
Strong sustained trend, maximum participation
Best for: Trend following, trailing stops
🟣 EXHAUSTION
Declining ATR after high volatility
Trend maturity, potential pause or reversal
Best for: Profit taking, reducing exposure
Additional details:
- Uses ATR Ratio (Current ATR / Long-term Baseline)
- Non-repainting logic with historical confirmation
- Background shading + regime labels for instant clarity
- Diamond markers highlight regime changes
3️⃣ DYNAMIC STOP-LOSS SYSTEM
- Automatically calculates optimal stop distance using ATR
- Adapts to current market volatility
- Separate logic for bullish and bearish trades
- Default 2× ATR multiplier (adjustable 0.5× – 5×)
- Visual cross markers display stop levels
- Tighter stops in low volatility, wider in high volatility
4️⃣ MULTIPLE TAKE-PROFIT LEVELS (TP1 / TP2 / TP3)
- Three progressive profit targets for scaling out
- TP1 (1.5× ATR): First partial profit
- TP2 (2.5× ATR): Secondary scale-out
- TP3 (4.0× ATR): Final target or runner
- Dashed lines with labels on the current bar
- Automatically aligns with trend direction
- Fully customizable multipliers
5️⃣ SUPPORT & RESISTANCE LEVELS
- Dynamic S/R detection using price extremes
- ATR-weighted significance filtering
- Adjustable lookback period (10–100 bars)
- Circle markers for visual clarity
- Updates in real time as new highs/lows form
6️⃣ RISK MANAGEMENT CALCULATOR
- Real-time position-size calculation
- Based on account size, risk percentage, and ATR stop distance
- Formula: Position Size = Risk Amount ÷ Stop Distance
- Example: $10,000 account, 1% risk, $50 stop = 200 shares
- Displays position size and dollar risk directly on chart
- Ensures consistent risk across all trades
7️⃣ ATR PERCENTILE RANKING
- Shows where current ATR ranks historically (0–100%)
- Above 80%: Extremely high volatility
- 20–80%: Normal volatility
- Below 20%: Extremely low volatility
- Adjustable lookback (50–500 bars)
- Alerts trigger at above 90% and below 10% extremes
- Adds context to all regime-based decisions
8️⃣ VOLATILITY CONTRACTION PATTERN
- Detects tight consolidation (volatility squeeze)
- Requires consecutive bars of low ATR
- Default: 7 bars below 50% of average ATR
- Yellow triangle alert when pattern completes
- Often precedes strong breakout moves
- Works on all timeframes
9️⃣ TREND DETECTION SIGNALS
- Up and down arrows on trend change with rising ATR
- Combines price direction with volatility confirmation
- Smoothing filters reduce false signals
- Green arrow for bullish, red arrow for bearish
🔟 VOLATILITY BREAKOUT SIGNALS
- Circle markers when ATR exceeds threshold
- Default threshold: 1.5× ATR average
- Indicates surge in market activity
- Can signal the start of new trends
🧠 RECOMMENDED SETTINGS BY TRADING STYLE
Day Trading (1m–15m)
ATR Length: 14
Regime Baseline: 30
SL Multiplier: 1.5–2.0
TP: 1.5 / 2.5 / 4.0
Risk: 0.5–1%
Swing Trading (1H–4H)
ATR Length: 14
Regime Baseline: 50
SL Multiplier: 2.0–2.5
TP: 2.0 / 3.5 / 6.0
Risk: 1–2%
Position Trading (Daily)
ATR Length: 14–21
Regime Baseline: 100
SL Multiplier: 2.5–3.0
TP: 3.0 / 5.0 / 8.0
Risk: 2–3%
Scalping (15s–5m)
ATR Length: 10
Regime Baseline: 20
SL Multiplier: 1.0–1.5
TP: 1.0 / 1.5 / 2.5
Risk: 0.5–1%
🧭 HOW TO USE
1. Identify the current volatility regime
2. Wait for entry confirmation (breakouts, trend arrows, contraction patterns)
3. Set stop loss using dynamic ATR-based levels
4. Scale out at TP1, TP2, TP3 or use ATR bands
5. Use the risk calculator for consistent position sizing
6. Monitor regime changes and manage exposure accordingly
🚨 ALERT SYSTEM
Alerts included for volatility breakouts, trend changes, regime transitions, ATR band crosses, contraction pattern completion, and ATR percentile extremes.
All alerts are fully configurable in TradingView.
🎨 VISUAL GUIDE
Background colors: Volatility regimes
Solid lines: ATR bands
Dotted lines: Latest TP points
Dashed lines: Take-profit levels
Cross markers: Stop-loss levels
Circles: Support, resistance, and breakouts
Arrows: Trend direction
Diamonds: Regime changes
Triangles: Contraction alerts
Labels: Regime info, ATR percentile, position size
🛠️ CUSTOMIZATION
- Toggle any feature on or off
- Adjust all thresholds and multipliers
- Customize colors
- Configure alerts
- Set account size and risk parameters
⚠️ IMPORTANT NOTES
- This indicator provides analytical tools, not trading signals
- Always apply proper risk management
- Backtest before live use
- ATR adapts to volatility, not direction
If you find this indicator useful, please leave a rating and comment ⭐
XAUUSD Time Structure (VN, Auto DST, Clean)A clean, line-only session timing tool for XAUUSD in Vietnam time (Asia/Ho_Chi_Minh). Draws faint vertical dotted lines for key time boundaries: Asia range, EU pre-market, London decision, and NYMEX expansion. Includes automatic DST switching for London and New York. For educational purposes only.
15M Swing Sweep Lines + SMT (ES vs NQ)15M Swing Sweep Lines (NY Killzones)Visualize liquidity sweeps of 15-minute swing highs/lows exclusively during high-impact London & New York killzones.This ICT-inspired indicator detects when price sweeps (wicks beyond) the most recent confirmed 15-minute swing high or low — classic signs of liquidity raids or stop hunts — but only if the sweep happens during key "killzone" sessions where institutional activity is typically highest.Key Features15M Swing Detection: Uses confirmed pivot highs/lows (length 2) on the 15-minute timeframe for reliable structure points.
Killzone Filters (New York time):London Killzone: 3:00 AM – 4:59 AM
New York Killzone: 9:30 AM – 10:59 AM (captures the high-volatility NY open overlap)
Sweep Visualization:Bearish Sweep (high > last 15M swing high): Thick red horizontal line from the swing point to the sweep bar.
Bullish Sweep (low < last 15M swing low): Thick green horizontal line from the swing point to the sweep bar.
Lines use xloc.bar_time for precise placement and extend only to the bar where the sweep occurs.
No duplicates: Prevents multiple lines for the same swing sweep.
Non-repainting logic with lookahead_off for clean, trustworthy signals.
Why Killzones MatterMany ICT/SMC traders focus on these windows because they often feature aggressive manipulation, equal highs/lows sweeps, and the setup for strong directional moves. This tool helps you instantly spot when buy-side or sell-side liquidity has been raided on the 15M structure during these prime times.Ideal ForConfirming potential reversals or inducements after liquidity grabs.
Adding confluence to entries during London or NY sessions.
Futures traders (ES, NQ, etc.) looking for clean visual cues of smart money engineering.
Lightweight, overlay-friendly, and focused — add it to your chart for clearer insight into 15M liquidity sweeps when it matters most. Perfect companion for killzone-based strategies!
tncylyv - Improved Delta Volume BubbleThis script is a specialized modification and structural upgrade of the excellent "Delta Volume Bubble " by tncylyv.
While the original tool provided a fantastic foundation for statistical volume analysis, this "Zero Float" Edition was built to solve specific visual challenges faced by active traders—specifically the issue of indicators "floating" or disconnecting from price when zooming in on lower timeframes.
The Straight Improvements
This version turns a "Signal Indicator" into a complete "Trading System" with five specific upgrades:
1. Visual Stability (The "Zero Float" Fix)
Original: Used complex coordinates that could desynchronize, causing bubbles to drift or float away from candles on fast charts (1m/5m).
My Upgrade: Implemented "Magnetic Anchoring." Labels and bubbles are now physically locked to the candle wicks. They never drift, overlap, or float, no matter how much you zoom or resize the chart.
2. Cognitive Load (The HUD)
Original: Displayed raw numbers inside colored circles, requiring you to memorize color codes.
My Upgrade: Replaced numbers with Semantic Text Labels (e.g., "ABSORB", "SQUEEZE", "MOMENTUM"). You can read the market intent instantly without decoding it.
3. Regime Adaptation (AI Engine)
Original: Used a fixed threshold (e.g., Z-Score > 2.0).
My Upgrade: Added an Adaptive Learning Window. The script scans recent volatility to automatically raise the threshold during choppy markets (filtering noise) and lower it during quiet sessions (catching subtle entries).
4. Market Memory (Smart Structure)
Original: Signals disappeared into history.
My Upgrade: Draws Support/Resistance Rails extending from major volume events. This helps you visualize exactly where institutions are defending their positions.
5. Robust Data Handling
My Upgrade: Added a Hybrid Fallback Engine. If granular 1-minute data isn't available (e.g., on historical charts), the script seamlessly switches to an estimation model so the indicator never "breaks" or disappears.
Core Logic
Z-Score Normalization: We don't look at raw volume; we look at statistical anomalies (Standard Deviations).
Absorption: Detects "Effort vs. Result"—high volume with tiny price movement (Trapped Traders).
Squeeze: Highlights areas where a breakout is imminent due to volatility compression.
Credits
Original Concept & Code: tncylyv (Delta Volume Bubble ). This script would not exist without his brilliant groundwork.
Modifications: Visual Anchoring, HUD Text System, AI Thresholding, and Structure Rails added in this edition.
This script is open-source to keep the spirit of the original author alive. Use it to understand the "Why" behind the move.
IFVG BIASIFVG Bias Dashboard (15M / 30M / 1H / 4H)A clean, multi-timeframe ICT-inspired directional bias dashboard based on Implied Fair Value Gaps (IFVG).This indicator tracks the current bullish or bearish bias derived from the most recent valid Implied Fair Value Gap on four key higher timeframes: 15-minute, 30-minute, 1-hour, and 4-hour. It displays the results in an easy-to-read table directly on your chart — perfect for quickly assessing alignment across timeframes without switching charts.How It Works (ICT-Style IFVG Logic)Detects classic three-candle IFVGs:Bullish IFVG: Current low > high two bars ago (aggressive buying leaving an inefficiency).
Bearish IFVG: Current high < low two bars ago (aggressive selling).
When an IFVG forms, it sets the bias to match its direction (Bullish = +1, Bearish = -1).
The bias remains persistent until either:A new IFVG forms in the opposite direction, or
Price closes beyond the opposite boundary of the current IFVG (mitigation/invalidation), which flips the bias.
This creates a simple yet effective "last valid IFVG" bias that only changes on meaningful price action.
FeaturesMulti-timeframe analysis via request.security() on 15M, 30M, 1H, and 4H.
Compact table in the top-right corner showing:Timeframe (TF)
Current Bias: "Bullish" (solid green background) or "Bearish" (solid red background)
No repainting on historical bars; table updates only on the last confirmed bar.
Lightweight and overlay-friendly — does not draw boxes or lines, focusing purely on bias direction.
Ideal ForICT / Smart Money Concepts (SMC) traders looking for higher-timeframe confluence.
Confirming trend direction before taking lower-timeframe entries.
Spotting potential bias shifts when an IFVG is mitigated on higher timeframes.
A straightforward tool for staying aligned with institutional order flow inefficiencies across multiple timeframes. Add it to your chart and instantly see where the bias stands!
HTF Fractal Boxes by TAAKOWhat This Indicator Does
This indicator displays higher timeframe (HTF) candlesticks as an overlay on your current chart, allowing you to see larger timeframe price action without switching charts.
Key Features:
Shows the last 3 completed HTF candles (configurable)
Displays a 4th candle with dashed lines showing the current forming HTF bar
Each candle includes full OHLC data: body (open/close) and wicks (high/low)
Candles are color-coded: green for bullish, red for bearish, blue for neutral
Positioned on the right side of your chart for easy reference
Automatically scales with your Y-axis price movements
ADX Regime (5m) Companion PaneADX Regime Filter (5-Minute) — Trade Permission Indicator
This indicator is a market regime filter designed to answer one question only:
Is this market worth trading right now?
It is built specifically for intraday futures trading, with a strong focus on Gold (GC / MGC) and prop-firm style discipline.
What This Indicator Does
This ADX indicator does not give buy or sell signals.
Instead, it tells you when to trade and when to stand down.
Gold spends a large portion of the day in compression or VWAP chop.
Trading during those periods destroys consistency and drawdown control.
This indicator helps you avoid those conditions.
How ADX Is Used Here
ADX is calculated on the 5-minute timeframe
It measures trend strength and expansion, not direction
Direction should come from structure or higher-timeframe bias, not ADX
ADX is used strictly as a permission filter.
ADX Zones Explained
The indicator includes clear horizontal reference levels:
Below 18
Compression / chop
No trade environment
20 to 35
Optimal expansion zone
Best conditions for pullbacks and continuations
35 to 45
Strong trend
Trade cautiously or only first pullbacks
Above 45
Late expansion or news-driven volatility
No new entries recommended
These zones are visual guides to keep trading decisions objective.
What This Indicator Is NOT
It is not a signal generator
It is not an entry tool
It is not predictive
ADX does not tell you what direction to trade.
It tells you whether trading is allowed at all.
Best Practices
Use ADX on the 5-minute chart
Combine it with:
Higher-timeframe trend
VWAP or key levels
Clear price action
If ADX is below 18, standing aside is a valid trade decision
Who This Indicator Is For
Futures traders
Prop firm traders
Traders who value:
Capital protection
Fewer but higher-quality trades
Consistency over activity
Core Principle
ADX is a gatekeeper.
When it says no, you do nothing.
When it says yes, you still wait for structure and location.
This mindset alone can dramatically improve discipline and results.
GC/MGC VWAP Pullback + ADX Regime (Prop-Safe)GC / MGC VWAP Pullback + ADX Regime Strategy (Prop-Safe)
This strategy is designed specifically for Gold futures (GC & MGC) and prop firm trading, where capital preservation, consistency, and avoiding chop matter more than trade frequency.
The core philosophy is simple:
Only trade gold when it is expanding, aligned, and at the right location.
Strategy Concept
Gold moves in bursts, not constantly.
Most losses come from trading compression, VWAP chop, or late momentum.
This strategy filters those environments out and trades only:
Strong intraday momentum
Clear higher-timeframe direction
First pullbacks to VWAP
Clean price rejection with follow-through
It intentionally produces fewer but higher-quality trades.
Market Regime Filter (ADX)
ADX is evaluated on the 5-minute chart
This is the trade permission filter
ADX zones:
Below 18 → No trade (compression / chop)
20–35 → Optimal trading zone
35–45 → Caution (strong trend, reduced opportunity)
Above 45 → No new entries (late expansion / news risk)
ADX does not determine direction.
It only determines whether trading is allowed.
Direction Filter (Higher Timeframe)
Direction comes from the 1-Hour chart
EMA 20 above EMA 50 → Long bias only
EMA 20 below EMA 50 → Short bias only
Optional slope confirmation for additional strictness
No counter-trend trades.
Entry Logic (5-Minute Chart)
Trades are taken using a VWAP pullback continuation model.
Long Setup
ADX between 20–35
1H EMA 20 > EMA 50
Price pulls back to VWAP
Bullish rejection candle at VWAP
Entry on break of the rejection candle high
Short Setup
ADX between 20–35
1H EMA 20 < EMA 50
Price pulls back to VWAP from below
Bearish rejection candle at VWAP
Entry on break of the rejection candle low
All entries use stop orders, not market orders, to ensure follow-through.
Risk Management
Stop loss is placed beyond the rejection candle
Partial profit at 1R
Final target at 2R
No pyramiding
One clean setup is preferred over multiple trades
This structure aligns well with prop firm rules, trailing drawdowns, and consistency requirements.
What This Strategy Avoids
VWAP chop
Range-bound sessions
Overtrading
Late entries after news spikes
Counter-trend setups
If conditions are not ideal, no trade is the correct trade.
Best Use Case
Instruments: GC, MGC
Timeframe: 5-minute
Style: Intraday, prop-firm friendly
Ideal for traders who value:
Discipline
Structure
Capital protection
Kalman Hull Kijun [BackQuant]Kalman Hull Kijun
A trend baseline that merges three ideas into one clean overlay, Kalman filtering for noise control, Hull-style responsiveness, and a Kijun-like Donchian midline for structure and bias.
Context and lineage
This indicator sits in the same family as two related scripts:
Kalman Price Filter
This is the foundational building block. It introduces the Kalman filter concept, a state-estimation algorithm designed to infer an underlying “true” signal from noisy measurements, originally used in aerospace guidance and later adopted across robotics, economics, and markets.
Kalman Hull Supertrend
This is the original script made, which people loved. So it inspired me to create this one.
Kalman Hull Kijun uses the same core philosophy as the Supertrend variant, but instead of building a Supertrend band system, it produces a single structural baseline that behaves like a Kijun-style reference line.
What this indicator is trying to solve
Most trend baselines sit on a bad trade-off curve:
If you smooth hard, the line reacts late and misses turns.
If you react fast, the line whipsaws and tracks noise.
Kalman Hull Kijun is designed to land closer to the middle:
Cleaner than typical fast moving averages in chop.
More responsive than slow averages in directional phases.
More “structure aware” than pure averages because the baseline is range-derived (Kijun-like) after filtering.
Core idea in plain language
The plotted line is a Kijun-like baseline, but it is not built from raw candles directly.
High level flow:
Start with a chosen price stream (source input).
Reduce measurement noise using Kalman-style state estimation.
Add Hull-style responsiveness so the filtered stream stays usable for trend work.
Build a Kijun-like baseline by taking a Donchian midpoint of that filtered stream over the base period.
So the output is a single baseline that is intended to be:
Less jittery than a simple fast MA.
Less laggy than a slow MA.
More “range anchored” than standard smoothing lines.
How to read it
1) Trend and bias (the primary use)
Price above the baseline, bullish bias.
Price below the baseline, bearish bias.
Clean flips across the baseline are regime changes, especially when followed by a hold or retest.
2) Retests and dynamic structure
Treat the baseline like dynamic S/R rather than a signal generator:
In uptrends, pullbacks that respect the baseline can act as continuation context.
In downtrends, reclaim failures around the baseline can act as continuation context.
Repeated back-and-forth around the line usually means compression or chop, not clean trend.
3) Extension vs compression (using the fill)
The fill is meant to communicate “distance” and “pressure” visually:
Large separation between price and baseline suggests expansion.
Price compressing into the baseline suggests rebalancing and decision points.
Inputs and what they change
Kijun Base Period
Controls the structural memory of the baseline.
Higher values track broader swings and reduce flips.
Lower values track tighter swings and react faster.
Kalman Price Source
Defines what data the filter is estimating.
Close is usually the cleanest default.
HL2 often “feels” smoother as an average price.
High/Low sources can become more reactive and less stable depending on the market.
Measurement Noise
Think of this as the main smoothness knob:
Higher values generally produce a calmer filtered stream.
Lower values generally produce a faster, more reactive stream.
Process Noise
Think of this as adaptability:
Higher values adapt faster to changing conditions but can get twitchy.
Lower values adapt slower but stay stable.
Plotting and UI (what you see on chart)
1) Adaptive line coloring
Baseline turns bullish color when price is above it.
Baseline turns bearish color when price is below it.
This makes the state readable without extra panels.
2) Gradient “energy” fill
Bull fill appears between price and baseline when above.
Bear fill appears between price and baseline when below.
The goal is clarity on separation and control, not decoration.
3) Rim effect
A subtle band around price that only appears on the active side.
Helps highlight directional control without hiding candles.
4) Candle painting (optional)
Candles can be colored to match the current bias.
Useful for scanning many charts quickly.
Disable if you prefer raw candles.
Alerts
Long state alert when price is above the baseline.
Short state alert when price is below the baseline.
Best used as a bias or regime notification, not a standalone entry trigger.
Where it fits in a workflow
This is a context layer, it pairs well with:
Market structure tools, BOS/MSB, OBs, FVGs.
Momentum triggers that need a regime filter.
Mean reversion tools that need “do not fade trends” context.
Limitations
No baseline eliminates chop whipsaws, tuning only manages the trade-off.
Settings should not be copy pasted across assets without checking behavior.
This does not forecast, it estimates and smooths state, then expresses it as a structural baseline.
Disclaimer
Educational and informational only, not financial advice.
Not a complete trading system.
If you use it in any trading workflow, do proper backtesting, forward testing, and risk management before any live execution.
Buying Opportunity Score V2.2Buying Opportunity Indicator V2.2
What This Indicator Does
This indicator identifies potential buying opportunities during market fear and pullbacks by combining multiple technical signals into a single composite score (0-100). Higher scores indicate more fear/oversold conditions are present simultaneously.
Why These Components?
Market bottoms typically occur when multiple fear signals align. This indicator combines five complementary measurements that each capture different aspects of market stress:
1. VIX Level (30 points) - Measures implied volatility/fear. VIX spikes during selloffs as traders buy protection. Thresholds based on historical percentiles (VIX 25+ is ~85th percentile historically).
2. Price Drawdown (30 points) - Distance from 52-week high. Larger drawdowns create better risk/reward for mean reversion entries. A 10%+ drawdown from highs historically presents better entry points than buying at all-time highs.
3. RSI 14 (12 points) - Classic momentum oscillator measuring oversold conditions. RSI below 30 indicates short-term selling exhaustion.
4. Bollinger Band Position (13 points) - Statistical measure of price extension. Price below the lower band (2 standard deviations) indicates statistically unusual weakness.
5. VIX Timing (15 points) - Bonus points when VIX is declining from a recent peak. This helps avoid catching falling knives by waiting for fear to subside.
How The Score Works
- Each component contributes points based on severity
- Components are weighted by predictive value from historical analysis
- Score of 70+ means multiple fear signals are present
- Score of 80+ means extreme fear across most components
How To Use
1. Apply to SPY, QQQ, or IWM on daily timeframe
2. Monitor the Current Score in the statistics table
3. Scores below 50 = normal conditions, no action needed
4. Scores 60-69 = elevated fear, monitor closely
5. Scores 70+ = consider entering long positions
6. Scores 80+ = strongest historical entry points
Important Limitations
- This is a research tool, not financial advice
- Past patterns may not repeat in the future
- Signals are infrequent (typically 2-4 per year reaching 70+)
- Works best on broad market ETFs; not validated for individual stocks
- Always use proper position sizing and risk management
- The indicator identifies conditions that have historically been favorable, but cannot predict future returns
Statistics Table
The table shows:
- Current Score with context message
- Chart Results: Rolling 1Y/3Y/5Y statistics from your loaded chart data
Alerts
Multiple alert options available for different score thresholds.
Open Source
Code is fully visible for review and educational purposes.
Relative Volume Context [Alturoi]Relative Volume Context is an advanced volume analysis indicator designed to help traders understand whether current volume is truly unusual—or simply normal for that moment in time.
Unlike traditional volume or basic relative volume tools, this indicator models expected volume based on historical time-based behavior (minutes, hours, days, sessions) and compares it directly to what is happening now.
The result is clear, structured insight into:
Unusual participation
Abnormal activity
Quiet vs active market conditions
When volume confirms price —and when it doesn’t
This tool is built for day traders and swing traders who want volume context , not just volume bars.
📌 What Problem This Indicator Solves
Raw volume is deceptive.
High volume at the open, low volume at lunch, and rising volume into the close are normal market behaviors —yet most indicators treat them as equal.
Relative Volume Context fixes this by asking a better question:
“Is today’s volume high or low compared to what normally happens at this exact time?”
By conditioning volume expectations on time and session structure , the indicator filters out noise and highlights moments where participation genuinely deviates from the norm.
🧩 How Relative Volume Context Works (Conceptually)
At its core, the indicator compares:
Actual Volume
Expected Volume for this time bucket
A time bucket can include combinations such as:
Minute of the hour
Hour of the trading day
Day of the week or month
Broader calendar structure (months / quarters)
Expected volume is calculated using historical data for that same bucket , creating a fair, apples-to-apples comparison.
This produces several meaningful outputs:
Expected Volume: the typical volume level for the current time context.
Difference: actual minus expected.
Surprise (%): a normalized measure of how large the deviation is relative to expectation.
Z-Score (Mean mode): a statistical measure of how extreme current volume is compared to its historical distribution.
Sample Size & Confidence: transparency into how much historical data supports the expectation.
🧠 Built for Clarity and Performance
Efficient data handling for intraday charts
Adaptive period selection (Auto Selection)
Optional forecast of expected future volume
Clean HUD showing context, confidence, and interpretation
🛠 How to Use It (Best Practices)
Use it with price , not instead of price.
Treat high readings as context , not automatic signals.
Combine with structure, levels, and market conditions.
Pay attention to Confidence / N before trusting extreme readings.
Avoid over-interpreting early history with low sample sizes.
👥 Who This Indicator Is For
Day traders trading U.S. equities
Swing traders monitoring participation and follow-through
Traders who value context over hype
Users who want transparency, not black-box signals
Subscribe to Alturoi ’s private, invite-only indicators designed to support informed trading decisions.
Volume is most powerful when it explains why price is moving—not when it’s used in isolation.
📊 Understanding the HUD: What Each Metric Actually Means
The HUD is designed to answer one core question:
“Is this volume unusual in a way I should care about?”
Raw volume on its own is misleading. Each field in the HUD exists to remove a specific form of self‑deception and replace it with context you can reason about.
🧭 Bucket — Unusual compared to when?
Volume has a strong time structure. A spike at 9:31 AM means nothing unless it’s compared to other 9:31 AM bars — not lunch hours, not overnight, not Fridays.
The bucket defines the comparison group:
Same minute of the hour
Same hour of the day
Same day of the week, month, or quarter
Without this, expected volume becomes a global average — statistically wrong and operationally misleading.
⚙️ Method (Mean vs Percentile) — What kind of “normal” am I using?
Different methods answer different trading questions:
Mean: fast, stable, symmetric, and enables Z‑scores. Best when volume distributions are smooth.
Percentile: robust to outliers and news spikes. Answers how rare this volume is historically.
Mean measures deviation from equilibrium. Percentile measures rarity. If you don’t know the method, you can’t interpret the signal correctly.
🔢 N (Sample Size) — Is this statistic even trustworthy?
Statistics without sample size are vibes.
N = 12 → noise dressed as math
N = 200 → structure
Two identical surprise readings with different N values are not the same signal. This single number prevents false confidence.
📐 Confidence — How much weight should I give this?
Confidence is a human‑readable compression of N:
Low → exploratory only
Medium → usable with context
High → structurally reliable
This isn’t judgment — it’s statistical humility.
📊 Expected — Expected relative to what baseline?
Expected volume is the anchor of everything else.
Without seeing it:
You can’t tell whether surprise comes from a low or high base
You can’t sanity‑check the model
If Expected looks wrong, the signal is wrong — full stop.
⭐ Surprise (%) — How large is the deviation in practical terms?
Raw differences don’t scale. Surprise % normalizes across symbols, timeframes, and regimes.
A +80% surprise on SPY at 10:15 matters. A +5% surprise usually doesn’t. This is the actionability metric.
📐 Z‑Score — Is this statistically extreme or just mildly off?
Z‑score adds distribution context:
0.5σ → normal fluctuation
2σ → uncommon
3σ → rare, regime‑relevant
Two bars can share the same % surprise but have very different Z‑scores if volatility differs. Z tells you whether the market itself considers this bar “weird.”
The deeper point
Most volume indicators stop at: “Volume is high.”
Relative Volume Context forces the harder, more honest question:
“High compared to what, how rare, and how reliable is that comparison?”
That’s the difference between decorative indicators and decision‑support instruments .
🔍 Why This Matters for Day & Swing Traders
Relative Volume Context is not a signal generator . It is a decision-support tool .
Practical uses include:
Identifying unusual participation during breakouts or breakdowns
Distinguishing real interest from routine session volume
Avoiding false confidence in moves occurring on “normal” volume
Spotting regime shifts or news reactions (participation shocks)
Understanding when low volume truly signals lack of interest
Used correctly, it helps traders answer:
“Is this move being supported by abnormal activity, or is it just time-of-day noise?”
Disclaimer: This indicator is provided for educational and informational purposes only and does not constitute financial or investment advice. Trading involves risk, and past market behavior does not guarantee future results. Always use proper risk management and independent judgment.
Biotech Volume Oscillator1️⃣ What This Indicator Is (In One Sentence)
It tells you whether people are actually showing up to trade the stock, or if price is just drifting around on low interest.
That’s it.
It does not predict price.
It tells you whether a move is real or fragile.
2️⃣ What the Lines Mean
You see two lines:
🔵 Blue Line = Live Participation
Fast
Reacts immediately
Shows what traders are doing right now
Think:
“Is anyone actually trading this candle?”
🟠 Orange Line = Accepted Participation
Slower
Smoothed
Shows what the market has decided is normal
Think:
“Is this level of activity sticking?”
3️⃣ What the Numbers Mean (Very Important)
The numbers are percentages vs normal volume for this stock.
Around 0
Volume is normal
Nothing special happening
+10 to +25
Healthy interest
Traders are paying attention
Moves can continue
Above +25
Abnormal participation
News, hype, or institutions involved
Moves here tend to be fast
Below –20
Participation drying up
Drift, chop, fake breakouts
Below –30
Nobody is home
Price can move, but it’s fragile
Breakouts usually fail
4️⃣ How to Use It (Step-by-Step)
Step 1: Ignore Price for a Second
Look only at the oscillator.
Ask:
“Is this above zero or below zero?”
Step 2: Look at Direction
Rising oscillator → interest increasing
Falling oscillator → interest fading
Step 3: Compare Blue vs Orange
✅ Good / Healthy
Blue above orange
Both rising
→ New participation is entering
⚠️ Warning
Price rising
Blue flat or falling
Orange flat
→ Float, not conviction
🚨 Distribution
Blue rolls over from high levels
Orange follows
Price still looks “fine”
→ Selling into strength
Biotech Volume Oscillator
This oscillator is percentage-based, not raw volume.
Key Levels (Rules of Thumb)
Above +25 → abnormal participation (real interest)
+10 to +25 → constructive, but not decisive
Around 0 → drift / float
Below –25 → participation drying up
These levels work well for:
Small-cap biotech
Catalyst setups
Pre-data ramps
How You’d Use This With RSI (Your Exact Setup)
Bullish / Valid Move
RSI above 50
RSI purple > yellow
Biotech Volume Osc above +10 and rising
➡️ Move has sponsorship
Fake / Suspect Move
Price up
RSI flat or diverging
Volume Osc near 0 or falling
➡️ Float + headline + thin liquidity
Distribution Signal (Very Useful)
Price makes higher high
RSI fails to confirm
Volume Osc rolls over from +25
➡️ Selling into strength
➡️ Excellent context for sell orders like your 7.75
Drawdown % + STD Bands: Log-Scale Macro ToolDrawdown % + STD Bands: Log-Scale Macro ToolDescription: The exact indicator big-macro accounts use: tracks real-time drawdown from the rolling 252-period peak, then plots -1σ (blue) and -2σ (orange) bands on a clean percent scale. Built for weekly charts-shows if a stock, index, or crypto is statistically cheap (hit -1σ) or generational-buy territory (-2σ). Works flawlessly on SPX, Nasdaq, Bitcoin, Gold, Tesla... anything. How to Use (read it aloud like a voice memo): 1. Slap this under any chart, set to weekly timeframe . 2. Flip the price pane to log scale -zero negotiations. 3. Watch the thick red line: • Hovering 0 %? Bullish noise, chill. • Kissing blue (-10 % to -25 %)? Start loading-happens every 1-2 years. • Touching orange (-30 %+)? Panic sale finished. Buy like rent money's burning a hole. 4. Zoom out five-ten years; monthly works too if you want lazy vibes. Daily? Trash-too twitchy. Pro tip: Name your watchlist Panic Plays, drop this in, and ping me when MELI or GOOGL hits orange. I'll confirm if it's actually stupid-cheap.
Position Avg Line + P/L Table - SightLine LabsPosition Avg – SLL is a lightweight position-tracking indicator designed to display a persistent average price level on the chart along with a real-time position summary table.
This script is non-trading and does not generate signals, entries, or exits. It is intended strictly for position awareness and visual reference.
What this indicator does:
Plots a persistent horizontal average price line (dashed by default)
Displays a live position statistics table showing:
Shares owned
Average price
Current price
Unrealized profit/loss in dollars
Unrealized profit/loss in percent
Updates automatically as price changes
Works across all timeframes
Does not depend on broker integration or strategy logic
Key features:
Average Price Line:
User-defined average price input
Persistent across the entire chart
Adjustable color and width
Visibility toggle
Position Table:
Six selectable table positions:
Top Left, Top Center, Top Right, Bottom Left, Bottom Center, Bottom Right
Adjustable text size (Tiny through Huge)
Optional table background fill
Optional inner grid lines
Optional outer frame border
Independent color control for:
Header background
Header text
Value text
Positive and negative P/L values
Chart Overlay Options:
Optional chart background tint
Does not modify the global chart theme
Inputs overview:
Position Settings:
Shares Owned
Average Price
Visual Settings:
Show or hide average price line
Line color and width
Table Settings:
Table position
Table text size
Color Settings:
Header background and text colors
Value text color
Positive and negative P/L colors
Optional table background, grid, and frame colors
How to use:
Add the indicator to a chart
Open the settings panel
Enter the number of shares and the average price
Adjust table position, size, and colors as desired
Use the average price line and table as a visual reference for trade and risk management
Notes and limitations:
This indicator does not place trades
It does not connect to any broker
All values are manually entered
Unrealized P/L is calculated using the chart’s current price
Commissions, fees, and slippage are not included
Disclaimer:
This script is provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or trade signals. All trading decisions are the sole responsibility of the user.
Developed by SightLine Labs.






















