• Rolling median, averaging the middle pair for even periods. Uses a full period including the current bar, with NaN until ready. Missing values propagate by default; skip collects period finite observations and holds across gaps. Equal values retain their multiplicity. Invalid periods throw RangeError; an unknown missing policy throws TypeError.

    Parameters

    Returns number[]