You can expect this sort of thing to happen. From time to time I see, in engineering journals, comments showing that a long multi-page analysis could more easily easily be done in a short paragraph.
You are correct. Why work harder and longer when you can work easier and shorter. LinearReg is a new term for me. Can you either send me the details or give me a reference. Thanks for a refreshing posting. Lionel Issen From: [email protected] [mailto:[email protected]] On Behalf Of Arun Sent: Wednesday, March 13, 2013 5:53 AM To: [email protected] Subject: [EquisMetaStock Group] Modified Moving Average by Joe Sharp vs Linear Regression Metastock users please take note of this: I plotted a 20-period Modified Moving Average by Joe Sharp with the formula given below and then plotted a 20-period Linear Regression indicator [ LinearReg(C,20) ] on top of it and found that they plot on top of each other and the end values on the title bar are same. Therefore, both are actually one indicator with different names. {Modified Moving Average - TASC Jan 2000 by Joe Sharp} n:=20; 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) + ((n-11)/2)*Ref(C,-5) + ((n-13)/2)*Ref(C,-6) + ((n-15)/2)*Ref(C,-7) + ((n-17)/2)*Ref(C,-8) + ((n-19)/2)*Ref(C,-9) + ((n-21)/2)*Ref(C,-10) + ((n-23)/2)*Ref(C,-11) + ((n-25)/2)*Ref(C,-12) + ((n-27)/2)*Ref(C,-13) + ((n-29)/2)*Ref(C,-14) + ((n-31)/2)*Ref(C,-15) + ((n-33)/2)*Ref(C,-16) + ((n-35)/2)*Ref(C,-17) + ((n-37)/2)*Ref(C,-18) + ((n-39)/2)*Ref(C,-19); tn+(6*s1)/((n+1)*n); So, why go through the hassle of plotting the above code for a 20-period MMA when it can be easily plotted as LinearReg(C,20). Any comments? Arun
<<image001.jpg>>
<<image002.jpg>>
