This indicator aims to indicate the correlation between two assets(Current and Base), it does NOT show entries or help your chart analysis directly.

The main features of this Correlation indicator is :

Correlation type : Direct Correlation | Inverse Correlation | No Correlation
Correlation Percentage : as its name, it calculate the Correlation Percentage between Current and base assets if exist
Correlation Leader : If there is a correlation , it indicates which asset follows the other (Current Asset Follows Base | Base Follows Current Asset)
Correlation bars : if the box (Show Correlation Candles) on the settings was True, it will show GREEN lines above candles which have direct correlation and RED lines above candles which have inverse correlation

How to use: Chose the base asset (default: bitcoin) and open any other chart to be the other -Current- asset


inputs:
  • Max Lookback length : how many candles will be included in the scan.
  • Correlation Factor : how stronger the correlation should be to include the candle(E.g. if set to 50, if any candle correlation was less than 50 it will be ignored), If you are confused leave it as its default.
  • Base Asset : The base asset to calculate the current asset correlation with.
  • Show Correlation Candles : (True | false) explained above on the main features.

Note: this indicator uses every single candle and compare it to the base same time candle, after some time I will post another similar indicator, BUT the new one will use the whole direction of the assets instead of each candle alone, I hope one of them can help you.

For any notes on the indicator to be edited, or for another indicator ideas please comment.
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 đồ?