TradingView
ChrisMoody
16 sty 2014 16:19

Code For SMA and EMA That Change Color Based On Slope! 

Australian Dollar/U.S. DollarFXCM

Opis

I Like Moving Averages That Change Colors Based On Their Direction. Gives Visual Effect If I Should Buy Support Or Sell Resistance.

Both The EMA and SMA are Smoothed to 2 Periods. Directions are in Code If You Want To Change.

Directions Are On Chart In White Box To Get Codes.
Komentarze
dho1967
Dear ChrisMoody, unfortunately I don't get it how to download the source code. I couldn't even find the white arrow on the right top..Could you please give me another hint how to download? Very much appreciated.
melh
So disappointed when I discovered that EMA_Slope_Color would not work with NinjaTrader 8 . NinjaTrader tells me won't be able to use it again until someone updates the indicator to work with NT8. Can anyone give me any hope that this will happen shortly? Mel Hardman mel@melhardman.com
MarketsCJR
Hi Chris - wondering if you can add a 3rd color (yellow) for when the slope is +/- 3 degrees from 0* (basically sideways)?
ChrisMoody
Wow this is an old post...I have many Moving average indicators with more features...but I'm not sure how to code slope...I'll have to look in to it
yaslammm
thank you
Delan
thank you
stiffstyx
I would like to get this script...can't seem to do download process...can you help
ChrisMoody
@stiffstyx,

Here is a version with MANY additional capabilities

tradingview.com/script/8KVcQiJM-CM-Ultimate-MA-MTF-V2/
elcymak
Thanks ChrisMoody, I tried switching btw plain 20EMA and your color changing indicator, what a difference. I do wish there's an alert on price crossing the indicator. I tried the "Crossing up" in the alert box but would not work. Tks in advance.

ChrisMoody
There is a much more updated version of this. CM_Ultimate_MA_MTF_V2

However On Monday I will release CM_Ultimate_MA_MTF_V3 .... and V3 Will have blatantly obvious Alerts in it.
Więcej