OPEN-SOURCE SCRIPT

Dynamic Point of Control (POC)

Updated
The Dynamic Point of Control (POC) indicator provides traders and analysts with insightful information about price levels, volume distribution, and sentiment within a specified historical range.

Instant Updates: POC recalculates with every new bar, keeping you ahead of the game.
Market Bias: Assess market sentiment through bullish volume share.
Customization: Tailor inputs to match your unique trading strategy.
Chart Presence: See POC and related data graphically on your price chart.

How to Use:
Traders can use the Dynamic POC indicator to identify Point of Control price level, understand volume distribution, and gauge market sentiment. The indicator's visual cues and customizable parameters make it a valuable tool for technical analysis and decision-making.
Release Notes
Minor bug fixes... (colorLine)
Release Notes
Minor changes:
  • Removed smoothing feature.
  • MA (Moving Average) now shares the same input length with POC (Point of Control).
Release Notes
Incorporated an indicator description as comments within the code to provide better context and understanding
Release Notes
New Features:
Added data collection from lower timeframes, enhancing the precision and relevance of the POC calculations across different market conditions.

Functional Enhancements:
Core functionalities, including data collection and POC calculation, have been encapsulated into dedicated functions (collectData and getPoc). This modular approach improves code readability and scalability.

These updates streamline the Dynamic POC Indicator's architecture and expand its analytical capabilities to offer more precise insights with lower timeframe integration.
Release Notes
Minor change in getPoc function
Release Notes
getPoc()
Enhanced the logic to ensure that the index does not exceed the size of arrayPoc.
Release Notes
Changes to getPoc() Function:
  1. Proportion Logic Implementation: Added detailed volume allocation logic for full, partial, and complete slot overlaps.
  2. Enhanced Index Bounds Validation: Improved index bounds validation for consistent calculations.
  3. Reduced the frequency of POC calculations to avoid timeout errors
Release Notes

  • Introduced Value Area High (VAH) and Value Area Low (VAL) levels for enhanced market analysis.
  • Refactored and optimized the main volume profile function for improved computational efficiency.

Release Notes
Made minor adjustments and optimized the code to improve volume profile calculation speed.
Pivot PointsPOCvolumeanalysisvolumeindicatorVolume ProfilevolumeprofileanalysisVolume Weighted Moving Average (VWMA)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer