█ OVERVIEW This indicator serves to measure the volatility of the price in relation to the average. It serves four purposes: 1. Identify abnormal prices, extremely stretched in relation to an average; 2. Identify acceptable prices in the context of the main trend; 3. Identify market crashes; 4. Identify divergences. █ CONCEPTS The LS Volatility Index ...
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...
In stochastic processes, chaos theory and time series analysis, detrended fluctuation analysis (DFA) is a method for determining the statistical self-affinity of a signal. It is useful for analyzing time series that appear to be long-memory processes and noise. █ OVERVIEW We have introduced the concept of Hurst Exponent in our previous open indicator Hurst...
In Finance, people usually assume the price follows a random walk or more precisely geometric Brownian motion. In 1988, Lo and MacKinlay came up with the variance ratio test to refute the random walk hypothesis and efficient market hypothesis. The variance ratio test is a simple test for market efficiency, autocorrelation, and whether price follows a random walk....
Description : Mean Reversion Channel objective, based on Mean Reversion theory ( everything has a tendency to revert back to its mean), is to help visualizing: Inner Channel -> Dynamic Support and Resistance Outer Channel -> Overbought/Oversold Zone which may signal consolidation phase or potential reversal due to unsustainable move Details on some of...
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...
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 quantifies the relative tendency of a time series...
In statistics, the Durbin–Watson statistic is a test statistic used to detect the presence of autocorrelation at lag 1 (AR(1) process) in the residuals (prediction errors) from a regression analysis. With the new array function tradingview implemented, we are able to do our calculations on the residuals. The residual is given by subtracting the actual value (in...
DESCRIPTION Forex Master v4.0 is a mean-reversion algorithm currently optimized for trading the EUR/USD pair on the 5M chart interval. All indicator inputs use the period's closing price and all trades are executed at the open of the period following the period where the trade signal was generated. There are 3 main components that make up Forex Master v4.0: ...
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...
This is a brand new version of my Peak Reversal indicator. As with the older version, the idea behind this indicator is simple: identify potential price reversal areas, and identifying markets which are trending. In this new version I focused on improving on the old concept, but introduced a bunch of features heavily inspired by Adam Grimes' ideas from The Art and...
This is a simplified version of the Hurst Exponent indicator. In the meantime, I'm working on the full version. It's computationally intensive, so it's a challenge to squeeze it to PineScript limits. It will require some time to optimize it, so I decided to publish a simplified version for now. The Hurst exponent is used as a measure of long-term memory of time...
This strategy is for learning purposes only. Pay special attention to these strategies on longer aggregation periods (like 1 hr chart or more). Don't expect accurate results when you set a limit to 10 cents above your entry to be accurate. For example if you set the chart to 1 day, the price may move down and hit a stop 10 times then tag your limit. If this...
This indicator displays the weekly Friday closing price according to the CME trading hours (Friday 4pm CT). A horizontal line is displayed until the CME opens again on Sunday 5pm CT. This indicator is based on the thesis, that during the weekend the Bitcoin price tends to mean reverse to the CME closing price of the prior Friday. The level can also act as...
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...
When asked what the key to successful investing was, Warren Buffet famously said “buy low, sell high.” Was he onto something? Today I am sharing with the community a simple “buy low, sell high” strategy with an optional trend filter and take-profit target. I’ve found that this strategy works well in a variety of markets but has a higher tendency to out-perform buy...
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...
Core Concepts According to Jeff Greenblatt in his book "Breakthrough Strategies for Predicting Any Market", Fibonacci and Lucas sequences are observed repeated in the bar counts from local pivot highs/lows. They occur from high to high, low to high, high to low, or low to high. Essentially, this phenomenon is observed repeatedly from any pivot points on any time...