Trade24Fx

Convergence/divergence indicator

Convergence/divergence indicator (CDI)

Class: arbitrage oscillator
Trading type: intraday trading
Time frame: 1 hour
Purpose: trading on divergence
Level of aggressiveness: standard

Arbitrage - several logically related transactions aimed at profit from the difference in prices for the same or related assets at the same time in different markets.

Pair trading is a trading strategy based on trading a pair of financial instruments that have some fundamental or statistical relationship, expressed in the fact that the price ratio of these instruments tends to return to a certain average value in the long term.

“Convergence/divergence indicator (CDI)” using correlation analysis from different time frames provides information about statistical relationship between pair of assets.

Correaltion - a statistical relationship between two variables, showing that a larger value (in the case of positive, direct correlation) or a smaller (in the case of negative, inverse correlation) corresponds to a larger value of one value in a certain part of the cases.

The correlation coefficient is a statistical measure of the strength of the relationship between the relative movements of two variables.

The values range between -1.0 and 1.0.

A correlation of -1.0 shows a perfect negative correlation, while a correlation of 1.0 shows a perfect positive correlation.

A correlation of 0.0 shows no linear relationship between the movement of the two variables.

“Convergence/divergence indicator (CDI)” a) allows to find assets where pair arbitrage is possible and determines the moments in time and prices when the conditions for pair arbitrage are ideal.

“Convergence/divergence indicator (CDI)” evaluates the statistical relationship between pair of assets in a particular period of time and, if it is available, seeks for the divergence in price fluctuations of these “identical” assets.

“Convergence/divergence indicator (CDI)” displays the current value and dynamics of the Pearson correlation coefficient for a pair of selected assets based on daily (thick blue line) and hourly (thin red line) data.

Basic parameters:
- asset 1 (name of the trading instrument 1);
- asset 2 (name of the trading instrument 2);
- period_d (number of periods used to calculate daily correlation).
- period_h (number of periods used to calculate hourly correlation).

To gain the access to this indicator, please, send a private message to Trade24Fx.


Авторские индикаторы
bit.ly/2oBvkHY
Больше информации на нашем ютьюб-канале
www.youtube.com/channel/UCYEOurJfasXWyYnrriGwsqQ
仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请与Trade24Fx联系以获取更多信息,或按照以下作者的说明进行操作。

在您100%信任脚本作者并了解脚本的工作原理之前,TradingView不建议您购买脚本并使用它。在很多情况下,您可以在我们的公共指标库中免费找到一个不错的开源替代品。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?

警告:请阅读,然后再请求访问权限。