I believe that something like this should run continuous, not that you should try to run a loop with out a planned break, but it should, mine AHP just P2 at the bottom and stops in my log
New Macro 1 P2 On
(P3) New AM466 ON
Delay for 5 Seconds
(P3) New AM466 OFF
Delay for 5 Seconds
(P2) Appliance Control ON
LOL, ITS TO EARLY FOR THIS, I WAS GOING TO RUN THIS BROKEN EXAMPLE IN A LOG FILE FOR YOU , AND NOW IT RUNS IN A LOOP, I'LL LOOK AT THIS CLOSER AND REPOST