TREND MATE is an useful indicator that will support your decision to trade according to the current trend.
It is possible to configure alert and push notification to receive when entering to first candle for bull / bear trend.
If you want to use this indicator for a EA, use the function iCustom as follows:
iCustom(NULL,0,"Trend_Mate",0,0). If downtrend result is "1", otherwise is "0".
iCustom(NULL,0,"Trend_Mate",1,0). If uptrend result is "1", otherwise is "0".
For an extension of this indicator to filter in an upper fimeframe the trend information, please look at the Trend Mate MultiFrame indicator.