End-pointed SSA of Normalized Price Oscillator [Loxx]End-pointed SSA of Normalized Price Oscillator is an indicator that converts source price into a normalized oscillator and runs an SSA calculation to derived a smoother final output. This indicator also serves to introduce the concept of SSA to the Pine Coder community. The data returned from this algorithm is an array of modeled values on past X bars. We could use this data but it's not useful, so instead we use the end-pointed value which is the first value of the array at index 0.
What is Singular Spectrum Analysis (SSA)?
Singular spectrum analysis (SSA) is a technique of time series analysis and forecasting. It combines elements of classical time series analysis, multivariate statistics, multivariate geometry, dynamical systems and signal processing. SSA aims at decomposing the original series into a sum of a small number of interpretable components such as a slowly varying trend, oscillatory components and a ‘structureless’ noise. It is based on the singular value decomposition (SVD) of a specific matrix constructed upon the time series. Neither a parametric model nor stationarity-type conditions have to be assumed for the time series. This makes SSA a model-free method and hence enables SSA to have a very wide range of applicability.
For our purposes here, we are only concerned with the "Caterpillar" SSA. This methodology was developed in the former Soviet Union independently (the ‘iron curtain effect’) of the mainstream SSA. The main difference between the main-stream SSA and the "Caterpillar" SSA is not in the algorithmic details but rather in the assumptions and in the emphasis in the study of SSA properties. To apply the mainstream SSA, one often needs to assume some kind of stationarity of the time series and think in terms of the "signal plus noise" model (where the noise is often assumed to be ‘red’). In the "Caterpillar" SSA, the main methodological stress is on separability (of one component of the series from another one) and neither the assumption of stationarity nor the model in the form "signal plus noise" are required.
"Caterpillar" SSA
The basic "Caterpillar" SSA algorithm for analyzing one-dimensional time series consists of:
Transformation of the one-dimensional time series to the trajectory matrix by means of a delay procedure (this gives the name to the whole technique);
Singular Value Decomposition of the trajectory matrix;
Reconstruction of the original time series based on a number of selected eigenvectors.
This decomposition initializes forecasting procedures for both the original time series and its components. The method can be naturally extended to multidimensional time series and to image processing.
The method is a powerful and useful tool of time series analysis in meteorology, hydrology, geophysics, climatology and, according to our experience, in economics, biology, physics, medicine and other sciences; that is, where short and long, one-dimensional and multidimensional, stationary and non-stationary, almost deterministic and noisy time series are to be analyzed.
Included:
Bar coloring
Alerts
Signals
Loxx's Expanded Source Types
Oscylatory skupione
[blackcat] L3 RMI Trading StrategyLevel 3
Background
My view of correct usage of RSI and the relationship between RMI and RSI. A proposed RMI indicator with features is introduced
Descriptions
The Relative Strength Index (RSI) is a technical indicator that many people use. Its focus indicates the strength or weakness of a stock. In the traditional usage of this point, when the RSI is above 50, it is strong, otherwise it is weak. Above 80 is overbought, below 20 is oversold. This is what the textbook says. However, if you follow the principles in this textbook and enter the actual trading, you would lose a lot and win a little! What is the reason for this? When the RSI is greater than 50, that is, a stock enters the strong zone. At this time, the emotions of market may just be brewing, and as a result, you run away and watch others win profit. On the contrary, when RSI<20, that is, a stock enters the weak zone, you buy it. At this time, the effect of losing money is spreading. You just took over the chips that were dumped by the whales. Later, you thought that you had bought at the bottom, but found that you were in half mountainside. According to this cycle, there is a high probability that a phenomenon will occur: if you sell, price will rise, and if you buy, price will fall, who have similar experiences should quickly recall whether their RSI is used in this way. Technical indicators are weapons. It can be either a tool of bull or a sharp blade of bear. Don't learn from dogma and give it away. Trading is a game of people. There is an old saying called “people’s hearts are unpredictable”. Do you really think that there is a tool that can detect the true intentions of people’s hearts 100% of the time?
For the above problems, I suggest that improvements can be made in two aspects (in other words, once the strategy is widely spread, it is only a matter of time before it fails. The market is an adaptive and complex system, as long as it can be fully utilized under the conditions that can be used, it is not easy to use. throw or evolve):
1. RSI usage is the opposite. When a stock has undergone a deep adjustment from a high level, and the RSI has fallen from a high of more than 80 to below 50, it has turned from strong to weak, and cannot be bought in the short term. But when the RSI first moved from a low to a high of 80, it just proved that the stock was in a strong zone. There are funds in the activity, put into the stock pool.
Just wait for RSI to intervene in time when it shrinks and pulls back (before it rises when the main force washes the market). It is emphasized here that the use of RSI should be combined with trading volume, rising volume, and falling volume are all healthy performances. A callback that does not break an important moving average is a confirmed buying point or a second step back on an important moving average is a more certain buying point.
2. The RSI is changed to a more stable and adjustable RMI (Relative Momentum Indicator), which is characterized by an additional momentum parameter, which can not only be very close to the RSI performance, but also adjust the momentum parameter m when the market environment changes to ensure more A good fit for a changing market.
The Relative Momentum Index (RMI) was developed by Roger Altman and described its principles in his article in the February 1993 issue of the journal Technical Analysis of Stocks and Commodities. He developed RMI based on the RSI principle. For example, RSI is calculated from the close to yesterday's close in a period of time compared to the ups and downs, while the RMI is compared from the close to the close of m days ago. Therefore, in principle, when m=1, RSI should be equal to RMI. But it is precisely because of the addition of this m parameter that the RMI result may be smoother than the RSI.
Not much more to say, the below picture: when m=1, RMI and RSI overlap, and the result is the same.
The Shanghai 50 Index is from TradingView (m=1)
The Shanghai 50 Index is from TradingView (m=3)
The Shanghai 50 Index is from TradingView (m=5)
For this indicator function, I also make a brief introduction:
1. 50 is the strength line (white), do not operate offline, pay attention online. 80 is the warning line (yellow), indicating that the stock has entered a strong area; 90 is the lightening line (orange), once it is greater than 90 and a sell K-line pattern appears, the position will be lightened; the 95 clearing line (red) means that selling is at a climax. This is seen from the daily and weekly cycles, and small cycles may not be suitable.
2. The purple band indicates that the momentum is sufficient to hold a position, and the green band indicates that the momentum is insufficient and the position is short.
3. Divide the RMI into 7, 14, and 21 cycles. When the golden fork appears in the two resonances, a golden fork will appear to prompt you to buy, and when the two periods of resonance have a dead fork, a purple fork will appear to prompt you to sell.
4. Add top-bottom divergence judgment algorithm. Top_Div red label indicates top divergence; Bot_Div green label indicates bottom divergence. These signals are only for auxiliary judgment and are not 100% accurate.
5. This indicator needs to be combined with VOL energy, K-line shape and moving average for comprehensive judgment. It is still in its infancy, and open source is published in the TradingView community. A more complete advanced version is also considered for subsequent release (because the K-line pattern recognition algorithm is still being perfected).
Remarks
Feedbacks are appreciated.
eswaran ab//@version=5
strategy("MACD Strategy", overlay=true)
fastLength = input(12)
slowlength = input(26)
MACDLength = input(9)
MACD = ta.ema(close, fastLength) - ta.ema(close, slowlength)
aMACD = ta.ema(MACD, MACDLength)
delta = MACD - aMACD
if (ta.crossover(delta, 0))
strategy.entry("MacdLE", strategy.long, comment="MacdLE")
if (ta.crossunder(delta, 0))
strategy.entry("MacdSE", strategy.short, comment="MacdSE")
//plot(strategy.equity, title="equity", color=color.red, linewidth=2, style=plot.style_areabr)
Williams %R (v.4)This is an upgrade and an update of my Williams %R indicator modification.
As before this implementation is enhanced with CCI in the form of background colors. These colors can be used as a confirmation signal and indication of a current trend. Thee also can be employed in deciding when to enter/exit the market.
Besides, added is a scaling function and Lower/Upper Bound inputs.
DB CCI Breakout MTFDB CCI Breakout MTF
What does the indicator do?
The indicator will display crypto breakout and fallouts based on 4 timeframe CCI values. By default the current chart timeframe is used and the user may chose 3 other timeframes in the settings. Additionally, the symbol may be configured in the indicator settings. Default is Coinbase:ETHUSD.
The indicator will monitor the CCI levels on 4 timeframes and will alert to any CCI activity over 100 or under -100 which would indicate a breakout or fallout is present.
A green diamond is displayed when a breakout is detected on one or more of the timeframes for the selected symbol.
How should this indicator be used?
The indicator is a secondary alert system for the presence of breakouts or fallout conditions as under those scenarios position exit or entry strategies may be different.
Does the indicator include any alerts?
Not in this version. But I could add some if desired.
Use at your own risk and do your own diligence.
Enjoy!
ARKA-Fisher TransformThe Fisher Transform is a technical indicator created by John F. Ehlers that converts prices into a Gaussian normal distribution.
The indicator highlights when prices have moved to an extreme, based on recent prices. This may help in spotting turning points in the price of an asset. It also helps show the trend and isolate the price waves within a trend. The Fisher Transform is a technical indicator that normalizes asset prices, thus making turning points in price clearer.
Takeaways
Turning points become a lot clearer with the use of Fisher Transform and its ability to track asset prices. In addition, while some traders choose to look for more dramatic readings that signal to price reversals, others may find it more beneficial to track Fisher Transform directional changes. Although the Fisher Transform is usually applied to asset prices, it can be applied to other indicators as well.
What to look for
As mentioned in the Definition section, the Fisher Transform is a technical indicator that converts price to Gaussian normal distribution, often including data that is not usually normal distributed (i.e. market prices).This causes data to present itself as more uniform, with less extreme changes in order to determine true price reversals in the market.
This technical indicator is what some would call “unbounded,” and therefore it is possible for extremes to occur long-term. The basis of what constitutes an extreme is determined by the historical readings of the asset you are working with. Reading values differ depending on the asset you’re analyzing. Asset readings are important because they have the potential of signalling a reversal, which can be confirmed or denied by Fisher Transform directional changes.
The Fisher Transform will often have a signal line attached. It is essentially the Fisher Transform’s value moving average and moves slower than the traditional indicator’s line. It is often used when the Fisher Transform moves across the trigger line.
Many traders opt to use the Fisher Transform with other indicators that specifically map out trend analysis. This is because the Fisher Transform sends out many different trade signals, some of which are not profitable in the slightest. By pairing it up with other indicators, traders get a more complete picture on when to acknowledge and act on buy and sell signals.
Keep in mind that the Fisher Transform indicator should not be confused for Bollinger Bands. They may look different on a chart, but both are rooted in distribution of asset prices and can often be confused. One way to easily tell them apart is to remember that the Fisher Transform appears on a price chart as a separate indicator, whereas Bollinger Bands are distinctively overlaid over the price.
Limitations
As mentioned in the What to look for section, the Fisher Transform can often send out many trade signals, causing a bit of congestion when all it is trying to do is make reversals and extreme change in price easier for traders to identify. This can become quite an issue, which is why pairing it with another indicator is highly suggested.
Also in this indicator, we can use Histogram and Lines simultaneously.
MACD DivergenceA simple MACD divergence indicator
It highlights the lack of strength on the buy side when the market rises.
The lack of strength on the sell side when the market is falling.
I hope you can have fun with it!
Retail & Banker Net PositionsIn any market there are two major sets of participants, Retail traders (like you & I) who command relatively small amounts of capital and typically enter and exits positions quickly, and then Institutional Traders (sometimes referred to as whales) who command large amounts of capital and dictate the overall trend of the market but enter and exit positions slowly.
In this indicator we look at the distinct volume of these two sets of traders and use the net positions of this volume to determine if they are net long (Buying) in the market or net short (Selling).
When each set of traders are on opposite sides of the market (Retail are selling & Institutions are buying for example) it usually results in a battle and choppy price action... the majority of these battles are won by the Institutions as their large sums of money dictate the overall direction markets move.
Some of the best opportunities are when both sets of traders are on the same side of the market & this is where we see real momentum enter the market with quick price moves.
Happy trading =)
Trend Surfers - Momentum + ADX + EMAThis script mixes the Lazybear Momentum indicator, ADX indicator, and EMA.
Histogram meaning:
Green = The momentum is growing and the ADX is growing or above your set value
Red = The momentum is growing on the downside and the ADX is growing or above your set value
Orange = The market doesn't have enough momentum or the ADX is not growing or above your value (no trend)
Background meaning:
Blue = The price is above the EMA
Purple = The price is under the EMA
Cross color on 0 line:
Dark = The market might be sideway still
Light = The market is in a bigger move
BB%Bx4This is just a script that combines 4 BB%B oscillators in one. It is useful for seeing multiple divergences on one graphic.
The default setting is the 1m time frame but, you can change it to 5m time frame and it will still work. You can see it on any CHART time frame and that was my goal when I made it. So, I don't have to switch back and forth.
I made this tool for my trading style and it may not work for you.
MACD x SuperTrend with trailing stoplossThis trading strategy is based on MACD crossover and crossunder. It uses the supertrend to identify the trend it is trading on and takes trades accordingly. You can use the built in risk to reward ratio parameter through the settings of the indicator for your desired R/R
My goal in creating this indicator was to learn about risk management. This indicator will put up a stop-loss and take profit target according to the entry point it shows.
This indicator showed me the best results on BTC at 5min price chart. I'm new to trading so, do your own due diligence
DCA After Downtrend v2 (by BHD_Trade_Bot)The purpose of the strategy is to identify the end of a short-term downtrend . So that you can easily to DCA certain amount of money for each month.
ENTRY
The buy orders are placed on a monthly basis for assets at the end of a short-term downtrend:
- Each month condition: In 1-hour time frame, each month has 24 * 30 candles
- The end of short-term downtrend condition: use MACD for less delay
CLOSE
The sell orders are placed when:
- Is last bar
The strategy use $1000 and trading fee is 1.1% for each order.
Pro tip: The 1-hour time frame has the best results on average:
- Total spent: $1000 x 33 = $33,000
- Total profit: $65,578
BTC Miner Netflows with smoothingBTC Miner Netflows with smoothing - shows the difference between Miner Inflow and Miner Outflow.
Miner income, sales as well as holdings, are generally considered to have a huge market impact, by analyzing miner Netflows, users can gauge if overall miners are accumulating or selling; high positive values point to accumulation, while negative numbers indicate net selling.
Data queried from IntoTheBlock.
Step-MA Filtered CCI [Loxx]Step-MA Filtered CCI is a CCI indicator that is filtered using a stepping moving average function. This produces a CCI that is much cleaner due to noise reduction.
What is CCI?
The Commodity Channel Index ( CCI ) measures the current price level relative to an average price level over a given period of time. CCI is relatively high when prices are far above their average. CCI is relatively low when prices are far below their average. Using this method, CCI can be used to identify overbought and oversold levels.
Included:
Bar coloring
3 signal variations w/ alerts
Loxx's Expanded Source Types
Scallop Pattern built for scalping NQ & MNQ
The Scallop Pattern identifies momentum reversal.
The pattern consists of two candles and the direction to trade is confirmed in the following candle.
An example trade is shown in the picture. s3.tradingview.com
A Stop Limit order is generally used to enter the long position.
mess JBI have made an all in one powerful script. It contains all meme lines(Moving average, Ema, Dema, Vwma, Hma)
In general, orange color means negative and white means positive. But you can very easily customize the colors according to your need and enable and disable any meme line.
Dots represent change of price action, although it works on every time frame but I have got best results on 15minute and 4hour Time Frame.
Cross represent change in volume. Now that's the most powerful thing, I have picked time segmented oscillator and changed the cod to represent Volume change. To take a better note of market, Start from Bigger Time frames. This indicator predicted every move Perfectly.
Enjoy
Heiken Ashi & Super TrendThis is one of my open source 1h strategies
It works on Binance: BTCUSDTPERP charts
This strategy involves two indicators
1. Heiken Ashi - a typical technical indicator to help highlight and clarify the current trend. This somehow allows the chart to ignore unnecessary fluctuations and make the trend more visible.
2.Super Trend - - One of the most common ATR-based indicators, the SuperTrend indicator is useful to help you catch big trends.
Buy entry conditions are as follows.
1. The Super Trend indicator running on the Heiken Ashi chart gives a buy signal.
2. Buy at the current market price and take profit at 1% of the normal k-line at this time.
Take profit
TP - 1%
Stop Loss
None
Sharpe Ratio v4I'm publishing this indicator freely, because I'd like to get it reviewed by other people. This indicator was written whilst reading the book Systematic Trading by Robert Carver. In this book Carver describes trading rules that use a "dynamic" position size based on something like an evolving Sharpe Ratio . There are only a few other Sharpe indicators on TradingView, but they are either undocumented or use closed source code. You can use the following code as you wish for your own projects.
I'd like to let other people see this work, and let me know where they think this script is wrong, so that I can improve it.
Here's a basic rundown of Sharpe Ratio and its calculation.
SR is defined as: (excess) return minus the risk free rate divided by standard deviation of those returns. (This is where we're uncertain. Is the standard deviation of the returns, or just the closes?) But anyway the calculation itself is pretty simple:
SR = (r – b) ÷ s
Where r is the return of the asset over a certain period.
b is the interest rate of the risk-free asset.
s is the standard deviation of the returns over the same period.
For this indicator to "work" correctly, we're assuming the risk-free rate is 0. In fact, I did not include b at all in the indicator because it would make things too complicated, and go beyond the aim of this work.
To calculate the returns over a certain period, I'm using Rate of Change. Then calculating the standard deviation of those returns is pretty easy because we can use the same lookback period we used for ROC for the StDev calculation, thus:
averageReturn = ta.roc(close, lookbackLength)
stdev = ta.stdev(averageReturn, lookbackLength)
sharpe = (averageReturn / stdev)
Please leave a comment below if you believe this is incorrect. The chart shows a normal ROC indicator for comparison. I've also created a "bands" version of this indicator, which I'm planning to also release. The Keltner channel is just for comparing it with the StDev bands.
Leco Price ChaserScalping Strategy with one pyramiding entry only that chases the price movement using MACD, Stochastic and RSI with EMA. The pyramiding entry size rely between the gap on the strategy price and the close bar. Goes pretty well and I apreciatte any comments
Reversal MagictrendThis indicator combine multiple indicator in one pine script : Main indicator is Exponential Moving Average (EMA), Commodity Channel Index (CCI), Average True Range (ATR), Crossover Signal & Alert.
1)
For Exponential Moving Average (EMA) have 5 type :
EMA 7 : Green Color (Transparent)
EMA 21 : Red Color (Transparent)
EMA 34 : Orange Color (Faint)
EMA 50 : Purple Color (Transparent)
EMA 90 : Aqua Color (Faint)
Trendband / Background Color in between EMA line :
EMA 7 Cross up EMA 21 : Green
EMA 7 Cross down EMA 21 : Red
EMA 21 Cross up EMA : Yellow
Crossover Signal :
EMA 7 Cross up EMA 21 = Golden Cross : Blue Diamond
EMA 7 Cross down EMA 21 = Death Cross : Red Diamond
Example :
2)
Commodity Channel Index (CCI) :
Have background color : Green for positive value
CCI Signal = Anchor / Hook
- As a signal of reversal. Strong reversal when appear on weekly chart
Example :
Weekly :
Daily :
I am inspired from : www.tradingview.com
Check out his indicator here :
3)
Average True Range (ATR) as Supertrend
Green (Start) New Start for uptrend
Red (End) New Start for downtrend
Also Add on value for each signal.
Example :
I am inspired from : www.tradingview.com
Check out his Supertrend here :
4)
For this indicator, user have option to turn on / off :
- Previous Signal as a backtest
- Previous Trend as a backtest
- ATR to make chart more clean.
TARVIS Labs - Alts Macro Bottom/Top SignalsSCRIPT DESCRIPTION
PLEASE READ THROUGH THIS CAREFULLY.
This is a script specifically written to help provide indicators from a macro view for ALTS. This script needs to be run on the 1 day. It helps indicate when to accumulate alts, and when its in a bull run when this a bull run top beginning to form with warnings, and a indicator that a top is in. This is described further below.
NOTE - in order to accomodate most alts the script had to be broad enough in its indicators to cover many different scenarios. If you are trading a smaller altcoin I suggest taking a more conservative approach to accumulation.
FAQs:
1. Why is there no accumulation zone showing up before an uptrend?
This could be because the trend has been so strong for this coin that there hasn't been a strong enough signal to accumulate or this could be that the chart doesnt have enough historical data (needs over 2 years) for the indicators to flash green.
2. Why is there no tops shown for a chart Im looking at?
This is either because there isn't enough historical data (needs over 2 years) for the indicators to build or because the altcoin didnt perform as well as the rest of the market. The altcoin has to perform as well as the market over the length of the bull run in order for the signals to show. Typically an altcoin that shows sharp increases and sharp drops shortly after will not have signals show up.
3. The "Potential End of Bull Run Top Indicator" showed up but we weren't near the top yet, why is that?
The alts indicator has to work across many altcoins, and their trends are not all the same. This can lead to the indicator showing but not necessarily being the exact top. The data from the alts macro bottom/top signals should be paired with the "TARVIS Labs bitcoin macro bottom/top signals" indicator for BTC. The reasoning is because if the top is not showing that its in for Bitcoin its likely that the altcoin's top is also not in. You should use the two in tandem to know if the bull run top is very likely in.
ACCUMULATION ZONE INDICATOR - LIGHT GREEN
Description
When we look at the general crypto landscape, the 200d & 300d EMAs are extremely useful. We can use their cross and momentum in order to determine a bottom forming. If the price has fallen over 40% below the 200 day EMA and the 200 day EMA has crossed below the 300d EMA, its a downtrend with a steep fall, which could indicate a good time to accumulate. When we see the 200 day EMA's slope drop drastically (over 5% w/w) it is also a good signal to accumulate.
Strategy for Usage
For alts, the strategy can vary drastically. You need to take into account:
1. the market cap of the altcoin, is it a smaller market cap altcoin or a larger one?
2. historical trend, does it typically trend strongly with a smaller accumulation zone?
Once you've taken these into account you can form a strategy. For example, if the altcoin has had smaller accumulation zones historically you'll want to take advantage of the accumulation zones when they pop up and be more aggressive (say a 30 day accumulation). If the altcoin has historically had longer accumulation zones then you'll want to be more conservative with your strategy and potentially have a 100 day (or even longer) accumulation period. If the altcoin is a smaller market cap alt, you will want to also take that into account. You'll want to likely be more conservative,
STRONG BUY IN ACCUMULATION ZONE INDICATOR - DARK GREEN
Description
We can add to the bottoming signal by looking for strong downtrends inside the bottoming signal. We do this by seeing when the 36 day EMA has a slope decreasing by 2% day/day.
Strategy for Usage
These strong downtrend days can be used to add more to our accumulation strategy. We can add more on these days (ex. double what you were planning to on a typical accumulation day).
LOCAL TOP NEAR BULL RUN TOP INDICATOR - RED
Description
When the 100 week EMA is in a strong uptrend (4% increase w/w) we can look for significant loss of momentum in order to determine if a local top is in near a bull run top. This strategy uses a MACD with 9/36/9 config for the daily chart. We look for the signals momentum loss, when the slope becomes negative.
Strategy for Usage
Ideally the right strategy to use here is to exit the market when this indicator starts. When the indicator ends if the "Potential End of Bull Run Top Indicator" is not showing on the chart you can buy back into the market.
POTENTIAL END OF BULL RUN TOP INDICATOR - DARK RED
Description
When the 100 week EMA is in a strong uptrend (3% increase w/w), and a MACD config of 108/234/9 has a negative signal slope signifying a very large momentum loss, but the 1d 18 EMA is still above the 1d 63 EMA we show this signal.
Strategy for Usage
This is a strong indicator that the top is in, and it potentially being the bull run top. Because alts can vary strongly in their charts, this should be a strong warning but not necessarily a certainty that the bull run is over.
STD-Filtered, N-Pole Gaussian Filter [Loxx]This is a Gaussian Filter with Standard Deviation Filtering that works for orders (poles) higher than the usual 4 poles that was originally available in Ehlers Gaussian Filter formulas. Because of that, it is a sort of generalized Gaussian filter that can calculate arbitrary (order) pole Gaussian Filter and which makes it a sort of a unique indicator. For this implementation, the practical mathematical maximum is 15 poles after which the precision of calculation is useless--the coefficients for levels above 15 poles are so high that the precision loss actually means very little. Despite this maximal precision utility, I've left the upper bound of poles open-ended so you can try poles of order 15 and above yourself. The default is set to 5 poles which is 1 pole greater than the normal maximum of 4 poles.
The purpose of the standard deviation filter is to filter out noise by and by default it will filter 1 standard deviation. Adjust this number and the filter selections (price, both, GMA, none) to reduce the signal noise.
What is Ehlers Gaussian filter?
This filter can be used for smoothing. It rejects high frequencies (fast movements) better than an EMA and has lower lag. published by John F. Ehlers in "Rocket Science For Traders".
A Gaussian filter is one whose transfer response is described by the familiar Gaussian bell-shaped curve. In the case of low-pass filters, only the upper half of the curve describes the filter. The use of gaussian filters is a move toward achieving the dual goal of reducing lag and reducing the lag of high-frequency components relative to the lag of lower-frequency components.
A gaussian filter with...
One Pole: f = alpha*g + (1-alpha)f
Two Poles: f = alpha*2g + 2(1-alpha)f - (1-alpha)2f
Three Poles: f = alpha*3g + 3(1-alpha)f - 3(1-alpha)2f + (1-alpha)3f
Four Poles: f = alpha*4g + 4(1-alpha)f - 6(1-alpha)2f + 4(1-alpha)3f - (1-alpha)4f
and so on...
For an equivalent number of poles the lag of a Gaussian is about half the lag of a Butterworth filters: Lag = N*P / pi^2, where,
N is the number of poles, and
P is the critical period
Special initialization of filter stages ensures proper working in scans with as few bars as possible.
From Ehlers Book: "The first objective of using smoothers is to eliminate or reduce the undesired high-frequency components in the eprice data. Therefore these smoothers are called low-pass filters, and they all work by some form of averaging. Butterworth low-pass filters can do this job, but nothing comes for free. A higher degree of filtering is necessarily accompanied by a larger amount of lag. We have come to see that is a fact of life."
References John F. Ehlers: "Rocket Science For Traders, Digital Signal Processing Applications", Chapter 15: "Infinite Impulse Response Filters"
Included
Loxx's Expanded Source Types
Signals
Alerts
Bar coloring
Related indicators
STD-Filtered, Gaussian Moving Average (GMA)
STD-Filtered, Gaussian-Kernel-Weighted Moving Average
One-Sided Gaussian Filter w/ Channels
Fisher Transform w/ Dynamic Zones
R-sqrd Adapt. Fisher Transform w/ D. Zones & Divs .
Gaussian Filter MACD [Loxx]Gaussian Filter MACD is a MACD that uses an 1-4 Pole Ehlers Gaussian Filter for its calculations. Compare this with Ehlers Fisher Transform.
What is Ehlers Gaussian filter?
This filter can be used for smoothing. It rejects high frequencies (fast movements) better than an EMA and has lower lag. published by John F. Ehlers in "Rocket Science For Traders". First implemented in Wealth-Lab by Dr René Koch.
A Gaussian filter is one whose transfer response is described by the familiar Gaussian bell-shaped curve. In the case of low-pass filters, only the upper half of the curve describes the filter. The use of gaussian filters is a move toward achieving the dual goal of reducing lag and reducing the lag of high-frequency components relative to the lag of lower-frequency components.
A gaussian filter with...
one pole is equivalent to an EMA filter.
two poles is equivalent to EMA ( EMA ())
three poles is equivalent to EMA ( EMA ( EMA ()))
and so on...
For an equivalent number of poles the lag of a Gaussian is about half the lag of a Butterworth filters: Lag = N * P / (2 * ¶2), where,
N is the number of poles, and
P is the critical period
Special initialization of filter stages ensures proper working in scans with as few bars as possible.
From Ehlers Book: "The first objective of using smoothers is to eliminate or reduce the undesired high-frequency components in the eprice data. Therefore these smoothers are called low-pass filters, and they all work by some form of averaging. Butterworth low-pass filtters can do this job, but nothing comes for free. A higher degree of filtering is necessarily accompanied by a larger amount of lag. We have come to see that is a fact of life."
References John F. Ehlers: "Rocket Science For Traders, Digital Signal Processing Applications", Chapter 15: "Infinite Impulse Response Filters"
Included
Loxx's Expanded Source Types
Signals, zero or signal crossing, signal crossing is very noisy
Alerts
Bar coloring