There seem to be plenty of examples of signals for crossovers between moving average functions but how would one go about creating a signal for when an intraday price crosses above or below a moving average? Or is there a function that even would use, for instance, the min price or max price of an equity within each day for comparison to, say, a 9 or 15 day SMA or EMA?