X period High and Y period Low

 

Hello all. I'm looking for an indicator that will alert me (audible and email) when the price action makes a new high or low for configurable periods. maybe I'm looking for alerts when price hits a 14 period high or a 3 period low, etc. Can anyone help me out?

Tim

Reason: