OPEN-SOURCE SCRIPT
OmniSync Sessions

📊 OmniSync Sessions
A complete session-based trading toolkit combining Asia/London/NY session levels, first-FVG-per-session tracking with history & mitigation, and multi-timeframe previous high/low levels — all in one indicator.
🌏 Session Highs & Lows
💎 Session-Based Fair Value Gaps
📅 Previous Day / Week / Month Levels
⏱️ Intraday & Custom Timeframe Levels
✍️ Custom Manual Levels
⚙️ Built for Reliability
A complete session-based trading toolkit combining Asia/London/NY session levels, first-FVG-per-session tracking with history & mitigation, and multi-timeframe previous high/low levels — all in one indicator.
🌏 Session Highs & Lows
- Tracks Asia, London, and NY session highs/lows in real time
- Fully customizable session times (built around New York time by default)
- Independent master toggle per session — turn any session's lines on/off entirely
- Smart decluttering: your current session's own prior-day line automatically hides while you're inside that session (no redundant overlap with the live line), while the other two sessions' most recent levels stay visible
- Optional live-updating lines that track to current price, with labels that can stay fixed to avoid clutter near price action
💎 Session-Based Fair Value Gaps
- Captures the first FVG of each session — Asia, London, NY — independently
- Dotted midpoint (equilibrium) line through every FVG
- Configurable history: keep the last N FVGs per session instead of just the current one
- Full mitigation tracking — active and historical FVGs fade automatically once price closes through them
- Toggle live-extension on/off, or cap FVGs to end at session close
📅 Previous Day / Week / Month Levels
- Non-repainting previous D/W/M high & low
- Optional 50% Equilibrium line for each timeframe
- Fully custom colors per timeframe
⏱️ Intraday & Custom Timeframe Levels
- Previous 4H and 1H high/low, independently toggleable
- Pick any timeframe you want with a native TF selector — get previous high/low for whatever period matters to you
✍️ Custom Manual Levels
- Draw your own high/low levels at any price you choose — great for marking news levels, targets, or manual S/R (Support and Resistance)
⚙️ Built for Reliability
- All levels use direct bar-by-bar tracking rather than higher-timeframe lookups — consistent, accurate results across every chart resolution
- Every module has its own toggle, so you can run this as a full session/FVG/level suite or strip it down to just what you use
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.