PROTECTED SOURCE SCRIPT
已更新

Peter's Value area Indicator

84
Displays key price levels as horizontal dashed lines extending to the right, with labels positioned on the right side:

dVWAP: Current daily Volume Weighted Average Price
mVWAP: Current monthly Volume Weighted Average Price
PDH / PDL: Previous Day High and Low
PWH / PWL: Previous Week High and Low
pdVAH: Previous Day Value Area High (~70% volume profile)
dVAH: Current Day Value Area High (~70% volume profile)

Lines are anchored to the visible chart area and update dynamically. Customizable colors, label offset, and line extension length via inputs.
Clean and minimal overlay for identifying important support/resistance and value area levels.
版本注释
Added Point of Control (POC) Levels: Now includes Previous Day POC (pdPOC) and Daily POC (dPOC) for better identification of high-volume price points, calculated via the volume profile.

These can be toggled on/off and customized with a dedicated color input.


Full Input Settings for Customization:

Price Source Selection: Choose from hlc3, hl2, ohlc4, close, or other sources to adjust how levels like VWAP, VAH, and POC are computed.

Toggles for All Levels: Individual show/hide options for dVWAP, mVWAP, PDH, PDL, PWH, PWL, pdVAH, dVAH, pdPOC, and dPOC—declutter your chart by displaying only what you need.

Color Customization: Dedicated color pickers for VWAP, VAH, POC, PDH, PDL, PWH, and PWL to match your preferred visual style.

Value Area Percentage: Adjustable slider (default 0.7) to fine-tune the volume area coverage in VAH and POC calculations.

Number of Bins: Input to set the granularity of the volume profile histogram (default 100).
Label Offset and Line Extension: Control how far labels appear from the right edge and how long lines extend beyond the visible chart (defaults: 30 bars for offset, 30 for extension).

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。