PROTECTED SOURCE SCRIPT
업데이트됨

GMS: Linear Regression Bands

3 987
So I have been using the linear regression indicator that is built in but wanted to see it represented as bands around price like a keltner channel. I added in 4 tiers of of bands as I have found on shorter time frames that quick spike moves up or down usually end up in the +/- 4 deviation level before presenting a good opportunity to scalp.

The linear regression will change colors based on whether or not the current value is higher or lower than the previous. This just helps to visually see if it may be beginning to turn up or down. I've tossed in a color fill for the outermost bands since that is usually what I look for. Also added in labels showing where the closing price is below the "Deviation 4" level for visual reference in the past.

The default setting is just a 200 period linear regression as it's my preferred length for any time frame.

I hope it helps,

Andre
릴리즈 노트
Alright, so I added in more fill for the bands in a some what gradient style. I also added in a length option for the color of the linear regression trend. It is simply whether or not the current linreg point is higher/lower than x periods ago.

I also added in the shapes/line at the bottom to easily determine if the linreg is sloping up or down.

Hope it helps!

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.