OPEN-SOURCE SCRIPT
Güncellendi 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.
Sürüm Notları
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
Sürüm Notları
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.
Sürüm Notları
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.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.