Falling

fallingbuilding_blocksForge API 1

True after a number of falls in a row.

Inputs

NameTypeDefaultRange
sourcesourceclose
periodint31 to 500

Outputs

NameTypeRequiredDescription
fallingstateOptionalcolor theme.down/0.20, style background
Warm-up
period bars (3 at the defaults)
Repaints
No
Parity
None

Formula

True when each of the last period bars is below the bar before it: source[i-period] > ... > source[i-1] > source[i]. An equal value or a missing value breaks the run.