OPEN-SOURCE SCRIPT
Session & Swing Levels + Smart Alerts

Multi-Timeframe Level Tracker with Advanced Alert System
This comprehensive indicator combines session-based trading levels with multi-timeframe swing analysis, for key level identification and alert management.
Key Features:
Session Analysis:
Asia Session (7:00 PM - 4:00 AM ET) - Tracks high/low levels during Asian market hours
London Session (3:00 AM - 11:00 AM ET) - Identifies key European session levels
Previous Day Levels - Displays prior day's high and low levels
Visual session backgrounds and customizable timezone support
Multi-Timeframe Swing Detection:
Up to 5 configurable timeframes (default: 15m, 1h, 4h, 1D, 1W)
Intelligent swing high/low identification using customizable pivot strength
Each timeframe uses distinct colors for easy identification
Advanced Alert System:
Anti-repainting protection - Alerts only trigger on confirmed bars for reliable live trading
Specific alert messages for each level type (Asia High, London Low, Previous Day levels, etc.)
Individual alert toggles for each session and timeframe
Timestamps in Eastern Time for consistency
Visual Customization:
Independent color schemes for sessions and timeframes
Configurable line styles (solid, dashed, dotted) and widths
Separate styling for active vs. mitigated levels
Optional line extension past mitigation points
📊 How It Works:
Level Creation: Automatically identifies and draws key levels at session closes
Mitigation Detection: Monitors price interaction with levels in real-time
Visual Updates: Changes line appearance when levels are crossed
Smart Alerts: Sends targeted notifications with level-specific information
This comprehensive indicator combines session-based trading levels with multi-timeframe swing analysis, for key level identification and alert management.
Key Features:
Session Analysis:
Asia Session (7:00 PM - 4:00 AM ET) - Tracks high/low levels during Asian market hours
London Session (3:00 AM - 11:00 AM ET) - Identifies key European session levels
Previous Day Levels - Displays prior day's high and low levels
Visual session backgrounds and customizable timezone support
Multi-Timeframe Swing Detection:
Up to 5 configurable timeframes (default: 15m, 1h, 4h, 1D, 1W)
Intelligent swing high/low identification using customizable pivot strength
Each timeframe uses distinct colors for easy identification
Advanced Alert System:
Anti-repainting protection - Alerts only trigger on confirmed bars for reliable live trading
Specific alert messages for each level type (Asia High, London Low, Previous Day levels, etc.)
Individual alert toggles for each session and timeframe
Timestamps in Eastern Time for consistency
Visual Customization:
Independent color schemes for sessions and timeframes
Configurable line styles (solid, dashed, dotted) and widths
Separate styling for active vs. mitigated levels
Optional line extension past mitigation points
📊 How It Works:
Level Creation: Automatically identifies and draws key levels at session closes
Mitigation Detection: Monitors price interaction with levels in real-time
Visual Updates: Changes line appearance when levels are crossed
Smart Alerts: Sends targeted notifications with level-specific information
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.