Volatility is cyclical, after a large move up or down the market typically "ranges" during the next session. Directional order flow that enters the market during this subsequent session tends not to persist, this non-persistency of transactions leads to a non-trend day which is when I trade intraday reversionary strategies. This script finds trend days in BTC...

55

The Ergodic Mean Deviation Indicator was created by William Blau and this is a hidden gem that takes the difference between the current price and it's exponential moving average and then double smooths the result to create this indicator. This double smoothing of course creates a lag that allows it to give off a sustained buy signal during a bullish trend and vice...

128

Moments describe the shape features of a distribution. There are four essential Moments: Mean, Variance, Skewness, Kurtosis . The Moments of returns can provide a comprehensive view of the tendency, volatility , and risk of the market . It's important for traders to know these statistical properties of the instrument before trading them. █ OVERVIEW The...

1639

This is a more advanced version of my original mean reversion script. It employs the famous Bollinger Bands. This robot will buy when price falls below the lower Bollinger Band, and sell when price moves above the upper Bollinger Band. I've only tested it on the S&P 500, though you could try it out on other assets to see the backtest performance. During...

598

The augmented Dickey-Fuller test (ADF) is a statistical test for the tendency of a price series sample to mean revert . The current price of a mean-reverting series may tell us something about the next move (as opposed, for example, to a geometric Brownian motion). Thus, the ADF test allows us to spot market inefficiencies and potentially exploit this...

856

150924 - v3.0 This script is a complete rewrite of the previous version here . It gathers market data from up to 8 different Bitcoin exchange pairs (8 is maximum due to script limitations).The influence of each single exchange can be customized individually, default is 50% for 0-fee exchanges, 10% for futures and 100% for all others. For each single exchange a...

137

For my second share, I give you some levels I look at everyday for the ES minis. HLC/3 of the MTF (multi-time-frame) inputs = mean and Fib-levels formed as support and resistance zones. There are some websites that will show you 20 ways to figure out a pivot for the day's intraday workings, and this one always rang true for me. I keep it set at Res=D and...

1142

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...

888

The Mean Deviation Index (MDX) is used to see how much price is deviating from the mean. This indicator takes both volatility and mean deviation in consideration. It uses the standard deviation of the ATR to filter an EMA, and uses this as the mean. It then only plots > or < 0 if price is more than one x ATR away from the mean. If index is positive, the...

558

This oscillator is used for *mean reversion* strategies only. This oscillator calculates the real-time distance of a price-point subtracted from the SMA, then compares it to the average distance to determine equilibrium imbalances. When the imbalance becomes less and goes under the signal line, a reversal is very likely. Do not trade mean reversion during any...

663

My first try to implement Full Hurst Exponent. The Hurst exponent is used as a measure of long-term memory of time series. It relates to the autocorrelations of the time series and the rate at which these decrease as the lag between pairs of values increases The Hurst exponent is referred to as the "index of dependence" or "index of long-range dependence". It...

375

This indicator aims to aid in using the regular London Breakout strategy, as well as improve on it by adding a trailing stop based on the Mean Deviation Index. The London Breakout strategy (according to my personal understanding) basically sees the morning before London open as the accumulation or distribution range for large buyers or sellers, and assumes the...

213

The Bollinger Imbalance Oscillator is used for *mean reversion* purposes only. It uses Double Bollinger deviation levels to determine each level of perceived imbalance. When price start to revert to its mean after an imbalance, small char-type arrows appear to assist with direction. This oscillator also includes a squeeze feature on the center-line, based on...

350

This is a mean reversion indicator that anticipates a local trend reversion. Basically, it is a channel with the mid-line serving as a moving mean baseline. Each of the two curves run up and down within this channel bouncing off from the top and bottom bounds. Touching the bounds serves as an indication of a local trend reversal. The reversal signal is stronger...

409

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

333

This indicator plots the 1, 2 and 3 standard deviations from the mean as bands of color (hot and cold). Useful in identifying likely points of mean reversion. Default mean is WMA 200 but can be SMA, EMA, VWMA, and VAWMA. Calculating the standard deviation is done by first cleaning the data of outliers (configurable).

273

//Every spread & central tendency measure in 1 script with comfortable visualization, including scrips's status line. Spread measures: - Standard deviation (for most cases); - Average deviation (if there are extreme values); - GstDev - Geometric Standard Deviation (exclusively for Geometric Mean); - HstDev - Harmonic Deviation (exclusively for Harmonic...

406