When working with functions such as EMA(), MAX(), or DELAY(), is the period parameter based on the resolution? For example, the line below will return a 14 day EMA.

var ema = EMA("IBM", 14, Resolution.Daily);
However, will the line below return 14 day EMA or 14 second EMA? I think it will still return 14 day EMA, but I want to confirm.
var ema = EMA("IBM", 14, Resolution.Second);Thanks!