series (series) – Input series
series
period (integer) – Input period
integer
Returns the median of the last period values in the series.
Same as
percentile_nearest_rank (series, period, 50)
max
min