PROTECTED SOURCE SCRIPT
已更新

[ShoshiTrades] Volume Profiles

27
[ShoshiTrades] Volume Profiles is a lightweight multi-timeframe Volume Profile indicator. It draws the key levels POC (Point of Control), VAH (Value Area High) and VAL (Value Area Low) for up to 4 independent profiles (VP1–VP4).

Each profile can be configured separately: timeframe, anchor type (swing high / swing low), line style (solid/dashed/dotted), line width, colors, and optional realtime plots (useful for alerts/conditions).

> How it works
The Volume Profile is calculated inside the selected timeframe using request.security(). The script finds POC and Value Area (default 68%), then draws horizontal lines for POC/VAH/VAL.

> Optional features
Line Tags: small labels on the lines. If multiple tags overlap, they can auto-stack into columns to reduce clutter.
Legend Panel: a fixed table showing all VP levels. Unlike chart labels, the table does not shift with zoom.

> Main settings (General)
Bars Back (calc): recommended value is 1 (calculates only on the latest bar for best speed and stability). Higher values may hit TradingView object limits and some lines/labels may stop rendering.

> Line Tags settings
Show Line Tags: enable/disable labels.
Side: Left / Right placement.
Tag Offset (bars): horizontal distance from the last candle.
Stack overlapping tags: spreads labels into columns when several tags are too close.
Stack threshold (ticks): how close (in ticks) tags must be to stack.
Stack step (bars): spacing between stacked columns.

> Legend Panel (Table) settings
Show Legend Panel: enable/disable the fixed table.
Position: Top/Bottom + Left/Right.
Text size: Tiny / Small / Normal.

> Recommended use
Combine multiple timeframes (e.g., 30m / 1h / 4h / 12h) to look for confluence. POC often acts like a “magnet” level, while VAH/VAL form practical value area boundaries. Use realtime plots if you want to build alerts or strategy conditions around these levels.

> Performance notes (TradingView limits)
TradingView has strict object limits (lines/labels). If you enable many profiles and increase Bars Back (calc), some drawings may disappear due to platform limits. For best stability, keep Bars Back (calc) set to 1.

© ShoshiTrades
版本注释
V1.2
Small cosmetic update

免责声明

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