I woud think that this is a really easy indior to loe. But unfortunately I visit many different variation of it but not that. Can I get some assistance for an indior that can alert if the price close rests the daily pivot?

Ideally, I'd require the following:
1) Alert on rest of daily Pivot
two ) Alert only the very first time for each and every new moment.
3) Alert based on a filter of 3 different MAs.
4) Alert based on a filter of 3 different MAs (Where ClosePrice gt; MA1 and MA1 gt; MA2 and MA2 gt; MA3 for a split up of daily pivot and vice versa for a break down)

The aforementioned is perfect but I will be pleased with any help I can get. . Thanks.