OPEN-SOURCE SCRIPT
已更新 Xces' (key levels)

Inspired by spaceman's version i made my own version.
Detected levels:
Sweep and drawing rules:
Full source code included, have fun.
Detected levels:
- Asia, London, and NY session highs/lows.
- Current week highs/lows (CWH/CWL) and current month highs/lows (CMH/CML).
These move with the current period extreme and are not marked swept by the sweep scanner. - Previous day/week/month highs/lows (PDH/PDL, PWH/PWL, PMH/PML).
These are marked swept when the current corresponding period crosses them, even if the chart history loaded after the actual sweep. - Monday high/low after Monday completes.
- TDO, NDOG, and NWOG.
Sweep and drawing rules:
- A level is swept when a chart candle's wick range crosses it with mintick tolerance.
- Unswept levels draw in the active-level color.
- Swept levels from the current trading week remain visible in the swept-level color.
- Swept PWH/PWL/PMH/PML also remain visible in the swept-level color.
- Other older swept levels are hidden.
- Overlapping visible levels are clustered into one label.
Full source code included, have fun.
版本注释
Right-align levels for better reading.版本注释
Added the NY 10am open candle indicator, which remains visible for the entire NY session.版本注释
Fixed label positioning版本注释
Fixed TDO版本注释
Fixed level detection - ICT killzones and added timezone selector.版本注释
Updated Asia/London/NY sessions to ICT killzones.开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。