Make sure you know what days the result refers to.

Code:
function run()

{
BarPeriod = 1440;
vars H = series(priceHigh());
var h32to36 = MaxVal(H+32,5);
printf("\n%d %d %d Result HH of 32 to 36 days ago = %.5f",year(),month(),day(),h32to36);

}