This script allows you to compare the percentage-based change in the price of any two securities on any given (and supported) timeframe on the chart. This can give you a very simple way to compare any two securities against one another. Ex: If your base security gained 5%, and the other security gained 3% in a single day, the change comparison would show a green...
Correlation between two symbols. Notice: you can find more useful indicators by searching 'between_two_symbols'
This is a simple study designed to visualize price correlations between securities.
The code in contains a simple correlation indicator that can be used as an alternative to Tradingview’s built-in “Correlation Coefficient” indicator. The indicator allows users to correlate up to 3 separate instruments on the same subplot. This allows you, for example, to easily see the correlation of your instrument with stocks, bonds and FX. Alternatively, a...
Fast estimation of an autocorrelogram, more commonly called autocorrelation function (ACF). The script sets the maximum lag as 10*log10(N)-1 and sets the autocorrelation at lag 0 to 1. Length controls the number of past observations of Src to use as input, while Differentiate Src perform first order differencing to Src before calculating the...
Power oscillator to discern what currency's are stronger/weaker. added option to use a smoothed source(close) for pooling the change, giving longer term directional bias, note that this causes lag in the results as MA's turn slower than price.
Hello, this script was created by using Linear Regression Bands Function with variable Function Minkowski Distance Adaptive Period. Function Linear Regression Bands : Minkowski Distance Function Original Script by RicardoSantos : Functions saved from overloads . And suitable for mutable variable periods. Regards.
The Correlation Cycle Indicator was created by John Ehlers (Stocks & Commodities V. 38:06 (8–15)) and this is technically part of three indicators in one so I'm splitting each one to a separate script. This particular indicator was designed for trend direction and trend strength and simply buy when it is green and sell when it turns red. Also keep in mind that the...
This is a simple study designed to visualize price correlation coefficients between multiple securities.
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...
This is a assortment of countries' inflation rates, sourced by Quandl. The countries are represented by their ISO 3166-1 alpha-3 codes in the options, and at the moment include: ARG, AUS, CAN, CHE, DEU, EUR, FRA, GBR, ITA, JPN, NZL, RUS, USA Included is a correlation to the current chart and the selected inflation rate. The correlation compares the monthly...
A simple script to display how correlated the current ticker is to Bitcoin. Inputs are the number of bars to check correlation for (default 10) and the the ticker to use for BTC comparison (default is BITFINEX:BTCUSD) Values of 1 are highly correlated (i.e. bitcoin moves up, so does your current ticker), values of -1 are inversely correlated (i.e. bitcoin moves...
*** Only works for the 28 pairs of the majors & 'major crosses' tickers, this will not provide analysis for anything else!!*** AUD / CAD / CHF / EUR / GBP / JPY / NZD / USD - mix and match.
The Power Law Correlation Indicator is an attempt to chart when a stock/currency/futures contract goes parabolic forming a upward or downward curve that accelerates according to power laws. I've read about power laws from Sornette Diedler ( www.marketcalls.in ). And I think the theory is a good one. The idea behind this indicator is that it will rise to 1.0...
Formula Used : COG = SUM of closing prices Pn x (n+1) / Sum of closing prices Pn
This indicator aims to indicate the correlation between two assets(Current and Base), it does NOT show entries or help your chart analysis directly. The main features of this Correlation indicator is : Correlation type : Direct Correlation | Inverse Correlation | No Correlation Correlation Percentage : as its name, it calculate the Correlation Percentage...
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...
Introduction The inverse fisher transform or hyperbolic tangent function is a type os sigmoid function (sometime called squashing function) , those types of functions can rescale a result in a certain range and are widely used in artificial intelligence. More in depth the fisher transform can make the correlation coefficient of a time series normally...