Ehlers FilterThis is the Adaptive Ehlers Filter.
I had to unroll the for loops and array because TV is missing crucial data structures and data conversions (Arrays and series to integer conversion for values).
I'm in the process of releasing some scripts. This is a very old script I had. This contains volatility ranges and can be used as trading signals. You can also see how the EF moves up or down, the direction, when price is sideways, and use price breaks up and down as signals from the line.
Have fun, because I didn't making this script hahaha
NOTE : There is an issue with the script where at certain time frames it positions itself below or above. I think its due to calculations. If anyone knows the fix before I get the chance to take a look at it, please let me know.
books.google.com
Adaptive
Ehlers MESA Adaptive Moving Averages (MAMA & FAMA)Ehlers MESA Adaptive Moving Averages (MAMA & FAMA) script.
These indicators was originally developed by John F. Ehlers (Stocks & Commodities V. 19:10: MESA Adaptive Moving Averages).
Adaptive Trend OscilatorAdaptive strategy for strong move starting points. When it capture signal stay in that direction until lost momentum or get a counter signal
Ehlers Deviation-Scaled Moving Average (DSMA)Ehlers Deviation-Scaled Moving Average indicator script.
This indicator was originally developed by John F. Ehlers (Stocks & Commodities V. 36:8: The Deviation-Scaled Moving Average).
Holt Exponential Moving AverageHolt Exponential Moving Average indicator script.
This indicator was originally developed by Charles C. Holt (International Journal of Forecasting 20(1):5-10, March 2004: Forecasting seasonals and trends by exponentially weighted moving averages).
Ahrens Moving AverageAhrens Moving Average indicator script.
This indicator was originally developed by Richard D. Ahrens (Stocks & Commodities V.31:11 (26-30): Build A Better Moving Average).
Adaptive Laguerre FilterAdaptive Laguerre Filter indicator script.
The Adaptive Laguerre Filter was originally developed and described by John Ehlers in his paper `Time Warp – Without Space Travel`.
Thanks to @apozdnyakov for the sorting solution.
Sharp Modified Moving AverageSharp Modified Moving Average indicator script. This indicator was originally developed by Joe Sharp (Stocks & Commodities, V.18:1, More Responsive Moving Averages).
Adaptive Moving AverageAdaptive Moving Average indicator script. This indicator was originally developed by Vitali Apirine (Stocks & Commodities V.36:5: Adaptive Moving Averages).
Laguerre FilterLaguerre Filter indicator based on the John Ehler's article "Time Warp – Without Space Travel" about the Laguerre Transform
Zero Lag Exponential Moving AverageZero Lag Exponential Moving Average indicator script based on the original version by John Ehlers and Ric Way
Regularized Exponential Moving AverageRegularized Exponential Moving Average indicator script based on the original version by Chris Satchwell
T3 Moving AverageT3 Moving Average indicator script based on the article `Smoothing Techniques For More Accurate Signals` by Tim Tillson (Stocks & Commodities V16:1 (33-37))
Variable Index Dynamic Average (VIDYA)Variable Index Dynamic Average indicator script based on the original version by Tushar Chande.
Adaptive Stochastic Oscillator by Tushar ChandeAutomatically determines the best period of the Stochastic Oscillator to adapt to the current market conditions.
Adaptive Donchian ChannelThis indicator adds a level of adaptivity to the simple Donchian Channel by adjusting the sensitivity (lookback periods) of the channel's upper and lower bounds based on the amount of time that has elapsed since the price has hit/expanded the channel boundaries. Comparing the results of this indicator to the standard Donchian Channel, the readier level of responsiveness may prove self-evident.
METHODOLOGY:
Specifically, the more recently the channel was expanded in one direction, the longer the lookback period grows in that direction. Conversely, if the channel has not been expanded in a given direction, the lookback period will contract so as to allow for a tighter channel.
For example, let the initial lookback period be 20 bars and let the factor argument be 0.1 (or 2 bars to start, as 20*0.1 = 2). Now say the current bar sets a new 20-period high. Then the lookback period for the upper bound is expanded by 2 bars to 22, and the lookback period for the lower bound is contracted by 2 bars to 18, thereby making it simultaneously harder to set new highs and easier to set new lows (and vice versa for hitting new lows). If neither a new high nor a new low is formed, both periods contract by the given factor.
Kaufman Adaptive Moving Average (day)The KAMA will not change when the interval changes from day to something like 5 minutes or 30 minutes. Allows for more precise trading with the same indicator on a different interval.
Kaufman Adaptive Moving AverageFrom Stockcharts.com:
"Developed by Perry Kaufman, Kaufman's Adaptive Moving Average (KAMA) is a moving average designed to account for market noise or volatility. KAMA will closely follow prices when the price swings are relatively small and the noise is low. KAMA will adjust when the price swings widen and follow prices from a greater distance. This trend-following indicator can be used to identify the overall trend, time turning points and filter price movements."
This is different from other users' KAMA's because it allows the user to adjust more parameters that can adjust the indicator in more precise ways without needing to change the source code.
Adaptive SMACoders,
I am working on this adaptive SMA. It has its pros and cons. It is a work in progress and I welcome any one that wants to add or change it. If you add or make positive changes please let me know. It is based off of daily range. Currently it is set to the open three days prior to the current open.
Fractal Adaptive Moving AverageSettings:
FRAMA: blue line, SC = 252, FC = 40, length = 252
EMA: orange line, length = 50
FRAMA seems to be the evolution of the current and much-used EMA. The basic strategy is simple: long if the price crosses up the line, short or exit if vice versa.
The main difference between EMA and FRAMA is that the first one seems to lag much more than the first one, as we can see from the chart below (crude oil daily chart)
FYI
etfhq.com
quantstrattrader.wordpress.com
Adaptive Ergodic Candlestick Oscillator [LazyBear]This updates Blau's excellent Candlestick oscillator to be adaptive by using the length of a scaled stochastic indicator and an exponent (for calculating the smoothing coefficient) to obtain the moving average.
Check out the options page for configurable variables.
More info on Ergodic Oscillator:
Book: "Momentum, Direction and Divergence" by William Blau
List of my public indicators: bit.ly
List of my app-store indicators: blog.tradingview.com