Trigger Lines

This is a simple implementation of the trigger lines which can be used as a trend filter. The trigger lines are composed of a linear regression indicator (LinReg) and a signal line, which is calculated as the exponential moving average (EMA) of the linear regression line.

Indicator Description

The Trigger Lines indicator can be used as a trend filter. When the LinReg indicator crosses above the signal line, it is considered bullish, when it crosses below, it is considered bearish. The indicator allows to select a color for bullish and bearish conditions and shades the area between the trigger lines. Default values used for the periods are 80 for the LinReg indicator and 20 for the EMA.

The indicator is available for NinjaTrader 8.