OPEN-SOURCE SCRIPT
Zaktualizowano

VV Control Levels Analyzer

554
VV Control Levels Analyzer

VV Control Levels Analyzer is a control-level analysis indicator designed to help traders evaluate where price is positioned relative to major volume and VWAP reference levels.

The indicator studies four main control references:

1. Daily POC
2. Weekly POC
3. Monthly POC
4. Anchored VWAP Gate Line

It then summarizes the relationship between price and those levels in a clean technical dashboard.

This script is an indicator, not a strategy. It does not place trades, does not calculate backtest results, and does not provide guaranteed buy or sell signals. Its purpose is to organize important control-level information on the chart so users can make their own analysis.

Overview

The main idea behind VV Control Levels Analyzer is that price location relative to high-volume control levels can provide useful market context.

When price is above most control levels, the chart may be showing stronger acceptance above value.
When price is below most control levels, the chart may be showing weaker acceptance below value.
When price is close to one or more control levels, the market may be testing an important decision area.

The indicator does not predict future price movement. It shows where price is trading relative to selected control references.

Main components

1. Daily, Weekly, and Monthly POC

The script calculates an approximate Point of Control for the previous completed Daily, Weekly, and Monthly periods.

POC means Point of Control. It represents the price area with the highest estimated volume within the selected period.

The indicator calculates POC internally by:

* storing period price and volume data,
* dividing the price range into volume rows,
* distributing volume into those rows,
* selecting the row with the highest accumulated volume.

The POC calculation is an approximation based on available chart data. It is not intended to exactly duplicate exchange-native or broker-native volume profile tools.

The Daily, Weekly, and Monthly POC values are shown in the dashboard. The active POC line can also be plotted on the chart if the user enables it from settings.

By default, the POC line is hidden to keep the chart clean. However, the POC logic remains active even when the line is hidden.

2. Active POC Line

The user can choose which POC period is displayed on the chart:

* Daily
* Weekly
* Monthly

The displayed POC line is optional. It can be enabled or disabled from the settings.

Bar coloring can still use the active POC even when the POC line itself is hidden.

The active POC is used to color candles as:

* above POC,
* below POC,
* crossing POC.

This is visual context only and should not be treated as a standalone entry or exit signal.

3. VWAP Gate Line

The indicator calculates a VWAP Gate from a selected anchor period:

* Daily
* Weekly
* Monthly

The main VWAP Gate Line is shown by default. It represents the central VWAP reference from the selected period.

The script also calculates optional upper and lower VWAP gates using standard deviation around the VWAP.

The optional gates are:

* Upper Gate 1
* Upper Gate 2
* Lower Gate 1
* Lower Gate 2

By default, only the main VWAP line is shown to reduce chart clutter. Users can disable “Show Only Main VWAP Line” to display the additional upper and lower gate levels.

4. VWAP Standard Deviation Gates

The upper and lower VWAP gates are calculated using the selected standard deviation multipliers.

First Gate Multiplier controls the first deviation band.
Second Gate Multiplier controls the second deviation band.

These levels can help users identify areas where price is stretched above or below the selected VWAP period.

These gates are reference levels only. They are not automatic reversal or breakout signals.

5. Smart Control Logic

The indicator evaluates price against four control references:

* Daily POC
* Weekly POC
* Monthly POC
* VWAP Gate Line

It counts how many of these levels price is currently above.

The result is displayed as Control Strength:

0/4 = price is below all four control references
1/4 = price is above one control reference
2/4 = price is above two control references
3/4 = price is above three control references
4/4 = price is above all four control references

This control count is used to create the dashboard status.

Dashboard status explained

Very Bullish
Price is above all four control references and is not too close to a control level.

Bullish
Price is above most control references and is not too close to a control level.

Neutral
Price is around the middle of the control structure or near a control level.

Recovery Watch
Price is near a control level after weakness. This may indicate that price is testing an area where recovery could be studied, but it is not a buy signal.

Breakout Watch
Price is near a control level and trading above or near the VWAP Gate. This may indicate that price is testing control resistance, but it is not a breakout confirmation by itself.

Breakdown Risk
Price is near a control area but below the VWAP Gate or important control references. This may indicate weakness around control levels, but it is not a short signal by itself.

Bearish
Price is below most control references.

Very Bearish
Price is below all four control references and is not too close to a control level.

Trend reading

The script also provides a simple trend reading:

Up
Price is above both Weekly POC and Monthly POC.

Down
Price is below both Weekly POC and Monthly POC.

Sideways
Price is mixed between Weekly and Monthly POC references.

This trend field is a broad context reading only. It should not be treated as a complete trend-following system.

Nearest Control

The dashboard identifies the nearest control level to current price among:

* Daily POC
* Weekly POC
* Monthly POC
* VWAP Gate

It also shows the distance from current price to that nearest control level as a percentage.

If price is within the selected Neutral Distance %, the dashboard treats price as being near a control area.

Volume Ratio

The script calculates a volume ratio by comparing current volume with a 20-period average volume.

Volume Ratio = Current Volume / 20-period Average Volume

The dashboard highlights volume strength based on the selected Strong Volume Ratio setting.

Strong volume means current volume is above the selected threshold.
Weak or normal volume means current volume has not reached that threshold.

Volume is used as context only. It does not validate a trade by itself.

Technical Analysis Dashboard

The dashboard displays:

Symbol
Shows the current ticker.

Current Price
Shows the latest close price.

Status
Shows the smart control state, such as Very Bullish, Neutral, Breakout Watch, or Breakdown Risk.

Trend
Shows Up, Down, or Sideways based on Weekly and Monthly POC position.

Current Volume
Shows the current chart volume.

Volume Ratio
Compares current volume with its recent 20-period average.

Daily POC
Shows the calculated Daily POC.

Weekly POC
Shows the calculated Weekly POC.

Monthly POC
Shows the calculated Monthly POC.

Upper Zone
Shows the first upper VWAP deviation gate.

VWAP Gate Line
Shows the main VWAP gate value.

Lower Zone
Shows the first lower VWAP deviation gate.

Control Strength
Shows how many of the four control references price is currently above.

Nearest Control
Shows the closest control reference to current price.

Distance
Shows percentage distance from price to the nearest control level.

Settings explained

Volume Profile / POC Settings

Show POC Line
Shows or hides the active POC line. The POC remains active in the dashboard and logic even when hidden.

POC Base Color
Controls the color of the active POC line.

POC Transparency
Controls how visible or soft the POC line appears.

POC Line Width
Controls the thickness of the active POC line.

Above POC Bar
Color used when price closes above the active POC.

Below POC Bar
Color used when price closes below the active POC.

POC Cross Bar
Color used when price crosses the active POC.

Displayed POC Period
Selects which POC period is displayed as the active POC line: Daily, Weekly, or Monthly.

Color Bars by POC
Colors candles according to price position relative to the active POC.

Volume Resolution Rows
Controls how many rows are used in the internal POC approximation. Higher values may provide more detail but can require more processing.

VWAP Gate Settings

Show VWAP Gate
Enables or disables VWAP gate plotting.

Show Only Main VWAP Line
When enabled, only the central VWAP Gate Line is shown. When disabled, upper and lower deviation gates are also shown.

Main VWAP Line
Controls the color of the main VWAP line.

Main VWAP Line Width
Controls the thickness of the main VWAP line.

Optional Gate Lines
Controls the color of the optional upper and lower VWAP gates.

Fill Optional Gate Zones
Fills the space between optional VWAP deviation gates. This is disabled by default for a cleaner chart.

VWAP Gate Period
Selects the anchor period used for the VWAP calculation: Daily, Weekly, or Monthly.

First Gate Multiplier
Controls the first standard deviation level around VWAP.

Second Gate Multiplier
Controls the second standard deviation level around VWAP.

Smart Control Logic

Neutral Distance %
Defines how close price must be to a control level to be treated as a neutral or control-test area.

Strong Volume Ratio
Defines the volume ratio threshold used to classify current volume as strong.

Use Volume in Optional Status Label
Adds volume context to the optional chart label.

Technical Analysis Table

Show Table
Shows or hides the technical dashboard.

Table Position
Controls where the dashboard appears on the chart.

Table Size
Controls the dashboard text size.

Show Optional Status Label
Shows a compact chart label with the current VV Analyzer status.

Optional Label Size
Controls the size of the optional status label.

Optional Label Distance
Controls how far the optional label is placed from the latest candle using ATR.

How to use this indicator

A practical workflow:

1. Check the dashboard Status.
2. Review Control Strength to see how many major control levels price is above.
3. Check the Trend field for broad context.
4. Identify the Nearest Control level and distance.
5. Watch price behavior around the VWAP Gate Line and the nearest POC.
6. Use Volume Ratio as supporting context.
7. Combine this information with your own market structure, risk management, and trading plan.

Example interpretation

If price is above Daily POC, Weekly POC, Monthly POC, and VWAP Gate, the dashboard may show Very Bullish. This means price is accepted above all selected control references. It does not mean price must continue upward.

If price is below most control references, the dashboard may show Bearish or Very Bearish. This means price is trading below important control levels. It does not mean price must continue downward.

If price is close to a POC or VWAP Gate, the dashboard may show Breakout Watch, Recovery Watch, Breakdown Risk, or Neutral. This means price is testing a control area and needs further confirmation from the user’s own analysis.

Alerts

The script includes alerts for:

VV Very Bullish
Price is above all control levels.

VV Bullish
Price is above most control levels.

VV Recovery Watch
Price is near a control level after weakness.

VV Breakout Watch
Price is testing control resistance.

VV Breakdown Risk
Price is below VWAP or a key control area.

VV Very Bearish
Price is below all control levels.

These alerts are classification alerts only. They do not instruct the user to buy or sell.

Important limitations

This indicator does not predict future price movement.

It does not provide buy or sell signals.

It does not place strategy orders.

It does not provide backtesting results.

POC values are internally approximated from available chart price and volume data.

VWAP gates are calculated from the selected period and may differ from other VWAP tools depending on method and data source.

Daily, Weekly, and Monthly values are based on completed periods and update when a new period begins.

Volume quality can differ between markets, symbols, and data providers.

The dashboard status is a contextual classification, not a trade recommendation.

Recommended use

VV Control Levels Analyzer is best used as a decision-support tool for traders who study:

* Point of Control
* VWAP
* volume-based control levels
* price acceptance above or below value
* distance from key control levels
* volume confirmation
* multi-timeframe control context

It is designed for visual market context, not automated trading, not guaranteed signal generation, and not financial advice.

Originality and purpose

VV Control Levels Analyzer combines multi-timeframe POC, anchored VWAP gates, volume ratio, nearest control distance, bar coloring, and a smart technical dashboard into one clean control-level framework.

The purpose of combining these components is to help traders quickly understand whether price is above, below, or testing important volume and VWAP reference levels.

The script is intended to reduce chart clutter by showing the main VWAP gate by default, hiding the POC line by default, and placing the detailed control information inside the dashboard.
Informacje o Wersji
**Update — Auto VWAP, Auto POC & Smarter Control Dashboard**

This update improves the VV Control Levels Analyzer by making both the VWAP Gate and the displayed POC level more adaptive, easier to understand, and more practical across different chart timeframes.

**What’s New in This Update**

**1. Added Auto VWAP Gate Period Mode**

A new **VWAP Gate Period Mode** setting has been added.

The indicator can now automatically select the most relevant VWAP Gate period based on the active chart timeframe:

* Intraday charts use **Daily VWAP**
* Daily charts use **Weekly VWAP**
* Weekly charts use **Monthly VWAP**
* Monthly charts use **Monthly VWAP**

This helps reduce manual timeframe selection mistakes and keeps the VWAP Gate aligned with the chart being analyzed.

**2. Added Auto Displayed POC Period Mode**

The previous **Displayed POC Period** setting has been improved and replaced with a more flexible **Displayed POC Period Mode**.

The POC can now also work in Auto Mode:

* Intraday charts use **Daily POC**
* Daily charts use **Weekly POC**
* Weekly charts use **Monthly POC**
* Monthly charts use **Monthly POC**

This means the active POC used for the optional POC line and bar coloring can now automatically adapt to the chart timeframe.

**3. Added VWAP Mode and POC Mode Rows to the Dashboard**

The dashboard now shows the active VWAP and POC modes directly in the table.

Examples:

* **VWAP Mode: Auto → Daily**
* **POC Mode: Auto → Daily**
* **VWAP Mode: Auto → Weekly**
* **POC Mode: Auto → Weekly**

This makes it easier for users to immediately understand which control period is being used without opening the indicator settings.

**4. Added Action Bias for Clearer Decision Guidance**

A new **Action Bias** row has been added to the dashboard.

This row gives a clearer control-based reading of the current market condition, such as:

* **No Buy Below VWAP**
* **Watch VWAP Reclaim**
* **Bounce - Need VWAP**
* **VWAP Reclaim**
* **Hold Above VWAP**
* **Watch Active POC**
* **Bullish Control**
* **Breakdown Below Lower**

The goal is to make the indicator easier to interpret, especially when price is below VWAP, testing a lower zone, reclaiming VWAP, or approaching an important POC level.

**5. Added Signal Now Row**

A new **Signal Now** row has been added to the dashboard to display the latest important control event.

The indicator can now identify and display events such as:

* **VWAP Reclaim**
* **VWAP Lost**
* **Lower Bounce**
* **Upper Reject**
* **Lower Breakdown**
* **Upper Breakout**
* **Active POC Reclaim**
* **Active POC Lost**

This helps users quickly recognize whether price is reclaiming control, losing control, bouncing from a lower zone, rejecting from an upper zone, or breaking an important level.

**6. Improved Recovery Watch Logic**

The Recovery Watch logic has been improved so the indicator does not suggest a possible recovery only because price is near a control level.

Now, Recovery Watch is more selective and focuses on actual lower-zone bounce behavior while still requiring VWAP confirmation for stronger bullish interpretation.

**7. Added Optional Volume Confirmation for VWAP Reclaim**

A new optional setting allows users to require strong volume confirmation for VWAP Reclaim signals.

When enabled, VWAP Reclaim requires the volume ratio to meet or exceed the selected strong-volume threshold.

**8. Improved Control Logic Using Active POC**

The smart logic now uses the active POC selected by Auto Mode or manual selection. This allows the indicator to better adapt its reading depending on whether the chart is using Daily, Weekly, or Monthly control levels.

**9. Improved Alerts**

New alert conditions were added for important VWAP and POC control events, including:

* VWAP Reclaim
* VWAP Lost
* Lower Zone Bounce
* Upper Zone Reject
* Lower Zone Breakdown
* Upper Zone Breakout
* Active POC Reclaim
* Active POC Lost

These alerts give users more flexibility when monitoring important control-level changes.

**Purpose of This Update**

The purpose of this update is to make the indicator more adaptive, cleaner, and easier to read across different trading styles and timeframes.

Instead of manually changing VWAP and POC periods every time the chart timeframe changes, users can now keep both modes on **Auto** and let the indicator select the appropriate control period automatically.

This update also improves the dashboard by adding clearer guidance through **Action Bias**, **Signal Now**, **VWAP Mode**, and **POC Mode**, helping users better understand whether price is below control, reclaiming VWAP, testing the active POC, bouncing from a lower zone, or entering a stronger bullish control condition.

This remains an analytical indicator, not a backtesting strategy, not a buy/sell signal system, and not financial advice. It is designed to help traders evaluate price behavior relative to VWAP, POC levels, volume activity, and key control zones.

Wyłączenie odpowiedzialności

Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.