Because EMA is overridden. You cannot directly pass it as a pointer. But you can wrap it and then use a pointer to the wrapper.