max2

forge.tafunctionSince Forge API 1
Signaturepython
forge.ta.max2(a: ArrayLike | float, b: ArrayLike | float) -> np.ndarray

The larger of two series bar by bar, or of a series and a number.

Parameters

NameType
aArrayLike | float
bArrayLike | float

A missing value on either side gives no value. Example: ta.max2(close, 0.0).