Session Stat Levels [Pascal ⧋]

Session Stat Levels plots session-based reference levels (Open, Manipulation, Distribution, Extreme) for up to four custom time blocks (S1–S4), using per-session mean/median stats from recent history. It supports custom timezones, optional SMT divergence marks, alerts, and a compact status table.
What it does
• Restricts to seconds–4h charts for reliability.
• Tracks each enabled session’s OHLC, then computes manipulation (wick side), distribution (body side), and extreme ranges.
• Uses rolling history (user-set) to derive mean/median per session; draws lines and optional shaded zones.
• Handles Stocks vs Futures/Forex/Crypto time logic (stocks confined to RTH; futures holiday/18:00 edge cases).
• Shows only the active session or up to N prior sessions, per setting.
• Optional SMT: detects ±SMT divergences against an auto/manual comparison ticker and shows the latest status.
• Alerts when price touches Open / Manipulation / Distribution / Extreme lines.
• Status table displays: current symbol, SMT ticker, SMT state, and active session.
Features
• Sessions: Four user-defined windows (HHMM), current-only toggle, and max historical display cap.
• Stats mode: Mean, Median, or Both (shades the band between them).
• Extreme levels: GKYZ volatility estimate scaled by a user multiplier.
• Visuals: Per-session lines, compact labels (O, M±, D±, σ±), optional zones with global opacity.
• Timezone: Fixed NY for stocks; selectable TZ for futures/forex/crypto.
• SMT: Auto pairing (ES↔NQ, CL↔RB, GC↔SI, FX, BTC↔ETH, etc.), removable invalidations.
• Alerts & table: Lightweight, background-aware text color for readability.
Disclaimer
For educational use only. Not financial advice. Past behavior and session statistics don’t guarantee future outcomes. Verify settings and results before trading.
סקריפט להזמנה בלבד
רק משתמשים שאושרו על ידי המחבר יכולים לגשת לסקריפט הזה. תצטרך לבקש ולקבל אישור להשתמש בו. אישור זה ניתן בדרך כלל לאחר תשלום. לפרטים נוספים, בצע את ההוראות של המחבר למטה או צור קשר ישירות עם pascalalgo.
TradingView לא ממליצה לשלם עבור סקריפט או להשתמש בו, אלא אם כן אתה סומך לחלוטין על המחבר שלו ומבין איך הוא עובד. ייתכן שתמצא גם אלטרנטיבות חינמיות בקוד פתוח בסקריפטים של הקהילה שלנו.
הוראות המחבר
כתב ויתור
סקריפט להזמנה בלבד
רק משתמשים שאושרו על ידי המחבר יכולים לגשת לסקריפט הזה. תצטרך לבקש ולקבל אישור להשתמש בו. אישור זה ניתן בדרך כלל לאחר תשלום. לפרטים נוספים, בצע את ההוראות של המחבר למטה או צור קשר ישירות עם pascalalgo.
TradingView לא ממליצה לשלם עבור סקריפט או להשתמש בו, אלא אם כן אתה סומך לחלוטין על המחבר שלו ומבין איך הוא עובד. ייתכן שתמצא גם אלטרנטיבות חינמיות בקוד פתוח בסקריפטים של הקהילה שלנו.