m_b_round

Range of a source displayed in thirds

This indicator will take the value of any external source input and display how it has changed over time (the lookback period in settings). For the purposes of display here I'm using the WT1 line from Wavetrend with Crosses by LazyBear to provide a source input.

The highest and lowest value of the source over the lookback period are used to determine the highest and lowest point - the green and red lines at the top and bottom of the bands. This region is then mathematically split into three, such that the source (and its optional moving average line) can be defined as being in the top third, the middle or the bottom third.

Applications for this could be in risk management where you may wish to take on a larger position size when a certain indicator is in the top third, or decide that you want to enter / leave positions when the source crosses in / out of the extreme points.
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 đồ?