Or you could try order checking.
Check when a unit of certain type is issued order, if it is equal to stop or hold position (or whatever because they are probably different) then make a dummy cast invis and put its aquisition range down so it doesn't auto aquire enemies.
Anyway, saving a location and checking it every 4 seconds shouldn't lagg. You can even use the new hastable from new patch to save locations.