PivotHigh

forge.taclassSince Forge API 1
Signaturepython
forge.ta.PivotHigh(**inputs: Any) -> None

A swing high, shown once enough bars after it prove it was the highest.

Inputs

NameTypeDefaultRange
leftint51 to 100
rightint51 to 100

Indicator: Pivot high

A pivot high is bar c whose high is strictly above the highs 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.