PROTECTED SOURCE SCRIPT
Reference Times

Overlay indicator that highlights historical candles at a chosen weekday and time. Shows upper and lower wicks as boxes (discounts/premiums), with optional opposite day/hour, previous day, and dynamic or fixed time. Supports multiple timeframes and timezones.
Reference Times marks every candle that matches a specific weekday, hour, and minute over your lookback period. It draws boxes on the wicks of those candles—green on upper wicks (discounts) and red on lower wicks (premiums)—so you can quickly see where price has reacted at that same time in the past.
Time mode
Days
Standard days: Highlights only the selected weekday (e.g. every Wednesday at 15:00 on 30m).
Opposite days: Also marks the “opposite” weekday: Monday↔Wednesday, Tuesday↔Thursday. Friday/Saturday/Sunday have no opposite.
Previous day: Marks the most recent occurrence of the weekday before the selected day (e.g. if you select Wednesday, it marks the latest Tuesday; if you select Friday, it marks the latest Monday).
Hours
Standard hours: Highlights the exact time you chose (aligned to the chart’s candle boundaries, e.g. 15:00 on 30m, 14:30 on 90m when day starts at 01:00).
Opposite hours: 12-hour offset (e.g. 15:00 ↔ 03:00). Options: Off, On (all matching opposite-hour candles), or Once (only the most recent opposite-hour bar on the selected weekday).
Visuals and filtering
Hide upper discounts and lower premiums: Hides upper wicks above current price and lower wicks below current price, so you only see levels that are relevant to where price is now.
Nearest highlights only: Restricts highlights to a percentage range around current price (e.g. ±0.7%). You only see wicks within that band.
Labels: Optional weekday (e.g. “We”), date (e.g. “03/10”), and time (e.g. “15:00”). You can show any combination or none.
Sticky labels: Labels can stay on the right side of the chart and move with new bars so the most recent references stay visible.
General
Timezone offset: Converts between chart time (e.g. Chicago) and your time (e.g. Israel UTC+3). Example: +8 hours for Jerusalem vs Chicago.
Lookback days: How many days back to search (e.g. 365). Limited by TradingView’s ~10,000-bar history for small timeframes.
Instance label: Optional label (A, B, C, D) in the status line when you run several instances with different settings.
Timeframes
Works on any chart timeframe. The script aligns to the candle that contains your chosen time (trading day 01:00–24:00 in your timezone). Supported logic includes 30m, 90m, 6h, and daily.
Alerts
Built-in alerts for when historical wicks are found and when there are many upper or lower wicks (e.g. potential resistance/support).
Reference Times marks every candle that matches a specific weekday, hour, and minute over your lookback period. It draws boxes on the wicks of those candles—green on upper wicks (discounts) and red on lower wicks (premiums)—so you can quickly see where price has reacted at that same time in the past.
Time mode
- Fixed: You choose the day of week, hour, and minute to inspect (e.g. Wednesday 15:34). The indicator highlights all matching candles in that timeframe.
- Dynamic: You set a “minutes offset” from the current bar. The reference time is computed as current time + offset (e.g. “30 minutes ahead”). Positive = ahead, negative = back. Useful for scanning a rolling reference time without changing inputs.
Days
Standard days: Highlights only the selected weekday (e.g. every Wednesday at 15:00 on 30m).
Opposite days: Also marks the “opposite” weekday: Monday↔Wednesday, Tuesday↔Thursday. Friday/Saturday/Sunday have no opposite.
Previous day: Marks the most recent occurrence of the weekday before the selected day (e.g. if you select Wednesday, it marks the latest Tuesday; if you select Friday, it marks the latest Monday).
Hours
Standard hours: Highlights the exact time you chose (aligned to the chart’s candle boundaries, e.g. 15:00 on 30m, 14:30 on 90m when day starts at 01:00).
Opposite hours: 12-hour offset (e.g. 15:00 ↔ 03:00). Options: Off, On (all matching opposite-hour candles), or Once (only the most recent opposite-hour bar on the selected weekday).
Visuals and filtering
Hide upper discounts and lower premiums: Hides upper wicks above current price and lower wicks below current price, so you only see levels that are relevant to where price is now.
Nearest highlights only: Restricts highlights to a percentage range around current price (e.g. ±0.7%). You only see wicks within that band.
Labels: Optional weekday (e.g. “We”), date (e.g. “03/10”), and time (e.g. “15:00”). You can show any combination or none.
Sticky labels: Labels can stay on the right side of the chart and move with new bars so the most recent references stay visible.
General
Timezone offset: Converts between chart time (e.g. Chicago) and your time (e.g. Israel UTC+3). Example: +8 hours for Jerusalem vs Chicago.
Lookback days: How many days back to search (e.g. 365). Limited by TradingView’s ~10,000-bar history for small timeframes.
Instance label: Optional label (A, B, C, D) in the status line when you run several instances with different settings.
Timeframes
Works on any chart timeframe. The script aligns to the candle that contains your chosen time (trading day 01:00–24:00 in your timezone). Supported logic includes 30m, 90m, 6h, and daily.
Alerts
Built-in alerts for when historical wicks are found and when there are many upper or lower wicks (e.g. potential resistance/support).
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。