get the slope of a trendline - page 2 12 New comment honest_knave 2017.02.17 08:54 #11 hongbin fei: I have a ea to draw trendline, if 2 line is same slope, then remove oneWouldn't it be better to check the anchor points then?Although unlikely, you could have 2 trendlines in different locations but with the same slope. Alain Verleyen 2017.02.17 11:46 #12 honest_knave: Wouldn't it be better to check the anchor points then?Although unlikely, you could have 2 trendlines in different locations but with the same slope. And the same "trend" with 2 trendlines and different anchor points. honest_knave 2017.02.17 11:54 #13 Alain Verleyen: And the same "trend" with 2 trendlines and different anchor points.I had to think about that one for a minute! Do you mean this scenario? Alain Verleyen 2017.02.17 13:08 #14 honest_knave: I had to think about that one for a minute! Do you mean this scenario? Yes. Just to say that your idea of check anchor points could potentially leads to a bug. Depending of the context of course. honest_knave 2017.02.17 14:48 #15 Alain Verleyen: Yes. Just to say that your idea of check anchor points could potentially leads to a bug. Depending of the context of course.Yes, you're quite correct. I hadn't thought of that scenario 12 New comment
I have a ea to draw trendline, if 2 line is same slope, then remove one
Wouldn't it be better to check the anchor points then?
Although unlikely, you could have 2 trendlines in different locations but with the same slope.
Wouldn't it be better to check the anchor points then?
Although unlikely, you could have 2 trendlines in different locations but with the same slope.
And the same "trend" with 2 trendlines and different anchor points.
I had to think about that one for a minute! Do you mean this scenario?
I had to think about that one for a minute! Do you mean this scenario?
Yes. Just to say that your idea of check anchor points could potentially leads to a bug. Depending of the context of course.