Color Coded Jurik Type Moving Average

 

Hi All,

I've been using a great Jurik type moving average to build various stochastic and MACD type indicators.

However, I am trying to color code the moving average so that when it trends up the indicator is colored white and when it trends down its colored red.

The guys over at Paint Bar Factory have a very similar indicator they call Fast2MA. I have attached an image of their indicator below so you all know what it is I'm trying to do. Also, Jurik's website has an image of his color coded JMA.

JMA demonstration

The one I am using I got off a board awhile ago. It's called JMA Starlight. Props to the author. I love it but I want to color code it so I can spot trend reversals easier. I think it could be a great help for everyone.

Can anybody help?

Thanks.

I have attached a copy of the indicator I want to color code. And several images for reference.

Files:
Fast2MAs.jpg  108 kb
Reason: