Weakly repetitive pattern and real-time alert

Perfect answer.
I just have 3 weeks data...
Thank you.