post an alert when the current price < 5,10,50,100 and 200 day averages.
severity of the alerts should vary based on how many thresholds it exceeds (e.g. big alarms if the current price drops below all moving averages). You'll have to experiment with the severity.
To do all this get 200 days of daily historical data for each stock in the portfolio, and calculate the various moving averages from it.
post an alert when the current price < 5,10,50,100 and 200 day averages.
severity of the alerts should vary based on how many thresholds it exceeds (e.g. big alarms if the current price drops below all moving averages). You'll have to experiment with the severity.
To do all this get 200 days of daily historical data for each stock in the portfolio, and calculate the various moving averages from it.