Sliding window max/min

I would like to keep track of the max and min of the past 100 ticks. How would I do that?

http://code.kx.com/wiki/Reference/mmax
http://code.kx.com/wiki/Reference/mmin

how can i perform moving window calculations (mmax, mmin, mavg) across partition boundaries?

You can’t directly - you have to read into memory first.