[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EquisMetaStock Group] Are Linear Regression Indicator and Modified Moving Average same Indicators



PureBytes Links

Trading Reference Links

Am I doing something wrong? Have I made a mistake somewhere?

I plotted a 5-period Linear Regression Indicator of Closing Price { 
LinearReg(C,5) } and then plotted a 5-period Modified Moving Average 
of Close and they plot exactly alike, showing the same values on the 
bar. 5-period Modified Moving Average of Close formula is as under:

{ n:=5;
tn:=Mov(C,n,S);
s1:=((n-1)/2)*C + ((n-3)/2)*Ref(C,-1) + ((n-5)/2)*Ref(C,-2)
+ ((n-7)/2)*Ref(C,-3) + ((n-9)/2)*Ref(C,-4);
y:=tn+(6*s1)/((n+1)*n);
y }

The same is the case with 10-period or any other period. Are they 
the same indicators?

Regards

aksh



------------------------------------

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/