Indicator ASCtrend_NRTR with the timeframe selection option available in input parameters, alerting and sending e-mails and push-messages when the indicator changes its color:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // The indicator chart period (timeframe)
For the indicator to operate, the ASCtrend_NRTR.ex5 indicator must be added to the <terminal_data_directory>\MQL5\Indicators folder.
Fig.1. Indicator ASCtrend_NRTR_HTF
Fig.2. Alerting