Color examples

Hello,
I want an EMA or SMA that displays one color trending down and another color when trending up. Is there an example on the forum?
Thanks.

in community indicators there is a Moving Average with Trend Color change. You should be able to easily find it.