OPEN-SOURCE SCRIPT

Correlation Mandate for Relational Analysis

Telah dikemas kini
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!
Nota Keluaran
Fixed painting candles when the market is closed.
Nota Keluaran
*
Nota Keluaran
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

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


Juga pada:

Penafian