Gann VooDoo Lines [NPR21]GANN VooDoo Lines
Gann Square of 9 - TOS Scale Edition is a high-precision conversion of the classic ThinkOrSwim (TOS) Gann Square of 9 tool, specifically rebuilt for Pine Script v6. It is designed for traders who rely on mathematical price rotations to identify hidden support and resistance levels.
Unlike standard horizontal line tools, this version is specifically engineered to "handshake" with the TradingView price scale, ensuring that every mathematical rotation is clearly labeled on your Y-axis for instant reference.
How to Use This Script
Define Your Anchor Point:
Find a major swing high or swing low on your chart.
Open the script Settings (gear icon) and enter this value into the Manual Anchor Price field.
Select Market Direction:
Down (Support): Use this if your anchor is a Swing High. The script will calculate support levels below that price.
Up (Resistance): Use this if your anchor is a Swing Low. The script will calculate resistance levels above that price.
Adjust the Visual Scope:
Use the Extend Right and Extend Left toggles. If both are checked, the Gann levels will act as infinite "Voodoo Lines" across your entire chart history.
The "TOS Scale" Final Step (Crucial):
To see the colored price boxes on your vertical axis, Right-click the Price Scale (the numbers on the right of your chart).
Hover over Labels and ensure Indicator Value Labels is Checked.
IMPORTANT: Uncheck the option "No Overlapping Labels." Since Gann levels are mathematically precise, they can sometimes be close together; unchecking this forces TradingView to show every single level simultaneously, just like ThinkOrSwim.
อินดิเคเตอร์และกลยุทธ์
UT Bot Decimal + HA Signals + HA VWAP (Bold White Labels)Custom UT Bot with Built in VWAP and ability to use decimal sensitivity and signals fire off of Heikin Ashi candle
Mod_Capital-Fibo🔥 Mk_Suhropbek_Fibo — Smart Fibonacci Trading Tool 🔥
Everyone draws Fibonacci.
Only professionals use it correctly.
💎 Mk_Suhropbek_Fibo is an automated Fibonacci indicator that analyzes real market structure and displays only high-probability levels.
📊 How it works:
— Analyzes the last 100 candles
— Automatically detects market trend (BUY / SELL)
— Draws Fibonacci levels in the correct direction
— Clearly marks 0 / 0.236 / 0.382 / 1 / 1.618 (TP)
⏱ Designed for H1 and higher timeframes
✔️ No noisy scalping
✔️ Clean and readable charts
✔️ Suitable for real accounts and prop firms
🔄 Updates only every 25 bars
— Keeps the chart clean
— No constant redrawing
— Focus on quality setups, not quantity
🎯 One setup = a complete trading scenario
— Clear structure
— Logical profit target (1.618)
— No counter-trend trades
📈 Proven market logic
— No overfitting
— Reusable, consistent behavior
— Discipline over emotions
🧠 Who is this indicator for?
✔️ Traders who use Fibonacci seriously
✔️ Those tired of guessing where to draw fib levels
✔️ Traders who treat trading as a business
🚫 No random entries
✅ Clear system
✅ Structured trading
📌 Mk_Suhropbek_Fibo — not prediction, but calculation.
ICT Precision Turtle Soup NuNi1. Identify the CRT Range (The Context)
Before looking for a trade, the indicator defines the Candle Range Theory (CRT) boundaries based on your lookback period.
CRT High (Red Line): Represents old buy-side liquidity.
CRT Low (Green Line): Represents old sell-side liquidity.
HTF Filter: The code ensures the higher timeframe trend (e.g., 4H) aligns with your direction. Only look for Buys if the HTF trend is bullish.
2. The Manipulation (Turtle Soup 🐢)
Wait for price to move outside the CRT boundaries.
The Trap: Price must sweep below the CRT Low or above the CRT High.
The Reclaim: A Turtle Body Soup (TBS) occurs when the candle body closes back inside the range, or a wick rejection happens.
Symbol: A 🐢 icon will appear on the chart. Do not entry yet. This is just a warning that a setup is forming.
3. The Shift & Momentum (The Trigger)
To ensure a high-probability entry, the indicator waits for two technical confirmations:
MSS (Market Structure Shift): Price must break the most recent swing high (for Buys) or swing low (for Sells).
Displacement: The breaking candle must be "displaced"—meaning it has a large, energetic body compared to previous candles. This proves that big banks/institutions are moving the price.
4. The Entry Execution
Once all conditions are met, the "⭐ PRECISION ENTRY" label will appear.
Execution: You can enter at the market price when the label appears.
Retest Entry: Alternatively, look for the price to return to the IFVG or Breaker Zone (the shaded box) drawn by the indicator for a more refined entry.
NQ Hourly Retracements - 12y Stats with LevelsHour Stats with Levels - TradingView Indicator Description
IMPORTANT: NQ FUTURES ONLY
This indicator is specifically designed for and calibrated to NQ (Nasdaq-100 E-mini) futures only. The statistical data is derived exclusively from 13 years of NQ price action (2013-2025). Do not use this indicator on any other asset, ticker, or market as the statistics will not be applicable and may lead to incorrect trading decisions.
Overview
"Hour Stats with Levels" is a statistical analysis indicator that provides real-time probability-based insights into hourly price behavior patterns. The indicator combines historical pattern recognition with live price action to help traders anticipate potential sweep and reversal scenarios within each trading hour.
Originality and Core Concept
This indicator is based on a comprehensive statistical analysis of 12y years of 1-minute NQ futures data, examining a specific price pattern: when an hourly candle opens inside the previous hour's range. Unlike generic support/resistance indicators, this tool provides hour-specific, context-aware probabilities based on 30,000+ historical occurrences of this pattern.
The originality lies in three key areas:
Pattern-Specific Statistics: Rather than applying generic technical analysis, the indicator only activates when the current hour opens within the previous hour's range, providing relevant statistics for this exact scenario.
Context-Aware Probabilities: Statistics are differentiated based on whether the current hour opened above or below the previous hour's open, recognizing that bullish and bearish opening contexts produce different behavioral patterns.
Comprehensive Retracement Tracking: The indicator tracks four independent retracement levels after a sweep occurs, showing the probability of price returning to: the swept level itself (90+% probability), the 50% level, the current hour's open, and the opposite extreme.
How It Works
The Core Pattern
The indicator monitors a specific price structure:
Setup Condition: The current hourly candle opens inside (between) the previous hour's high and low
Sweep Event: Price then breaks above the previous high (high sweep) or below the previous low (low sweep)
Retracement Analysis: After a sweep, the indicator tracks whether price retraces to key levels
Statistical Foundation
The underlying analysis processed 1-minute bar data from 2013-2025, identifying every instance where an hourly candle opened inside the previous hour's range. For each occurrence, the system tracked:
Whether the high, low, or both were swept during that hour
The distance of the sweep measured as a percentage of the previous hour's range
Whether price retraced to four key levels: the swept level, the 50% point, the current open, and the opposite extreme
These measurements were aggregated for all 24 hours of the trading day, with separate statistics for bullish contexts (opening above previous open) and bearish contexts (opening below previous open), creating 48 unique statistical profiles.
Sweep Distance Percentiles
The "reversal levels" are drawn based on historical sweep distance distributions:
25th Percentile: 75% of historical sweeps were larger than this distance. This represents a conservative reversal zone where smaller, contained sweeps typically reverse.
Median (50th Percentile): The midpoint of all historical sweep distances. Half of all sweeps reversed before reaching this level, half extended beyond it.
75th Percentile: Only 25% of sweeps extended beyond this distance. This represents an extended sweep zone where price has historically shown exhaustion.
For example, if the previous hour's range was 20 points and the median high sweep distance is 40% of range, the median reversal level would be placed 8 points above the previous high.
How to Use the Indicator
Sweeps were calculated using 1m data - as such, it's recommended to use the indicator on a 1min chart
Visual Components
Hour Delimiter (Gray Vertical Line)
Marks the start of each new hour
Helps identify when new statistics become active
Sweep Markers
Green "H" label: High sweep has occurred this hour
Red "L" label: Low sweep has occurred this hour
Markers appear on the exact bar where the sweep happened
Target Levels (Blue Lines)
Prev Open: Previous hour's opening price
Prev High: Previous hour's highest price (sweep target)
Prev Low: Previous hour's lowest price (sweep target)
Prev 50%: Midpoint of previous hour's range
Current Open: Current hour's opening price (key retracement target)
Reversal Levels (Purple Dashed Lines)
Positioned beyond the previous high/low based on historical sweep percentiles
Three levels above previous high (for high sweeps)
Three levels below previous low (for low sweeps)
These represent statistically-derived zones where sweeps typically exhaust
The Statistics Table
The table dynamically updates each hour and displays different statistics based on whether the current hour opened above or below the previous hour's open.
Status Row
Shows current state: waiting for sweep, or which sweep(s) have occurred
If waiting, indicates which sweep is more probable based on historical data
SWEEP PROBABILITIES Section
High Sweep: Historical probability (%) that price will sweep the previous high this hour
Low Sweep: Historical probability (%) that price will sweep the previous low this hour
Both Sweeps: Historical probability (%) that price will sweep both levels this hour
These probabilities are derived from counting how many times each pattern occurred in similar historical contexts. For example, "High Sweep: 73.18%" means that in 73.18% of historical occurrences where the hour opened in this same context (same hour of day, same position relative to previous open), price swept the previous high before the hour closed.
AFTER HIGH SWEEP → Section
These statistics activate only after a high sweep has occurred. They show the probability of price retracing to various levels:
→ Prev High: Probability that price returns to (or below) the level it just swept. This is typically 90%+ because sweeps often act as "false breakouts" or liquidity grabs before reversal.
→ 50% Level: Probability that price retraces at least halfway back into the previous hour's range. This represents a moderate retracement.
→ Current Open: Probability that price retraces all the way back to where the current hour opened. This indicates a complete reversal of the sweep move.
→ Prev Low: Probability that price retraces entirely through the previous range to touch the opposite extreme. This represents a full reversal pattern.
AFTER LOW SWEEP → Section
Mirror of the above, but for low sweeps:
→ Prev Low: Retracement to the swept low level (90%+ probability)
→ 50% Level: Retracement to middle of range
→ Current Open: Full retracement to current hour's open
→ Prev High: Complete reversal to opposite extreme
Important Note on Retracement Statistics: These percentages are tracked independently. A 90% probability of returning to the swept level doesn't mean there's only a 10% chance of deeper retracement. Price can (and often does) retrace through multiple levels sequentially. The percentages show how many times price reached at least that level, not where it stopped.
Trading Applications
Anticipating Sweeps
When an hour opens inside the previous range, check the probabilities. If "High Sweep: 70%" and "Low Sweep: 30%", you know there's a 70% historical likelihood of an upside sweep occurring this hour. This doesn't guarantee it will happen, but provides statistical context for potential setups.
Reversal Trading
The most reliable pattern in the data is the 90%+ retracement probability to swept levels. When a sweep occurs, traders can anticipate a retracement back to at least the swept level in the vast majority of cases. The reversal level percentiles help identify where sweeps may exhaust.
Position Management
The retracement probabilities help manage existing positions. For example, if you're long and a high sweep occurs, you know there's a 90%+ chance of at least some retracement to the swept level, which might inform profit-taking or stop-loss decisions.
Confluence with Current Open
The "Current Open" retracement statistics (typically 60-70%) highlight the magnetic quality of the hour's opening price. After a sweep, price frequently returns to test this level.
Customization Options
The indicator offers extensive visual customization:
Toggle on/off: hour delimiters, sweep markers, target levels, reversal levels, statistics table
Customize colors, line widths, and styles for all visual elements
Adjust label sizes and table position
Show/hide individual target levels and reversal percentiles
Limitations and Considerations
Pattern-Specific: The indicator only provides statistics when the current hour opens inside the previous hour's range. If the hour opens outside this range (gaps up or down), the statistics are not applicable.
Historical Probabilities: The percentages represent historical frequencies, not predictions. A 70% probability means it happened 70% of the time historically, not that it will definitely happen 7 out of 10 times going forward.
NQ-Specific Calibration: All statistics are derived from NQ futures data. Market behavior, volatility, and patterns differ across assets.
Hour-Specific Behavior: Different hours show dramatically different statistics. For example, the 9 AM EST hour (market open) shows much higher sweep probabilities (80%+) than the 5 PM EST hour (30-50%) due to differing liquidity and volatility conditions.
No Guarantee of Execution: While a 90% retracement probability is high, it means 10% of the time, price did NOT retrace. Always use proper risk management.
Technical Notes
The indicator uses hourly timeframe data via request.security() to determine previous hour values
Sweep detection occurs in real-time on the chart's timeframe
Statistics are hardcoded from the comprehensive backtested analysis (not calculated on-the-fly)
The indicator stores static values at the start of each hour to ensure consistency as the hour progresses
All percentage values are rounded to one decimal place for clarity
This indicator provides a statistically-grounded framework for understanding hourly price behavior in NQ futures. By combining real-time pattern detection with comprehensive historical analysis, it offers traders probabilistic insights to inform decision-making process within the specific context of each trading hour.
Linear Regression ChannelsThis indicator dynamically identifies and plots the best-fit linear regression channels based on recent pivot points, optimizing for statistical strength across user-defined depths.
How It Works (Technical Methodology)
1. Pivot Point Detection
The indicator uses Pine Script's ta.pivothigh() and ta.pivotlow() functions with a configurable sensitivity length to detect swing highs and lows. All recent pivot indices are stored in an array (limited to avoid performance issues), providing potential starting points for regression calculations.
2. Multi-Depth Evaluation
Users input comma-separated "Pivot History Depths" (e.g., "5,20,50"). For each depth:
- The script evaluates regression fits starting from the most recent pivots, up to the specified depth count.
- It calculates linear regression statistics for each possible channel originating from those pivot bars backward to the current bar.
3. Linear Regression Calculation
For each candidate channel:
- Slope (m) and intercept (b) are computed using least-squares method.
- R-squared (R²) measures goodness of fit (how well price follows the trend line).
- Standard error of the estimate is calculated to quantify volatility around the regression line.
- A composite score = R² × log(length) prioritizes stronger fits on longer periods.
4. Best-Fit Selection and Validation
- Only channels with R² ≥ user-defined minimum (default 0.5) are considered valid.
- The channel with the highest score for each depth is selected and drawn.
- This ensures the most statistically significant and relevant channels are displayed, avoiding weak or short-term noise.
5. Channel Construction
- Mean Line: The regression trend line extended slightly into the future.
- Inner Channels: ± user-configurable standard deviation multiplier (default 2.0σ) around the mean.
- Outer Bands: ±1.5× the inner deviation for additional visual context.
- Filled areas between mean and inner channels for better visibility.
- Color: Green shades for upward slopes (bullish trend), red shades for downward slopes (bearish trend).
6. Dashboard and Statistics
- Optional table in the top-right corner displays for each depth:
- Depth value
- R² (colored green if >0.7, orange otherwise)
- Slope (Beta) – positive blue for uptrend, red for downtrend
- Current Z-Score: How many standard deviations the latest close is from the expected regression value (yellow if |Z| > 2)
How to Use
Regression channels help identify trending markets, potential mean reversion, and overextension.
- Upward Channels (Green): Price above the mean may indicate strength; pullbacks to the mean or lower band offer long opportunities. Overextension above upper band could signal exhaustion.
- Downward Channels (Red): Price below the mean may indicate weakness; rallies to the mean or upper band offer short opportunities. Overextension below lower band could signal capitulation.
- High R² (>0.7): Strong trending channel – trade in direction of slope.
- Low R²: Choppy/range-bound market – avoid trend-following trades.
- Z-Score: |Z| > 2 suggests price is statistically overextended from the trend (potential reversion setup).
- Multi-Depth: Smaller depths catch short-term trends; larger depths capture major trends. Use multiple for confluence across timeframes.
Combine with volume, support/resistance, or other indicators for confirmation.
Disclaimer
This indicator is a technical analysis tool and should be used in conjunction with other forms of analysis. Past performance does not guarantee future results. Always use proper risk management.
cd_VW_CxOverview
The cd_VW_Cx is a sophisticated trend analysis tool designed to quantify market momentum using Multi-Period VWAP (Volume Weighted Average Price). Unlike standard indicators, this script evaluates the current price relationship across multiple historical VWAP anchors to generate a real-time "Confidence Score" ranging from -100 to +100.
💡 Key Features
• Dynamic Anchoring: Seamlessly switch between Daily, Weekly, or Monthly open anchors to align with your trading style (Scalping, Day Trading, or Swing).
• Algorithmic Scoring (The Score Box): The indicator compares the current VWAP against historical periods.
o Score > +70: Strong Bullish Momentum.
o Score < -70: Strong Bearish Momentum.
• Polyline Rendering: Utilizes Pine Script v6’s advanced polyline architecture for high-performance, sleek visual plotting that doesn't clutter your chart.
• Institutional Support/Resistance: Historical VWAP levels are color-coded, often acting as "invisible" magnetic zones where institutional orders are clustered.
🛠 How to Trade with cd_VW_Cx
1. Momentum Confirmation: Look for the Score Box to turn Teal (Bullish) or Red (Bearish). This indicates that the current trend has statistical backing from multiple previous sessions.
2. The Breakout Signal: The script tracks price crossovers of the current VWAP. A "Bullish Breakout" combined with a high score is a high-probability entry signal.
3. Visual Guidance: Use the custom labels to identify which specific day/week/month’s VWAP is currently being tested as support or resistance.
⚙️ Customizable Settings
• Anchor Selection: Choose the calculation basis (Daily, Weekly, Monthly).
• Thresholds: Adjust the sensitivity of the Bullish/Bearish alerts (Default is +/- 70).
• Visuals: Full control over table positioning, font sizes, and color palettes to match your chart theme.
📢 cd_VW_Cx: Multi-Period VWAP Scoring & Analysis Guide
🔍 Overview & Visual Logic
The labels next to the VWAP levels dynamically change based on your Anchor selection:
• Daily Open: Displays the Day Name (e.g., Monday, Tuesday).
• Weekly Open: Displays the Week Number (1 – 52).
• Monthly Open: Displays the Month Number (1 – 12).
•
General View:
________________________________________
🚦 How to Filter & Track Your Assets
You can monitor your favorite assets using two powerful methods:
1. Real-Time Alerts
Stay updated with TradingView notifications:
• Per Asset: Track a single pair.
• Watchlist Basis: Monitor your entire list at once. Alert Setup Guide:
2. Pine Screener Integration
Filter the market effortlessly using the Pine Screener. Pine Screener View:
________________________________________
⚙️ Settings & Configuration
• Timeframe Selection: Your chart timeframe must be lower than the selected Anchor timeframe. (e.g., If "Daily Open" is selected, the timeframe should be lower than 1D).
• Anchor Choice: Select Daily, Weekly, or Monthly opens.
• Source Selection: Default value is set to ohlc4. Source Settings:
Filtering Criteria Examples:
• Bullish Filtering: Find assets with high momentum scores.
• Bullish Breakout (Single Criteria): Filters assets that have closed above the current VWAP level.
• Combined Strength (Score + Breakout): Filters assets that have a Score > 70 AND a fresh VWAP Breakout simultaneously.
________________________________________
⚠️ Important Notes & Warnings
• Calculation Logic: The indicator calculates levels and scores on timeframes lower than the anchor. It is best used on timeframes that are close to but lower than the anchor.
• Avoid Extreme Gaps: Using a very low timeframe (e.g., 1m) with a very high anchor (e.g., Monthly) increases the risk of erroneous results.
• Optimization: The default score threshold of 70 is a starting point; I recommend adjusting it based on your own trading experience.
• The Power of Confluence: VWAP levels are naturally strong. Their significance increases when they coincide with institutional levels like PDH (Previous Day High), Session H/L, or HTF FVG.
• Experience Matters: A high score alone is not enough for an entry. Always combine this data with your personal strategy.
________________________________________
💬 Community & Feedback
I would love to hear your suggestions regarding the scoring logic or visual improvements! Feel free to share your thoughts in the comments.
Happy Trading! 🚀
Elephant Edge Session Levels Predictor**Elephant Edge** is a robust trading tool designed to streamline decision-making for swing and intraday traders alike. It combines accuracy and simplicity to help you spot promising buy and sell signals with ease. The Session Levels Predictor+ feature draws upper and lower percentile lines derived from session data, enabling traders to pinpoint key support and resistance areas accurately. It computes these percentile projections from daily sessions automatically and displays them as sleek, adjustable lines—perfect for intraday and short-term strategies focused on statistical price boundaries.
For **swing traders**, Elephant Edge highlights pivotal market reversals and trend shifts, allowing you to seize bigger trends and maintain momentum. For **intraday traders**, it offers precise buy and sell thresholds, providing reliable entry and exit cues during active market hours.
No matter if you're chasing quick trades or sustaining positions over several sessions, Elephant Edge promotes a methodical and disciplined strategy. Its smart signals cut through market clutter, delivering a solid advantage while eliminating emotional biases.
With **Elephant Edge**, you shift from merely responding to the market to trading with **precision, assurance, and reliability**.
ABC Pro Ultimate S/RABC Pro Ultimate is a high-precision trading tool designed to identify harmonic ABC (Zigzag) patterns and combine them with institutional Support & Resistance levels. Unlike standard indicators that clutter your chart with noise, this script filters for high-relevance pivot points from the distant past to provide truly meaningful trade setups.
Universal Moving Average🙏🏻 UMA (Universal Moving Average) represents the most natural and prolly ‘the’ final general universal entity for calculating rolling typical value for any type of time-series. Simply via different weighting schemes applied together, it encodes:
Location of each datapoint in corresponding fields (price, time, volume)
Informational relevance of each datapoint via using windowing functions that are fundamental in nature and go beyond DSP inventions & approximations
Innovation in state space (in our case = volatility)
The real beauty of this development: being simply a weighting scheme that can be applied to anything: be it weighted median , weighted quantile regression, or weighted KDE , or a simple weighted mean (like in this script). As long as a method accepts weights, you can harness the power of this entity. It means that final algorithmic complexity will match your initial tool.
As a moving ‘average’ it beats ALMA, KAMA, MAMA, VIDYA and all others because it is a simple and general entity, and all it does is encoding ‘all’ available information. I think that post might anger a lot of people, because lotta things will be realized as legacy and many paywalls gonna be ignored, specially for the followers of DSP cult, the ones who yet don’t understand that aggregated tick data is not a signal omg, it’s a completely different type of time series where your methods simply don’t fit even closely. I am also sorry to inform y’all, that spectral analysis is much closer to state-space methods in spirit than to DSP. But in fact DSP is cool and I love it, well for actual signals xD
...
Weights explained & how to use them: as I already said, the whole thing is based on combining different set of weights, and you can turn them on/off in script settings. Btw I've set em up defaults so you can use the thing on price data out of the box right away.
Price, Time, Volume weights: encode location of every datapoint in Price & TIme & Volume field
Howtouse: u have to disable one weight that corresponds to the field you apply UMA to. E.g if you apply UMA to prices, you turn off price weighting And turn on time and volume weighting. Or if you apply UMA to volume delta, you turn off volume weighting And turn on price and time weighting.
Higher prices are more important, this asymmetry is confirmed and even proved by the fact that prices can’t be negative (don’t even mention that incorrect rollover on CL contract in 2k20...).
Signal weights: encode actuality/importance/relevance of datapoints.
Howtouse: in DSP terms, it provides smoothing, but also compensates for the lag it introduces. This smoothness is useful if you use slope reversals for signal generation aka watching peaks and valleys in a moving average shape. It's also better to perturb smoothed outputs with this , this way you inject high freq content back, But in controlled way!
Signal = information.
The fundamental universal entity behind so-called “smoothing” in DSP has nothing to do with signals and goes eons beyond DSP. This is simply about measuring the relevance of data in time.
First, new datapoints need some time to be “embedded” into the timeline, you can think of it as time proof, kinda stuff needs time to be proved, accepted; while earliest datapoints lose relevance in time.
Second, along with the first notion, at the same time there’s the counter notion that simply weights new data more, acting as a counterweight from the down-weighting of the latest datapoints introduced by the first notion.
The first part can be represented as PDF of beta(2, 2) window (a set of weights in our case). It’s actually well known as the Welch window, that lives in between so called statistical and DSP worlds, emerges in multiple contexts. Mainstream DSP users tho mostly don’t use this one, they use primitive legacy windowing function, you can find all kinds on this wiki page.
Now the second part, where DSP adepts usually stop, is to introduce the second compensating windowing function. Instead they try to reduce window size, or introduce other kinds of volatility weights, do some tricks, but it ain’t provides obviously. The natural step here is to simply use the integral of the initial window; if the initial window is beta(2, 2) then what we simply need is CDF of beta(2, 2), in fact the vertically inverted shape of it aka survival function . That’s it bros. Simply as that.
When both of these are applied you have smth magical, your output becomes smooth and yet not lagging. No arbitrary windowing functions, tricks with data modification etc
Why beta(2, 2)? It naturally arises in many contexts, it’s based on one of the most fundamental functions in the universe: x^2. It has finite support. I can talk more bout it on request, but I am absolutely sure this is it.
^^ impulse response of the resulting weighs together (green) compared with uniform weights aka boxcar (red). Made with this script .
Weighing by state: encodes state-space innovation of each datapoint, basically magnitude of changes, strength of these changes, aka volatility.
Howtouse: this makes your moving average volatility aware in proper math ways. The influence of datapoints will be stronger when changes are stronger. This is weighting by innovations, or weighting by volatility by using squared returns.
Why squared returns? They encode state‑space innovations properly because the innovation of any continuous‑time semimartingale is about its quadratic variation, and quadratic variation is built from squared increments, not absolute increments.
Adaptive length is not the right way to introduce adaptivity by volatility xD. When you weight datapoints by squared returns you’re already dynamically varying ‘effective’ data size, you don’t need anything else.
...
It’s all good, progress happens, that’s how the Universe works, that's how Universal Moving Average works. Time to evolve. I might update other scripts with this complete weighting scheme, either by my own desire or your request.
...
∞
Anurag -Precision Options Scalper [Multi-TF] -A professional-grade options day trading system built for SPY, QQQ, and SPX.
CORE FEATURES:
- Multi-timeframe analysis (15m regime → 5m setup → 1m execution)
- Market regime detection using ADX + ATR Z-Score (filters out chop)
- Confidence scoring system (0-100) — only takes high-probability setups
- Auto DTE engine recommends 0DTE vs 1DTE based on conditions
- Suggested strike prices (slightly OTM)
- Built-in position tracking with stop/target levels
- Session filtering (9:30 AM - 4:00 PM ET only)
- End-of-day forced exit warning
SIGNAL LOGIC:
CALL: 15m bullish bias + trending regime + price above VWAP/EMAs + pullback to support + bullish candle + 1m momentum confirmation
PUT: 15m bearish bias + trending regime + price below VWAP/EMAs + rejection from resistance + bearish candle + 1m momentum confirmation
RISK MANAGEMENT:
- ATR-based stops and targets
- Break-even stop movement after partial profit
- Time-based exit if momentum dies
- Max 4 trades per day (configurable)
- Gamma scalp mode for 0DTE (tighter stops/targets)
BEST ON: 5-minute chart | SPY, QQQ, SPX
STYLE: Pullback entries in trending markets
⚠️ For educational purposes. Not financial advice. Manage your own risk.
IDAHL | QuantEdgeBIDAHL | QuantEdgeB
🔍 Overview
The IDAHL indicator builds adaptive, volatility-aware threshold bands from two separate ALMA lines—one smoothed from recent highs, the other from recent lows—then uses percentiles of those lines to define a dynamic “high/low” channel. Price crossing above or below that channel triggers clear long/short signals, with on-chart candle coloring, fills, optional labels and even a built-in backtest table.
✨ Key Features
• 📈 Dual ALMA Bands (with DEMA pre-smoothing)
o High ALMA: ALMA applied to DEMA-smoothed highs (high → DEMA(30) → ALMA).
o Low ALMA: ALMA applied to DEMA-smoothed lows (low → DEMA(30) → ALMA).
• 📊 Percentile Thresholds
o Computes a high threshold at the Xth percentile of the High ALMA over a lookback window.
o Computes a low threshold at the Yth percentile of the Low ALMA.
o Shifts each threshold forward by a small period to reduce repainting.
• ⚡ Dynamic Channel Logic
o When price closes above the high percentile line, the “final” threshold flips down to the low percentile line (and vice versa), creating an adaptive channel that only moves when the outer bound is violated.
o Inside the channel, the threshold holds its last value to avoid whipsaw.
• 🎨 Visual & Alerts
o Plots the two percentile lines and fills between them with a color that reflects the current regime (green for long, yellow for neutral, orange for short).
o Colors your candles to match the active signal.
o Optional “Long”/“Short” labels on confirmed flips.
o Alert conditions fire on each long/short crossover.
• 📊 On-Chart Backtest Metrics
o Toggle on a small performance table—complete with win-rate, net P/L, drawdown—from your chosen start date, without any extra code.
⚙️ How It Works
1. Adaptive Smoothing (ALMA)
o Uses ALMA (Arnaud Legoux Moving Average) for smooth, low-lag filtering. In this script, the inputs are additionally pre-smoothed with DEMA(30) to reduce noise before ALMA is applied—improving stability on highs/lows.
2. Percentile Lines
o The High ALMA series feeds a linear-interpolation percentile function to generate the upper bound; the Low ALMA produces the lower bound.
o These lines are offset by a small look-ahead (X bars) to reduce repaint behavior.
3. Channel Logic
o Breakout Flip: When the selected source (default: Close) closes above the upper bound, the active threshold “jumps” to the lower bound—locking in a new channel until price next crosses.
o Breakdown Flip: Conversely, a close below the lower bound flips the threshold to the upper bound.
4. Signal Generation
o Long while the source is above the current “final” threshold.
o Short while below.
o Neutral inside the channel before any flip.
5. Visualization & Alerts
o Dynamic fills between the two percentile lines change hue as the regime flips.
o Candles adopt the regime color.
o Optional pinned “Long”/“Short” labels at flip bars.
o Alerts on every signal crossover of the zero-based regime line.
6. Backtest Table
o From your chosen start date, a mini-table displays cumulative P/L, win rate and drawdown for this strategy—handy for quick in-chart validation.
🎯 Who Should Use It
• Breakout Traders hunting for adaptive channels that auto-recenter on new highs/lows.
• Volatility Traders who want thresholds that expand and contract with market turbulence.
• Trend-Chasers seeking a fresh take on high/low channels with built-in smoothing.
• Systematic Analysts who appreciate on-chart backtesting without leaving TradingView.
⚙️ Default Settings
• ALMA Length: 14
• Percentile Length: 35 bars
• Percentile Lookback Period (offset): 4 bars
• Upper Percentile: 92%
• Lower Percentile: 50%
• Threshold Source: Close
• Visuals: Candle coloring on, labels off by default, “Strategy” palette
• Backtest Table: on by default (toggleable)
• Start Date (Backtest): 09 Oct 2017
📌 Conclusion
IDAHL blends two smooth, low-lag ALMA filters (fed by DEMA-smoothed highs/lows) with percentile-based channel construction for a self-rewiring high/low envelope. It gives you robust breakout/breakdown signals, immediate visual context via colored fills and candles, optional labels, alerts, and even performance stats—everything you need to spot and confirm regime shifts in one compact script.
🔹 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.
Body Close Continuity & failure Backtesting @MaxMaseratiThis indicator, is a highly advanced institutional-grade tool designed to track the "lifespan" of a trend based on Body Close (BC) sequences.
Unlike basic indicators that just show direction, this script analyzes the structural integrity of a trend by monitoring how many candles continue the move before a "Touch" (retest) or a "Break" (failure) occurs.
The Continuity & Failure Stats indicator tracks sequences of Bullish Body Closes (BuBC) and Bearish Body Closes (BeBC). It measures three critical phases: Building (pure momentum), Touching (price retesting the low/high of the sequence), and Resumption (price continuing the trend after a retest). It provides a statistical distribution of how long these "buildings" typically last before failing, allowing traders to know exactly when a trend is overextended.
This comprehensive analysis blends the statistical breakdown of the Continuity & Failure Stats indicator to provide a deep understanding of the structural momentum for the S&P 500 E-mini (ES1!) on a 4-hour timeframe.
1. Extensive Table Breakdown
A. Building Distribution (Left Table): The Fatigue Gauge
This table acts as a histogram of momentum, tracking the "Building Count"—the number of consecutive candles closing in a trend without price returning to its origin.
Count Column: Represents the streak length (e.g., 1, 2, or 3 candles).
Touch Column: Shows how many times a streak was interrupted by a retest ("touch") but remained structurally intact.
Break Column: Counts total structural failures where price closed beyond the sequence's anchor.
Data Insight: For BuBC, 92 sequences reached Count 1, but only 28 remained by Count 4. This reveals a steep momentum decay after the 3rd candle, establishing a "Statistical Wall" where only 2 sequences in history reached a count of 9.
B. MMM Summary Stats (Top Right): The Mathematical DNA
This table provides the "Expected Value" and behavior of a trend over the lookback period.
Avg Building (2.39 for BuBC): On average, a bullish move lasts ~2.4 candles of pure momentum before a retest or reversal occurs.
Avg Touches (0.8): This low number indicates "clean" trends that rarely wobble back to retest levels multiple times before reaching a conclusion.
Avg R Cycles (0.55): This suggests that once a bullish trend is interrupted, it only successfully resumes its momentum about half the time.
Max R Count (1): Typically, once a trend is "touched," it only manages one more push before failing.
C. Multi-Timeframe (MTF) Quick Stats (Bottom Right): Trend Weight
This compares the 4H chart against other layers of the market to identify "global" alignment.
Sample Comparison: There are 3,594 tracked BuBC sequences on the 4H compared to only 142 on the Weekly chart.
Fractal Law: The Avg Building (2.4) is consistent across several timeframes, implying that the "Rule of Three" (momentum fading after 3 candles) is a fractal characteristic of this asset.
2. Table Comparison: Synthesizing the Data
To trade effectively, you must compare Distribution (timing) against Summary Stats (averages):
Continuity vs. Failure: The Summary Stats show an average building of 2.39. When checking the Distribution table at Count 2, the "Break" count (58) is already high relative to the "Total". This confirms that the risk of failure increases exponentially the moment you exceed the average.
Momentum vs. Mean Reversion: Distribution tells you when a trend is "tired". If the 4H is at a "Building Count 4" (statistically overextended) while the Weekly chart is at "Building Count 1" (fresh momentum), you may choose to prioritize the higher timeframe's strength despite the local overextension.
3. Strategic Summary & Application
This indicator proves that market momentum follows a predictable "Building" cycle rather than an infinite streak.
The "Rule of Three" for ES1! 4H:
The Entry Zone (Momentum Start): The most profitable entries occur at Building Count 1. Statistically, you have a high probability of reaching a count of 2 or 3.
The Exit Zone (Momentum Limit): Take profits or tighten stops at Count 3. The data shows the sample size drops by nearly 50% between Count 3 and Count 4.
The "Touch" Rule (Retest Reliability): If price returns to the sequence low (a "Touch"), do not expect a massive continuation. The Max R Count of 1 tells us that resumptions are usually short-lived.
Danger Zone: Entering at Building Count 4 or higher is statistically dangerous, as the "Break" probability significantly outweighs the "Touch" or continuation probability.
Long Short Trading System With TableSmart Trading System Pro is an advanced TradingView indicator designed for precision and clarity.
It combines Order Blocks, Liquidity Zones, EMA trend alignment, MACD, RSI, Volume, and ATR-based risk management to generate high-quality LONG / SHORT signals.
🔹 Clear trade direction
🔹 Smart entry, stop-loss & multi-level take-profit
🔹 Automatic risk/reward & leverage calculation
🔹 Clean visual dashboard for fast decision-making
Built for traders who value structure, confirmation, and risk control.
Best suited for crypto, forex, and indices on all timeframes.
Disclaimer:
This indicator is for educational and informational purposes only and does not constitute financial advice.
Trading involves risk, and past performance does not guarantee future results.
You are solely responsible for your trading decisions and outcomes.
Participation-Weighted Orderflow Bubbles (HTF / LTF Context ToolThis indicator visualizes participation-weighted market pressure by aggregating lower-timeframe price and volume data into higher-timeframe context bubbles. It is designed to help identify directional dominance, balance, and absorption across timeframes. This is a context and bias tool, not a trade signal generator.
What the indicator shows
Each bubble represents a single chart bar, built from lower-timeframe candles.
Total Notional
Aggregated volume multiplied by price from lower-timeframe candles.
Buy / Sell Proxies
Lower-timeframe candles are classified based on where they close within their range:
– Close near the high → buy-side proxy
– Close near the low → sell-side proxy
– Middle of the range → neutral
Delta (USD and %)
Buy proxy notional minus sell proxy notional, expressed as both absolute USD delta and percentage of total notional.
Bubble colors
Green
Buy-side participation dominance.
Sell color (user configurable)
Sell-side participation dominance. The default is chosen for visibility on bearish candles and can be changed in settings.
Grey
Balanced participation. Indicates two-way trade, consolidation, or auction.
Yellow (Absorption)
High notional with limited price movement, suggesting potential absorption or distribution.
Coloring uses both relative dominance (delta percentage) and absolute dominance (minimum delta in USD), which improves behavior on higher timeframes.
Bubble size and visuals
Bubble size scales with total notional.
HD glow layers adapt automatically by timeframe.
Bubbles are drawn in front of candles for clarity.
Optional text displays delta and total notional.
Hovering over a bubble shows detailed information including total notional, buy/sell/neutral proxies, delta values, absorption status, and the number of lower-timeframe candles used.
Timeframe behavior
The indicator is designed to work across multiple timeframes. On higher timeframes, more grey bubbles are expected due to natural auction and balance behavior. Colored bubbles on higher timeframes represent sustained participation rather than short-term momentum. Visual density and performance are automatically adjusted on higher timeframes.
How to use it
Recommended workflow:
1. Higher timeframe (1H, 4H, Daily)
Use the bubbles to identify dominant buy or sell participation, balance zones, and absorption near highs or lows.
2. Lower timeframe (5m, 15m)
Take trades in alignment with the most recent higher-timeframe dominance. Be cautious or range-focused inside higher-timeframe balance zones. Use structure and price action for entries.
What this indicator is not
This indicator does not show true bid/ask data.
It does not display actual market versus limit orders.
It does not replace a DOM or exchange orderflow feed.
It should not be used as a standalone entry signal.
The indicator works within TradingView’s available data and provides a probabilistic, participation-weighted view of market pressure rather than true tape or orderflow data.
Best practices
Use a 1-minute lower timeframe for best results.
Avoid setting the lower timeframe too high relative to the chart timeframe.
Combine this tool with structure, levels, and session context.
Treat grey bubbles as information about balance, not as noise.
This tool is intended for traders who want better context and bias, not more signals.
rosh Swift ALGO-X based on ema for xauusd scalping use with original settings, assured 100 pips per day
Multi-Fractal Trading Plan [Gemini] v22Multi-Fractal Trading Plan
The Multi-Fractal Trading Plan is a quantitative market structure engine designed to filter noise and generate actionable daily strategies. Unlike standard auto-trendline indicators that clutter charts with irrelevant data, this system utilizes Fractal Geometry to categorize market liquidity into three institutional layers: Minor (Intraday), Medium (Swing), and Major (Institutional).
This tool functions as a Strategic Advisor, not just a drawing tool. It calculates the delta between price and structural pivots in real-time, alerting you when price enters high-probability "Hot Zones" and generating a live trading plan on your dashboard.
Core Features
1. Three-Tier Fractal Engine The algorithm tracks 15 distinct fractal lengths simultaneously, aggregating them into a clean hierarchy:
Minor Structure (Thin Lines): Captures high-frequency volatility for scalping.
Medium Structure (Medium Lines): Identifies significant swing points and intermediate targets.
Major Structure (Thick Lines): Maps the "Institutional" defense lines where trend reversals and major breakouts occur.
2. The Strategic Dashboard A dynamic data panel in the bottom-right eliminates analysis paralysis:
Floor & Ceiling Targets: Displays the precise price levels of the nearest Support and Resistance.
AI Logic Output: The script analyzes market conditions to generate a specific command, such as "WATCH FOR BREAKOUT", "Near Lows (Look Long?)", or "WAIT (No Setup)".
3. "Hot Zone" Detection Never miss a critical test of structure.
Dynamic Alerting: When price trades within 1% (adjustable) of a Major Trend Line, the indicator’s labels turn Bright Yellow and flash a warning (e.g., "⚠️ WATCH: MAJOR RES").
Focus: This visual cue highlights the exact moment execution is required, reducing screen fatigue.
4. The Quant Web & Markers
Pivot Validation: Deep blue fractal markers (▲/▼) identify the exact candles responsible for the structure.
Inter-Timeframe Web: Faint dotted lines connect Minor pivots directly to Major pivots, visualizing the "hidden" elasticity between short-term noise and long-term trend anchors.
5. Enterprise Stability Engine Engineered to solve the "Vertical Line" and "1970 Epoch" glitches common in Pine Script trend indicators. This engine is optimized for Futures (NQ/ES), Forex, and Crypto, ensuring stability across all timeframes (including gaps on ETH/RTH charts).
Operational Guide
Consult the Dashboard: Before executing, check the "Strategy" output. If it says "WAIT", the market is in chop. If it says "WATCH FOR BOUNCE", prepare your entry criteria.
Monitor Hot Zones: A Yellow Label indicates price is testing a major liquidity level. This is your signal to watch for a rejection wick or a high-volume breakout.
Utilize the Web: Use the faint web lines to find "confluence" where a short-term pullback aligns with a long-term trend line.
Configuration
Show History: Toggles "Ghost Lines" (Blue) to display historical structure and broken trends.
Fractal Points: Toggles the geometric pivot markers.
Hot Zone %: Adjusts the sensitivity of the Yellow Warning system (Default: 1%).
Max Line Length: A noise filter that removes stale or "spiderweb" lines that are no longer statistically relevant.
Malama's Quantum Fusion Malama's Quantum Fusion is a unified trading system that integrates swing-based probability zones, multi-timeframe trend confirmation, and a reversal signal engine into a single indicator.
Differences from "Malama's Quantum Swing Modulator" (Why this is a new script): While this script utilizes the probability zone logic from my previous "Quantum Swing Modulator" (MQSM), it represents a distinct evolution in functionality:
From Analysis to Signals: MQSM was a passive analysis tool for visualizing zones. This script (MQF) adds an active Reversal Signal Engine that generates specific "BUY/SELL" diamond signals based on candle patterns and confluence.
Trend Cloud & Structure: MQF introduces a Dual-Supertrend Cloud and Fast/Slow EMA structure to filter trades, features not present in the original oscillator-based tool.
Automated Confluence: Unlike the previous tool which required manual interpretation, MQF mathematically fuses the Zone Score, Trend Cloud, and Volume analysis to filter false positives automatically.
How it Works: The system relies on a "Confluence of Three" approach:
The Context (Uncertainty Zones): Using ATR bands and Pivot Points, the script identifies where price is statistically likely to reverse (Overextended).
The Trend (Cloud & MTF): A dual Supertrend cloud (Fast & Slow) visualizes the immediate trend direction. Optional Multi-Timeframe (MTF) logic checks higher timeframe alignment.
The Trigger (Signal Engine): A valid signal is generated only when a specific reversal candle pattern occurs coincident with the trend direction and (optionally) within a high-probability zone.
Key Features:
Dynamic Dashboard: Displays real-time Regime (Trending vs. Choppy via ADX), Support/Resistance Probabilities, and MTF status.
Visual Signals: Plots Diamond labels with Stop Loss and 2:1 Take Profit targets.
Regime Detection: Automatically adjusts oscillator weighting based on whether the market is Trending or Ranging (ADX Filter).
Settings:
Signal Filters: You can toggle specific filters (Volume Spike, Cloud Alignment, Zone Proximity) to make the script more aggressive or conservative.
MTF: Enable/Disable Auto-MTF selection to filter noise using higher timeframe trends.
Visuals: Fully customizable colors for the Cloud, Zones, and Dashboard.
Long Position (Manual Setup)BINANCE:BTCUSDT
This script is for long position setup manually....
Just enter the following data ......
1. higher entry price
2. lower entry price
3. stop loss price
4. targets ( up to 5 targets)
5- extra targets ( up to 3 extra targets)
then you will have the long position draw in the chart with the trade summary including risk and reward percentage.
TRADING NAVIGATOR📘 TRADING NAVIGATOR OPERATIONS MANUAL
This manual is designed to turn the script into your complete trading plan.
1. The Golden Rule: Planetary Alignment
Success with this script is not about trading every signal, but waiting for the confluence. Golden Trick: Do not trade on low timeframes (15M) if the trend on the higher timeframe (4H or D) is contrary. The Master Signal: Enter when the RELIABILITY column marks "HIGH" on at least 3 consecutive timeframes.
2. How to open a LONG (Buy) position: Look for these exact conditions on the board: TREND: It should say "BULLISH" (Price above the 200 EMA). ACTION: It should be marked LONG. ENTRY: The price should be near or touching the value indicated in the SUPPORT column. RSI: Ideally between 35 and 45 (healthy pullback) or crossing above 30. Execution: Place your limit order at the ENTRY price on the chart. The TP and SL are your mandatory exit coordinates.
3. How to open a SHORT (Sell) position: Look for these exact conditions on the board: TREND: It should say "BEARISH" (Price below the 200 EMA). ACTION: It should be marked SHORT. ENTRY: The price should be near or touching the value indicated in the RESIST column. (Resistance). RSI: Ideally between 55 and 65 or crossing below 70. Execution: Limit order at the ENTRY price on the chart. Don't chase the price; let it rise to the resistance to enter.
4. Golden Tricks to Gain Consistency: The Volatility Filter: If the VOLAT column shows "HIGH," reduce your position size by half. High volatility means sharp movements that can hit your SL before reaching the TP. The Timeframe Jump: If you see a LONG position on the 15M chart but the trend on the D (Daily) chart is BEARISH, that trade is high risk (pure Scalping). If both are BULLISH, you have a "High Probability Trade." RSI as a sentinel: If the RSI is at 50, the market is indecisive. Wait for it to approach the extremes (30 or 70) so that the Navigator's ACTION has more rebound strength.
5. Recommended Markets:
The TRADING NAVIGATOR is a structure and volatility algorithm, so it works where there is liquidity: Market | Effectiveness | Why |
Cryptocurrencies | ⭐⭐⭐⭐⭐ ATR volatility is best exploited in BTC and ETH. |
Indices (Nasdaq/SP500) | ⭐⭐⭐⭐ Ideal for following the TREND column (EMA 200). |
Forex (Majors) | ⭐⭐⭐ Use it on high-volume pairs (EURUSD, GBPUSD). |
Gold / Oil | ⭐⭐⭐⭐ Very sensitive to the support and resistance levels calculated by the script. |
6. Risk Management (Psychology) | Accepts Stop Loss: The script calculates the SL at 2.0x ATR to give the price "breathing room". If it is touched, the structure has been broken. Don't move the Stop Loss. Partial Taking: When the price has moved 50% of the way to the Take Profit, move your Stop Loss to the ENTRY (Breakeven) price. This ensures that the trade can no longer result in losses.
SFI Follow Trend Level 1 ( SFI Academy )“SFI Trading Level 1 Indicator is a proprietary indicator used by SFI Academy for its students, in combination with SFI Academy’s exclusive capital management toolset.”
RSI Divergence Indicator (Fixed RSI Color + MTF Table)This script combines a classic RSI divergence indicator with a multi–timeframe RSI dashboard.
Main features:
Detects and plots:
Regular bullish & bearish RSI divergence
Hidden bullish & hidden bearish RSI divergence
Dynamic RSI line color:
Green in strong bullish zone
Red in strong bearish zone
Yellow in neutral zone
Standard RSI levels:
70 / 30 overbought–oversold
50 midline with highlighted band
MTF RSI table:
Compact RSI dashboard on the right side of the chart
Timeframes: 1m, 5m, 15m, 30m, 1h, 4h, 8h, 12h, 1D (each can be turned on/off)
Background color highlights extreme RSI:
Red / orange for overbought
Lime for oversold
This tool is designed to help traders quickly see divergence signals on the current chart while also monitoring RSI conditions across multiple timeframes in one place.
cd_VW_Cx IMPROVED - Quant VWAP System: Regime, Magnets & Z-ScoQuant VWAP System: Regime, Magnets & Z-Score Matrix
This indicator is a comprehensive Quantitative Trading System designed to move beyond simple support and resistance. Instead of static lines, it uses Statistical Probability (Z-Score) and Standard Deviation to define the current market regime, identify institutional value zones, and project high-probability liquidity targets.
It is engineered for Day Traders and Scalpers (Crypto & Futures) who need to know if the market is Trending, Ranging, or preparing for a Breakout.
1. The "Regime" System (Standard Deviation Bands)
The core engine anchors a VWAP (Volume Weighted Average Price) to your chosen timeframe (Daily, Weekly, or Monthly) and projects volatility bands based on market variance.
The Trend Zone (Inner Band / 1.0 SD): This is the "Fair Value" zone. In a healthy trend, price will pull back into this zone and hold. A hold here signals a high-probability continuation (Trend Following).
The Reversion Zone (Outer Band / 2.0 SD): This represents a statistical extreme. Price rarely sustains movement beyond 2 Standard Deviations without a reversion. A touch of this band signals "Overbought" or "Oversold" conditions.
2. Liquidity Magnets (Virgin VWAPs)
The script automatically tracks "Unvisited VWAPs" from previous sessions. These are price levels where significant volume occurred but have not yet been re-tested.
The Logic: Algorithms often target these "open loops." The script visualizes them as Blue Dashed Lines with price tags.
Smart Scaling (Anti-Scrunch): Includes a custom "Ghost Engine" that automatically hides or "ghosts" magnets that are too far away. This prevents your chart from being squashed (scrunched) on lower timeframes, keeping your candles perfectly readable while still tracking targets in the background.
3. The Quant Matrix (Dashboard)
A real-time Heads-Up Display (HUD) that interprets the data for you:
Regime: Detects Volatility Squeezes. If the bands compress, it signals "⚠ SQUEEZE", warning you to stop mean-reversion trading and prepare for an explosive breakout.
Bias: Color-coded Trend Direction (Bullish/Bearish) based on VWAP slope.
Signal: actionable text prompts such as "BUY DIP" (Trend Following), "FADE EXT" (Mean Reversion), or "PREP BREAK" (Squeeze).
4. Visual Intelligence
Bold Day Separators: Clear, vertical dotted dividers with Date Stamps to instantly separate trading sessions.
Dynamic Labels: Floating labels on the right axis identify exactly which deviation level is which, preventing chart confusion.
How to Use
Strategy A: The Trend Pullback (continuation)
Check Matrix: Ensure Bias is BULLISH (Green).
Wait: Allow price to pull back into the Inner Band (Dark Green Zone).
Trigger: If price holds the Center VWAP or the -1.0 SD line, enter Long.
Target: The next Liquidity Magnet above or the +2.0 SD band.
Strategy B: The Reversion Fade (Counter-Trend)
Check Matrix: Ensure price is labeled "EXTREME" or Signal says "FADE EXT".
Trigger: Price touches or pierces the Outer Band (2.0 SD).
Action: Enter counter-trend (Short) with a target back to the Center VWAP (Mean Reversion).
Strategy C: The Magnet Target
Identify a "MAGNET" line (Blue Dashed) near current price.
These act as high-probability Take Profit levels. Price will often rush to these levels to "close the loop" before reversing.
Settings
Anchor: Daily (default), Weekly, or Monthly.
Magnet Focus Range: Adjusts how aggressively the script hides distant magnets to fix chart scaling (Default: 2%).
Visuals: Fully customizable colors, label sizes, and dashboard position.






















