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 ไม่แนะนำให้ชำระเงินหรือใช้สคริปต์ เว้นแต่ว่าคุณจะเชื่อถือผู้เขียนสคริปต์และเข้าใจวิธีการทำงานของมัน คุณยังอาจพบทางเลือกของโอเพนซอร์ส แบบฟรีในสคริปต์ชุมชนของเรา