With this little script you can have 4 moving averages (either simple or exponential) 2 x day ma's and 2 x week ma's. The advantage is, you can use a smaller time frames, eg on an 1hr and values will show the values of a day and week time frame. It also has an option in settings to indicate where the weekends are (with all the bots this is getting less relevant).
The defaults are: A 50 day and 100 day ma, this will be filled either red or green indicating trend pattern. A 20 week and 200 week ma, this will not be filled. You can change all these in settings.