OPEN-SOURCE SCRIPT

Time and Price by erdensedat

2 132
Time & Price Institutional Toolkit [erdensedat]

Overview
The Time & Price Institutional Toolkit is an advanced framework designed to bridge the concepts of time cycles and price action liquidity. By blending multi-timeframe structural analysis, mathematical models (Fibonacci, Gann, Quarterly), and fair value gaps (FVG), it provides a complete top-down perspective on institutional order flow.

The "Blue Skeleton" & Liquidity Sweeps
At the core of the script is the dynamic "Blue Skeleton" matrix. It draws the calculation period's highest, lowest, and equilibrium points.

Liquidity Sweep Filter: The skeleton essentially maps the "playing field" for the current session.
Time Element: As time passes the 0.5 (midpoint) of the skeleton box—often aligning with the overlap of the London and New York sessions—the indicator is highly sensitive to manipulation sweeps. If the price spikes out of the skeleton boundaries after this midpoint, it frequently marks a "Turtle Soup" manipulation reversal right before a heavy volume trend kicks in.
Key Features:

1. Time & Price Matrix (Skeleton Framework)

Dynamically maps premium/discount zones and equilibrium based on your chosen higher timeframe (e.g., Daily, Weekly).
Multiple mathematical schemas available: Mixed, Fibonacci, Quarterly, and Gann/Harmonic ratios.
Clearly plots Overbought/Oversold extremes.
2. Turtle Soup (TS) Entry Model

Identifies liquidity sweeps below previous period lows (Bullish Sweep) or above previous period highs (Bearish Sweep) that occur in the critical second half of the time window.
Visualized with custom dashed lines and circular markers indicating high-probability reversal zones.
3. Fair Value Gap (FVG) & Breaker Engine

Automatic detection of Fair Value Gaps and Breaker Blocks with overlapping gap filters.
Raid Displays: Shows when an FVG has been raided (swept and closed through), creating dynamic support/resistance lines marked with an 'x'.
Adjustable mitigation thresholds (Close, Wick, or Average).
4. Rejection Blocks

Highlights extreme wicks (where the wick is greater than 50% of the candle range) that signify rejection.
These act as institutional pivot points. Once mitigated, they visually transform into Mitigated Blocks (MB).
5. VWAP (Volume Weighted Average Price)

Built-in, optional VWAP line for intraday mean-reversion and dynamic trend confirmation (Disabled by default, can be toggled in settings).
6. Candle Structure & Reversal Formations

(Optional feature in settings) Highlights 2-bar immediate reversals, 3-bar standard reversals, and continuation structures specifically when they form inside the Premium/Discount extremes.
Alert System
The script includes a ready-to-use alert system focused on the highest probability setups:

Turtle Soup Buy: Triggers when a bullish liquidity sweep is detected, dropping below the HTF low and rejecting back inside during the optimal time window.
Turtle Soup Sell: Triggers when a bearish liquidity sweep is detected, pushing above the HTF high and rejecting.
Note: To set these up, create an alert on TradingView, select this indicator, and choose "Any alert() function call".
How to Use:

Let the skeleton form during the early parts of the session (Asia/London).
Wait for the time to cross the 0.5 midline of the box.
Look for the price to sweep the outer boundaries of the skeleton (Turtle Soup trigger).
Enter on the rejection, targeting the 0 (Balance) line or the opposing Premium/Discount extreme, using FVGs and VWAP as dynamic targets.

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.