OPEN-SOURCE SCRIPT
Обновлено

Key Pivot Levels - By Sajan

476
A clean, multi-timeframe key level indicator built for intraday futures/index traders working off higher-timeframe structure.

What it plots:
Daily 50 & 200 SMA — long-term trend anchors
4H 50 & 200 SMA — swing-level bias
1H 50 & 200 SMA — intraday trend filter
Overnight session high/low (Globex, default 18:00–09:30 ET)
Previous day's RTH high/low (default 09:30–16:00 ET, New York session)
Session opening price (RTH open)

All levels are drawn as full-width horizontal lines with a colored price label tagged at the current level, so you always know exactly where each level sits relative to price — no hunting through
multiple timeframes manually.

Why it's useful:
Instead of flipping between daily/4H/1H charts to track moving averages, or manually marking overnight and prior-day highs/lows every session, this indicator pulls everything into one view on your working timeframe. Great for ORB, fib confluence, or KPL-based strategies that lean on higher-timeframe SMA + session level confluence.

Timezone note: Overnight and RTH sessions are explicitly anchored to America/New_York, so levels stay accurate to the NY session regardless of your chart's display timezone or your own location.

Fully customizable:
SMA lengths (default 50/200)
All line/label colors per timeframe
Session time windows (overnight & RTH)
Label style (left/right) and distance from the last bar
Toggle the opening price line on/off
Информация о релизе
Add garbage collection and set max_bars_back=5000 to allocate enough memory to prevent memory leaks.

Отказ от ответственности

Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.