OPEN-SOURCE SCRIPT

HOD Break Markers

54
This indicator identifies and tracks successive intraday highs of day on fast charts such as 10-second and 1-minute timeframes.

A new HOD is confirmed when:

1. A candle reaches the highest price of the tracking period.
2. The following candle closes with a lower high.

Once confirmed, the indicator places an outlined marker and an `HOD` label above the candle. If a later candle trades above that price—even briefly with its wick—the marker becomes filled and the horizontal level changes to its “broken” colour.

Customization

You can adjust:

- Marker shape: diamond, square, circle, triangle, or none.
- Marker size and `HOD` text size independently.
- Marker, text, and level colours.
- Custom label text, such as `HOD` or `High of Day`.
- Horizontal line style, width, and visibility.
- Whether levels stop at the end of the day or extend across future days.

Tracking windows

- Exchange day: Uses every visible chart bar and resets each exchange day.
- Custom session: Tracks only a selected session, such as `0400-2000` for US extended hours or `0930-1600` for the regular session.

Premarket highs require extended-hours bars to be enabled on the TradingView chart.

Alerts

The script provides alert conditions for:

- A newly confirmed HOD.
- Price breaking a confirmed HOD.

Отказ от ответственности

Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.