You can get both:

ATR(n * 60) // ATR from the last n*60 minutes up to the current minute

or

TimeFrame = 60;
ATR(n); // ATR from the previous n 1-hour bars