This script calculates the covariance and correlation coefficient between two markets using arrays. Lookback: How many bars to perform the calculation on. Source: Price source to calculate the correlation on. Reference Market: The reference market to compare to the current market. It's a simple indicator, but very useful for determining how correlated your...

368

2 indicators in 1. Included Indicators are: - Correlation Coefficient - RSI Basic usage of these indicators respectively are: - CC value of 1 represents a perfect correlation, while a value of -1 represents an inverted correlation. - RSI values above 70 is commonly overbought, whilst below 30 is oversold. Please recognize that these are simplified...

33

3 indicators in 1. Included Indicators are: - Correlation Coefficient - RSI - Stochastics Basic usage of these indicators respectively are: - CC value of 1 represents a perfect correlation, while a value of -1 represents an inverted correlation. - RSI values above 70 is commonly overbought, whilst below 30 is oversold. - Stochastics for describing the momentum...

41

I'm pleased to introduce this script in honor of the new array functions introduced to PineScript version 4.0. This update is a long time coming and opens the door to amazing scripting possibilities! Definition Named after Charles Spearman and denoted by the Greek letter ‘ ρ ’ (rho), the Spearman rank correlation coefficient is the nonparametric version of...

512

The Optimal Weighted Moving Average was created by Thomas Hutchinson and Peter G. Zhang, Ph.D. (Stocks & Commodities V. 11:12 (500-505)) and it is very similar to a classic weighted moving average but it uses the correlation between the input and the optimal weighted moving average output to use as the weights. Buy when the line turns green and sell when it turns...

379

In financial terms, 'correlation' is the numerical measure of the relationship between two variables (in this case, the variables are Forex pairs). The range of the correlation coefficient is between -1 and +1. A correlation of +1 indicates that two currency pairs will flow in the same direction. A correlation of -1 indicates that two currency pairs will move in...

616

An indicator that only calculates and displays the correlation coefficient with bitfinex:BTCUSD close. By changing the settings, you can calculate any chart and correlation coefficient 0.7 to 1.0 There is a fairly strong positive correlation 0.4 to 0.7 Positive correlation 0.2 to 0.4 with a weak positive correlation －0.2 ～ 0 ～ 0.2 Little correlation -0.4 to -0.2...

124

This is my "Pine-based" correlation() function written in raw Pine Script. Other names applied to it are "Pearson Correlation", "Pearson's r", and one I can never remember being "Pearson Product-Moment Correlation Coefficient(PPMCC)". There is two basic ways to utilize this script. One is checking correlation with another asset such as the S&P 500 (provided as a...

291

Correlation Coefficient Core Code from: www.tradingview.com This indicator Show Correlation between the Current Ticker & timeframe and a Customizable Ticker. After adding the indicator you can change the second ticker in the settings. The Correlation Coeff is between -1 to 1 which 1 means 100% correlation and -1 means -100% correlation ( Inverse...

110

This script was written to calculate the correlation coefficient (Adjusted R-Squared) for one dependent and two independent variables.(3-way) Pearson correlation method was used with exponential moving averages as the correlation calculation method. Use your source ( i use "close" generally ) as the dependent variable. Inspired by this article :...

99

Introduction The correlation oscillator is a technical indicator that measure the linear relationship between the market closing price and a simple increasing line, the indicator is in a (-1,1) range and rise when price is up-trending and fall when price is down-trending. Another characteristic of the indicator is its inherent smoothing which provide a noise...

183

Hey folks A quick unrelated but interesting foreword Hope you're all good and well and tanned Me? I'm preparing the opening of my website where we're going to offer the Algorithm Builder Single Trend, Multiple Trends, Multi-Timeframe and plenty of others across many platforms (TradingView, FXCM, MT4, PRT). While others are at the beach and tanning (Yes I'm...

106

Hi everyone A co-pinescripter friend told me this was impossible to do and we bet a free dinner tomorrow. Guess who's going to be invited to a very fancy restaurant tomorrow :) :) :) (hint: not him) What's the today script is about? This script is based on this MT4 correlation matrix Asset correlation is a measure of how investments move in relation to one...

212

Estimating the LSMA Without Classics Parameters I already mentioned various methods in order to estimate the LSMA in the idea i published. The parameter who still appeared on both the previous estimation and the classic LSMA was the sample correlation coefficient. This indicator will use an estimate of the correlation coefficient using the standard score thus...

77

Computes the partial correlation between 2 symbols while removing the influence of a third. Ex.: Computes the correlation between AAPL and AMZN while removing the influence of SPX.

45

Correlation amongst assets is the degree to which they move in tandem. This indicator measures correlation between different assets. Why is that important? To any investor diversification is a very important technique for reducing risk. The problem is that most misunderstand it. Most people tend to think diversification is achieved simply by investing in a...

64

Correlation amongst assets is the degree to which they move in tandem. Diversification is a technique for reducing risk. Most people tend to think this is achieved simply by investing in a variety of assets instead of just a few. This is wrong. Proper diversification is achieved when you reduce the correlation between the assets in your portfolio. 0.5 to...

57

Kendall Rank Correlation Coefficient script. This way to measure the ordinal association between two measured quantities described by Maurice Kendall (1938, Biometrika, 30 (1–2): 81–89, "A New Measure of Rank Correlation"). In this script I compare Kendall Coefficient and Pearson Coefficient (using built-in "correlation" function).

128