OPEN-SOURCE SCRIPT
Updated Piv X

Piv X (Pivot/Structure + VWAP + Signal Confluence)
Piv X combines three layers into one workflow:
1) Pivot/structure detection, 2) anchored VWAP context, and 3) IBSS signal filters.
The goal is not to “merge indicators,” but to provide a structured decision framework where each layer confirms the others.
What it does
Identifies significant pivot highs/lows using an ATR‑scaled dynamic lookback with optional volume and significance filters.
Tracks market structure shifts (CHoCH/MSS) by comparing successive pivot swings.
Displays pivot zones (A+ scoring optional) and optional Fibonacci levels for retracement context.
Adds anchored VWAPs: pivot‑anchored VWAPs plus multi‑period VWAPs (4H, 8H, 4D, 9D, Weekly, Monthly, Yearly) and optional previous‑period VWAPs.
IBSS layer provides MA trend alignment, RSI momentum context, volume confirmation, and ATR‑based stops for signal filtering.
How it works (core concepts)
Dynamic pivots: Pivot strength scales with ATR and timeframe so pivots adapt to volatility rather than using a fixed lookback.
Significance filter: Pivots are filtered by distance from a local SMA and optional volume spike requirements to reduce noise.
Structure shift: A bullish or bearish CHoCH is flagged when consecutive pivots confirm a change in swing direction.
Anchored VWAPs:
Pivot VWAPs reset at each pivot (major pivots by default) to reflect price “value” since the last turning point.
Period VWAPs reset on each new session of the chosen anchor (4H/8H/4D/9D/W/M/Y).
Previous VWAPs show the last completed period’s value for reference.
IBSS signals: Uses MA trend alignment + RSI momentum + optional volume confirmation, with ATR stops for exits.
How to use it
1) Start with Weekly/Yearly VWAPs (default on) to understand higher‑timeframe value.
2) Use pivot zones + CHoCH to see where structure changes and reversal zones appear.
3) Enable Pivot VWAP to see price mean‑reversion or acceptance around the latest pivot.
4) Use IBSS signals only when they align with pivot structure and VWAP context.
5) For scalps, focus on lower timeframes with tighter pivot settings; for swings, increase pivot strength and use higher‑timeframe filters.
Notes & best practices
This is an analysis tool, not a promise of results.
Avoid publishing with non‑standard chart types.
Use a clean chart when publishing (no extra indicators unless explained).
Show full symbol/timeframe and script name on the chart.
Piv X combines three layers into one workflow:
1) Pivot/structure detection, 2) anchored VWAP context, and 3) IBSS signal filters.
The goal is not to “merge indicators,” but to provide a structured decision framework where each layer confirms the others.
What it does
Identifies significant pivot highs/lows using an ATR‑scaled dynamic lookback with optional volume and significance filters.
Tracks market structure shifts (CHoCH/MSS) by comparing successive pivot swings.
Displays pivot zones (A+ scoring optional) and optional Fibonacci levels for retracement context.
Adds anchored VWAPs: pivot‑anchored VWAPs plus multi‑period VWAPs (4H, 8H, 4D, 9D, Weekly, Monthly, Yearly) and optional previous‑period VWAPs.
IBSS layer provides MA trend alignment, RSI momentum context, volume confirmation, and ATR‑based stops for signal filtering.
How it works (core concepts)
Dynamic pivots: Pivot strength scales with ATR and timeframe so pivots adapt to volatility rather than using a fixed lookback.
Significance filter: Pivots are filtered by distance from a local SMA and optional volume spike requirements to reduce noise.
Structure shift: A bullish or bearish CHoCH is flagged when consecutive pivots confirm a change in swing direction.
Anchored VWAPs:
Pivot VWAPs reset at each pivot (major pivots by default) to reflect price “value” since the last turning point.
Period VWAPs reset on each new session of the chosen anchor (4H/8H/4D/9D/W/M/Y).
Previous VWAPs show the last completed period’s value for reference.
IBSS signals: Uses MA trend alignment + RSI momentum + optional volume confirmation, with ATR stops for exits.
How to use it
1) Start with Weekly/Yearly VWAPs (default on) to understand higher‑timeframe value.
2) Use pivot zones + CHoCH to see where structure changes and reversal zones appear.
3) Enable Pivot VWAP to see price mean‑reversion or acceptance around the latest pivot.
4) Use IBSS signals only when they align with pivot structure and VWAP context.
5) For scalps, focus on lower timeframes with tighter pivot settings; for swings, increase pivot strength and use higher‑timeframe filters.
Notes & best practices
This is an analysis tool, not a promise of results.
Avoid publishing with non‑standard chart types.
Use a clean chart when publishing (no extra indicators unless explained).
Show full symbol/timeframe and script name on the chart.
Release Notes
Changelog (Old → New)Renamed script to Piv X with shorter title.
Added Bottom/Top VWAPs anchored to absolute low/high in a lookback window (per‑TF).
Added VWAP suite (4H, 8H, 4D, 9D, Weekly, Monthly, Yearly + previous period VWAPs).
VWAP visuals standardized to thin cross lines.
Added Pivot Quality system: RSI divergence, SFP, liquidity sweeps, reversal candles, key level alignment, FVG fill, session weighting, and HTF pivot confluence.
Confluence scoring expanded to include all quality signals.
Added MA Cloud with bullish white / bearish purple and enabled by default.
Fast MA line made thinner for cleaner visuals.
Added Zone Stretch Filter toggle (off by default) to control pivot zone visibility.
Stability fixes: safe pivot strength + max bars back handling.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.