atlas54000

Sector Relative Strength

atlas54000 Cập nhật   
Custom version of my previous scanner built for S&P sectors
Phát hành các Ghi chú:
The update introduce a completly revamped script, focused on the S&P sectors. This new version is less customizable but easier to use and more reliable : you can now load it on any timeframe and you're less likely to encounter an error message.
However if you want to go back to the previous version, you can get the old code here : https://pastebin.com/2wRqTpP3

The script can still display up to 5 columns of your choice and rank the sector using any ot these columns :
  • 1 Price change
  • 1 Relative volume
  • 3 different Relative Strength

Note:
  • The first relative strength column, price change and relative volume are always using the 5 minute data and you can't change that. However you are free to change the period of the Relative strength and the number of candles used to calculate the price change and the relative volume.
  • The second and third relative strength are completly customizable
  • The formula used for the relative strength use the ATR but doesn't include volume
  • The relative strength value for SPY correspond to the change divided by the ATR, this value is then used to calculate the Rs of each sector (sector_change - ((spy_change / spy_atr) * sector_atr)) / sector_atr
  • Concerning the colors of the relative volume, SPY RV turns green when above 1, but the sector RV are turning green when above the SPY RV
Phát hành các Ghi chú:
Added a minor change
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 đồ?