as titles mean of multi period RSI . with dynamic range ( courtsy of allanstar script ) the set periods are 7, 14 ,21 , can be altered from the settings . and you can show or hide all of the plots . kindly share your inputs
The z-score is a way of counting the number of standard deviations between a given data value and the mean of the data set. Z-score = (x̄ - μ) / (σ / √ n) x̄ = sample mean (using the array.avg function = array(a,close ), where i = 1 to 21) μ = population mean ( = avg(close, n)) σ = standard deviation of the population ( = stdev(close,n)) n = number of 'close'...
The following script is an application of the Z-Score (previous script). Z-Scores can be used in place of standard deviation (sigma) in 'Bollinger Bands'. The average of the sample (x-bar) over 21 days (N) 21 average trading days per month, fixed value The average of the population (mu) over 63 days (n) 63 days per quarter, default is set to 63 Z-Score...
script for mean reversion conditions - tweak-able based on the volatility of the asset its used on, and the time frame
This very simple strategy is an implementation of PJ Sutherlands' Jaws Mean reversion algorithm. It simply buys when a small moving average period (e.g. 2) is below a longer moving average period (e.g. 5) by a certain percentage and closes when the small period average crosses over the longer moving average. If you are going to use this, you may wish to apply...
Purple means the concavity is down blue means concavity is up which is good. Yellow means increasing, Red means decreasing. Sup = Green Res = Red
Count of previous bars above or below a chosen Exponential Moving Average. Typically price reconnects with well defined EMAs regularly. If the price has been above/below an EMA for too long, you can expect a reconnect in a short order and bet on mean reversion strategies.
Tradingview Community, As I progress through my journey, I have come to the realization that it is time to give back. This script isn't a life changer, but it has the building blocks for a motivated individual to optimize the parameters and have a production script ready to go. Credit for the indicator is due to @rumpypumpydumpy I adapted this indicator to a...
DESCRIPTION Pythagorean Means of Moving Averages 1. Calculates a set of moving averages for high, low, close, open and typical prices, each at multiple periods. Period values follow the Fibonacci sequence. The "short" set includes moving average having the following periods: 5, 8, 13, 21, 34, 55, 89, 144, 233, 377. The "mid" set includes moving average having...
Free for public consumption There is very little original here, the idea is discussed in the underground traders alliance, (google em), and was apparently the basis of what was at one time myfxbooks most profitable strategy. I can't find the original video that was floating around on youtube, but if i find it again, i'll link it here. This is bascially just...
For private peeps only - Takes a modified version of the CCI formula into 2 parts VCI - Volume Channel Index (Yellow Histogram) - Measures accurate accumulation and distribution levels and times MCI - Modified Channel Index - Measures (when compared to VCI) levels where clearly buys are interested vs not interested. Example: If VCI > MCI - Shows buyer's are...
When you think of the question "take the mean of this dataset", you'd normally think of using the arithmetic mean because usually the norm is equal to 1; however, there are an infinite number of other types of means depending on the function norm (p). Pythagoras' is credited for the main types of means: his harmonic mean, his geometric mean, and his arithmetic...
Library "Moments" Based on Moments (Mean,Variance,Skewness,Kurtosis) . Rewritten for Pinescript v5. logReturns(src) Calculates log returns of a series (e.g log percentage change) Parameters: src : Source to use for the returns calculation (e.g. close). Returns: Log percentage returns of a series mean(src, length) Calculates the mean of a...
Library "normsinv" Description: Returns the inverse of the standard normal cumulative distribution. The distribution has a mean of zero and a standard deviation of one; i.e., normsinv seeks that value z such that a normal distribtuion of mean of zero and standard deviation one is equal to the input probability. Reference: github.com normsinv(y0)...
This script tells you the percentage of time an instrument's closing value is above and below a level of your choosing. The background color visually indicates periods where the instrument closed at or above the level (red) and below it (blue). For "stationary-ish" processes, you can get a loose feel for the mean, high, and low values. The historical information...
This Indicator shows the Absolute Rate of Change in correlation to its Moving Average. Values over 3 (gray dotted line) can savely be considered as a breakout; values over 4.5 got a high mean-reverting chance (red dotted line). This Indicator can be used in all timeframes, however, i recommend to use it <30m, when you want search for meaningful Mean-Reverting...
Shows the coefficient of variation defined as standard deviation over mean (for the specified window).