TradingView
TradeStation
May 11, 2020 5:53 PM

Moving Average Speed Can Spot Turns Before They Happen 

S&P 500SP

描述

Moving averages are perhaps the most common indicator in the world of technical analysis, highlighting trends over time by smoothing out values.

Because they show direction, moving averages inevitably rise or fall. These changes are often obvious in retrospect, but now they can be spotted as they happen with our MA Speed script.

This indicator calculates one of five kinds of moving averages (including exponential and volume-weighted). Users can set the length (50-day SMA by default). They can even pick whether it calculates based on open, high, low, close, etc. (Close is the default.)

MA Speed plots the simple 1-day percentage change similar to an oscillator at the bottom of the chart, color-coding for positive or negative values.

The chart above applies MA Speed to the S&P 500. The result is pretty interesting because we can see how its 50-day SMA was falling at 0.67 percent in March, the fastest decline since December 2008. But this month it’s flattened quickly and is on pace to turn higher in the next session or two.
评论
ihsandroid
so ma speed it's seems like wma 50? thank you
Old_Salt_Trader
Will this code work if entered into the built in TradeStation EasyLanguage Editor?
It looks like it will play.
gstadter
Is there a pinescript version 5 version of this? would really be nice to be able to combine this with other indicators
kr3pto
thanks for that , is it possible to ad to this indicator 20 sma ?
Old_Salt_Trader
Can this code be pasted into the EasyLanguage Editor built into TradeStation ?
It looks like it will play.
mommymiles
Thank you for your generosity 🍷
Hi-itsJman
Thank you! This is great! Color change indicates the inflection points in the MA line. I'm brand new to Trading View and this is just what I wanted, but hadn't quite realized it yet.

I've been trying to figure out how to set a notification for when the moving average speed changes color, but I have not been able to figure it out. Would anyone have a suggestion?

kr3pto, I think sma is already there. In the Inputs tab of Settings set AvgType = 1 and Length = 20
ShreeKSurya
Its a good indicator
JasonMandel
Nice chart
Bluemooncrypt_o_
Thank You
更多