I have the amount of earnings over a period of time (per day one value of how much a company earned for specific projects).
The normal behaviors is that the earnings from day to day are approximately around the same value, let say 20K (small deviations are ok). I want to build an alarm system that will fire once the trend of the earnings decreases. There might be two consecutive days outliers when the earnings fall to around 15K but I am not interested in that. I am interested if there is a real decreasing or increasing trend over 4-6 days.
What would be the best approach to do it?
Example data of a decreasing trend:
12.02 900
13.02 870
14.02 880
15.02 890
16.02 810
17.02 800
18.02 790
19.02 740
20.02 700
21.02 650
22.02 600