OPEN-SOURCE SCRIPT

Hidden Gap`s VSA Volume Auto-Timeframe

116
Hidden Gap's VSA Volume with Auto-Timeframe Adaptation
Enhanced Version of Classic Volume Spread Analysis Indicator

Description:
This evolved version of the original "Hidden Gap's VSA Volume" indicator introduces intelligent timeframe adaptation while preserving its core Volume Spread Analysis (VSA) logic. The key enhancement automatically synchronizes volume calculations with your chart's current timeframe, eliminating manual resolution adjustments.

New Features:
✅ Auto-Timeframe Detection
Dynamically adjusts to any chart timeframe (1M/5M/1H/4H/D/W/M)
✅ Smart Resolution Switching
Seamlessly works across multiple timeframes without parameter changes
✅ Manual Override Option
Retains custom resolution input for multi-timeframe analysis (e.g., view weekly volume on daily charts)
✅ Modernized Engine
Upgraded to Pine Script v6 for optimal TradingView performance

Core Functionality Preserved:
• Multi-layer volume analysis using 40/20/2-period comparisons
• Color-coded histogram detecting:

Black: 40-period high volume

Gray: 20-period low volume

Purple: 2-period volume contraction

Blue/Red: Immediate volume changes
• Integrated 20-period SMA reference line

Usage Scenarios:

Intraday Trading: Auto-adjusts from 1-minute to 4-hour charts

Multi-Timeframe Analysis: Compare current volume against higher timeframe patterns

Swing Trading: Maintain consistent analysis across D/W/M timeframes

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.