OPEN-SOURCE SCRIPT
מעודכן

Quant VWAP System 3.8

7 541
This is the lower-indicator companion to the "Quant VWAP System." While the main chart tells you where the price is, this oscillator tells you how statistically significant the move is.

It uses a Z-Score algorithm to normalize price action. This means it ignores dollar amounts and instead measures how many Standard Deviations (SD) the price is away from its mean (VWAP). This allows you to instantly spot "Overbought" or "Oversold" conditions on any asset (Bitcoin, Forex, or Stocks) without needing to guess.

Key Features:
1. Normalized Extremes (The "Kill Zones")

±2.0 SD: These dotted lines represent statistical extremes. When the signal line crosses above +2.0, the asset is mathematically expensive (Overbought). When it crosses below -2.0, it is mathematically cheap (Oversold).

The Logic: Price rarely sustains movement beyond 2 Standard Deviations without a reversion or a pause.

2. The Squeeze Radar (Yellow Dots)

Volatility Detection: A row of Yellow Dots appearing on the center line indicates a "Squeeze."

What it means: The Standard Deviation bands are compressing. Energy is building.

Warning: DO NOT trade Mean Reversion when you see Yellow Dots. A squeeze often leads to a violent breakout. Wait for the dots to disappear to confirm the direction of the explosion.

3. Momentum Coloring

Green Line: Z-Score is rising (Bullish Momentum).

Red Line: Z-Score is falling (Bearish Momentum).

This helps you spot divergences (e.g., Price makes a Higher High, but the Oscillator makes a Lower High = Exhaustion).

How to Trade with It
Strategy A: The "Zero Bounce" (Trend Continuation)

Scenario: You are in a Bull Trend.

Signal: The Oscillator line pulls back to the Zero Line (White), turns Green, and curls upward.

Meaning: Price has tested the average (VWAP) and buyers have stepped in. This is a high-probability entry for trend continuation.

Strategy B: The "Extreme Fade" (Reversion)

Scenario: The Oscillator pushes deep into the Red Zone (+2.0 SD).

Signal: The line turns Red and crosses back down below the +2.0 dotted line. A small Red Triangle will appear.

Meaning: The statistical extension has failed, and price is likely snapping back to the mean.

Strategy C: Squeeze Breakout

Scenario: Yellow Dots appear on the center line.

Action: Stop trading. Wait.

Signal: The dots disappear, and the line shoots aggressively through +1.0 SD (Long) or -1.0 SD (Short). Ride the momentum.
הערות שחרור
This is the lower-indicator companion to the "Quant VWAP System." While the main chart tells you where the price is, this oscillator tells you how statistically significant the move is.

It uses a Z-Score algorithm to normalize price action. This means it ignores dollar amounts and instead measures how many Standard Deviations (SD) the price is away from its mean (VWAP). This allows you to instantly spot "Overbought" or "Oversold" conditions on any asset (Bitcoin, Forex, or Stocks) without needing to guess.

Key Features:
1. Normalized Extremes (The "Kill Zones")

±2.0 SD: These dotted lines represent statistical extremes. When the signal line crosses above +2.0, the asset is mathematically expensive (Overbought). When it crosses below -2.0, it is mathematically cheap (Oversold).

The Logic: Price rarely sustains movement beyond 2 Standard Deviations without a reversion or a pause.

2. The Squeeze Radar (Yellow Dots)

Volatility Detection: A row of Yellow Dots appearing on the center line indicates a "Squeeze."

What it means: The Standard Deviation bands are compressing. Energy is building.

Warning: DO NOT trade Mean Reversion when you see Yellow Dots. A squeeze often leads to a violent breakout. Wait for the dots to disappear to confirm the direction of the explosion.

3. Momentum Coloring

Green Line: Z-Score is rising (Bullish Momentum).

Red Line: Z-Score is falling (Bearish Momentum).

This helps you spot divergences (e.g., Price makes a Higher High, but the Oscillator makes a Lower High = Exhaustion).

How to Trade with It
Strategy A: The "Zero Bounce" (Trend Continuation)

Scenario: You are in a Bull Trend.

Signal: The Oscillator line pulls back to the Zero Line (White), turns Green, and curls upward.

Meaning: Price has tested the average (VWAP) and buyers have stepped in. This is a high-probability entry for trend continuation.

Strategy B: The "Extreme Fade" (Reversion)

Scenario: The Oscillator pushes deep into the Red Zone (+2.0 SD).

Signal: The line turns Red and crosses back down below the +2.0 dotted line. A small Red Triangle will appear.

Meaning: The statistical extension has failed, and price is likely snapping back to the mean.

Strategy C: Squeeze Breakout

Scenario: Yellow Dots appear on the center line.

Action: Stop trading. Wait.

Signal: The dots disappear, and the line shoots aggressively through +1.0 SD (Long) or -1.0 SD (Short). Ride the momentum.
הערות שחרור
UPDATE: Quant Engine v2.0 (Smart Hybrid)
This update introduces a completely remastered "Quant Engine" designed to fix blind spots on smooth assets (like US100) while keeping the sensitivity needed for crypto scalping.

1. New "Smart Hybrid" Engine (Default)

The Problem: Classic squeeze indicators often have "blind spots" where they fail to detect squeezes during long, flat consolidations.

The Solution: The new Hybrid engine uses a dual-layer approach. It uses the Classic Ratio for rapid scalping signals but adds a Z-Score Safety Net (-1.0 Sigma) that forces the squeeze ON if volatility drops to statistical lows.

Result: No more missing dots during the "calm before the storm."

2. 3-Mode Selector Toggle Now you can tune the engine to your exact trading style via the settings menu:

Quant Z-Score (Swing & Trend): Solid, unbroken signals. Best for indices (Nasdaq/SPX) and catching major moves. Ignores noise.

Classic Ratio (Scalping): The familiar "choppy" dots. Best for rapid-fire re-entries and scalping bursts.

Smart Hybrid (Universal): The best of both worlds. Classic feel with Quant reliability.

3. 4-State Momentum Coloring The oscillator line now gives you an early warning before the trend flips:

Bright Cyan: Bullish & Accelerating (Strong Buy)

Dark Teal: Bullish but Weakening (Caution/Take Profit)

Bright Red: Bearish & Accelerating (Strong Sell)

Dark Maroon: Bearish but Weakening (Cover Shorts)

4. Anti-Noise Filter Added a "Min Squeeze Bars" filter to eliminate "Ghost Dots" (single-dot fakeouts). The signal must now be valid for at least 1 bar (adjustable) to paint.

Original Description
This is the lower-indicator companion to the "Quant VWAP System." While the main chart tells you where the price is, this oscillator tells you how statistically significant the move is.

It uses a Z-Score algorithm to normalize price action. This means it ignores dollar amounts and instead measures how many Standard Deviations (SD) the price is away from its mean (VWAP). This allows you to instantly spot "Overbought" or "Oversold" conditions on any asset (Bitcoin, Forex, or Stocks) without needing to guess.

Key Features:

1. Normalized Extremes (The "Kill Zones") ±2.0 SD: These dotted lines represent statistical extremes. When the signal line crosses above +2.0, the asset is mathematically expensive (Overbought). When it crosses below -2.0, it is mathematically cheap (Oversold).

The Logic: Price rarely sustains movement beyond 2 Standard Deviations without a reversion or a pause.

2. The Squeeze Radar (Yellow Dots) Volatility Detection: A row of Yellow Dots appearing on the center line indicates a "Squeeze."

What it means: The Standard Deviation bands are compressing. Energy is building.

Warning: DO NOT trade Mean Reversion when you see Yellow Dots. A squeeze often leads to a violent breakout. Wait for the dots to disappear to confirm the direction of the explosion.

3. Momentum Coloring

Green Line: Z-Score is rising (Bullish Momentum).

Red Line: Z-Score is falling (Bearish Momentum). This helps you spot divergences (e.g., Price makes a Higher High, but the Oscillator makes a Lower High = Exhaustion).

How to Trade with It

Strategy A: The "Zero Bounce" (Trend Continuation)

Scenario: You are in a Bull Trend.

Signal: The Oscillator line pulls back to the Zero Line (White), turns Green, and curls upward.

Meaning: Price has tested the average (VWAP) and buyers have stepped in. This is a high-probability entry for trend continuation.

Strategy B: The "Extreme Fade" (Reversion)

Scenario: The Oscillator pushes deep into the Red Zone (+2.0 SD).

Signal: The line turns Red and crosses back down below the +2.0 dotted line. A small Red Triangle will appear.

Meaning: The statistical extension has failed, and price is likely snapping back to the mean.

Strategy C: Squeeze Breakout

Scenario: Yellow Dots appear on the center line.

Action: Stop trading. Wait.

Signal: The dots disappear, and the line shoots aggressively through +1.0 SD (Long) or -1.0 SD (Short). Ride the momentum.

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.