konidtaly88

Realtime Optimized Linear Regression Channel

konidtaly88 Cập nhật   
this script is based on "Optimized Linear Regression Channel" by alexgrover, whose page I recommend you to visit, to read the extensive description he provides
the main difference with the original version is the fact that the start point of the channel (left point) is fixed by setting the time (Begin time input).
This way, the channel size is automatically set, meaning that the channel grows larger as new data comes in, while the starting point remains at the same spot

this can be useful to track a new trend that may be forming from an inflection point or pivot, by selecting begin time as the time of the inflection

also, an end date input is provided to limit the size of the channel.

The script provides two channels:
  • the main channel that contain all data from begin to end time
  • the best fit channel that finds the best linear fit inside data from begin to end time

one issue that the script has is the limit in the number of points of size of the channel, that if too large then make the channel disappear (sigh)
Phát hành các Ghi chú:
  • Added the possibility to choose which channel to show (or both)
  • Added the possibility to choose color and style for lines of the channels
Phát hành các Ghi chú:
Converted to pinescript v5 ...
Phát hành các Ghi chú:
  • solved the issue of the limit in bars back
  • now by default the beginning of the channel is set to today's first bar, see the new input tick
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?