Alpha Performance of Period (PoP) produces a visualization of returns (gains and losses) over a quarterly, monthly, or annual period. It also displays the total % gain and loss over any length of days, months, and years as defined by the user. Performance of Period (PoP) can be used to understand the performance of an asset over multiple periods using a single...
This divergence indicator can track the correlation between one or more symbols. I use it to track the divergences between the VIX volatility index, gold, bonds, as well as other market leading indicators. When using with Vix, lower coefficients can lead to false signals. When in a high vix bear market signals, there is more noise and more false (or missing)...
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...
This is a CRYPTO correlation strategy, which is using BTC sentiment with BITFINEX long and short ratios. WIth them we are making from one side 2 RSI, one for long and another for short. And from another side, we are going to make multiple EMA's, using the ratios for long and short. Rules for entry For this scenario I created a long only strategy. The long entry...
Risk Metrics for Crypto. Market can be set to BTCUSD, BTCEUR, BTCCHF, BTCGBP, BTC1!, BTC2!, SPX, and DTB3 Beta Correlation Standard Deviation Variance R-squared
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...
Pinescript requires many of its built-in functions to use a simple int as their period length, which entails the period length cannot vary during the script's execution. These functions allow using a series int or series float for their period length, which means it can vary on each bar. The functions shared in this script include: Rolling sum: ...
Makes visual the theory that "a strong dollar is bullish for equities/stocks" ...but oh man, these two are definitely not that strongly correlated. What's the deal with that? Still learning. Glad for any comments.
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...
Conceptual indicator based on trying to find an inverse correlation between bitcoin and traditional markets due to bitcoin's usefulness as a hedge against economic downturns. How to use this script: you look at it and see if there is a correlation or not between bitcoin/Ethereum price and either U.S. stock CVi, buy volume, sell volume, calls, puts, or the call/put ratio.
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...
This is a crypto swing strategy, designed for long term periods and correlated pairs with crypto market total(or other coins used as correlation, however I recommend total of crypto or btc) Its components are: RSI with a very length Correlation candles SMA 9 Rules for entry: For long : RSI is above 51 level and going higher and close of the candle is above...
This script presents the session range and post session movements relative to that range of all the majors and crosses on a single page. You can also set it to a daily range and weekly range (beta). It will even show you the pip value of the range. I made the indicator to easily stay on top of market movements at london open relative to the Asia session range....
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...
Script plots correlation of chart symbol to a variety of indexes, symbols, equities. ** Original idea was to find Bitcoin correlation, which I did not. Built in correlations are: Nikie, DAX, SPY, AAPL, US Dollar, Gold, EURUSD, USDCNY, EEM, QQQ, XLK, XLF, USDJPY, EURGBP
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...
This script is very much beta! This is a simple script to visualize how two symbols move in relation to each other. For example if the underlying symbol is a 2x Gold ETF (meaning the ticker moves at 2x the spot price of gold---if gold goes up 3% this ticker should go up 6%) and the comparison symbol is an 2x inverse gold ETF (at gold up 3% this should move down...
Calculations for Historical Volatility, Kurtosis, Skewness and Historical Correlation between two assets. -------------------------------------- If you find it useful please consider a tip/donation : BTC - 3BMEXEDyWJ58eXUEALYPadbn1wwWKmf6sA --------------------------------------