The time period is a compromise: It should be longer than about 100-200 bars, otherwise the measure is not precise enough. But it should not be too long, such as much more than 500 bars, otherwise the period can cover several different market changes. It does not depend on the bar period because any bar period establishes a different market with different rules. The same asset can be trending with daily bars, but mean reversing with 1-hour bars.