PROTECTED SOURCE SCRIPT
Time Marks

**Overview**
- Displays time labels at specific daily moments: Midnight, Morning, Afternoon, and Evening.
- Each time has an inline show toggle and a configurable `HH:mm` value for a clean, compact settings panel.
- Supports a timezone offset to align marks with your local or desired session time.
**Inputs**
- `Timezone Offset (hours)`: Shifts the bar time used for matching by the specified hours.
- `Midnight / Morning / Afternoon / Evening`:
- Show toggle: enable or disable the label for that time.
- Time input: `HH:mm` format (24-hour), e.g., `09:00`, `14:00`, `21:00`.
- `Show Last Only`: When enabled, only the most recent label of each type stays on chart (previous one is deleted).
- `Label Style`: Choose from `Down`, `Up`, `Left`, `Right`.
- `Background Color` and `Background Transparency`: Set label background and its opacity.
- `Text Color` and `Text Size`: Customize label text color and size.
**Display Logic**
- Computes `bar time + timezone offset` and formats it as `HH:mm`.
- If the formatted time exactly equals a configured time (e.g., `09:00`) and the corresponding toggle is on, a label is drawn.
- Labels are anchored at the current bar’s index and positioned at the bar’s high.
**Usage Notes**
- Use `HH:mm` (24-hour) strings for time inputs.
- Adjust `Timezone Offset` to match your session reference (e.g., local time or exchange time).
- Inline toggles plus time inputs keep the panel concise; you can enable only the moments meaningful to your workflow.
**Limitations**
- Labels appear only when a bar’s timestamp (after offset) exactly matches the configured `HH:mm`. On higher timeframes, marks may not appear if the bar doesn’t start at that minute.
- This indicator doesn’t auto-infer sessions; it relies on user-defined times and the exact time match logic.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.