Just check with printf

Code:
function run()

{
BarPeriod = 1440;
vars H = series(priceHigh());
var h32to36 = MaxVal(H+32,5);
printf("\n%d %d %d H today = %1.5f; Result HH of 32 to 36 days ago = %.5f",year(),month(),day(),H[0],h32to36);
printf("\nh32 = %1.5f; h33 = %1.5f; h34 = %1.5f; h35 = %1.5f; h36 = %1.5f;",H[32],H[33],H[34],H[35],H[36]);

}