Login Page - Create Account

Support Board


Date/Time: Sun, 23 Feb 2025 17:33:20 +0000



Post From: Ehlers Even Better Sine Wave

[2022-06-21 02:38:18]
SC Support Tom - Posts: 450
WRT Post #16


So why is there an error with the various Linear Regression Moving Averages found in SC when the Period is set to 1?

Because linear regression is impossible with a single data point. It just cannot be done. That is not a failure of the study. It is a feature of linear regression itself.


By convention, Moving Averages should output the input when set to 1.

If you are going to use a period of 1 just to get the output to be identical to the input, then why not just use the Simple Moving Average?


Please advise.

OK, I advise this: Do not use a period of 1 with LRMA. Linear regression makes absolutely no sense on a single chart bar.
Date Time Of Last Edit: 2022-06-21 09:33:43