I have set of (x,y) points which can be connected to form a graph, my goal is to detect dynamic parts of this graph. by dynamic I mean ranges where the values are not stable but they are changing by going up/down and forming different graphs than a straigh y = C line.
I tried to look at the slopes graph and look at the parts which has slope > EPSILON. But I noticed that this approach depends on the density of the points, if 2 sets of points depict the same graph, one is more dense then its slopes values will be lower ( the change between 2 consecutive points isn't noticeable now ).
How can I detect such areas from the points without depending on the points number used to build the graph ??
Here is an example of the data I am processing :

I want to be able do detect the dynamic ranges in this graph without being dependent on the density of the points given to describe the same graph ( the more points --> difference between 2 consecutive points "y" values become lower ... )
In this graph we can see that a static part prevails in the beginning and in the end, and in the middle there is a good dynamic range...
To be sure I'm answering what you're asking:
Your $x_i$ and $y_i$ values might be, say, dates and temperatures on those days, but you only get to read the thermometer now and then, so that (calling Jan 1 = 1, Jan 2 = 2, Feb 1 = 32, etc.), you have data like
(1, 12)
(2, 11)
(15, 13)
(22, 14)
(29, 13)
(33, 18)
(39, 25)
and so on. You'd like to identify most of January ($x = 1$ through $x = 29$) as "constantly low temp" but february as a warming trend.
Assuming that you've ordered the points so that you have $(x_1, y_1), (x_2, y_2), \ldots$, where the $x_i$ are increasing (as I did above) and then drawn the graph, then you're looking at some point $$ (x_i, y_i) $$ and asking "is the graph increasing faster than $\epsilon$ here? One decent way to remove the dependence on the spacing of $x$ is this. Let's make it concrete and say you're looking at $(x_4, y_4)$. You compute $y_5 - y_4$ and find it's larger than $\epsilon$, but then realize that this is true becuase $x_5$ is much larger than $x_4$. The usual solution is to instead compute $$ d_4 = \frac{y_5 - y_4}{x_5 - x_4}, $$ which could be called the "forward difference estimate of the derivative." The "backward difference estimate" would look at the prior rather than next point: $$ b_4 = \frac{y_4 - y_3}{x_4 - x_3}, $$ And the average of the two also makes some sense, as does a "symmetric" version, where you ignore $x_4$ and $y_4$, but instead look at $$ s_4 = \frac{y_5 - y_3}{x_5 - x_3}. $$
I'd suggest looking at each of these in the context you're examining and see how things look.