Bars since the lowest

lowest_barsbuilding_blocksForge API 1

How many bars ago the lowest value of the window was.

Inputs

NameTypeDefaultRange
sourcesourceclose
periodint301 to 5000

Outputs

NameTypeRequiredDescription
lowest_barsvalueOptionalcolor theme.accent, style line, width 1
Warm-up
period - 1 bars (29 at the defaults)
Repaints
No
Parity
None

Formula

How many bars ago the lowest value of the last period bars was, 0 when it is the current bar. When two bars share the lowest value, the more recent one counts.