Period open

period_openlevelsForge API 1

The opening price of the current day, week or month.

Inputs

NameTypeDefault
periodchoiceD
day_boundarytext17:00 America/New_York

Outputs

NameTypeRequiredDescription
period_openvalueOptionalcolor theme.accent, style step, width 1
Warm-up
0 bars (0 at the defaults)
Repaints
No
Parity
None

Formula

A trading day starts at day_boundary; period D, W or M is defined as for prior levels.

period_open is the open of the first bar of the current period, shown on every bar of that period. A period already under way at the first bar of the data has no value.