Pivot low

pivot_lowtrendForge API 1

A swing low, shown once enough bars after it prove it was the lowest.

Inputs

NameTypeDefaultRange
leftint51 to 100
rightint51 to 100

Outputs

NameTypeRequiredDescription
pivot_lowvalueOptionalcolor theme.accent, shape triangle_up, shift -5, style marker, where below_bar
Warm-up
left + right bars (10 at the defaults)
Repaints
Yes
Parity
None

Formula

A pivot low is bar c whose low is strictly below the lows of the left bars before it and the right bars after it.

It is written on bar c + right, the bar where it became known, and drawn back on bar c.