PROTECTED SOURCE SCRIPT
已更新 Twlv's Key KeyLevels with Dashboard

What It Is
A clean key‑levels tool that plots yesterday’s and last week’s highs/lows plus the prior overnight session’s high/low, and shows a compact dashboard that tells you when the current chart or selected symbols have “engaged” (touched) those levels.
Levels it tracks
- PDH/PDL: Previous Daily High/Low (from TradingView’s prior daily bar).
- PWH/PWL: Previous Weekly High/Low (from the prior weekly bar).
- PSH/PSL: Prior 20:00–05:00 EST session High/Low.
- Finalized at 05:00 EST.
- Shown only between 06:00–17:00 EST on intraday charts.
How it decides “engaged”
- A level is “engaged” once price trades through it after the current day starts.
- Engagement latches for the rest of the day and resets at the next day start.
Dashboard
- Two columns: Symbol | Key Level.
- Always shows the current chart plus any watchlist symbols you enable.
- Key Level cell lists any engaged levels (e.g., PWL, PDH, PSH). Turns green when at least one is engaged; otherwise grey.
- Symbols are auto‑cleaned (e.g., “CME_MINI:ES1!” → “ES”). Footer watermark is centered.
Drawing
- Horizontal lines anchored to real candles (no “floating”).
- Finite line length so labels remain visible; labels sit at the right edge.
Time handling
- Session window uses strict EST (no DST) via `Etc/GMT+5`.
- PSH/PSL reset daily; PD/PW update on each new completed D/W bar.
Customization
- Pick up to six symbols to monitor; the chart always plots its own lines.
- Color, width, labels, and dashboard on/off are configurable. Core engine timing and session rules are fixed to prevent accidental changes.
Intended use
- Spot where price is likely to react: yesterday/week highs/lows and the prior overnight range.
- Glance at the dashboard to know which levels are active across your chosen markets without switching charts.
A clean key‑levels tool that plots yesterday’s and last week’s highs/lows plus the prior overnight session’s high/low, and shows a compact dashboard that tells you when the current chart or selected symbols have “engaged” (touched) those levels.
Levels it tracks
- PDH/PDL: Previous Daily High/Low (from TradingView’s prior daily bar).
- PWH/PWL: Previous Weekly High/Low (from the prior weekly bar).
- PSH/PSL: Prior 20:00–05:00 EST session High/Low.
- Finalized at 05:00 EST.
- Shown only between 06:00–17:00 EST on intraday charts.
How it decides “engaged”
- A level is “engaged” once price trades through it after the current day starts.
- Engagement latches for the rest of the day and resets at the next day start.
Dashboard
- Two columns: Symbol | Key Level.
- Always shows the current chart plus any watchlist symbols you enable.
- Key Level cell lists any engaged levels (e.g., PWL, PDH, PSH). Turns green when at least one is engaged; otherwise grey.
- Symbols are auto‑cleaned (e.g., “CME_MINI:ES1!” → “ES”). Footer watermark is centered.
Drawing
- Horizontal lines anchored to real candles (no “floating”).
- Finite line length so labels remain visible; labels sit at the right edge.
Time handling
- Session window uses strict EST (no DST) via `Etc/GMT+5`.
- PSH/PSL reset daily; PD/PW update on each new completed D/W bar.
Customization
- Pick up to six symbols to monitor; the chart always plots its own lines.
- Color, width, labels, and dashboard on/off are configurable. Core engine timing and session rules are fixed to prevent accidental changes.
Intended use
- Spot where price is likely to react: yesterday/week highs/lows and the prior overnight range.
- Glance at the dashboard to know which levels are active across your chosen markets without switching charts.
發行說明
Added per‑symbol dashboard colorsNew inputs under Watchlist: “Ticker 1 Color” … “Ticker 6 Color”.
When a watched symbol engages any key level (PDH/PDL/PWH/PWL/PSH/PSL), the Key Level cell’s background uses that symbol’s chosen color for easier reignition.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
lock in, study
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
lock in, study
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。