Linear Regression SlopeCorrected Version, for VERSION - 2 () updated for Custom Length, and fixed some formula glitches. Pine Script® インジケーターUDAY_C_Santhakumarの投稿22402
UCSgears_Linear Regression SlopeThis is version 1 of the Linear Regression Slope. In ideal world the Linear regression slope values will remain same for any time period length. because the equation is y = mx+b, where m is the slope. All I did here is m = y/x The Main Purpose of this indicator is to see, if the Trend is accelerating or decelerating. The first Blue bar will caution when a strong trend is losing strength. I will leave the rest for you to explore. I picked AAPL again, because it does have both up and down trend, in the recent time. Mistake in the code Corrected Version - Pine Script® インジケーターUDAY_C_Santhakumarの投稿55687