Fractaldactyl

Intermarket Correlation Table

Fractaldactyl Aktualisiert   
The Correlation Coefficient is used to measure the correlation between two sets of data. In the trading world, the Correlation Coefficient is a measure of the correlation between two data sets of financial instruments. The correlation between two financial instruments is the degree in which they are related. Correlation is based on a scale of 1 to -1. The closer the Correlation Coefficient is to 1, the higher their positive correlation. The instruments will move up and down together. The closer the Correlation coefficient is to -1, the more they move in opposite directions. A value at 0 indicates that there is no correlation.

This indicator uses the built in ta.correlation function to calculate the correlation coefficient between DXY and NQ, ES, YM, US10Y, and ZN respectively. It then presents the data in a customizable table that is view as an overlay on your chart.

  • Adjust the length of the correlation factor to calculate higher time frame correlation.
  • Asset background changes based on current candle direction.
  • Coefficient background color changes based on whether the assets are properly correlated.

  • DXY is inversely correlated to NQ, ES, YM, and ZN.
  • DXY is directly correlated to US10Y.
  • The colors are reflected as such.
Versionshinweise:
*Fixed ZN correlation color
Versionshinweise:
*Added an auto HTF option that will average the next higher time frame candle from the current chart time frame.

If selected:
On m1 it analyzes 5 candles.
On m5 it analyzes 3 candles.
On m15 it analyzes 4 candles.
On H1 it analyzes 4 candles.
On H4 it analyzes 6 candles.

Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?