OPEN-SOURCE SCRIPT

Correlation Mandate for Relational Analysis

Atualizado
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!
Notas de Lançamento
Fixed painting candles when the market is closed.
Notas de Lançamento
*
Notas de Lançamento
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 de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


Também em:

Aviso legal