OPEN-SOURCE SCRIPT
Mis à jour VP-Period with Previous Day Levels & Historical POC

# Volume Profile with Previous Day Levels & Historical POCs
## Description
Comprehensive indicator combining Volume Profile analysis, previous day levels, and historical POC (Point of Control) levels for advanced technical analysis.
## Key Features
### Volume Profile
- **Customizable period**: 3 to 500 days
- **Calculation resolution**: 400 to 700 points
- **Current VPOC**: Point of Control line for current period
- **Volume bars**: graphical display of volume profile distribution
### Historical POCs
- **POC history**: up to 20 previous days
- **Time labels**: shows how many days ago for each POC
- **Dashed lines**: easy identification of historical levels
### Previous Day Levels (last 5 days)
- **High/Low**: daily highs and lows
- **Midpoint**: 50% level (High+Low)/2
- **Open/Close**: opening and closing prices
- **Progressive thickness**: day 1 thicker, decreasing for previous days
## Customization
- Fully configurable colors for each element
- Toggle on/off switches for every component
- Different line styles (solid, dashed, dotted)
## Usage
Perfect for traders using volume analysis and support/resistance based on previous daily levels. Ideal for identifying key zones and significant breakout points.
## Description
Comprehensive indicator combining Volume Profile analysis, previous day levels, and historical POC (Point of Control) levels for advanced technical analysis.
## Key Features
### Volume Profile
- **Customizable period**: 3 to 500 days
- **Calculation resolution**: 400 to 700 points
- **Current VPOC**: Point of Control line for current period
- **Volume bars**: graphical display of volume profile distribution
### Historical POCs
- **POC history**: up to 20 previous days
- **Time labels**: shows how many days ago for each POC
- **Dashed lines**: easy identification of historical levels
### Previous Day Levels (last 5 days)
- **High/Low**: daily highs and lows
- **Midpoint**: 50% level (High+Low)/2
- **Open/Close**: opening and closing prices
- **Progressive thickness**: day 1 thicker, decreasing for previous days
## Customization
- Fully configurable colors for each element
- Toggle on/off switches for every component
- Different line styles (solid, dashed, dotted)
## Usage
Perfect for traders using volume analysis and support/resistance based on previous daily levels. Ideal for identifying key zones and significant breakout points.
Notes de version
VP-Period with Multi-Timeframe Indicator - Update Summary🔧 MAIN CHANGES
✅ ADDED FEATURES
Multi-Timeframe Support: Choose between D (Daily), W (Weekly), M (Monthly) for previous levels
Multi-Timeframe POC: Option to calculate POC on selected timeframe instead of daily only
Period Control: Select number of previous periods to display (max 10)
❌ REMOVED FEATURES
Volume Profile Bars: Completely removed volume bars that cluttered the chart
All volume bars color and display options
⚙️ NEW SETTINGS
Previous Levels Settings
Timeframe: Choose D/W/M
Number of periods to show: From 1 to 10 previous periods
All color and line options remain unchanged
Volume Profile Settings
Use selected timeframe for POC calculation:
OFF = POC always daily-based
ON = POC on selected timeframe
📊 HOW TO USE
Example 1: Weekly Analysis
Set Timeframe = W
Enable Use selected timeframe for POC
Result: See weekly High/Low/Mid/Open/Close + weekly POCs
Example 2: Mixed Analysis
Set Timeframe = W
Keep Use selected timeframe for POC = OFF
Result: Weekly levels + daily POCs (for cross-timeframe analysis)
Example 3: Clean Chart
Choose Number of periods = 3
Result: Only last 3 periods for less cluttered chart
🎯 BENEFITS
Clean Chart: No more confusing volume bars
Multi-Timeframe: Single indicator for all timeframes
Flexible: Works on any chart (1m, 5m, 1h, 4h, etc.)
Dynamic POC: Choose between daily-based or selected TF-based POC
Perfect for swing traders who want to see weekly/monthly levels on intraday charts!
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.