• Maximum from the first bar through the current bar; equal maxima retain the existing value. There is no fixed warmup. Default propagate makes the remaining history NaN after any missing term. skip holds the last finite maximum, with NaN before the first finite term. Unknown policies throw TypeError; empty input returns an empty array.

    Parameters

    Returns number[]