laff / technical-indicators

Technical Indicators - Plugin for Highcharts
MIT License
37 stars 19 forks source link

computed linear trend line Y starting point from calculated equation.1 #13

Open mikaelcolboc opened 8 years ago

mikaelcolboc commented 8 years ago

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.