OPEN-SOURCE SCRIPT
Cập nhật Angle-based Trend Indicator

I couldn't find this anywhere else, at least not in the simple way I wanted it.
1. choose a source
2. choose a look-back period
3. choose an angle
The indicator will show you the degree of the trend of the look-back period, and color the line according to bearish or bullish. Also, this is my first script, please be kind.
1. choose a source
2. choose a look-back period
3. choose an angle
The indicator will show you the degree of the trend of the look-back period, and color the line according to bearish or bullish. Also, this is my first script, please be kind.
Phát hành các Ghi chú
I added a projection line you can toggle off and on with its own color selection. Phát hành các Ghi chú
I added a buy and sell signal to the indicator and enabled the creation of alerts for it. Phát hành các Ghi chú
I added a gray third indicator for exiting trades once a trend runs its course. Please note when using the signals and alerts, you should set the source to a moving average. (I like the 21 period smoothed moving average). If it is just set to close, there will be too many signals. Phát hành các Ghi chú
Changed the default opacity of the projection line to 50%. Phát hành các Ghi chú
The projection line is now a ray with the same lookback angle as the trend line. Phát hành các Ghi chú
New name to keep track of major revisions.Phát hành các Ghi chú
Little naming change. Phát hành các Ghi chú
""Phát hành các Ghi chú
Having never done this before, evidently, the second script I published was too close to the first one and I got a message from the mods. So, I am trying to make it right but just making the new one the standard. It can still work the same way as the old one, just use the same settings and look back for both sources/trend lines. With that out of the way, the new version is meant to add confluences by using two different sources, with signals only printing when both trend lines are in the same state. I recommend using the 8 and 21-period smoothed moving averages. If just want both sets of signals, you can turn off confluence mode as well.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
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.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
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.