OPEN-SOURCE SCRIPT

[TKYTrades] Sessions & Key Levels

184
📌 [TKYTrades] Sessions & Key Levels

Sessions & Key Levels is a session-aware key level framework designed to keep your chart clean while highlighting the most relevant liquidity and structure levels. It combines major FX sessions, prior period levels, and multi-timeframe swing structure into one organized overlay—using strict timeframe visibility rules, touch-based fading/cleanup logic, and intelligent label merging when multiple key levels overlap.

This tool is built to answer one question clearly:
“Where are the important levels, and which ones matter most right now?”

🚀 Quick Start (Recommended Setup)

If you want a clean “daily plan + session execution” layout:

For intraday trading (15s–30m):
  • Enable: PWH/PWL, Daily Swings, PDH/PDL, Session Highs/Lows, 4H Swings
  • Turn ON: Only Most Recent Session Levels (optional, cleaner charts)
  • Keep Session Range Boxes ON if you like session framing

For 1H–4H charting:
  • Sessions still work, but session H/Ls will not display above 30m (intentional for clarity)
  • PDH/PDL + PWH/PWL remain useful
  • 4H swings remain intraday only by design

For Daily charting:
  • You’ll primarily see: PWH/PWL, Daily Swings, PDH/PDL
  • 4H swings and session H/Ls are intentionally hidden

⚙️ Settings Guide

Sessions
  • Toggle NY / London / Tokyo on/off
  • Configure times, colors, and whether to show:
  • Open line
  • Close line
  • Range box

Session Highs / Lows
  • Toggle each session’s prior High/Low individually
  • “Use Range Colors” optionally matches session levels to session colors
  • “Only Most Recent Levels” keeps the chart minimal

Key Levels

  • PWH/PWL: style + thickness + color controls
  • Daily Swings: pivot strength + max swings + style controls
  • PDH/PDL: style + thickness + color controls
  • 4H Swings: pivot strength + max swings + style controls

📎 Notes on Behavior (By Design)
  • Some features are timeframe-gated to prevent chart clutter:
  • Session H/Ls: only on ≤30m
  • 4H swings: intraday only
  • Daily swings: ≤1D
  • PDH/PDL: ≤1D
  • PWH/PWL: ≤1W
  • Levels fade on first touch to de-emphasize “used” liquidity.
  • Cleanup is session-aware so old touched lines don’t accumulate.

⚠️ Disclaimer

This indicator is provided for educational and informational purposes only. It does not constitute financial advice. Trading involves risk, and past performance is not indicative of future results. Always use proper risk management and confirm levels with your own analysis.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.