Gaussian FilterGaussian Filter script.
This indicator was described by John F. Ehlers in his book "Rocket Science for Traders" (2001, Chapter 15: Infinite Impulse Response Filters).
Filter
Hampel FilterHampel Filter script.
This indicator was originally developed by Frank Rudolf Hampel (Journal of the American Statistical Association, 69, 382–393, 1974: The influence curve and its role in robust estimation).
The Hampel filter is a simple but effective filter to find outliers and to remove them from data. It performs better than a median filter.
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
Ehlers Super Passband FilterEhlers Super Passband Filter script.
This indicator was originally developed by John F. Ehlers (Stocks & Commodities V. 34:8: The Super Passband Filter).
Ehlers StochasticEhlers Stochastic script.
This indicator was originally developed by John F. Ehlers (Stocks & Commodities V. 32:1: Predictive And Successful Indicators).
Ehlers Roofing FilterEhlers Roofing Filter script.
This indicator was originally developed by John F. Ehlers (Stocks & Commodities V. 32:1: Predictive And Successful Indicators).
Bandpass Filter Strategy ver 2.0 The related article is copyrighted material from
Stocks & Commodities Mar 2010
You can use in the xPrice any series: Open, High, Low, Close, HL2, HLC3, OHLC4 and ect...
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
Ehlers Super Smoother FilterEhlers Super Smoother Filter script.
This indicator was originally developed by John F. Ehlers (see his book `Cybernetic Analysis for Stocks and Futures`, Chapter 13: `Super Smoothers`).
Bandpass Filter Strategy ver 2.0 The related article is copyrighted material from
Stocks & Commodities Mar 2010
You can use in the xPrice any series: Open, High, Low, Close, HL2, HLC3, OHLC4 and ect...
WARNING:
- This script to change bars colors.
Quadratic RegressionA quadratic regression is the process of finding the equation that best fits a set of data.This form of regression is mainly used for smoothing data shaped like a parabola.
Because we can use short/midterm/longterm periods we can say that we use a Quadratic Least Squares Moving Average or a Moving Quadratic Regression.
Like the Linear Regression (LSMA) a Quadratic regression attempt to minimize the sum of squares (sum of the squared difference between a set of data and an estimator), this is why
those kinds of filters have low lag .
Here the difference between a Least Squared Moving Average ( green ) and a Quadratic Regression ( red ) of both period 500
Here it look like the Quadratic Regression have a best fit than the LSMA
Price FlowFor those who like to trade with the trend instead of against it. This little script shows you what side of the daily/weekly/monthly timeframe open, price is currently trading at so that you dont accidentally trade against the higher timeframe momentum. Timeframes are customizable through the indicator settings panel.
Flat Market Filters4 separate indicators in one to identify flat/ranging market conditions, with the intention of filtering out MA crosses during periods of flatness (or targetting ranging conditions for mean reversion strats)
Options to use any combination of the 4 indicators (AND/OR settings for each indicator combination) and separate config options for each indicator.
Updates to come. Message for access.
Hamming Windowed Volume Weighted Moving AverageApplying a window to the filter weights provides sometimes extra control over the characteristics of the filter.In this script an hamming window is applied to the volume before being used as a weight.In general this process smooth the frequency response of a filter.
Lets compare the classic vwma with hamming windowed vwma
Something i noticed is that windowed filters depending on their period ( high ones in general ) tend to make less bad crosses with the price ( at least with the hamming window )
Here are some data regarding number of crosses with period 50 with the hamming vwma in orange and the classic vwma in purple
Feel free to use the hamming window when using weighted filter.
Rate of Change w/ Butterworth FilterIt passes the Rate of Change data through a Butterworth filter which creates a smooth line that can allow for easier detection of slope changes in the data over various periods of times.
The butterworth filter line and the rate of change are plotted together by default. The values for the lengths, for both the butterworth filter and the raw ROC data, can be changed from the format menu (through a toggle).
The shorter the Butterworth length, the closer the line is fitted to the raw ROC data, however you trade of with more frequent slope changes.
The longer the Butterworth length, the smoother the line and less frequent the slope changes, but the Butterworth line is farther of center from the raw ROC data.
Retrospective Candlestick ChartWhen i was in Japan with some traders colleagues we talked about traditional charting tools from this country and how they changed the way we look at our charts today. Then suddenly one of the japanese traders i have met earlier said "Why not making another charting tool ? Smoother than Heikin-Ashi and including all the information a trader may need but easier to interpret".
So i had the idea of averaging the input and the output of the respective close / open / high and low price using a recursive exponential window functions, each values will be closer to their true value if they are volatile, if they are not then those values will look smoother, the length input represents the reactivity of the candles, high values represents smoother results but less reactive.The goal of those candles is to make all the information easier to interpret by a trader.
500 input length , the price look smoother, supports and resistances are easier to make.
The interpretation of highs and lows are important, the Retrospective Candlestick Chart save you time by showing only huge movements.
CCI colored barsThis indicator simply colors bars when CCI ( commodity channel index ) is above 0 line (green bars) or below (red bars).
Add it to you favorites .
It is useful as:
- Trend detector (eg. green bars -> bullish trend )
- Filter, in combinations with other techniques (eg. green bars, only long)
- Signal: (eg. green bar -> buy long)
If you find the work useful, please feel free to donate: paypal.me
Any feedback is welcome.
Double Exponential SmoothingSingle Exponential Smoothing ( ema ) does not excel in following the data when there is a trend. This situation can be improved by the introduction of a second equation with a second constant gamma .
The gamma constant cant be lower than 0 and cant be greater than 1, higher values of gamma create less lag while preserving smoothness.Higher values of length must be followed by higher values of gamma in order to keep the lag low.
The first smoothing part consist of a classic ema but we add s-s1 to the previous smoothed value, this will help decrease lag.The second smoothing part then updates the trend, which is expressed as the difference between the last two values.
VFilterAlthough this script is inspired by the design of Elder Impulse script created by LazyBear, the engine is not the same.
The goal of this indicator is to filter price movement, establish direction, and manage risk. This indicator is not be used on its own, its only to be used to help establish entrys and exits.
The signals are created using a privately developed moving average on multiple time frames.
HOW TO
15, 60, 120, or 240 min chart
Green = Buy signal
Red = Sell signal
Blue = Bullish consolidation, or an aggressive/riskier buy signal
Yellow = Bearish consolidation. or an aggressive/riskier sell signal
Adjustment value is high due to the nature of the moving averages. Try using 400, 700, 900, or 950 for best results.
I suggest using this indicator with MACD and a levels indicator for price targets.
Finite Impulse Response (FIR) FilterFinite Impulse Response (FIR) Filter indicator script.
This indicator was originally developed by John F. Ehlers (Stocks & Commodities V. 20:7 (26-31): Zero-Lag Data Smoothers).
NOTE: Ehlers' favorite FIR filter had 1, 2, 3, 3, 2, 1, 0 coefficients.
Recursive Median FilterRecursive Median Filter indicator script.
This indicator was originally developed by John F. Ehlers (Stocks & Commodities V. 36:03 (8–11): Recursive Median Filters).
Vertical Horizontal Filter BacktestVertical Horizontal Filter was initiated by Adam White. It was first published
in a magazine called “Issues of Futures” in August, 1991. The Vertical Horizontal
Filter (VHF) is a very common Indicator used by traders to find out the Phase of
a Price Trend. Normally, a price trend can be in a Trending Phase or a Congestion
Phase/Choppy Movement Phase. Adam White created this particular Technical Indicator
to determine whether prices are trending in a particular direction or are they going
through a transitional period. He used it to measure the range of Futures available
in the market.
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
Vertical Horizontal Filter Strategy Vertical Horizontal Filter was initiated by Adam White. It was first published
in a magazine called “Issues of Futures” in August, 1991. The Vertical Horizontal
Filter (VHF) is a very common Indicator used by traders to find out the Phase of
a Price Trend. Normally, a price trend can be in a Trending Phase or a Congestion
Phase/Choppy Movement Phase. Adam White created this particular Technical Indicator
to determine whether prices are trending in a particular direction or are they going
through a transitional period. He used it to measure the range of Futures available
in the market.
WARNING:
- This script to change bars colors.
Above Below EMA OscillatorGives you an average of which side of the EMA price has close without the noise of the chart. Useful for measuring trend strength or as a trade filter (eg. only go long if above / below)