refactor tooltip formatter
fix tooltip on MA/EMA switch