OPEN-SOURCE SCRIPT

Línea Vertical y Apertura 00:00 Verano

109
This TradingView Pine Script plots vertical lines at specific key times throughout the trading day based on the New York timezone (Eastern Time), which aligns with Colombian time during Daylight Saving Time (UTC-4). It also highlights the opening price of the 00:00 candle and shades a specific time range on the chart.

Key Features:
Timezone Configuration:

Uses "America/New_York" to define the trading session times.

Opening Price at 00:00:

Captures and stores the opening price of the candle at exactly 00:00.

Optionally stores the bar index (although it's not used visually here).

Vertical Lines at Key Times:

Draws vertical dashed lines at these specific times each day:

00:00

07:30

08:30

09:45

10:00

10:15

10:30

10:45

11:00

13:30

16:30

These lines extend above and below the chart range, from the highest to the lowest price over the last 500 bars.

Background Highlight:

Shades the time interval between 11:00 and 13:30 with a semi-transparent gray background, but only for the current day.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.