The Linear Regression Intercept Line is not showing on Chart. Please HELP.
x = Cum(1);
lastx = LastValue( x ); Daysback = 14;
aa = LastValue(LinRegIntercept( Close, Daysback) );
bb = LastValue( LinRegSlope( Close, Daysback ) );
y = Aa + bb * ( x - (Lastx - DaysBack) );
Plot( Close, "Close",colorWhite, styleCandle );
Plot( IIf( x >= (lastx - Daysback), y, -1e10 ), "LinReg", colorRed);