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....
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)...
I have been sitting on this for over a year, but I now present this "Voss Predictive Filter" multicator employing PSv4.0 upon initial release, originally formulated by the great and empowering Dr. John Ehlers for TASC - August 2019 Traders Tips. This is a slightly modified version of the original indicator John Ehlers designed. My improved implementation is an...
Indicator tracks the 10 day correlation with VIX. I prefer to use this with SPY. Can be a great way to flag tops/melt-ups. Default settings are set to when the correlation is above 0.2, bars turn red, but you can change this.
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...
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...
Volume is one piece of information that is often neglected, however, learning to interpret volume brings many advantages and could be of tremendous help when it comes to analyzing the markets. In addition to technicians, fundamental investors also take notice of the numbers of shares traded for a given security. What is Volume? The volume represents all the...
Fama-French 3 Factor Model Extension of the Capital Asset Pricing Model (CAPM) CAPM Ra = Rfr + where, Ra = Return of the Asset Rfr = Risk-Free Rate βa = Beta Coefficient of the Asset Rm - Rfr = Market Risk Premium Fama-French 3 Factor r = rf + β1*(rm - rf) + β2(smh) +β3(hml) r = Expected rate of return rf = Risk-free rate ß = Factor’s coefficient...
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
Portfolio Metrics **New** 'returns' 'log returns' 'geometric returns' portfolio alpha portfolio beta portfolio,market correlation portfolio standard deviation portfolio variance mean portfolio returns maximum drawdown maximum gain
Portfolio Risk Metrics (Part I): beta 'β' The beta coefficient can be interpreted as follows: β =1 exactly as volatile as the market β >1 more volatile than the market β <1>0 less volatile than the market β =0 uncorrelated to the market β <0 negatively correlated to the market excerpt from the Corporate Finance Institute correlation coefficient 'ρxy'...
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...
DGT interpreted version of LazyBear's WaveTrend, visualizing on Price Chart Original Author : LazyBear Crosses above or below threshold are emphasized with bigger labels - crosses above threshold : probable short indications with a bigger label and relativly small label for probable long indications - crosses below threshold : probable long indications with a...
A good amount of users requested a text box showing various price statistics, the following script returns various of these stats in a user-selected range, and include classical ones such as a central tendency measurement (mean), dispersion (normalized range) and percent change, but also include less common statistics such as average traded volume and number of...
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...
Formula Used : COG = SUM of closing prices Pn x (n+1) / Sum of closing prices Pn
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...
Hot off the press, I present this "Correlation Cycle, CorrelationAngle, and Market State" multicator employing PSv4.0, originally formulated by Dr. John Ehlers for TASC - June 2020 Traders Tips. Basically it's an all-in-one combination of three Ehlers' indicators. This power packed triplet indicator, being less than a 100 line implementation at initial release, is...