PROTECTED SOURCE SCRIPT
Updated

Candle Levels (gajiev)

62
📌 English description

Candle Levels (gajiev)
This indicator automatically plots key levels from the first candle of the trading day (based on Moscow time, 00:00 MSK).
You can choose the base timeframe: H4, H12, or 1D.
Once the first selected candle closes, the following levels are drawn:

High / Low of the candle

Body High / Body Low (open and close extremes)

Midpoint (50% of the candle)

Each level can be customized (color, style, width, label).
Additionally, the indicator can draw a vertical line at a user-defined time of day to mark the start of your trading session.

📌 Описание по-русски

Candle Levels (gajiev)
Индикатор автоматически строит ключевые уровни первой свечи торгового дня (по московскому времени, начало в 00:00 МСК).
Можно выбрать базовый таймфрейм: H4, H12 или 1D.
После закрытия первой свечи выбранного таймфрейма на графике появляются уровни:

Максимум и минимум свечи

Верх и низ тела свечи (открытие и закрытие)

Середина (50% свечи)

Каждый уровень настраивается (цвет, стиль, толщина, подпись).
Также индикатор может отрисовать вертикальную линию в заданное время дня для обозначения старта вашей торговой сессии.
Release Notes
Candle Levels (gajiev) — short description (EN)

Plots High/Low, Body High/Low, and Mid (0.5) from the first MSK-anchored candle of the day (configurable TF: H4/H12/Day).

Lines can extend to end of day or ray-right; optional labels can include price.

New: two vertical markers for the workday window — Start and End at user-set MSK times (e.g., 14:00 and 19:00).

Option to show only today’s levels (no history). Colors, styles, and widths are customizable.

Короткое описание (RU)

Строит уровни High/Low, Body High/Low и Mid (0.5) от первой свечи дня по МСК (настраиваемый ТФ: H4/H12/Day).

Линии можно тянуть до конца дня или вправо; подписи уровней могут включать цену.

Новое: две вертикальные метки рабочей сессии — Старт и Финиш по заданному времени МСК (например, 14:00 и 19:00).

Есть режим показа только сегодняшних уровней. Цвета, стили и толщины настраиваются.
Release Notes
🇬🇧 English (for TradingView publish)

Candle Levels (gajiev) — marks key daily levels (High, Low, Body High/Low, and Mid) based on the first MSK-anchored candle of the day (configurable TF: H4, H12, or Day).
You can extend lines to the end of the day or indefinitely to the right, and add optional labels with price.

🆕 Update:

Added a second vertical line to mark the end of the workday (e.g., 19:00 MSK).

Fixed chart compression issue when switching symbols — vertical lines no longer affect scaling.

New parameter: Span bars (controls vertical line height coverage).

Clean visuals, no scaling bugs, full customization.

🇷🇺 Русское описание (для удобства)

Candle Levels (gajiev) — строит ключевые уровни дня (High, Low, Body High/Low и Mid) по первой свече дня с привязкой к МСК (настраиваемый ТФ: H4, H12 или Day).
Линии можно тянуть до конца дня или вправо, добавлять подписи с ценой.

🆕 Обновление:

Добавлена вторая вертикальная линия — конец рабочего дня (например, 19:00 МСК).

Исправлена проблема сжатия графика при переключении инструментов.

Новый параметр Span bars — регулирует высоту вертикальных линий.

Чистая визуализация, без багов масштаба, гибкие настройки.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.