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.
Análise de Tendência
Price Action ICT SMC - Crypto Lidya (Lite)Price Action • ICT • SMC — Crypto Lidya (Lite)
Short title: PA Lite — Crypto Lidya
ONE CHART. ONE FLOW. TEXTBOOK PA + ICT + SMC.
This is not “more drawings”. It’s a structured, rule-based framework that merges:
Market Structure + Liquidity + Confirmation → into a single decision flow.
Core textbook sequence:
Liquidity → (IDM) → Displacement → CHoCH / BOS → Return to PD / OB / FVG / BPR
Built for traders who want clean context, multi-timeframe discipline, and professional-grade confluence
without turning the chart into a mess.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT YOU GET (HIGHLIGHTS)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Market Structure engine: CHoCH + BOS with configurable confirmation logic
- Liquidity context: EQH/EQL sweeps + deterministic “linking” to structure breaks
- HTF Bias (Regime Filter): optional direction gating for cleaner, textbook alignment
- TF Bias Table (Multi-TF dashboard): “at-a-glance” bias stacking with reasons
- PD Range (Premium/Discount): dealing-range alignment filter (OB / FVG or both)
- Displacement filter: impulse-quality confirmation (Body% / ATR / Close-position)
- Killzones / Sessions: time-window validation (London / NY AM / NY PM)
- FVG + BPR: imbalance mapping + balanced range overlap logic
- OB / BB engine: source models, refinement, quality filters, strength scoring, overlap pruning
- Alerts + Webhook-ready output: Human / JSON format, HTF gate, cooldown controls
“Structure + Liquidity + Confirmation in one workflow (no clutter).”
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
QUICK START (RECOMMENDED FLOW)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1) Performance
- Set Lookback Window (bars) to match your chart speed/history needs.
- View when “Lookback Window (bars)” is increased (with “Limit to Nearest” OFF / all zones visible).
- View when “Lookback Window (bars)” is decreased (with “Limit to Nearest” OFF / all zones visible).
2) Regime & Multi-TF Context (ICT)
- Enable HTF Bias if you want direction filtering.
- Use TF Bias Table to verify alignment across your chosen timeframes.
3) Timing Filter (Optional)
- Enable Killzones / Sessions to focus on high-liquidity delivery windows.
4) Confirmation Quality
- Enable Displacement filter to reduce range noise / weak breaks.
5) Structure Execution (SMC)
- Use CHoCH / BOS for the “break confirmation” layer.
- Use Buffers / Confirm Modes for stricter or faster validation.
6) Zones & Returns
- Use PD Range to validate where setups “should” form (Premium/Discount).
- Map FVG / BPR and OB / BB for return-to-zone models.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MODULES (TEXTBOOK EXPLANATION)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1) HTF BIAS (REGIME FILTER)
HTF Bias acts as your directional framework (macro context).
When enabled, signals can be suppressed if they conflict with the HTF direction.
Two professional ways to define bias (you choose via Trend Mode):
A) Swing Structure Bias (HH/HL – LH/LL) — “stable”
- Uptrend requires HH + HL confirmation
- Downtrend requires LL + LH confirmation
- Best when you want fewer, higher-quality flips
B) Legacy / Break of Extreme — “faster”
- Bias can flip as soon as a new pivot breaks the last major extreme
- Best for aggressive / fast markets (but can be noisier)
2) TF BIAS TABLE (MULTI-TIMEFRAME DASHBOARD)
The TF Bias Table is built for disciplined multi-timeframe execution:
- Answers “Are higher TFs aligned?” in seconds
- Helps you avoid taking LTF triggers against HTF context
- Can show reasoning text (optional) to keep the logic transparent
Bias calculation options (Table Bias Mode):
- Swing Structure Bias (HH/HL – LH/LL): more stable, flips later
- Structure-Scope Bias (msStructScope aligned): follows your chosen structure scope and flips faster
Hybrid rule is deterministic:
External dominates; if External is not ready, fallback to Internal.
Provisional Bias (UI only, optional):
- If pivots are not fully confirmed, the table can display a provisional bias based on HTF candle direction
- UI only (does not change signals)
3) PD RANGE (PREMIUM / DISCOUNT)
PD Range defines where price is “dealing” relative to its midpoint (50%):
- Bullish context → Discount is preferred
- Bearish context → Premium is preferred
You can apply PD filtering to:
- OB + FVG (default), OB only, or FVG only
Optional strict mode:
- Require the level/zone to remain fully inside the dealing range (more textbook)
“Discount buys / Premium sells with a clear dealing range reference.”
4) DISPLACEMENT (IMPULSE CONFIRMATION)
Displacement filter keeps breaks “honest”.
CHoCH/BOS confirms only if the break candle shows real intent:
- Body dominance (Body% rule)
- Volatility expansion (ATR multiple rule)
- Close position in break direction (optional strictness)
This is designed to reduce fake breaks in ranges and thin-liquidity periods.
“Impulse-quality break passes; weak range poke fails.”
5) KILLZONES / SESSIONS (TIME-WINDOW VALIDATION)
Session gating is a professional timing filter:
- Validate structure breaks/sweeps only inside enabled windows
- Focus execution during high-liquidity delivery hours (London / NY AM / NY PM)
“Cleaner signals when you trade only the active delivery windows.”
- Normal vs Killzone:
6) MARKET STRUCTURE (CHoCH / BOS)
CHoCH (Change of Character):
- Signals a character shift by breaking a key protected point (optionally)
BOS (Break of Structure):
- Confirms continuation breaks in the current structure direction
Confirmation controls:
- Close / Wick / Body / combined modes
- Optional buffers (Ticks or Percent) to reduce micro-noise
Optional Protected Swing Mode:
- Uses protected HL/LH as reference (closer to classic SMC)
7) LIQUIDITY (EQH/EQL SWEEPS + LINKING)
Liquidity sweeps identify stop-runs / grabs around equal highs/lows:
- Wick Only: faster tagging
- Wick + Close Back: more textbook (grab + rejection)
Link Window (bars) ties a sweep to the next CHoCH/BOS:
- Smaller window = stricter context
- Larger window = more permissive linking
8) FVG + BPR (IMBALANCE & REBALANCE)
FVG (Fair Value Gap):
- Shows active imbalances and mitigation behavior
- Optional size filter (Percent / ATR / Ticks / Absolute)
BPR (Balanced Price Range):
- Overlap zone formed by Bull FVG + Bear FVG
- Used as a confluence zone for rebalance and continuation models
9) OB / BB (ZONES)
Order Blocks (OB):
- Anchored to BOS/CHoCH breaks or derived from displacement candles (source mode)
- Refinement modes: Body / Wick / Mean Threshold
- Optional quality filter (Balanced / Strict, etc.)
- Strength scoring + confluence bonuses (FVG overlap, liquidity context)
- Overlap pruning keeps the chart clean and relevant
Breaker Blocks (BB):
- Derived from invalidated OBs
- Can show inherited strength % (optional)
- Cleanup options preserve performance without deleting open zones
10) ALERTS (REALTIME / WEBHOOK)
- Enable Alerts: master switch
- Choose Human or JSON message format
- Optional gates: HTF Bias alignment, cooldown (anti-spam)
TradingView setup tip:
Use alert condition = “Any alert() function call” for full detail messages.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
LITE / COMMUNITY ROADMAP (IMPORTANT)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This is the free Lite / Community release.
To keep this project sustainable and continue improving it for the community:
- This Lite edition is planned to become limited to 3 symbols in a future update (e.g., BTC / ETH / SOL).
- The full, unrestricted version (all symbols + advanced upgrades) will be released separately as the PRO edition.
You’ll always see clear release notes before major changes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMERS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Educational / analytical tool only. Not financial advice.
- No guarantees. Always manage risk.
- “ICT / SMC” terminology is used as a category reference to commonly known concepts.
This script is not affiliated with any third-party educator or brand.
QuantLabs MASM Correlation TableThe Market is a graph. See the flows:
The QuantLabs MASM is not a standard correlation table. It is an Alpha-Grade Scanner architected to reveal the hidden "hydraulic" relationships between global macro assets in real-time.
Rebuilt from the ground up for Version 3, this engine pushes the absolute limits of the Pine Script™ runtime. It utilizes a proprietary Logarithmic Math Engine, Symmetric Compute Optimization, and a futuristic "Ghost Mode" interface to deliver a 15x15 real-time correlation matrix with zero lag.
Under the Hood: The Quant Architecture
We stripped away standard libraries to build a lean, high-performance engine designed for institutional-grade accuracy.
1. Alpha Math Engine (Logarithmic Returns) Most tools calculate correlation based on Price, which generates spurious signals (e.g., "Everything is correlated in a bull run").
The Solution: Our engine computes Logarithmic Returns (log(close/close )) by default. This measures the correlation of change (Velocity & Vector), not price levels.
The Result: A mathematically rigorous view of statistical relationships that filters out the noise of general market drift.
Dual-Core: Toggle seamlessly between "Alpha Mode" (Log Returns) for verified stats and "Visual Mode" (Price) for trend alignment.
Calculation Modes: Pearson (Standard), Euclidean (Distance), Cosine (Vector), Manhattan (Grid).
2. Symmetric Compute Optimization Calculating a 15x15 matrix requires evaluating 225 unique relationships per bar, which often crashes memory limits.
The Fix: The V3 Engine utilizes Symmetric Logic, recognizing that Correlation(A, B) == Correlation(B, A).
The Gain: By computing only the lower triangle of the matrix and mirroring pointers to the upper triangle, we reduced computational load by 50%, ensuring a lightning-fast data feed even on lower timeframes.
3. Context-Aware "Ghost Mode" The UI is designed for professional traders who need focus, not clutter.
Smart Detection: The matrix automatically detects your current chart's Ticker ID. If you are trading QQQ, the matrix will visually highlight the Nas100 row and column, making them opaque and bright while dimming the rest.
Dynamic Transparency: Irrelevant data ("Noise" < 0.3 correlation) fades into the background. Only significant "Alpha Signals" (> 0.7) glow with full Neon Saturation.
Key Features
Dominant Flow Scanner: The matrix scans all 105 unique pairs every tick and prints the #1 Strongest Correlation at the bottom of the pane (e.g., DOMINANT FLOW: Bitcoin ↔ Nas100 ).
Streak Counter: A "Stubbornness" metric that tracks how many consecutive days a strong correlation has persisted. Instantly identify if a move is a "flash event" or a "structural trend."
Neon Palette: Proprietary color mapping using Electric Blue (+1.0) for lockstep correlation and Deep Red (-1.0) for inverse hedging.
Usage Guide
Placement: Best viewed in a bottom pane (Footer).
Assets: Pre-loaded with the Essential 15 Macro Drivers (Indices, BTC, Gold, Oil, Rates, FX, Key Sectors). Fully editable via settings (Ticker|Name).
Reading the Grid:
🔵 Bright Blue: Assets moving in lockstep (Risk-On).
🔴 Bright Red: Assets moving perfectly opposite (Hedge/Risk-Off).
⚫ Faded/Black: No statistical relationship (Decoupled).
Key Improvements Made:
Formatting: Added clear bullet points and bolding to make it scannable.
Clarity: Clarified the "Logarithmic Returns" section to explain why it matters (Velocity vs. Price Levels).
Tone: Maintained the "high-tech/quant" vibe but removed slightly clunky phrases like "spurious signals" (unless you prefer that academic tone, in which case I left it in as it fits the persona).
Structure: Grouped the "Modes" under the Math Engine for better logic.
Created and designed by QuantLabs
Box Theory [Interactive Zones] PyraTimeThis script combines Nicholas Darvas’s "Box Theory" with modern Supply and Demand (Premium/Discount) concepts. It automatically identifies the most recent Swing High and Swing Low to delineate the current trading range.
The purpose of this tool is to visualize market structure and help traders identify when price is relatively expensive (Premium) or cheap (Discount) within a defined range.
Visual Guide: What You Are Seeing
The Box: Represents the active trading range defined by the most recent significant Swing High and Swing Low.
Red Zone (Premium): The top 25% of the range. Mathematically, prices here are considered "expensive" relative to the current structure.
Green Zone (Discount): The bottom 25% of the range. Prices here are considered "cheap" relative to the current structure.
Grey Zone (Equilibrium): The middle 50% of the range. This is the area of fair value where price often consolidates.
Dashed Line (EQ): The exact 50% midpoint of the range.
Tutorial: How to Trade Using This Indicator
Method 1: Mean Reversion (Range Trading) This method applies when the market is moving sideways.
Identify Structure: Wait for a box to form.
Wait for Extremes: Do not trade when price is in the middle (Grey/White area). Wait for price to enter the Red or Green zones.
Entry Trigger:
Shorts: When price enters the Red Zone, look for a rejection (wicks leaving the zone) or a lower timeframe breakdown. Target the EQ (Midline) as your first take profit.
Longs: When price enters the Green Zone, look for support formation. Target the EQ (Midline) as your first take profit.
Method 2: Trend Continuation (Breakouts) This method applies when the market is trending strongly.
Breakout: Monitor the alerts. A close outside the box indicates a potential shift in market structure.
Retest: After a breakout up, the old "Red Zone" (Resistance) often flips to become new Support. Wait for price to pull back to the top of the old box before entering.
Configuration Guide (Settings)
Pivot Left/Right Bars (Sensitivity):
Default (20/20): Best for Swing Trading. It filters out market noise and only draws boxes based on major structural points.
Lower (5/5): Best for Scalping. It will create smaller, more frequent boxes but increases the risk of false signals.
Zone Percentage:
Default (25%): Standard deviation for Supply/Demand zones.
Alternative (15%): Use this for "sniping" entries at the absolute extremes of the range.
Multi-Timeframe (MTF):
Enable "Use Higher Timeframe" to see Daily or Weekly ranges while trading on lower timeframes (like the 15m or 1H). This helps keep your intraday trades aligned with the major trend.
Technical Note on "Lag" This indicator uses Pivots to draw the box. A pivot is only confirmed after a certain number of bars have passed (the "Pivot Right Bars" setting).
Example: If "Pivot Right Bars" is set to 20, the box will update 20 bars after the actual high or low occurred. This is necessary to confirm that the point was indeed a Swing High/Low. Do not treat the box lines as predictive; they are reactive to confirmed structure.
Trend Stress Quant [MarkitTick]💡This indicator combines a liquidity-based stress model with a dynamic linear regression channel to identify potential market exhaustion points and assess trend quality. By merging volume impact analysis with statistical deviation, this tool aims to highlight moments where price action may be overextended relative to the underlying liquidity conditions.
● Originality and Utility
Standard volatility indicators often rely solely on price range (like Bollinger Bands). This script introduces a Stress Engine that normalizes the relationship between Price Range (True Range) and Volume. This helps distinguish between healthy price movements and liquidity-stress events (illiquidity). Furthermore, instead of using a fixed-length channel, this tool offers a Dynamic Mode that anchors the regression channel to recent pivot points, ensuring the statistical analysis aligns with the current market structure rather than an arbitrary timeframe.
● Methodology
The script operates on two distinct mathematical models:
• Illiquidity Stress Engine
The core formula calculates a raw illiquidity metric based on the log-normal distribution of the ratio between True Range and Volume. A Z-Score (standard score) is then derived from this data over a specific lookback period. High Z-Scores indicate that price is moving disproportionately fast relative to the available volume, often a signature of panic selling or euphoric buying (exhaustion).
• Linear Regression Channel
The script calculates an Ordinary Least Squares (OLS) regression line (the line of best fit) to determine the mean price trend.
Standard Deviation Bands are plotted parallel to this mean.
Pearson Correlation Coefficient (R) is calculated to quantify the strength of the linear trend. Values closer to 1 or -1 indicate a strong trend, while values near 0 indicate a chaotic or ranging market.
📑 How to Use
Traders can utilize the visual outputs for mean reversion or trend continuation context:
• Exhaustion Signals (SE / BE Labels)
SE (Seller Exhaustion): Appears when the market is in a downtrend, but the Stress Engine detects a statistical anomaly (High Z-Score) on a down candle. This suggests panic selling may be peaking.
BE (Buyer Exhaustion): Appears when the market is in an uptrend, but the Stress Engine detects high stress on an up candle, suggesting a potential blow-off top.
• Regression Channel
The dashed middle line represents the fair value (mean) of the current trend.
The outer bands represent statistical extremes. Price interacting with the outer bands (default 2 Standard Deviations) while coincident with an Exhaustion Signal provides a high-confluence area of interest.
• Metrics Dashboard
A dashboard displays the current Trend Regime, Exhaustion Status, and Channel Width (volatility percentage).
● Settings
• Exhaustion Model
Trend Filter Length: Sets the baseline EMA to determine if the market is bullish or bearish.
Stress Threshold (Sigma): The Z-Score required to trigger an exhaustion signal (default is 2.0).
• Channel Configuration
Dynamic Pivot Mode: If enabled, automatically calculates the channel length based on recent pivots. If disabled, uses the Fixed Length.
Standard Deviations: Controls the width of the inner and outer channel bands.
📖This guide explains how to interpret and utilize signals for trading:
The script is designed primarily for Mean Reversion and Exhaustion trading strategies.
● The Core Strategy: Volatility Exhaustion
The script uses a "Stress Engine" to identify when price movement is statistically overextended relative to the available liquidity (Volume).
• Setup A: The "Seller Exhaustion" (Bullish Bounce)
Look for this setup during a downtrend to catch a temporary bottom or a reversal.
Trend Condition: The dashboard shows Bearish (Price is below the trend filter).
Trigger: The label SE (Seller Exhaustion) appears below a candle.
Why? This indicates that selling pressure was intense but likely panic-driven (High Z-Score/Stress) and may be drying up.
Confluence: Ideally, this signal appears when the price is touching or piercing the Lower Channel Band (dotted or solid lines).
Action: Traders often use this as a signal to close Short positions or enter a speculative Long (counter-trend) targeting the middle line.
• Setup B: The "Buyer Exhaustion" (Bearish Pullback)
Look for this setup during an uptrend to catch a local top.
Trend Condition: The dashboard shows Bullish .
Trigger: The label BE (Buyer Exhaustion) appears above a candle.
Why? This indicates euphoric buying on low liquidity or extreme volatility that is statistically unsustainable.
Confluence: Look for price rejection at the Upper Channel Band.
Action: Traders often use this to close Long positions or enter a Short targeting the mean.
● The Filter: Trend & Correlation
The script includes a Linear Regression Channel that quantifies the quality of the trend.
• Channel Slope
If the channel is angling steeply up or down, the trend is strong.
• Pearson R (Correlation)
The script calculates the Pearson R coefficient.
Weak Correlation: If the channel turns Gray/Neutral (or the fill becomes weak), it means the correlation is below the threshold (default 0.5).
Trading Rule: Avoid trading exhaustion signals when the channel is Gray/Neutral, as the market is likely chopping sideways with no clear direction.
● Risk Management & Targets
• Stop Loss
Since this is a volatility tool, a common technique is to place stops just outside the Outer Deviation Band (the widest line). If price expands beyond the outer band with no exhaustion signal, the trend may be entering a "runaway" phase.
• Take Profit
Target 1: The Middle Regression Line (The dashed center line). Prices tend to revert to this mean after an exhaustion event.
Target 2: The opposite channel band (e.g., if you bought at the bottom, hold until the top).
● Summary of Dashboard Metrics
The table on your chart provides a quick snapshot:
Trend Regime: Tells you if you should fundamentally look for Shorts (Bearish) or Longs (Bullish).
Seller/Buyer Status: Alerts you if the current bar is EXHAUSTED or Normal .
Channel Width %: Indicates volatility. If the width is very low (percentage is small), a breakout might be imminent (squeezing). If high, be careful of chop.
⚙️ Indicator settings
• Signal Parameters
Exhaustion & Stress Model: Controls signal sensitivity.
Trend Filter: Decides if the market is Bullish or Bearish.
Stress Threshold (Sigma): Higher values (e.g., 2.5) make the script stricter, showing fewer but potentially stronger signals.
• Channel Configuration
Dynamic Pivot Mode: If ON, the channel length auto-adjusts to recent market pivots. If OFF, it uses the Fixed Length you set.
Channel Bands: Adjusts the channel width.
Outer Deviation: The boundary for "extreme" moves. Price hitting this often signals a reversal.
• Quality Filter
Filter Weak Correlations: If enabled, the channel turns gray during choppy/sideways markets to warn you not to trust trend signals.
• Visuals
Display Options: Toggles the "Stats" dashboard and adjusts volatility coloring.
● Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
Crypto Compass | QuantEdgeBIntroducing Crypto Compass | QuantEdgeB
Overview
Crypto Compass | QuantEdgeB is a multi-asset market regime indicator that decodes the collective momentum and sentiment of the cryptocurrency space. By computing correlation-adjusted valuation across a basket of major tokens and blending them with the chart’s own momentum pulse, it delivers a real-time “compass” of risk-on/off regimes. Plotted as dual EMAs and color-coded candles, and accompanied by a comprehensive dashboard table, Crypto Compass guides traders through broad market cycles instead of isolated price swings.
Key Features
• Correlation-Adjusted Valuation Aggregation
Computes individual valuation for the top 30 Market Cap tokens plus total-market indices; weights each by its correlation to Bitcoin, then averages.
• Large-Cap-Only Mode
Optionally restricts the basket to the top 10 by market cap for a streamlined “blue-chip” sentiment readout.
• Composite Momentum Blend
Mixes the basket average with the chart’s own valuation to capture both cross-asset and local momentum.
• Dual EMA Overlay & Candle Coloring
Plots 12- and 21-period EMAs colored by the composite valuation gradient; candles are likewise color-filled to reflect regime strength.
• Interactive Dashboard Table
Live “Crypto Compass Dashboard” shows, for each asset:
o Current value & prior bar value
o Rate of Change (direction arrow)
o Duration since last EMA crossover
o Current trend state (“Bullish” / “Bearish”)
• Regime Labels & Risk-On/Off Signal
Translates the composite valuation into four regimes—Contraction, Weak, Recovery, Strong—with a clear risk-on/off indicator banner.
How It Works
1. Data Fetch & Valuation Computation
o Retrieves price and a simple TPI (12 vs 21 EMA cross) for each symbol via request.security.
o Calculates a rolling standard deviation over a lookback (length) for each asset and the chart.
2. Correlation Weighting
o Measures each asset’s correlation to Bitcoin
o Multiplies each asset’s value by its correlation coefficient to emphasize high-beta relationships.
3. Basket Averaging
o Averages the top-N weighted value (10 if “Large Cap Only” is true, else all )
o Blends the final average with the chart’s own valuation
4. Visual & Table Overlays
o EMAs (12, 21) and candles are colored via a gradient tied to zsumad thresholds.
o A table grid at the bottom-right displays per-asset metrics and computes duration since TPI crossovers to flag trend longevity.
5. Regime Mapping
≤ –1.5 ⇒ Contraction (Risk Off)
–1.5 to 0 ⇒ Weak (Risk Off)
0 to 1.5 ⇒ Recovery (Risk On)
1.5 ⇒ Strong (Risk On)
How to Use / Who Should Use It
• Crypto Portfolio Managers seeking a holistic market-wide directional bias before allocating capital.
• Swing & Position Traders looking to confirm if cross-asset strength aligns with their primary coin.
• Systematic Strategy Developers integrating regime filters into algorithmic models.
• Risk-Conscious Allocators wanting an early warning on risk-off contractions vs. risk-on expansions.
Default Settings
• Plot EMA: On
• Value Lookback Length: 90
• BTC Correlation Length: 195
• Large Cap Only: True
Conclusion
Crypto Compass distills complex cross-asset dynamics into a single, actionable gauge. By combining correlation-weighted valuation, blended momentum, and dynamic regime mapping—visualized through color-coded EMAs, candles, and a rich dashboard—it empowers traders to navigate the broader crypto market cycle with clarity and confidence.
🔹 Disclaimer : Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
🔹 Strategic Advice : Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
TriPulse Volume Bounds | QuantEdgeBTriPulse Volume Bounds | QuantEdgeB
🔍 Overview
TriPulse Volume Bounds | QuantEdgeB (𝓣𝓟𝓥𝓞) is a volume-weighted, volatility-adaptive oscillator built to spot high-conviction expansion moves. It first applies a triple-smooth price engine as a refined input, then computes a VWMA anchored to volume participation and measures how far price deviates from it (in %). Dynamic upper/lower bounds are then generated from the oscillator’s own volatility (standard deviation), creating a self-adjusting channel. When the oscillator breaks above/below these bounds, 𝓣𝓟𝓥𝓞 flips into clear Long / Short regimes—supported by rich visuals, alerts, optional backtest tables, and a dedicated TPVO Sensor table that grades momentum/impulse/drive and conviction strength.
✨ Key Features
1. 🧠 TriPulse Source Engine (Triple-Smooth Input)
- Uses a triple-smoothed price series as the oscillator’s “signal-grade” input to reduce noise while staying responsive.
2. 📊 Volume-Weighted Anchor (VWMA)
- Builds a VWMA baseline using volume as weight, so moves backed by participation matter more than thin-market drift.
3. 📏 Percent Deviation Oscillator
- Computes oscillator value as: 100 × (close − VWMA) / VWMA, producing a clean “distance-from-value” readout.
4. ⚡ Dynamic Volatility Bounds
- Upper/lower thresholds are derived from stdev(avwo) over a lookback length and scaled by:
– Adaptive Multiplier (volatility scaling)
– Upper/Lower multipliers (asymmetric sensitivity)
5. 🎯 Regime Signals
- Long when AVWO > Upper Bound
- Short when AVWO < Lower Bound
- Neutral otherwise (inside bounds)
6. 🎨 Visual & Alerts
- Plots the oscillator with regime-sensitive coloring and fill behavior.
- Highlights the active bound when a long/short is triggered.
- Colors candles to match the current regime.
- Optional Long/Short labels on confirmed flips.
- Alert conditions on regime crossovers.
7- 📊 Backtest Table (Optional)
- Built-in backtest table from a chosen start date.
- Two display modes: standard table or overlaid table.
8. ♞ TPVO Sensor Table (Built-In Intelligence Layer)
- A dedicated on-chart dashboard that summarizes direction + quality of the current move using strength bars and momentum staging.
💼 Use Cases
• Breakout Confirmation: Catch expansion moves only when deviation exceeds adaptive bounds.
• Volume-Validated Momentum: Filter out weak pushes that aren’t supported by volume-weighted structure.
• Trend Regime Filter: Use TPVO state (Long/Short/Neutral) to gate entries from other strategies.
• Market Condition Read: Quickly determine whether price is drifting (neutral) or expanding (signal).
🎯 For Who
• Momentum & breakout traders who want confirmation beyond simple crosses.
• Volatility-aware traders who prefer thresholds that expand/contract automatically.
• System builders who need a robust regime variable plus strength grading.
• Discretionary traders who want fast visual clarity (fills, candle colors, sensor table).
⚙️ Default Settings
• Tripple Smooth Length (VWMA base input): 30
• Volume Weighted Length: 30
• Threshold Volatility Length: 27
• Upper Threshold Multiplier: 1.8
• Lower Threshold Multiplier: 0.8
• Adaptive Multiplier: 0.85
• Color Mode: Alpha
• Color Transparency: 60
• Labels: Off by default
• Backtest Table: On (toggleable)
• Backtest Table Overlaid: On (toggleable)
• Backtest Start Date: 09 Oct 2017
• TPVO Sensor Table Position: Top Right (default input)
♞ TPVO Sensor Table (What It Shows)
The TPVO Sensor is an on-chart dashboard designed to summarize both direction and signal quality:
• Direction:
o “Up / Down / Flat” determined by the oscillator’s short-term slope.
• Momentum:
o A normalized rate-of-change read, labeled as Positive / Negative / Neutral.
• Impulse:
o A velocity label derived from smoothed momentum (Strong / Weak / Stalling).
• Drive:
o A staged classification combining momentum + velocity:
o Strong Upside / Fading Upside / Strong Downside / Fading Downside / Neutral
• Bull / Bear Strength Bars:
o Two progress bars that visualize current strength as a percentage.
o In neutral regimes, it shows potential; in active long/short regimes, it shows conviction.
• Signal Line:
o Displays: Signal ⟹ Long / Short / Cash, matching the active TPVO regime.
📌 Conclusion
TriPulse Volume Bounds | QuantEdgeB (𝓣𝓟𝓥𝓞) combines a triple-smooth input, a volume-weighted anchor, and adaptive volatility bounds to produce a clean oscillator that highlights true expansion moves. With regime states, rich fills, alerts, backtest options, and the TPVO Sensor table for momentum/impulse/drive + strength grading, it’s a compact all-in-one tool for spotting and validating regime shifts.
🔹 Disclaimer: Past performance is not indicative of future results. Always backtest and align settings with your risk tolerance and objectives before live trading.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
Adaptive ML Trailing Stop [BOSWaves]Adaptive ML Trailing Stop – Regime-Aware Risk Control with KAMA Adaptation and Pattern-Based Intelligence
Overview
Adaptive ML Trailing Stop is a regime-sensitive trailing stop and risk control system that adjusts stop placement dynamically as market behavior shifts, using efficiency-based smoothing and pattern-informed biasing.
Instead of operating with fixed ATR offsets or rigid trailing rules, stop distance, responsiveness, and directional treatment are continuously recalculated using market efficiency, volatility conditions, and historical pattern resemblance.
This creates a live trailing structure that responds immediately to regime change - contracting during orderly directional movement, relaxing during rotational conditions, and applying probabilistic refinement when pattern confidence is present.
Price is therefore assessed relative to adaptive, condition-aware trailing boundaries rather than static stop levels.
Conceptual Framework
Adaptive ML Trailing Stop is founded on the idea that effective risk control depends on regime context rather than price location alone.
Conventional trailing mechanisms apply constant volatility multipliers, which often results in trend suppression or delayed exits. This framework replaces static logic with adaptive behavior shaped by efficiency state and observed historical outcomes.
Three core principles guide the design:
Stop distance should adjust in proportion to market efficiency.
Smoothing behavior must respond to regime changes.
Trailing logic benefits from probabilistic context instead of fixed rules.
This shifts trailing stops from rigid exit tools into adaptive, regime-responsive risk boundaries.
Theoretical Foundation
The indicator combines adaptive averaging techniques, volatility-based distance modeling, and similarity-weighted pattern analysis.
Kaufman’s Adaptive Moving Average (KAMA) is used to quantify directional efficiency, allowing smoothing intensity and stop behavior to scale with trend quality. Average True Range (ATR) defines the volatility reference, while a K-Nearest Neighbors (KNN) process evaluates historical price patterns to introduce directional weighting when appropriate.
Three internal systems operate in tandem:
KAMA Efficiency Engine : Evaluates directional efficiency to distinguish structured trends from range conditions and modulate smoothing and stop behavior.
Adaptive ATR Stop Engine : Expands or contracts ATR-derived stop distance based on efficiency, tightening during strong trends and widening in low-efficiency environments.
KNN Pattern Influence Layer : Applies distance-weighted historical pattern outcomes to subtly influence stop placement on both sides.
This design allows stop behavior to evolve with market context rather than reacting mechanically to price changes.
How It Works
Adaptive ML Trailing Stop evaluates price through a sequence of adaptive processes:
Efficiency-Based Regime Identification : KAMA efficiency determines whether conditions favor trend continuation or rotational movement, influencing stop sensitivity.
Volatility-Responsive Scaling : ATR-based stop distance adjusts automatically as efficiency rises or falls.
Pattern-Weighted Adjustment : KNN compares recent price sequences to historical analogs, applying confidence-based bias to stop positioning.
Adaptive Stop Smoothing : Long and short stop levels are smoothed using KAMA logic to maintain structural stability while remaining responsive.
Directional Trailing Enforcement : Stops advance only in the direction of the prevailing regime, preserving invalidation structure.
Gradient Distance Visualization : Gradient fills reflect the relative distance between price and the active stop.
Controlled Interaction Markers : Diamond markers highlight meaningful stop interactions, filtered through cooldown logic to reduce clustering.
Together, these elements form a continuously adapting trailing stop system rather than a fixed exit mechanism.
Interpretation
Adaptive ML Trailing Stop should be interpreted as a dynamic risk envelope:
Long Stop (Green) : Acts as the downside invalidation level during bullish regimes, tightening as efficiency improves.
Short Stop (Red) : Serves as the upside invalidation level during bearish regimes, adjusting width based on efficiency and volatility.
Trend State Changes : Regime flips occur only after confirmed stop breaches, filtering temporary price spikes.
Gradient Depth : Deeper gradient penetration indicates increased extension from the stop rather than imminent reversal.
Pattern Influence : KNN weighting affects stop behavior only when historical agreement is strong and remains neutral otherwise.
Distance, efficiency, and context outweigh isolated price interactions.
Signal Logic & Visual Cues
Adaptive ML Trailing Stop presents two primary visual signals:
Trend Transition Circles : Display when price crosses the opposing trailing stop, confirming a regime change rather than anticipating one.
Stop Interaction Diamonds : Indicate controlled contact with the active stop, subject to cooldown filtering to avoid excessive signals.
Alert generation is limited to confirmed trend transitions to maintain clarity.
Strategy Integration
Adaptive ML Trailing Stop fits within trend-following and risk-managed trading approaches:
Dynamic Risk Framing : Use adaptive stops as evolving invalidation levels instead of fixed exits.
Directional Alignment : Base execution on confirmed regime state rather than speculative reversals.
Efficiency-Based Tolerance : Allow greater price fluctuation during inefficient movement while enforcing tighter control during clean trends.
Pattern-Guided Refinement : Let KNN influence adjust sensitivity without overriding core structure.
Multi-Timeframe Context : Apply higher-timeframe efficiency states to inform lower-timeframe stop responsiveness.
Technical Implementation Details
Core Engine : KAMA-based efficiency measurement with adaptive smoothing
Volatility Model : ATR-derived stop distance scaled by regime
Machine Learning Layer : Distance-weighted KNN with confidence modulation
Visualization : Directional trailing stops with layered gradient fills
Signal Logic : Regime-based transitions and controlled interaction markers
Performance Profile : Optimized for real-time chart execution
Optimal Application Parameters
Timeframe Guidance:
1 - 5 min : Tight adaptive trailing for short-term momentum control
15 - 60 min : Structured intraday trend supervision
4H - Daily : Higher-timeframe regime monitoring
Suggested Baseline Configuration:
KAMA Length : 20
Fast/Slow Periods : 15 / 50
ATR Period : 21
Base ATR Multiplier : 2.5
Adaptive Strength : 1.0
KNN Neighbors : 7
KNN Influence : 0.2
These suggested parameters should be used as a baseline; their effectiveness depends on the asset volatility, liquidity, and preferred entry frequency, so fine-tuning is expected for optimal performance.
Parameter Calibration Notes
Use the following adjustments to refine behavior without altering the core logic:
Excessive chop or overreaction : Increase KAMA Length, Slow Period, and ATR Period to reinforce regime filtering.
Stops feel overly permissive : Reduce the Base ATR Multiplier to tighten invalidation boundaries.
Frequent false regime shifts : Increase KNN Neighbors to demand stronger historical agreement.
Delayed adaptation : Decrease KAMA Length and Fast Period to improve responsiveness during regime change.
Adjustments should be incremental and evaluated over multiple market cycles rather than isolated sessions.
Performance Characteristics
High Effectiveness:
Markets exhibiting sustained directional efficiency
Instruments with recurring structural behavior
Trend-oriented, risk-managed strategies
Reduced Effectiveness:
Highly erratic or event-driven price action
Illiquid markets with unreliable volatility readings
Integration Guidelines
Confluence : Combine with BOSWaves structure or trend indicators
Discipline : Follow adaptive stop behavior rather than forcing exits
Risk Framing : Treat stops as adaptive boundaries, not forecasts
Regime Awareness : Always interpret stop behavior within efficiency context
Disclaimer
Adaptive ML Trailing Stop is a professional-grade adaptive risk and regime management tool. It does not forecast price movement and does not guarantee profitability. Results depend on market conditions, parameter selection, and disciplined execution. BOSWaves recommends deploying this indicator within a broader analytical framework that incorporates structure, volatility, and contextual risk management.
SD-Range Oscillator | QuantEdgeBSD-Range Oscillator | QuantEdgeB
🔍 Overview
SD-Range Oscillator | QuantEdgeB (SDRO) is a normalized momentum oscillator that compresses a low-lag trend core into a 0–100 style range using standard-deviation (SD) bands. It builds a smooth baseline from a fast triple-smoothed average, wraps it with ±2×SD volatility bounds, then normalizes the core value inside that envelope. Clear Long/Short regimes trigger when the normalized value crosses user-defined thresholds, with optional labels, regime-colored candles, and intuitive filled zones.
✨ Key Features
1.⚡ Low-Lag Core (Triple-Smooth Engine)
- Uses a fast, low-lag triple-smoothed average as the oscillator’s primary signal input.
- Helps keep momentum readings responsive while filtering noise.
2. 📏 SD Volatility Envelope (±2×SD)
- Builds a volatility channel around a smoothed baseline using standard deviation.
- Automatically adapts to changing market turbulence.
3. 🧮 Normalized Range Output
- Converts the core signal into a normalized value by mapping it between the upper/lower SD bounds.
- Makes readings consistent across assets and timeframes.
4. 🎯 Threshold-Based Regimes
- Long when the normalized value exceeds the Long threshold.
- Short when it falls below the Short threshold.
- Includes an additional safety filter to reduce “forced” longs when price is already extended near the upper envelope.
5. 🎨 Visual Clarity & Zones
- Regime-colored oscillator line and candles.
- Filled SD bands around the baseline for quick volatility context.
- Optional highlight fills between the oscillator and thresholds to show active long/short phases.
- Extra OB/OS background zones for quick overextension awareness.
6. 🔔 Signals & Alerts
- Optional “Long/Short” labels on confirmed regime flips.
- Alert conditions fire on long/short regime crossovers.
💼 Use Cases
• Momentum Confirmation: Validate breakouts by requiring SDRO to hold above the Long threshold.
• Mean-Reversion Awareness: Watch for extreme normalized readings near upper/lower bounds.
• Regime Filtering: Use SDRO state (Long/Short/Neutral) to filter trades from other systems.
• Cross-Market Comparison: Normalization makes it easier to compare momentum across different tickers.
🎯 For Who
• Trend traders who want a clean momentum filter with adaptive volatility context.
• System builders needing a simple regime variable (1 / -1 / neutral) to gate entries.
• Discretionary traders who like visual confirmation (fills, candle coloring, threshold zones).
• Multi-asset traders who benefit from normalized, comparable oscillator readings.
⚙️ Default Settings
• TEMA Period: 7
• Base Length (SMMA): 25
• Long Threshold: 55
• Short Threshold: 45
• SD Multiplier: 2× (fixed in code)
• Color Mode: Alpha
• Color Transparency: 60
• Labels: Off by default
📌 Conclusion
SD-Range Oscillator | QuantEdgeB blends a low-lag triple-smoothed core with an adaptive SD envelope to produce a normalized, easy-to-read momentum signal. With clear threshold regimes, volatility-aware context, and strong visuals (fills + candle coloring), SDRO helps separate meaningful momentum shifts from noise across any asset or timeframe.
🔹 Disclaimer: Past performance is not indicative of future results. Always backtest and align settings with your risk tolerance and objectives before live trading.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
TwinSmooth ATR Bands | QuantEdgeBTwinSmooth ATR Bands | QuantEdgeB
🔍 Overview
TwinSmooth ATR Bands | QuantEdgeB is a dual-smoothing, ATR-adaptive trend filter that blends two complementary smoothing engines into a single baseline, then builds dynamic ATR bands around it to detect decisive breakouts. When price closes above the upper band it triggers a Long regime; when it closes below the lower band it flips to Short—otherwise it stays neutral. The script enhances clarity with regime-colored candles, an active-band fill, and an optional on-chart backtest table.
✨ Key Features
1. 🧠 Twin-Smooth Baseline (Dual Engine Blend)
- Computes two separate smoothed baselines (a slower “smooth” leg + a faster “responsive” leg).
- Blends them into a single midpoint baseline for balanced stability + speed.
- Applies an extra EMA smoothing pass to produce a clean trend_base.
2. 📏 ATR Volatility Bands
- Builds upper/lower bands using ATR × multiplier around the trend_base.
- Bands expand in volatile conditions and contract when markets quiet down—auto-adapting without manual tweaks.
3. ⚡ Clear Breakout Regime Logic
- Long when close > upperBand.
- Short when close < lowerBand.
- Neutral otherwise (no forced signals inside the band zone).
4. 🎨 Visual Clarity
- Plots only the active band (lower band in long regime, upper band in short regime).
- Fills between active band and price for instant regime context.
- Colors candles to match the current state (bullish / bearish / neutral).
- Multiple color palettes + transparency control.
💼 Use Cases
• Trend Confirmation Filter: Use the regime as a higher-confidence trend gate for entries from other indicators.
• Breakout/Breakdown Trigger: Trade closes outside ATR bands to catch momentum expansions.
• Volatility-Aware Stops/Targets: Bands naturally reflect volatility, making them useful as adaptive reference levels.
• Multi-Timeframe Alignment: Confirm higher-timeframe regime before executing on lower timeframes.
🎯 For Who
• Trend Traders who want clean regime shifts without constant whipsaw.
• Breakout Traders who prefer confirmation via ATR expansion rather than raw MA crossovers.
• System Builders needing a simple, robust “state engine” (Long / Short / Neutral) to plug into larger strategies.
• Analysts who want quick on-chart validation with a backtest table.
⚙️ Default Settings
• SMMA Length (Base Smooth Leg): 24
• TEMA Length (Base Responsive Leg): 8
• EMA Extra Smoothing: 14
• ATR Length: 14
• ATR Multiplier: 1.1
• Color Mode: Alpha
• Color Transparency: 30
• Backtest Table: On (toggleable)
• Backtest Start Date: 09 Oct 2017
• Labels: Off by default
📌 Conclusion
TwinSmooth ATR Bands | QuantEdgeB merges a dual-speed smoothing core into a single trend baseline, then wraps it with ATR-based bands to deliver clean, volatility-adjusted breakout signals. With regime coloring, active-band plotting, and optional backtest stats, it’s a compact, readable tool for spotting momentum shifts and trend continuation across any market and timeframe.
🔹 Disclaimer: Past performance is not indicative of future results. Always backtest and align settings with your risk tolerance and objectives before live trading.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
Market Acceptance Zones [Interakktive]Market Acceptance Zones (MAZ) identifies statistical price acceptance — areas where the market reaches agreement and price rotates rather than trends.
Unlike traditional support/resistance tools, MAZ does not assume where price "should" react. Instead, it highlights regions where multiple internal conditions confirm balance: directional efficiency drops, effort approximately equals result, volatility contracts, and participation remains stable.
This is a market-state diagnostic tool, not a signal generator.
█ WHAT THE ZONES REPRESENT
MAZ (ATF) — Chart Timeframe Acceptance
A MAZ marks an area where price displayed rotational behaviour and the auction temporarily agreed on value. These zones often act as compression regions, fair-price areas, or boundaries of consolidation where impulsive follow-through is less likely.
Use ATF MAZs to:
- Identify rotational environments
- Avoid chasing price inside balance
- Frame consolidation prior to expansion
MAZ • HTF / MAZ • 2/3 — Multi-Timeframe Acceptance (AMTF)
When Multi-Timeframe mode is enabled, MAZ evaluates acceptance on:
- The chart timeframe
- Two higher structural timeframes
If the minimum consensus threshold is met (default: 2 of 3), the zone is classified as AMTF. These zones represent stronger agreement and typically decay more slowly than single-timeframe acceptance.
AMTF zones are structurally stronger and are useful for:
- Higher-quality rotation areas
- Pullback framing within trends
- Context alignment across timeframes
H • MAZ — Historic Acceptance Zones
Historic MAZs represent older acceptance that has transitioned out of active relevance. These zones are hidden by default and can be enabled to provide long-term memory context.
█ AUTO MULTI-TIMEFRAME LOGIC
When MTF Mode is set to Auto, MAZ uses a deterministic structural mapping based on the current chart timeframe:
- 5m → 15m + 1H
- 15m → 1H + 4H
- 1H → 4H + 1D
- 4H → 1D + 1W
- 1D → 1W + 1M
This ensures consistent higher-timeframe context without manual configuration. Advanced users may switch to Manual mode to define custom timeframes.
█ ZONE LIFECYCLE
MAZ zones are dynamic and maintain an internal lifecycle:
- Active — Acceptance remains relevant
- Aging — Acceptance quality is degrading
- Historic — Retained only for memory context
Zones track price interaction and re-acceptance, which can stabilise or strengthen them. Weak or stale zones are automatically removed to keep the chart clean.
█ HOW TRADERS USE MAZ
MAZ is designed to provide structure, not entries.
Common applications include:
- Avoiding chop when price is inside acceptance
- Framing expansion after clean breaks from MAZ
- Identifying higher-quality rotational pullbacks (AMTF zones)
- Defining objective invalidation using zone boundaries
█ SETTINGS OVERVIEW
Market Acceptance Zones — Core
- Acceptance Lookback
- ATR Length
- Zone Frequency (Conservative / Balanced / Aggressive)
Market Acceptance Zones — Zones
- Maximum Zones
- Fade & Stale Bars
- Historic Zone Visibility (default OFF)
Market Acceptance Zones — Timeframes
- MTF Mode (Off / Auto / Manual)
- Manual Higher Timeframes
- Minimum Consensus Requirement
Market Acceptance Zones — Visuals
- Neon / Muted Theme
- Zone Labels & Consensus Detail
- Optional Midline Display
█ DISCLAIMER
This indicator is a market context and diagnostic tool only.
It does not generate trade signals, entries, or exits.
Past acceptance behaviour does not guarantee future price action.
Always combine with independent analysis and proper risk management.
Inducement [Kodexius]Inducement is a market structure overlay indicator designed to help you contextualize liquidity driven pullbacks inside an established structural trend. Rather than treating every sweep or wick as equal, it frames “inducement” as a selective event that tends to appear after structure has shifted and price is engineering a retracement to attract late participants, clear nearby liquidity, and create fuel for continuation.
At a high level, the script separates price action into two layers:
External (macro) structure to define meaningful swing points and detect structural shifts (Break of Structure).
Internal (micro) structure to locate the more subtle swing levels that are commonly targeted during retracements.
Once a valid structural break establishes directional context, the indicator looks for a characteristic internal level raid that occurs without invalidating the broader structure (i.e., structure remains “protected”). When that raid is followed by evidence of intent/continuation (displacement style behavior), the event is marked as an inducement and plotted directly on the chart.
The result is a clean, rules based way to highlight high probability “pullback bait” zones helping you distinguish between random noise and a retracement that is more consistent with structured continuation behavior.
🔹 Features
🔸 Dual Layer Swing Engine (Internal vs External)
Internal and external swing detection work together to separate micro structure from macro structure. Internal swings capture nearer term pivot behavior, while external swings define the larger structural framework. Sensitivity can be tuned through swing length inputs, and historical depth can be managed to keep the chart clean and performance stable.
🔸 Break of Structure (BOS) Context Filter
BOS acts as a context gate that defines the active directional regime. Rather than generating signals in isolation, inducement evaluation is tied to structural context, enabling cleaner interpretation of “what matters now” versus what is simply historical noise.
🔸 Structure Protection (Invalidation Awareness)
A key differentiator is the emphasis on structure staying intact. Inducement candidates are only considered while the relevant macro framework remains protected. This helps filter out pullback like events that are actually part of a reversal or breakdown sequence, keeping attention aligned with continuation friendly conditions.
🔸 Inducement Detection With Optional Sweep Strictness
Inducements are derived from internal levels that form around post break retracement behavior levels that are commonly “targeted” during pullbacks. You can choose a stricter interpretation (e.g., close confirmation) for stronger validation, or a more permissive interpretation if you prefer to capture wick based raids while still requiring follow through behavior.
🔸 Intent / Displacement Confirmation (Volatility Aware)
To reduce false positives from shallow noise, the script incorporates a volatility aware confirmation layer. This helps ensure the marked event is not just a minor sweep, but is followed by behavior more consistent with directional commitment improving selectivity across different assets and market conditions.
🔸 Clean On Chart Visualization (BOS + IDM Levels)
The overlay is designed to be readable and practical: BOS levels are presented clearly, and inducements are marked with distinct level styling and labeling (bullish vs bearish). The visual output aims to support fast decision making without overwhelming the chart.
Bullish IDM:
Bearish IDM:
🔸 Chart Hygiene Controls (Limit Visible History)
You can limit how many historical inducements remain visible to prevent clutter especially helpful on lower timeframes or long sessions. This keeps focus on the most relevant, recent structural narrative.
🔸 Designed for Confluence Based Trading Workflows
This indicator is best used as a context + trigger assistant, not a standalone entry system. It integrates naturally with higher timeframe bias, session logic, supply/demand mapping, execution models, and risk planning providing structure aligned pullback references you can combine with your own confirmations.
Simple VWMA Smooth | QuantEdgeBSimple VWMA Smooth (SVS) | QuantEdgeB
🔍 What Is Simple VWMA Smooth?
SVS is a smoothed, volume-aware trend filter that blends a Gaussian-pre-filtered, low-lag moving average with dynamic standard-deviation bands. It identifies trends by measuring when price moves decisively above or below a VWMA (Volume-Weighted Moving Average) baseline—filtering out noise while letting high-volume moves carry more influence than low-volume noise.
⚙️ Core Components
1) DEMA Pre-Filter
A double-EMA smoothing step to reduce initial noise before further processing.
2) Gaussian Smoothing
Applies a small-kernel Gaussian filter to produce a cleaner input series that suppresses rapid spikes.
3) VWMA Baseline (Volume-Weighted Average)
Computes a moving average where each bar is weighted by volume, so the baseline tracks “meaningful” price moves more than low-liquidity fluctuations.
• In high volume → the baseline reacts more to those candles
• In low volume → price changes have less impact
4) Volatility Bands
Surrounds the VWMA line with ± N × SD bands (separate multipliers for upper and lower) to capture current market volatility, creating dynamic thresholds for trend detection.
5) Trend Signal
• Long when price closes above the upper band
• Short when price closes below the lower band
• Otherwise neutral
💡 Why It’s Special
• Volume-Validated Responsiveness: VWMA prioritizes moves backed by volume, helping reduce signals caused by thin-market noise.
• Multi-Stage Filtering: The DEMA → Gaussian → VWMA sequence suppresses noise while keeping trend structure clear.
• Asymmetric Bands: Separate multipliers for upper/lower bands let you tune bullish vs bearish sensitivity independently.
• Visual Clarity: Color-coded candles and filled bands highlight trending phases at a glance, while backtest tables quantify performance.
📊 Backtest Mode
SVS includes an optional backtest table, enabling traders to assess historical effectiveness before using it live.
Backtest Metrics Displayed:
• Equity Max Drawdown
• Profit Factor
• Sharpe Ratio
• Sortino Ratio
• Omega Ratio
• Half Kelly
• Total Trades & Win Rate
💼 Ideal Use Cases
• Trend Identification: Spot cleaner trend starts/exits across stocks, FX, or crypto with reduced lag and fewer false breakouts.
• Volume Regimes: Helps distinguish “real” moves (high participation) from weak moves (low participation).
• Multitimeframe Alignment: Confirm direction across timeframes before entries.
• System Building Block: Use as a volume-aware filter inside broader strategies.
🎨 Default Configuration
• DEMA Length: 7
• Gaussian Kernel: length = 4, sigma = 2.0
• VWMA Length: 14
• Volatility Bands: SD length = 40
📌 In Summary
Simple VWMA Smooth | QuantEdgeB is a volume-weighted, noise-suppressed trend filter that combines DEMA smoothing, Gaussian filtering, a VWMA baseline, and dynamic SD bands to separate genuine directional moves from market noise—across any asset or timeframe.
🔹 Disclaimer : Past performance is not indicative of future results. Always backtest and align settings with your risk tolerance and objectives before live trading.
🔹 Strategic Advice : Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
DDDDD : EMA Pack (Matched Colors + MTF)📌 DDDDD : EMA Pack (Matched Colors + MTF)
🔹 Concept
DDDDD : EMA Pack is a clean and minimal Exponential Moving Average (EMA) overlay designed for trend structure analysis and multi-timeframe context.
This indicator focuses on visual clarity, consistent color mapping, and optional MTF EMA projection, allowing traders to read market structure without clutter or signal noise.
It is not an entry or signal generator, but a trend and regime visualization tool.
🔹 Logic
The script plots a fixed set of EMAs commonly used to define short-term momentum, intermediate trend, and long-term bias:
EMA 5
EMA 10
EMA 25
EMA 50
EMA 75
EMA 200
Each EMA is calculated using the standard exponential moving average formula.
If a higher timeframe is selected, the EMA is calculated on that timeframe and projected onto the current chart using request.security().
🔹 Methodology
Users may select:
Source price (default: close)
EMA timeframe
Empty = current chart timeframe
Any higher timeframe = true MTF EMA projection
All EMA colors are manually matched and fixed to maintain visual consistency across markets and timeframes.
Line thickness is kept uniform to avoid visual hierarchy bias.
This design ensures the indicator remains purely structural, without repainting logic, smoothing tricks, or adaptive parameters.
🔹 How to Use
Use EMA alignment and spacing to assess:
Trend direction
Trend strength
Compression vs expansion
Higher-timeframe EMA projection can be used as:
Dynamic support/resistance
Trend filter
Regime context for lower-timeframe execution
This indicator works best when combined with:
Price action
Market structure
Separate entry/exit logic of your own system
⚠️ This indicator does not provide buy/sell signals and should not be used alone for trade execution.
🔹 Notes
No repainting beyond standard MTF behavior
No performance or profitability claims
Designed for discretionary and systematic traders
Suitable for stocks, crypto, forex, and indices
SMC Post-Analysis Lab [PhenLabs]📊 SMC Post-Analysis Lab
Version: PineScript™ v6
📌 Description
The SMC Post-Analysis Lab is a dedicated hindsight analysis tool built for traders who want to understand what really happened during any historical trading period. Unlike forward-looking indicators, this tool lets you scroll back through time and instantly receive algorithmic classification of market states using Smart Money Concepts methodology.
Whether you’re reviewing a losing trade, studying a successful session, or building your pattern recognition skills, this indicator provides immediate context. The expansion-aware algorithm processes price action within your selected window and outputs clear, actionable classifications ranging from Parabolic Expansion to Consolidation Inducements.
Stop relying on subjective post-trade analysis. Let the algorithm objectively tell you whether institutional players were accumulating, distributing, or running inducements during your trades.
🚀 Points of Innovation
First indicator specifically designed for SMC-based post-trade review rather than live signal generation
Dual-mode analysis system allowing both dynamic scrollback and precise date selection
Expansion-aware classification algorithm that weighs range position against net displacement
Real-time efficiency metrics calculating directional quality of price movement
Integrated visual FVG detection within the analysis window only
Interactive table with clickable date range adjustment via chart interface
🔧 Core Components
Pivot Detection Engine: Uses configurable pivot length to identify significant swing highs and lows for structure break detection
Window Calculator: Determines active analysis zone based on either bar offset or timestamp boundaries
Data Aggregator: Tracks window open, high, low, close and counts bullish/bearish structure break events
State Classification Algorithm: Applies hierarchical logic to determine market state from six possible classifications
Visual Renderer: Draws structure breaks, FVG boxes, and window highlighting within the active zone
🔥 Key Features
Sliding Window Mode: Use the Scroll Back slider to dynamically move your analysis zone backwards through history bar-by-bar
Date Range Mode: Select specific start and end timestamps for precise session or trade review
Six Market State Classifications: Parabolic Expansion (Bull/Bear), Bullish/Bearish Order Flow, Accumulation/Distribution Reversal, and Consolidation/Inducement
Range Position Percentile: See exactly where price closed relative to the window’s high-low range as a percentage
Bull/Bear Event Counter: Quantified count of structure breaks in each direction during the analysis period
Efficiency Calculation: Net move divided by total range reveals trending quality versus chop
🎨 Visualization
Blue Window Highlight: Active analysis zone is clearly marked with blue background shading on the chart
Structure Break Lines: Dashed lines appear at each bullish or bearish structure break within the window
FVG Boxes: Fair Value Gaps automatically render as semi-transparent boxes in bullish or bearish colors
Dashboard Table: Top-right positioned table displays State, Analysis description, and Metrics in real-time
Color-Coded States: Each classification uses distinct coloring for immediate visual recognition
Interactive Tip Row: Optional help text guides users on clicking the table to adjust date range
📖 Usage Guidelines
General Configuration
Analysis Mode: Default is Sliding Window. Choose Date Range for specific timestamp analysis.
Sliding Window Settings
Scroll Back (Bars): Default 0. Increase to move window backwards into history.
Window Width (Bars): Default 100. Range 20-50 for scalping, 100+ for swing analysis.
Date Range Settings
Start Date: Select the beginning timestamp for your analysis period.
End Date: Select the ending timestamp for your analysis period.
Visual Settings
Show Help Tip: Default true. Toggle to hide instructional row in dashboard.
Bullish Color: Default teal. Customize for bullish elements.
Bearish Color: Default red. Customize for bearish elements.
SMC Parameters
Pivot Length: Default 5. Lower values (3-5) catch minor breaks. Higher values (10+) focus on major swings.
✅ Best Use Cases
Post-trade review to understand why entries succeeded or failed
Session analysis to identify institutional activity patterns
Trade journaling with objective algorithmic classifications
Pattern recognition training through historical scrollback
Identifying whether stop hunts were inducements or legitimate breaks
Comparing your real-time read versus what the algorithm detected
⚠️ Limitations
Designed for historical analysis only, not live trade signals
Classification accuracy depends on appropriate pivot length for the timeframe
FVG detection uses simple gap logic without mitigation tracking
State classification is based on window data only, not broader context
Requires manual scrolling or date input to review different periods
💡 What Makes This Unique
Purpose-Built for Review: Unlike most indicators focused on live signals, this is designed specifically for post-trade analysis
Expansion-Aware Logic: Algorithm weighs both position in range AND directional efficiency for accurate state detection
Interactive Date Control: Click the dashboard table to reveal draggable anchors for window adjustment directly on chart
🔬 How It Works
1. Window Definition:
User selects either Sliding Window or Date Range mode
System calculates which bars fall within the active analysis zone
Active zone receives blue background highlighting
2. Data Collection:
Algorithm captures window open, running high, running low, and current close
Structure breaks are detected when price crosses above last pivot high or below last pivot low
Bullish and bearish events are counted separately
3. State Classification:
Range Position calculates where close sits as percentage of high-low range
Efficiency calculates net move divided by total range
Hierarchical logic applies priority rules from Parabolic states down to Consolidation
4. Output Rendering:
Dashboard table updates with State title, Analysis description, and Metrics
Visual elements render within window only to keep chart clean
Colors reflect bullish, bearish, or neutral classification
💡 Note:
This indicator is intended for educational and review purposes. Use it to develop your understanding of Smart Money Concepts by analyzing what institutional order flow looked like during historical periods. Combine insights with your own analysis methodology for best results.
Advanced Multi-Level S/R ZonesAdvanced Multi-Level S/R Zones: The Comprehensive Guide
1. Introduction: The Evolution of Support & Resistance:
Support and Resistance (S/R) is the backbone of technical analysis. However, traditional methods of drawing these levels are often plagued by subjectivity. Two traders looking at the same chart will often draw two different lines. Furthermore, standard indicators often treat every price point equally, ignoring the critical context of Volume and Time.
The Advanced Multi-Level S/R Zones script represents a paradigm shift. It moves away from subjective line drawing and toward Quantitative Zoning. By utilizing statistical measures of variability (Standard Deviation, MAD, IQR) combined with Volume-Weighting and Time-Decay algorithms, this tool identifies where price is mathematically most likely to react. It treats S/R not as thin lines, but as dynamic zones of probability.
2. Core Logic and Mathematical Foundation:
To understand how to use this tool optimally, one must understand the "engine" under the hood. The script operates on four distinct pillars of logic:
A. Session-Based Data Collection:
The script does not look at every single tick. Instead, it aggregates data into "Sessions" (daily bars by default logic). It extracts the High, Low, and Total Volume for every session within the user-defined lookback period. This filters out intraday noise and focuses on the macro structure of the market.
B. Adaptive Statistical Variability:
Most Bollinger Band-style indicators use Standard Deviation (StdDev) to measure width. However, StdDev is heavily influenced by outliers (extreme wicks). This script offers a sophisticated Adaptive Method-Skewness Detection: The script calculates the skewness of the price distribution. Adaptive Selection: If the data is highly skewed (lots of outliers, typical in Crypto), it switches to MAD (Median Absolute Deviation). MAD is robust and ignores outliers. If the data is moderately skewed, it uses IQR (Interquartile Range). If the data is normal (Gaussian), it uses StdDev.
Benefit: This ensures the zone widths are accurate regardless of whether you are trading a stable Forex pair or a volatile Altcoin.
C. The Weighting Engine (Volume + Time)
Not all price history is equal. This script assigns a "Weight Score" to every session based on two factors:
Volume Weighting: Sessions with massive volume (institutional activity) are given higher importance. A high formed on low volume is less significant than a high formed on peak volume.
Time Decay: Recent price action is more relevant than price action from 50 bars ago. The script applies a decay factor (default 0.85). This means a session from yesterday has 100% impact, while a session from 10 days ago has significantly less influence on the zone calculation.
D. Clustering Algorithm
Once the data is weighted, the script runs a clustering algorithm. It looks for price levels where multiple session Highs (for Resistance) or Lows (for Support) congregate.
It requires a minimum number of points to form a zone (User Input: minPoints).
It merges nearby levels based on the Cluster Separation Factor.
This results in "Primary," "Secondary," and "Tertiary" zones based on the strength and quantity of data points in that cluster.
3. Detailed Features and Inputs Breakdown:
Group 1: Main Settings
Lookback Sessions (Default: 10): Defines how far back the script looks for pivots. A higher number (e.g., 50) creates long-term structural zones. A lower number (e.g., 5) creates short-term scalping zones.
Variability Method (Adaptive): As described above, leave this on "Adaptive" for the best results across different assets.
Zone Width Multiplier (Default: 0.75): Controls the vertical thickness of the zones. Increase this to 1.0 or 1.5 for highly volatile assets to ensure you catch the wicks.
Minimum Points per Zone: The strictness filter. If set to 3, a price level must be hit 3 times within the lookback to generate a zone. Higher numbers = fewer, but stronger zones.
Group 2: Weighting
Volume-Weighted Zones: Crucial for identifying "Smart Money" levels. Keep this TRUE.
Time Decay: Ensures the zones update dynamically. If price moves away from a level for a long time, the zone will fade in significance.
ATR-Normalized Zone Width: This is a dynamic volatility filter. If TRUE, the zone width expands and contracts based on the Average True Range. This is vital for maintaining accuracy during market breakouts or crashes.
Group 3: Zone Strength & Scoring
The script calculates a "Score" (0-100%) for every zone based on:
-Point Count: More hits = higher score.
-Touches: How many times price wicked into the zone recently.
-Intact Status: Has the zone been broken?
-Weight: Volume/Time weight of the constituent points.
-Track Zone Touches: Looks back n bars to see how often price respected this level.
-Touch Threshold: The sensitivity for counting a "touch."
Group 4: Visuals & Display
Extend Bars: How far to the right the boxes are drawn.
Show Labels: Displays the Score, Tier (Primary/Secondary), and Status (Retesting).
Detect Pivot Zones (Overlap): This is a killer feature. It detects where a Support Zone overlaps with a Resistance Zone.
Significance: These are "Flip Zones" (Old Resistance becomes New Support). They are colored differently (Orange by default) and represent high-probability entry areas.
Group 5: Signals & Alerts
Entry Signals: Plots Buy/Sell labels when price rejects a zone.
Detect Break & Retest: specifically looks for the "Break -> Pullback -> Bounce" pattern, labeled as "RETEST BUY/SELL".
Proximity Alert: Triggers when price gets within x% of a zone.
4. Understanding the Visuals (Interpreting the Chart)
When you load the script, you will see several visual elements. Here is how to read them:
The Boxes (Zones)
Red Shades: Resistance Zones.
Dark Red (Solid Border): Primary Resistance. The strongest wall.
Lighter Red (Dashed Border): Secondary/Tertiary. Weaker, but still relevant.
Green Shades: Support Zones.
Dark Green (Solid Border): Primary Support. The strongest floor.
Orange Boxes: Pivot Zones. These are areas where price has historically reacted as both support and resistance. These are the "Line in the Sand" for trend direction.
The Labels & Emojis
The script assigns emojis to zone strength:
🔥 (Fire): Score > 80%. A massive level. Expect a strong reaction.
⭐ (Star): Score > 60%. A solid structural level.
✓ (Check): Score > 40%. A standard level.
"⟳ RETESTING": Appears when a zone was broken, and price is currently pulling back to test it from the other side.
The Dashboard (Top Right)
A statistics table provides a "Head-Up Display" for the asset:
High/Low σ (Sigma): The variability of the highs and lows. If High σ is much larger than Low σ, it implies the tops are erratic (wicks) while bottoms are clean (flat).
Method: Shows which statistical method the Adaptive engine selected (e.g., "MAD (auto)").
ATR: Current volatility value used for normalization.
5. Strategies for Optimum Output
To get the most out of this script, you should not just blindly follow the lines. Use these specific strategies:
Strategy A: The "Zone Fade" (Range Trading)
This works best in sideways markets.
Identify a Primary Support (Green) and Primary Resistance (Red).
Wait for price to enter the zone.
Look for the "SUPPORT BOUNCE" or "RESISTANCE REJECTION" signal label.
Entry: Enter against the zone (Buy at support, Sell at resistance).
Stop Loss: Place just outside the zone width. Because the zones are calculated using volatility stats, a break of the zone usually means the trade is invalid.
Strategy B: The "Pivot Flip" (Trend Following)
This is the highest probability setup in trending markets.
Look for an Orange Pivot Zone.
Wait for price to break through a Resistance Zone cleanly.
Wait for the price to return to that zone (which may now turn Orange or act as Support).
Look for the "RETEST BUY" label.
Logic: Old resistance becoming new support is a classic sign of trend continuation. The script automates the detection of this exact geometric phenomenon.
Strategy C: The Volatility Squeeze
Look at the Dashboard. Compare High σ and Low σ.
If the values are dropping rapidly or becoming very small, the zones will contract (become narrow).
Narrow zones indicate a "Squeeze" or compression in price.
Prepare for a violent breakout. Do not fade (trade against) narrow zones; look to trade the breakout.
6. Optimization & Customization Guide
Different markets require different settings. Here is how to tune the script:
For Crypto & Volatile Stocks (Tesla, Nvidia)
Method: Set to Adaptive (Mandatory, as these assets have "Fat Tails").
Multiplier: Increase to 1.0 - 1.25. Crypto wicks are deep; you need wider zones to avoid getting stopped out prematurely.
Lookback: 20-30 sessions. Crypto has a long memory; short lookbacks generate too much noise.
For Forex (EURUSD, GBPJPY)
Method: You can force StdDev or IQR. Forex is more mean-reverting and Gaussian.
Multiplier: Decrease to 0.5 - 0.75. Forex levels are often very precise to the pip.
Volume Weighting: You may turn this OFF for Forex if your broker's volume data is unreliable (since Forex has no centralized volume), though tick volume often works fine.
For Scalping (1m - 15m Timeframes)
Lookback: Decrease to 5-10. You only care about the immediate session history.
Decay Factor: Decrease to 0.5. You want the script to forget about yesterday's price action very quickly.
Touch Lookback: Decrease to 20 bars.
For Swing Trading (4H - Daily Timeframes)
Lookback: Increase to 50.
Decay Factor: Increase to 0.95. Structural levels from weeks ago are still highly relevant.
Min Points: Increase to 3 or 4. Only show levels that have been tested multiple times.
7. Advantages Over Standard Tools:
Feature Standard S/R Indicator, Advanced Multi-Level S/R Calculation, Uses simple Pivots or Fractals, Uses Statistical Distributions (MAD/IQR). Zone Width Arbitrary or Fixed Adaptive based on Volatility & ATR.
Context Ignores Volume Volume Weighted (Smart Money tracking).
Time Relevance Old levels = New levels Time Decay (Recency bias applied).
Overlaps Usually ignores overlaps Detects Pivot Zones (Res/Sup Flip).
Scoring None 0-100% Strength Score per zone.
8. Conclusion:
The Advanced Multi-Level S/R Zones script is not just a drawing tool; it is a statistical analysis engine. By accounting for the skewness of data, the volume behind the moves, and the decay of time, it provides a strictly objective roadmap of the market structure.
For the optimum output, combine the Pivot Zone identification with the Retest Signals. This aligns you with the underlying flow of order blocks and prevents trading against the statistical probabilities of the market.
ZeroDegen Mega Pro Pack v2═══════════════════════════════════════════════════════════════════════════════
ZERODEGEN MEGA PRO PACK v2 — Multi-Mode Trading System
═══════════════════════════════════════════════════════════════════════════════
Professional trading indicator with 11 modes for crypto markets. Clear BUY/SELL signals, real-time market analysis, and institutional-grade filters.
🎯 WHAT IT DOES
Analyzes price action using multi-factor confirmation:
- EMA crossovers (9/21) for trend direction
- RSI momentum filtering
- ADX trend strength validation
- Volume confirmation
- Higher timeframe bias (1H trend filter)
- Institutional concepts: Liquidity sweeps, Fair Value Gaps
Generates clear BUY and SELL signals directly on your chart with a real-time status panel showing all market conditions at a glance.
📊 11 TRADING MODES
SCALP (15m): Standard, Aggressive, Conservative
TREND (1H-4H): Standard, Cloud, Institutional
INSTITUTIONAL: Liquidity Engine
MIXED: Pro, Reversal, Auto Engine, Automation + Confidence
Switch modes with one click to match market conditions.
⚡ KEY FEATURES
✓ Clear visual BUY/SELL/EXIT signals
✓ Real-time status panel with all indicators
✓ Smart filters (Volume, ADX, ATR, Range)
✓ HTF Bias display (1H trend direction)
✓ Institutional Confidence score
✓ Works on any crypto pair
✓ TradingView alert-ready
📈 RECOMMENDED USAGE
Timeframes: 15m (scalp), 1H (swing), 4H (trend)
Markets: BTC, ETH, SOL, and other liquid crypto pairs
🔐 HOW TO GET ACCESS
Visit: xeroc00l.org
- Monthly: $59/mo
- Quarterly: $149 (save 15%)
- Lifetime: $497 (one-time)
After payment, send your TradingView username to zerocool@xeroc00l.org — access granted within 24 hours.
🚀 COMING SOON
We're actively developing additional features including bot integration, automated execution, and a private trading community. Subscribe now and get access to all future updates.
Learn more: xeroc00l.org
⚠️ LEGAL DISCLAIMER
This indicator is provided for educational and entertainment purposes only. It is not financial advice and should not be construed as a recommendation to buy, sell, or hold any cryptocurrency or financial instrument.
Trading cryptocurrencies and leveraged products involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. You should not trade with money you cannot afford to lose.
The creators of ZeroDegen are not licensed financial advisors, brokers, or dealers. By using this indicator, you acknowledge that all trading decisions are your own responsibility and you agree that ZeroDegen and its creators are not liable for any losses incurred.
Always do your own research and consider consulting a licensed financial professional before making investment decisions.
© 2025 ZeroDegen | For entertainment purposes only
Impulsive Trend Detector [dtAlgo]This advanced Pine Script indicator identifies and tracks impulsive price movements based on Break of Structure (BOS) and Change of Character (CHoCH) concepts from Smart Money trading methodology.
The indicator automatically detects pivot highs and lows, then monitors when price breaks these key levels to signal potential impulsive moves. BOS indicates continuation in the current trend direction, while CHoCH signals potential trend reversals. Each detected move is measured from the break point to the next opposing pivot, providing accurate percentage calculations that match TradingView's measuring tool.
Impulsive moves are categorized into four levels based on magnitude (Level 1: 5-10%, Level 2: 10-15%, Level 3: 15-20%, Level 4: 20%+), with color-coded visual labels and connecting lines displayed directly on the chart.
Comprehensive Session Analysis:
Track moves across 11 distinct trading sessions in Eastern Time: Pre-London/NY, London/NY overlap, NY (with Power Hour and End subdivisions), Sydney, Asia, Sake Time, Asia/London overlap, London, Weekend, and No Session periods.
Three Dynamic Tables provide:
Real-time statistics (bullish/bearish, BOS/CHoCH, levels)
Session breakdown with move counts and average percentages
Event log showing last 10 moves with date, day, session, direction, type, level, percentage, duration, and bar count
Perfect for Smart Money traders seeking data-driven insights into market structure behavior across global trading sessions.
Trend Targets [Philosopher] Pro Alerts & Live DashTrend Targets Pro: Advanced Trend Analysis & Live Risk Management
Trend Targets Pro is a comprehensive trend-following ecosystem designed for traders who demand precision, automated risk management, and real-time performance tracking. By merging multi-layered trend filtering with dynamic volatility-based targets, this tool transforms complex price action into a clear, actionable roadmap.
Core Methodology
The script utilizes a unique "Dual-Filter" logic to identify high-probability trend shifts:
The Baseline: A sophisticated combination of Supertrend logic smoothed by WMA (Weighted Moving Average) and EMA (Exponential Moving Average). This creates a "Trend Baseline" that filters out market noise and identifies the true directional bias.
Confirmation Rejections: The script tracks price "rejections" against the baseline. Only after a user-defined confirmation count is met does the script signal a continuation, ensuring you aren't entering on minor fluctuations.
Key Features
🚀 Automated Trade Architecture: Upon a trend shift (Bullish/Bearish), the script instantly calculates and draws an Entry Line, an ATR-based Stop Loss, and three tiered Take Profit levels (TP1, TP2, TP3).
📊 Live Performance Dashboard: Track your current session in real-time. The on-chart HUD displays Total Trades, Profitable Trades, and Lost Trades, giving you immediate feedback on the current market's compatibility with the strategy.
🎯 Dynamic Visual Feedback:
Trend-Colored Bars: The entire chart atmosphere adapts to the trend.
Live Labels: Targets dynamically update and change color (Green/Red) when hit, providing "at-a-glance" trade management.
Rejection Signals: Visual triangle markers (▲/▼) indicate potential continuation points within an existing trend.
🔔 Institutional-Grade Alert System:
Entry Alerts: Includes Entry, SL, and all 3 TP prices.
Execution Alerts: Instant notifications when any TP or SL is triggered.
Weekly Reports: Automatically generates a performance summary every Saturday to help you review your weekly net points.
Asset-Specific UI: Built-in emoji support for Gold (XAU), BTC, Forex, and Indices for better readability in Telegram/Discord webhooks.
Risk Management at its Core
The script is built for professional risk-to-reward ratios. By using ATR (Average True Range) for target calculation, the "Philosopher" edition ensures your stops and targets are mathematically proportional to the current market volatility.
Risk Warning included in alerts: "Trading involves high risk. Secure your trade at TP1 and maintain strict risk management."
How to Use
Trend Detection: Wait for a color change in the Baseline or a Plotshape label.
Execution: Use the calculated TP/SL levels provided by the dynamic labels.
Optimization: Adjust the "Supertrend Factor" for higher timeframes and the "Confirmation Count" to filter out choppy markets.
Technical Specifications:
Version: Pine Script™ v6 (Latest)
Overlay: Enabled
Alerts: Fully dynamic (supports placeholders)
Disclaimer
This indicator is for educational and informational purposes only. Past performance does not guarantee future results. Always trade within your risk limits.
Trend Targets [Philosopher] Pro Alerts & Live DashTrend Targets Pro: Advanced Trend Analysis & Live Risk Management
Trend Targets Pro is a comprehensive trend-following ecosystem designed for traders who demand precision, automated risk management, and real-time performance tracking. By merging multi-layered trend filtering with dynamic volatility-based targets, this tool transforms complex price action into a clear, actionable roadmap.
Core Methodology
The script utilizes a unique "Dual-Filter" logic to identify high-probability trend shifts:
The Baseline: A sophisticated combination of Supertrend logic smoothed by WMA (Weighted Moving Average) and EMA (Exponential Moving Average). This creates a "Trend Baseline" that filters out market noise and identifies the true directional bias.
Confirmation Rejections: The script tracks price "rejections" against the baseline. Only after a user-defined confirmation count is met does the script signal a continuation, ensuring you aren't entering on minor fluctuations.
Key Features
🚀 Automated Trade Architecture: Upon a trend shift (Bullish/Bearish), the script instantly calculates and draws an Entry Line, an ATR-based Stop Loss, and three tiered Take Profit levels (TP1, TP2, TP3).
📊 Live Performance Dashboard: Track your current session in real-time. The on-chart HUD displays Total Trades, Profitable Trades, and Lost Trades, giving you immediate feedback on the current market's compatibility with the strategy.
🎯 Dynamic Visual Feedback:
Trend-Colored Bars: The entire chart atmosphere adapts to the trend.
Live Labels: Targets dynamically update and change color (Green/Red) when hit, providing "at-a-glance" trade management.
Rejection Signals: Visual triangle markers (▲/▼) indicate potential continuation points within an existing trend.
🔔 Institutional-Grade Alert System:
Entry Alerts: Includes Entry, SL, and all 3 TP prices.
Execution Alerts: Instant notifications when any TP or SL is triggered.
Weekly Reports: Automatically generates a performance summary every Saturday to help you review your weekly net points.
Asset-Specific UI: Built-in emoji support for Gold (XAU), BTC, Forex, and Indices for better readability in Telegram/Discord webhooks.
Risk Management at its Core
The script is built for professional risk-to-reward ratios. By using ATR (Average True Range) for target calculation, the "Philosopher" edition ensures your stops and targets are mathematically proportional to the current market volatility.
Risk Warning included in alerts: "Trading involves high risk. Secure your trade at TP1 and maintain strict risk management."
How to Use
Trend Detection: Wait for a color change in the Baseline or a Plotshape label.
Execution: Use the calculated TP/SL levels provided by the dynamic labels.
Optimization: Adjust the "Supertrend Factor" for higher timeframes and the "Confirmation Count" to filter out choppy markets.
Technical Specifications:
Version: Pine Script™ v6 (Latest)
Overlay: Enabled
Alerts: Fully dynamic (supports placeholders)
Disclaimer
This indicator is for educational and informational purposes only. Past performance does not guarantee future results. Always trade within your risk limits.
Delta Pressure SpectrumWhat this indicator is (brief)
Delta Pressure Spectrum (DPS-3) is a volume-pressure oscillator that estimates buy vs sell imbalance (a delta proxy), then normalizes it into a robust z-score so “significant” pressure means the same thing across different volatility regimes and market conditions. It visualizes that pressure as delta candles + a histogram, and only “lights up” with three breach tiers (plus an ultra-rare white core) when the move is statistically extreme for the current environment.
How to use it:
1) Read it like a pressure gauge, not an entry signal
-Histogram/candle height = intensity of net pressure (buy-dominant vs sell-dominant).
It’s best at telling you: “Is this move real pressure or just price wiggling?”
2) The 3 tiers tell you “how abnormal” the pressure is
-Tier-1 (weak breach): meaningful but common; “something’s happening.”
-Tier-2 (strong breach): rare enough to care; often aligns with real expansions / squeezes / liquidation events.
-Tier-3 (extreme breach): statistically extreme; often shows climactic behavior (either continuation impulse or blow-off/flush conditions).
-White core: only when Tier-3 overshoots hard—treat as “exceptional event.”
Key idea: tiers are adaptive. Tier-2 on BTC 1m and Tier-2 on ES 1h should both represent “strong for that regime.”
3) Best ways to trade with it (high-signal)
-Trend continuation confirmation: In an uptrend, repeated Tier-2/Tier-3 on the up side = real demand; avoid fading unless structure breaks.
-Exhaustion / climax watch: Tier-3 + white core after an extended run = “crowded pressure.” That can precede either: continuation (if structure holds), or reversal / mean reversion (if structure fails).
So you use it as a warning light, then let price structure confirm.
-Compression → expansion detection:
-Quiet baseline for a while, then sudden Tier-2/Tier-3 = expansion regime shift.
-Divergence (use carefully): Price makes new high, DPS-3 fails to reach prior tier intensity → weakening participation. This is most useful on HTFs or at major levels.
4) What the alerts should mean (how you set them)
-Tier-3 breach alerts: your “something serious just hit the tape” alert.
-Pressure flip alerts: best used as contextual reversal confirmation (it requires strong context in your logic).
-White core alert: extremely rare “event mode” notification—use sparingly.
5) One simple rule that keeps you out of trouble
-Don’t fade Tier-2/Tier-3 pressure just because it’s extreme. Fade only when price structure says the move failed (break of trend / reclaim failure / key level loss). DPS-3 tells you strength, structure tells you directional validity.
CCI Standard DeviationCCI Standard Deviation – Asymmetric Volatility-Adjusted Trend Filter (CCI SD)
The Commodity Channel Index (CCI), created by Donald Lambert in 1980, measures how far the typical price deviates from its statistical average to identify cyclical momentum and trend strength.
The standard formula is:
CCI = (Typical Price − SMA(Typical Price, n)) / (0.015 × Mean Deviation)
where Typical Price = (High + Low + Close)/3.
CCI is unbounded and centered around zero: sustained readings above zero indicate bullish momentum, below zero bearish. Classic interpretations often use zero-line crosses or fixed levels (±100, ±200, ±250), but these can be unreliable when CCI volatility changes across market regimes.
This indicator was developed to create a more disciplined trend-following tool that aligns with my core risk principle: “always protect to the downside.”
Starting from the standard CCI zero-line concept for trend direction, I experimented with standard deviation bands to make the oscillator volatility-adjusted. I then applied deliberate asymmetry: requiring the lower 1σ envelope (CCI − stdev) to cross above a positive threshold for bullish confirmation (high-probability entry only in robust trends), while exiting immediately on any raw CCI weakness below a negative threshold (quick downside protection). User inputs for both thresholds were added to allow fine-tuning and adaptability across different assets and timeframes.
An optional DEMA-smoothed version of the lower envelope provides additional clarity when desired.
Extreme zones
raw CCI ±240 and lower envelope > 200 or < –200 - are highlighted with background shading to flag rare acceleration or capitulation phases.
How it works
Standard CCI calculated on typical price (default length 38).
Rolling standard deviation of the CCI itself (default length 13) measures the oscillator’s recent volatility.
Lower envelope = CCI − stdev (dn).
Optional DEMA smoothing (default length 12) can be toggled.
Trend logic:
Bullish regime only when lower envelope
→ Long Threshold (default +10)
→ statistical proof of strength
Bearish/neutral immediately when raw CCI
→ Short Threshold (default –25)
→ fast downside protection
Origin and development
The indicator emerged from wanting a cleaner, more reliable CCI for trend direction. After testing volatility-adjusted versions, the asymmetric design proved superior:
it enters only high-conviction uptrends and exits rapidly on weakness, significantly reducing whipsaws while preserving trend capture.
Parameters were optimized through extensive backtests on major assets (BTC, ETH, SOL and many more Cryptos; Magnificent 7 stocks, QQQ, SPX, gold).
The defaults were selected for the best average Sortino ratio and lowest maximum drawdown across this broad universe, ensuring robustness and avoiding single-asset overfitting.
How to use it
Green triangle below bar
→ lower envelope crosses above Long Threshold
→ high-conviction bullish trend confirmed
→ enter or add to longs
Magenta triangle above bar
→ CCI crosses below Short Threshold
→ exit longs or go cash/short
While lower envelope remains above Long Threshold
→ hold bullish positions
Extreme background shading (dn >200 or CCI ±240)
→ rare high-attention zones (potential acceleration or exhaustion)
Recommended defaults
CCI length: 38
SD length: 13
Long threshold: +10
Short threshold: –25
Optional MA length: 12 (DEMA of lower envelope)
All visual elements (bar coloring, signals, background, smoothed line) are toggleable for personal preference.
This indicator is designed as a trend-strength and risk-management filter and is not intended as a standalone trading system.
Disclaimer:
This is not financial advice. Backtests are based on past results and are not indicative of future performance.
Smart Money Flow - Institutional OI & Volume Analyzer [Pro]# 🎯 Nifty Smart Money Flow - Institutional OI & Volume Analyzer
## What It Does
Professional-grade indicator that tracks **Open Interest (OI) cycles, volume footprints, and basis analysis** across Nifty 50's top 10 heavyweight stocks (representing ~54% of index weight). Identifies institutional accumulation/distribution using **4-quadrant OI analysis** combined with volume surge detection and ATR-based regime filtering.
## 🔥 Key Features
### Institutional-Grade Analytics
- **OI Cycle Detection**: Identifies Long Buildup (LB), Short Covering (SC), Short Buildup (SB), and Long Unwinding (LU) for top 10 Nifty constituents
- **Volume Validation Layer**: Detects institutional footprints via volume spikes >150-200% of 20-period MA
- **Cost of Carry Analysis**: Real-time basis tracking between spot and futures prices
- **Signal Quality Score (0-100)**: 4-component scoring system measuring alignment strength, weighted momentum, trend purity, and basis confirmation
### Advanced Regime Detection
- **Percent-Based ATR Filter**: Normalized volatility comparison prevents false signals across different price levels
- **Consecutive Bar Confirmation**: Requires 3+ bars of sustained signal before regime classification
- **Dynamic Strategy Recommendations**: Suggests optimal option structures (Call/Put Spreads, Iron Condor, Straddle) based on market regime
### Smart Money Divergence Alerts
- **Top Stock Divergence Detection**: Warns when heavyweight stocks (HDFC, Reliance, ICICI) contradict index signal
- **Pareto Principle Application**: Weights top 3 stocks (~30% index weight) for maximum predictive accuracy
## 📊 Visual Dashboard
Clean, dark-theme optimized table displaying:
- Individual stock OI cycles with color coding
- Basis/premium percentages for each heavyweight
- Alignment metrics (Bullish/Bearish/Neutral count)
- Quality score with position sizing guidance (Full Size/Spreads Only/No Trade)
- Institutional volume confirmation count
- Real-time regime status with ATR ratio
## 💡 How To Use
### For Intraday Traders (1m-15m)
1. Enable "Institutional Volume Filter" for noise reduction
2. Wait for Quality Score ≥60 for directional trades
3. Use regime-based structure recommendations (displayed in INDEX row)
### For Swing/Positional Traders (1H-Daily)
1. Focus on consecutive bar count ≥3 for trend confirmation
2. Check for divergence warnings before major positions
3. Use basis analysis to time entries (premium = bullish sentiment)
### For Options Traders
1. **Quality Score 60-100**: Full size directional (Buy Calls/Puts)
2. **Quality Score 30-60**: Spreads only (Call Spread/Put Spread)
3. **Quality Score 0-30**: Avoid directional; use Iron Condor in choppy regime
## ⚙️ Customization Options
- **10 Toggle Switches**: Show/hide individual stocks for cleaner dashboard
- **Volume Threshold**: Adjust institutional detection sensitivity (default 1.5x)
- **Regime ATR Length**: Fine-tune volatility measurement period (default 14)
- **Alignment Thresholds**: Set minimum bullish/bearish stock count for signals (default 5/10)
## 📈 Best For
- Nifty 50 Index traders (Futures & Options)
- Bank Nifty analysis (3 major banks included)
- Institutional flow tracking
- Multi-stock correlation analysis
- Regime-based strategy adaptation
## 🚨 Alerts Included
✅ Strong Bullish Signal (7+ stocks aligned + volume confirmation)
✅ Strong Bearish Signal (7+ stocks aligned + volume confirmation)
✅ Divergence Warning (Top stocks contradict index move)
✅ Institutional Volume Surge (7+ stocks with volume spikes)
## 📚 Technical Foundation
Based on institutional trading principles:
- **Order Flow Analysis**: Price + OI correlation for position identification
- **Smart Money Concepts**: Volume profile + basis analysis for institutional tracking
- **Regime Filtering**: Adaptive strategy selection based on volatility environment
- **Weighted Aggregation**: Pareto principle ensures top stocks drive signal quality
## 🔧 Version History
- v6.0: Initial release with 10-stock coverage
- Optimized request.security() calls: 30 total (3 per stock)
- Dynamic table rendering with barstate.islast efficiency
## 📌 Important Notes
- **Data Source**: NSE India (Spot + Futures + OI)
- **Update Frequency**: Real-time (dependent on chart timeframe)
- **Best Timeframes**: 5m, 15m, 1H, Daily
- **Avoid**: Pre-market hours (OI data may be stale)
---
**Category**: Volume / Order Flow
**Market**: NSE India - Nifty 50
**Timeframe**: Multi-timeframe (1m to Daily)
**Complexity**: Advanced (suitable for intermediate to professional traders)
## Tags (for SEO)
#nifty50 #orderflow #openinterest #institutional #smartmoney #volume #regime #niftyfutures #niftyoptions #oi #banknifty #heavyweights #basis #costofcarry #divergence #qualityscore #nseindia #optionstrading #algorithmic #quantitative






















