When a stock cross 10 day average volume - i want automatic alert

As per the above condition use day time frame.

VOLUME > AVG(VOLUME, 10)