OPEN-SOURCE SCRIPT
Обновлено

Xces' (key levels)

2 362
Inspired by spaceman's version i made my own version.

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. Подробнее читайте в Условиях использования.