Skip to content

Core

Core modules provide fundamental building blocks for scripts.

indicator

Initializes the indicator context (display settings, overlay mode).

input

Configurable parameters declared in the init section.

ts

Time series creation and historical value access.

bar

Current bar state and time boundary detection.

color

Color constants and factory methods.

location

Vertical placement constants for bar-anchored outputs (e.g. shape()).

session

Trading sessions and time-based filtering.