This indicator simply alerts and sends email every time the trend line touched by the price. You need to set the name of trendline and the direction of the cross.
There are 3 directions:
Fig.1 Price touches the trendline down.
Two different period Moving Averages to define the direction of the trend and the semaphore signal indicator to specify the moment for settlement of a dealFunc Measure Trends
Function to define the trend strength