TradingView
LonesomeTheBlue
15 Th12 2020 10:00

Linear Regression Channel 

Bitcoin / TetherUSBinance

Mô tả

Hello Traders,


There are several nice Linear Regression Channel scripts in the Public Library. and I tried to make one with some extra features too. This one can check if the Price breaks the channel and it shows where is was broken. Also it checks the momentum of the channel and shows it's increasing/decreasing/equal in a label, shape of the label also changes. The line colors change according to direction.

using the options, you can;
- Set the Source (Close, HL2 etc)
- Set the Channel length
- Set Deviation
- Change Up/Down Line colors
- Show/hide broken channels
- Change line width

meaning of arrows:
⇑ : Uptrend and moment incresing
⇗ : Uptrend and moment decreasing
⇓ : Downtrend and moment incresing
⇘ : Downtrend and moment decreasing
⇒ : No trend

An example for how color of lines, arrow direction and shape of label change.




Enjoy!

Phát hành các Ghi chú

Added an option "Show Fibonacci Levels", it can show Fibonacci levels of the channel. and also added alert (before someone asked me to add alert :)

Example: Fibonacci Levels

Phát hành các Ghi chú

Two new alerts added:
-> Up trend
-> Down trend
(users request)

Phát hành các Ghi chú

added color option for broken lines
Bình luận
PineCoders
LonesomeTheBlue
@PineCoders, Thank you!
shawgold
harj77singh
What would be the best time frame to use this channel
smitty1084
This is awesome, could you explain the blue dotted line indicators. Thanks!
AMae
@smitty1084, i was going to ask the same thing, but then i saw if i used the TV tools on the left and put a reg channel from the beginning of the dotted line to the end, it lined up perfectly all the way until it broke the channel. so im guessing from that, ts basically past linear reg channels so u can c where past channels broke and where at. hopefully if im wrong @LonesomeTheBlue will correct me lol :)
LonesomeTheBlue
@AMae, yes you are right :)
PineCoders
This publication is now featured in our Editors' Picks: tradingview.com/scripts/editors-picks/ .
In the name of all TradingView traders, thank you for your valuable contribution to the TradingView community, and congrats!
LonesomeTheBlue
@PineCoders, Thank you!
manojm4
Hello , looks wonderful , but what are the blue lines for ? Are they for plotting patterns ?
Thêm nữa