technical-indicators icon indicating copy to clipboard operation
technical-indicators copied to clipboard

linear regression has wrong starting point Y value

Open mikaelcolboc opened this issue 8 years ago • 0 comments

There was a wrong assumption made that the trend line will start at the same point as the original dataset. It needs to be computed using the calculated linear equation of the trend line, just as the last point is being computed. See my pull request for the fix.

mikaelcolboc avatar May 31 '16 20:05 mikaelcolboc