OPEN-SOURCE SCRIPT
Daily Time Markers

/ WHAT THIS DOES
// ----------------------------------------------------------------------------
// Up to 8 independently configurable "time of day" markers (e.g. 09:30).
// Each marker is drawn as a vertical line on EVERY calendar day, but only
// for days within a rolling window of N days counting back from the most
// recent bar currently on the chart. That "most recent bar" is automatically
// the replay cursor's position while in Bar Replay mode, and the live last
// bar otherwise -- so the window follows you forward as you replay.
// TODAY'S line is projected ahead immediately at the start of the day, even
// before its target time arrives, so you can see it coming and prepare.
// Works on any chart timeframe: on coarser timeframes (e.g. 1H, 1D) the line
// is placed at the exact target time even if that falls inside a bar.
// Timezone defaults to following the loaded symbol's own exchange timezone
// (syminfo.timezone) automatically -- Pine cannot read the chart's display
// timezone dropdown, so this is the closest automatic equivalent. A manual
// override is available if you want a fixed timezone regardless of symbol.
// Labels are anchored to the top/bottom of the chart's VISIBLE price range,
// so they stay clear of candles and don't look cluttered, no matter how
// you zoom or scroll.
// ----------------------------------------------------------------------------
// Up to 8 independently configurable "time of day" markers (e.g. 09:30).
// Each marker is drawn as a vertical line on EVERY calendar day, but only
// for days within a rolling window of N days counting back from the most
// recent bar currently on the chart. That "most recent bar" is automatically
// the replay cursor's position while in Bar Replay mode, and the live last
// bar otherwise -- so the window follows you forward as you replay.
// TODAY'S line is projected ahead immediately at the start of the day, even
// before its target time arrives, so you can see it coming and prepare.
// Works on any chart timeframe: on coarser timeframes (e.g. 1H, 1D) the line
// is placed at the exact target time even if that falls inside a bar.
// Timezone defaults to following the loaded symbol's own exchange timezone
// (syminfo.timezone) automatically -- Pine cannot read the chart's display
// timezone dropdown, so this is the closest automatic equivalent. A manual
// override is available if you want a fixed timezone regardless of symbol.
// Labels are anchored to the top/bottom of the chart's VISIBLE price range,
// so they stay clear of candles and don't look cluttered, no matter how
// you zoom or scroll.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.