I suggest you ...

Autocalculation and plotting of trend lines

Auto calculation and plotting of trend lines in line charts, as described at http://en.wikipedia.org/wiki/Trend_lines_(technical_analysis)

590 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    anonymousanonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    9 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Bruno AltoBruno Alto commented  ·   ·  Flag as inappropriate

        I agree with Levi Page's comment below. User identified start and end point is important. I believe the old WSOD now MarkitonDemand have something similar. Thanks

      • AnonymousAnonymous commented  ·   ·  Flag as inappropriate

        Neat feature. Additionally, if possible, a neat feature for us is to have both positive and negative 1 and 2* standard deviation lines along the linear trend lines. This helps traditional data miners understand predictions better. Please let me know if this needs to be a separate new request.

      • ph1gph1g commented  ·   ·  Flag as inappropriate

        Mokumax - I calculate it server side and the offer it up as a separate data series. In perl I used Math::NumberCruncher::BestFit

      • MokumaxMokumax commented  ·   ·  Flag as inappropriate

        @Torstein - that was my first thought as well. It seems like complex formula however. Anybody have the algorithm?

      • ph1gph1g commented  ·   ·  Flag as inappropriate

        This would be extremely useful. If we could also calculate the trend based on the visible canvas... So if you zoom in on a chart, the trend line is calculated based on the visible values, rather than the entire dataset.

      • Levi PageLevi Page commented  ·   ·  Flag as inappropriate

        I would make it independent of the series... Just allow the user to specify the start and end value. There are instances where the trend line might be the result of multiple series, so pointing to the parent in this case would not work. Also the user might want to use their own algorithm, so how would high charts know what the start and end points should be. But, a new series type called trendline would be great. It wouldn't hurt though to have built in algorthms for linear regression and so forth... in this case pointing it to a series or multiple series would be awesome (as long as the option is still there to specify your own start and end point).

      • AnonymousAnonymous commented  ·   ·  Flag as inappropriate

        that would be good, what I think is necessary, is to automate the process of creating the trend line: I've added one on a test graph, but I had to compute the line formula by myself.

      Feedback and Knowledge Base