OPEN-SOURCE SCRIPT
Updated

Daily Midnight Lines

84
# Daily Midnight Lines

A simple and efficient TradingView indicator that automatically draws vertical lines at the start of each new day.

*[Russian description below]*

## Features

✅ **Precise Timing**: Draws lines at exactly 00:00 or on the first bar of the new day
✅ **Calendar Days**: Uses calendar days, not trading sessions
✅ **Customizable Design**: Green color with transparency for comfortable viewing
✅ **High Performance**: Optimized code without unnecessary calculations
✅ **Universal**: Works on all timeframes and instruments

## Settings

- **Line Color**: Green with 30% transparency (customizable)
- **Line Width**: 1 pixel (1 to 3)
- **Mode**: Exactly at 00:00 or first bar of new day

## Applications

- Separating trading days on the chart
- Analyzing price behavior at the start of the day
- Planning trading strategies
- Statistical analysis by days

## Compatibility

- Pine Script v6
- All timeframes (1m - 1M)
- All instruments (stocks, forex, crypto, futures)
- All markets (24/7, daily, night sessions)

Perfect for day traders, scalpers, and analysts who want better chart orientation and intraday pattern analysis.

---

## Ежедневные Полночные Линии

Простой и эффективный индикатор TradingView, который автоматически рисует вертикальные линии в начале каждого нового дня.

## Особенности

✅ **Точное время**: Рисует линии в 00:00 или на первом баре нового дня
✅ **Календарные дни**: Использует календарные дни, а не торговые сессии
✅ **Настраиваемый дизайн**: Зеленый цвет с прозрачностью для комфортного просмотра
✅ **Высокая производительность**: Оптимизированный код без лишних вычислений
✅ **Универсальность**: Работает на всех таймфреймах и инструментах

## Настройки

- **Цвет линий**: Зеленый с прозрачностью 30% (настраивается)
- **Толщина линий**: 1 пиксель (от 1 до 3)
- **Режим**: Точно в 00:00 или первый бар нового дня

## Применение

- Разделение торговых дней на графике
- Анализ поведения цены в начале дня
- Планирование торговых стратегий
- Статистический анализ по дням

## Совместимость

- Pine Script v6
- Все таймфреймы (1м - 1М)
- Все инструменты (акции, форекс, крипто, фьючерсы)
- Все рынки (24/7, дневные, ночные сессии)

Идеально подходит для дневных трейдеров, скальперов и аналитиков, которые хотят лучше ориентироваться на графике и анализировать внутридневные паттерны.

**Pine Script v6** | **Updated: October 2024** | **Обновлено: Октябрь 2024**
Release Notes
# TradingView Short Description

## English:

**Daily Midnight Lines - Moscow Time**

Simple indicator that draws vertical lines at the start of each day according to Moscow time (UTC+3). Works on all instruments and timeframes. Perfect for day traders and futures traders working with Russian markets.

Features:
- Vertical lines at 00:00 Moscow time
- Works on stocks, futures, forex
- All timeframes supported
- Clean green visual
- No chart compression

Just add to chart - no settings needed!

---

## Русский:

**Daily Midnight Lines - Московское время**

Простой индикатор, который рисует вертикальные линии в начале каждого дня по московскому времени (UTC+3). Работает на всех инструментах и таймфреймах. Идеально подходит для дневных трейдеров и трейдеров фьючерсов, работающих с российскими рынками.

Возможности:
- Вертикальные линии в 00:00 по Москве
- Работает на акциях, фьючерсах, валютах
- Поддерживает все таймфреймы
- Чистая зеленая визуализация
- Не сжимает график

Просто добавьте на график - настройки не нужны!
Release Notes
**Daily Midnight Lines - Moscow Time**

Simple indicator that draws vertical lines at the start of each day according to Moscow time (UTC+3). Works on all instruments and timeframes. Perfect for day traders and futures traders working with Russian markets.

Features:
- Vertical lines at 00:00 Moscow time
- Works on stocks, futures, forex
- All timeframes supported
- Soft green visual (80% transparency)
- No chart compression

Just add to chart - no settings needed!

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.