• Thanks a lot Lutz.

    It works like a charm.

    Appreciate your effort.

    If I may I have another question:

    The average shall be calculated like this:

    1. for every day in the last 30 days: calculate the differences between adjecent values (adjecent in time) and make avarage of these differences.

    2. get every day's calculated avarage from step 1 and make average of the 30 days.

    What shall I change in the script of yours to do that ?

    I appreciate your effort !!! Thanks a lot 🙂 🙂