Oscillator based on slope of moving average

StrataSearch has many powerful features, with many techniques and approaches to explore. Here we discuss the things we've done, and the things we'd like to do.

Oscillator based on slope of moving average

Postby Jaded » Wed Oct 30, 2013 7:50 pm

What I want to see: An oscillator that will let me know if the slope line of a moving average ( 50 day for example ) is sloped upward or downward. If upward, the reading would be between 0.01 and 1.00, if sloped downward, the reading would be between -0.01 and -1.00 to indicate the severity of the slope.

It's possible that something like this already exists and I simply didn't play around enough, but let me know if this is possible to display on a chart and also use inside of a strategy.

Thanks!
Jaded
 
Posts: 151
Joined: Mon May 14, 2007 6:49 pm

Re: Oscillator based on slope of moving average

Postby Overload » Thu Oct 31, 2013 8:34 am

One idea would be to wrap your moving average within the Linear Regression Slope formula, giving you something like this:

lrs(mov(close, 50, simple), 20)

When you add this to a chart as a Calculation, there's also an option to display it as a Standard Line or an Oscillator Wave.

Pete
Overload
 
Posts: 2246
Joined: Wed Nov 30, 2005 12:14 pm


Return to General Discussion

cron