- Katılım
- 23 Eki 2020
- Mesajlar
- 1,828
Looking through the September 2005 issue of TASC, pp. 16-22: Two Moving Function Hybrids and wondering if this is a correct MSFL interpretation of the Moving Slope ROC indicator described. |
|
Moving Slope Rate of Change (ROC) I periods:=Input("Time Periods",1,100,25); a:=LinRegSlope(C,periods); b:=ROC(a,periods,points); a; b; 0; |
Well g your formula is correct, however the author suggest that you divide your final result by the number of periods used so that you can compare the value of your indicator on security X with the value of the indicator on security Y ... So while the indicator you posted plots exacly the same as the one I will post it is important to note the scale difference ... |
|
Moving Slope Rate of Change (ROC) II periods:=Input("Time Periods",1,100,25); LINV:=LinRegSlope(C,periods); ROCV:=ROC(LINV,periods,$); ROCV/periods |
Of course you're right. I understand exactly what you did... I just did not take that last step because I wasn't 100% sure of the first part. Anyway, thanks for taking the time to look it over. | |
| |
Source / From: |