OPEN-SOURCE SCRIPT
已更新 Swellz Capital Levels

A single, uncluttered indicator that plots all the key levels futures and intraday traders actually watch — as clean right-side lines and labels
that never cut back through your candles.
What it plots
Previous Day
- PDH / PDL (previous day high & low)
- PDC — choose RTH cash close (16:00 ET), 24h Globex daily close, or both
Previous Week
- PWH / PWL
Sessions
- Asia / Globex high & low
- NY (RTH) session high & low
- Initial Balance high & low
Volume Profile (POC / VAH / VAL) for:
- NY session
- Current day
- Current week
- Previous week
Key features
- Clean presentation — every line and label is pushed to the right of price action, so nothing draws back across your candles. Adjustable gap,
line length, and width.
- Smart label stacking — when two levels share the same (or nearly the same) price, their labels automatically spread sideways so the text never
overlaps. Tolerance and spacing are adjustable.
- One-click master switches — toggle all key levels or all volume profile levels on/off with a single button, while keeping your individual
per-level choices intact.
- Accurate session resets — day/week boundaries follow the futures session (matching TradingView's daily/weekly candles), so PDH/PDL etc. line up
with the levels you already see.
- Fully customizable — colors per group, label size, optional price-in-label, value-area %, and profile row size (in ticks).
How to use
- Best on an intraday timeframe (1m–15m). Lower timeframes give a more accurate volume profile.
- Set your timezone and session windows in the settings to match your instrument and trading style.
- Volume Profile is approximated from chart OHLCV (each bar's volume spread evenly across its high-low range) — very close to TradingView's native
VP, though not identical. The symbol must have volume data.
- High/low levels update live; volume profile updates on each bar close.
Tuned with futures (NQ/MNQ, ES/MES, etc.) in mind, but works on any symbol with volume.
that never cut back through your candles.
What it plots
Previous Day
- PDH / PDL (previous day high & low)
- PDC — choose RTH cash close (16:00 ET), 24h Globex daily close, or both
Previous Week
- PWH / PWL
Sessions
- Asia / Globex high & low
- NY (RTH) session high & low
- Initial Balance high & low
Volume Profile (POC / VAH / VAL) for:
- NY session
- Current day
- Current week
- Previous week
Key features
- Clean presentation — every line and label is pushed to the right of price action, so nothing draws back across your candles. Adjustable gap,
line length, and width.
- Smart label stacking — when two levels share the same (or nearly the same) price, their labels automatically spread sideways so the text never
overlaps. Tolerance and spacing are adjustable.
- One-click master switches — toggle all key levels or all volume profile levels on/off with a single button, while keeping your individual
per-level choices intact.
- Accurate session resets — day/week boundaries follow the futures session (matching TradingView's daily/weekly candles), so PDH/PDL etc. line up
with the levels you already see.
- Fully customizable — colors per group, label size, optional price-in-label, value-area %, and profile row size (in ticks).
How to use
- Best on an intraday timeframe (1m–15m). Lower timeframes give a more accurate volume profile.
- Set your timezone and session windows in the settings to match your instrument and trading style.
- Volume Profile is approximated from chart OHLCV (each bar's volume spread evenly across its high-low range) — very close to TradingView's native
VP, though not identical. The symbol must have volume data.
- High/low levels update live; volume profile updates on each bar close.
Tuned with futures (NQ/MNQ, ES/MES, etc.) in mind, but works on any symbol with volume.
版本注释
Key Levels added版本注释
Full name and single colour added版本注释
globex fixbug fixes
版本注释
KEY UPDATES开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。