// Downloaded From https://www.WiseStockTrader.com //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //*************************************************Slope of Regression Line(in degrees) & Standard Err of of RS Line(%)********************************* //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Daysback = Param( "Days Back", 126, 30, 252, 1 ); bb = LastValue( LinRegSlope(C, Daysback )); pi = 4 * atan(1); slopeangle = atan( bb ) * ( 180 / pi ); Filter = 1; AddColumn(slopeangle,"In degrees", colorDefault, colorBlue); AddColumn(StdErr( 100 * Close, Daysback ),"Std.Err RS Line(%)", colorDefault, colorBlue);