OPEN-SOURCE SCRIPT

Correlation Mandate for Relational Analysis

Mis à jour
This indicator is engineered to make relational analysis much easier.

If you used another window for each symbol, you would have to resize them all one by one. You don't need another timescale.

There are three modes:

► Independent - selected symbol candles are colored on their own.
► Correlational - selected symbol candles are colored depending on their relation to the chart symbol. If it is correlational, 1st color is chosen (both have Close higher than Open). 2nd color will be used for the opposite.
► Anti-Correlational - the opposite of Correlational

To display my indicator, I chose USDCAD and Oil. Canada has the second-largest oil reserves in the world and naturally, they are their neighbor's supplier. If the oil price goes up, USDCAD should be tanking, unless a different major influence(s) happen to be stronger at a time.

Good luck!
Notes de version
Fixed painting candles when the market is closed.
Notes de version
*
Notes de version
New functions added
• an ability to write your own description of the symbol. For example, if you want to publish an idea and use some less viewed ticker, this might be handy
• built-in calculation for the correlation
• 50 & 200 SMA & EMA
correlationcorrelationsrelationalTrend Analysis

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


Aussi sur:

Clause de non-responsabilité