TS Time - BNICustom PulseWire indicator that plots up to 12 customizable vertical time markers on the chart. Each marker can be enabled or disabled individually and includes adjustable time, timezone, line color, line style, line width, label visibility, label position, label color, and label size.
The script currently supports both Los Angeles and New York timezones only, draws future time markers, and automatically labels each marker using its assigned time. Labels can be positioned at the top, middle, or bottom of the visible chart area for cleaner readability while reviewing market sessions and key trading windows.
Note: If requested, I can add more timezones. Indicator

Indicator

Indicator

TimeFilterLibrary "TimeFilter"
provides utilities for dates and times
inSession(session, timezone, period)
Parameters:
session (simple string)
timezone (simple string)
period (simple string)
Returns: bool inSession Whether the current time is within the defined time session
inDateRange(startDate, endDate)
Parameters:
startDate (int)
endDate (int)
Returns: bool inRange Whether the current time is within the defined date range
isWeekDay(weekDay, timezone)
Parameters:
weekDay (int)
timezone (simple string)
Returns: bool isWeekDay Whether the provided day is the current day of the week
inWeek(useMon, useTue, useWed, useThu, useFri, useSat, useSun, timezone)
Parameters:
useMon (bool)
useTue (bool)
useWed (bool)
useThu (bool)
useFri (bool)
useSat (bool)
useSun (bool)
timezone (simple string)
Returns: bool inWeek Whether the current time is one of the defined days
filter(useRange, useSession, useWeek, inRange, inSession, inWeek)
Parameters:
useRange (bool)
useSession (bool)
useWeek (bool)
inRange (bool)
inSession (bool)
inWeek (bool)
Returns: bool filter Whether the filter matches or not Library

Strategy

Strategy
