TrendLineFr is a modification of the TrendLineD indicator. It draws trendlines by extreme points determined using the standard Fractals indicator. Unlike TrendLineD, this indicator draws two lines: support and resistance. It can display a trendline of a higher timeframe (set in the TimeFrame parameter). The line color and width are set in input parameters. The indicator can also generate an Alert and send an e-mail (parameters EnableAlert, EnableEmail, EnableSound) when a price bar crosses the trend line (the last closed bar is taken into account).
-Option UseCurrentBar for enabling/disabling checking of a crossing on the current bar.
-The algorithm of checking crossing. Now it alerts when close price crosses support/resistance line.