doesn't EMA need a series as an input? ATR(1) returns a value.

create a series with the ATR values.