FXpro Quant - highest high over 20 bars back

Hello,

Does anyone know how to get the highest high for 20 bars back , without having to use the max node 5 million times.