EMA_Time_Periods = (2/EMA_Percentage)-1 And the backwards calc is: EMA_Percentage = 2/(EMA_Time_Periods + 1)