A simple abstraction in vanilla which outputs the current highest and average values of a continuous stream of numbers.

highest.pd