OPEN-SOURCE SCRIPT
Обновлено Intraweek Highs & Lows

🔎 Track and analyze intraweek price extremes with full flexibility.
The indicator detects weekly highs or lows for any selected weekday and monitors when other days break those levels.
⚙️ Inputs
The indicator detects weekly highs or lows for any selected weekday and monitors when other days break those levels.
⚙️ Inputs
- Select day
Pick which weekday’s extreme you want to monitor. - Find Low/High
Select whether you want to track Lows or Highs. - Use candle Wick/Body
Choose if extremes are calculated by full wick or candle body. - Cutoff date
Toggle the date-based filter and choose the starting date for event display.
Информация о релизе
This indicator identifies the highs and lows of a user-selected weekday within each week, then tracks the first subsequent day on which that level is broken. Results are presented via optional price labels and a comprehensive summary table displaying the percentage distribution of first hits by weekday.
Ideal for analyzing intraweek price behavior, weekday strength/weakness patterns, and key level follow-through studies.
Inputs
- Select day — Weekday whose high and/or low will be monitored
- Use candle Wick/Body — Determines whether extremes are based on wicks or candle bodies
- High Options → Show high on table — Include high-break statistics in the summary table
- High Options → Show high labels — Plot labels at the selected weekday’s weekly high
- Low Options → Show low on table — Include low-break statistics in the summary table
- Low Options → Show low labels — Plot labels at the selected weekday’s weekly low
- Cutoff — Enable and set a start date to filter displayed events and statistics
Информация о релизе
Fixed- Weekly stats are now accurate on intraday charts: hits occurring late on the day before the selected day were previously counted as "None".
- Symbols that do not trade the day before the selected day (for example stocks with Monday selected) now record "None" weeks correctly. Previously these weeks were silently dropped, inflating every other day's percentage.
- The current unfinished week is no longer prematurely counted as "None". It is now only counted once resolved, so live stats match a fresh reload.
Changed
- A week now ends at the start of the next selected day, or after 7 calendar days when that day does not trade (holiday weeks).
- High/low labels are replaced by plot markers with unlimited history: no more 500 label cap. Markers draw as the extreme forms, so intraday charts show each improvement of the day's high/low, ending at the final one. Color and shape are now editable in the Style tab.
Under the hood
- Rewritten in modern Pine Script v6: enums, user-defined types and methods, table drawn once instead of every bar, unused internal data removed. About 30% smaller.
Информация о релизе
Changed- Stats are now always calculated from daily data, regardless of the chart timeframe. Results are consistent on any timeframe, and "Body" now always means the daily candle's body. Note: intraday charts only cover the history they load, so the daily chart remains the best place to read the table.
- High/low marks now display on the daily timeframe only, where each mark sits exactly on the day's extreme. On intraday charts the marks produced a misleading trail, so they are hidden there.
New
- On weekly and higher timeframes the indicator now shows a small notice instead of stats, since day-of-week statistics need daily or lower bars.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.