PureBytes Links
Trading Reference Links
|
The code is simply a combination of a simple moving average and one
way of approximating overall slope:
Result = SMA + slope
You can get the desired slope calc in MS by using the built-in linear
regression slope function. This way, ...
Result = mov( data array, periods, simple )
+
linregslope( data array, periods ) * scaling_factor
You set the scaling factor as in input parameter, which allows you to
adjust the amount of lag reduction. This approach to achieving low
lag smoothing is NOT adaptive and has a significant overshoot penalty
in proportion to the amount of lag reduction you request.
This formula poorly approximates JMA, which is adaptive, non-linear
and has better lag/overshoot tradeoff properties. If you want the
real thing, go to http://www.jurikres.com .
Mark Jurik
Jurik Research
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/equismetastock/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:equismetastock-digest@xxxxxxxxxxxxxxx
mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|