OPEN-SOURCE SCRIPT
[TKYTrades] Sessions & Key Levels

📌 [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):
For 1H–4H charting:
For Daily charting:
⚙️ Settings Guide
Sessions
Session Highs / Lows
Key Levels
📎 Notes on Behavior (By Design)
⚠️ 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.
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.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.