PROTECTED SOURCE SCRIPT
Güncellendi

Twlv's Key KeyLevels with Dashboard

103
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.
Sürüm Notları
Added per‑symbol dashboard colors
New 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.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.