I can't remember where I obtained this from, but it paints an up or a down arrow depending on the cross over the EMA.
Here is a picture. Ignore the rest of the junk, just focus on the green and red arrows.
Here is a picture. Ignore the rest of the junk, just focus on the green and red arrows.