Decsription: Auto-Cointegration-Based Pair Trading Strategy (revised version) To review, there are three popular styles of Pair trading: distance-based pair trading, correlation-based pair trading and cointegration-based pair trading. Typically, they require preliminary statistical estimation of the viability of the corresponding strategy. Basically a pair trade...
This indicator highlights zones with strong, weak and negative correlation. Unlike standard coefficient indicator it will help to filter out noise when analyzing dependencies between two assets. With default input setting Correlation_Threshold=0.5: - Zones with correlation above 0.5, will be colored in green (strong correlation) - Zones with correlation from -0.5...
This is a non-parametric correlation statistical test, which is less sensitive to magnitude and more to direction, hence why some people call this a "concordance test". This indicator was originally created by Alex Orekhov (everget), if you like this one, please show the original author some love: This version is extended by tartigradia (2022) to make it more...
Shows the Pearson correlation between two symbols, including statistical significance test. This is a fork of the original script by Balipour, with the addition of EMA that can be used instead of SMA in the Pearson correlation as an attempt to capture correlation trend changes more quickly, and conversion to pinescript v5. In the end, the EMA does not help much,...
Calculate a sort of correlation between two symbols based only on the sign of their changes, regardless of the amplitude of price change. When positive, the two symbols tend to move together. When negative, the symbols move in opposite directions. Since there is no significance calculation, and that the result is binary, keep in mind that correlation will always...
CFB-Adaptive Trend Cipher Candles is a candle coloring indicator that shows both trend and trend exhaustion using Composite Fractal Behavior price trend analysis. To do this, we first calculate the dynamic period outputs from the CFB algorithm and then we injection those period inputs into a correlation function that correlates price input price to the candle...
A table to help track correlations between the four major energies contracts of the CME. The table shows the z-score of the current correlation value between HO, RB, CL, and NG. The inputs are: - timeframe: the timeframe of the calcluation. the default is 5 minutes. - window: the rolling window over which to calculate the correlations. the default is 48, or four...
This is a normalized correlation coefficient that can be used with any timeframe or symbol desired (found in the indicator settings). The normalization function makes the coefficient bound between 0-1. There is a subjective threshold at 0.80 where anything below the threshold tends to be higher risk in trading as opposed to above the threshold. Suggestions: -...
Correlation coefficient is a measure of the strength of the relationship between two values. It can be useful for market analysis, cryptocurrencies, forex and much more. Since it "describes the degree to which two series tend to deviate from their moving average values" (1), first of all you have to set the length of these moving averages. You can also retrieve...
I wasn't going to post this because I don't like how this calculates by puling in the Open price, but I'm posting it anyway. This does work in it's current form but there is a. better way to do this. I'll revisit this in the future. Anyway... The k-Nearest Neighbor algorithm (k-NN) searches for k past patterns (neighbors) that are most similar to the current...
This correlation tables idea is nothing new, many sites provides it. However, I couldn't find any simple correlation indicator on TradingView despite how simple this indicator is. This indicator works as its called. Calculating the correlation between 2 projects (can be used in stocks as well) using the 'ta.correlation' feature built into pinescript. When...
This is a complex indicator that looks to provide some insight into the correlation between volume and price volatility. Rising volatility is depicted with the color green while falling volatility is depicted with purple. Lightness of the color is used to depict the length of the window used, darker == shorter in the 2 -> 512 window range.
Price-Filtered Spearman Rank Correl. w/ Floating Levels is a Spearman Rank Correlation indicator with optional source filtering and floating levels. What is Spearman rank correlation? Spearman rank correlation, also known as Spearman coefficient is a formula used to identify the strength of the link between two datasets. This coefficient is a method that can...
Other available matrixes I found have a limited number of forex symbols. Consequentially, you need to keep switching them if you want to do a proper analysis. As a result of that, I produced my own currency matrix. Correlation studies relationships between different price charts. High correlation may be completely random in the short term, but it may signify a...
Overlay a small plot of a correlated asset of your choosing. Shrink/expand, Set vertical and horizontal position, plot multiple mini-plots via duplicate indicators with varied settings. Plots the last X bars of any asset; including the live candle currently painting Useful for low time frame trading when you want to see correlated asset price movement right...
Adaptive Supertrend w/ Floating Levels is a Supertrend indicator made adaptive by comparing the coefficient of determination / average of the least squares. The basic concept is this: use correlation with an r-squared line to adapt the period of the indicator, thereby resulting in a more versatile Supertrend. This adaptive formula makes the Supertrend more...
This indicator shows correlation strength between the source asset plotted in the main chart and a user-input asset in the indicator panel. For example, if the main chart panel is displaying BTCUSD and the correlation indicator is NDX, then the correlation strength is plotted as the relationship between the two. A strong positive correlation target is set at 0.80...
This script is useful to see correlation between macroeconomic assets, displayed in different ema line shown in percentage to compare these assets on the same basis. Percentage will depend on the time frame selection. In the higher timeframe you will see higher variation and in small timeframe smaller variation. You can select the timeframe who suit your...