T3 PPO [Loxx]T3 PPO is a percentage price oscillator indicator using T3 moving average. This indicator is used to spot reversals. Dark red is upward price exhaustion, dark green is downward price exhaustion.
What is Percentage Price Oscillator (PPO)?
The percentage price oscillator (PPO) is a technical momentum indicator that shows the relationship between two moving averages in percentage terms. The moving averages are a 26-period and 12-period exponential moving average (EMA).
The PPO is used to compare asset performance and volatility, spot divergence that could lead to price reversals, generate trade signals, and help confirm trend direction.
What is the T3 moving average?
Better Moving Averages Tim Tillson
November 1, 1998
Tim Tillson is a software project manager at Hewlett-Packard, with degrees in Mathematics and Computer Science. He has privately traded options and equities for 15 years.
Introduction
"Digital filtering includes the process of smoothing, predicting, differentiating, integrating, separation of signals, and removal of noise from a signal. Thus many people who do such things are actually using digital filters without realizing that they are; being unacquainted with the theory, they neither understand what they have done nor the possibilities of what they might have done."
This quote from R. W. Hamming applies to the vast majority of indicators in technical analysis . Moving averages, be they simple, weighted, or exponential, are lowpass filters; low frequency components in the signal pass through with little attenuation, while high frequencies are severely reduced.
"Oscillator" type indicators (such as MACD , Momentum, Relative Strength Index ) are another type of digital filter called a differentiator.
Tushar Chande has observed that many popular oscillators are highly correlated, which is sensible because they are trying to measure the rate of change of the underlying time series, i.e., are trying to be the first and second derivatives we all learned about in Calculus.
We use moving averages (lowpass filters) in technical analysis to remove the random noise from a time series, to discern the underlying trend or to determine prices at which we will take action. A perfect moving average would have two attributes:
It would be smooth, not sensitive to random noise in the underlying time series. Another way of saying this is that its derivative would not spuriously alternate between positive and negative values.
It would not lag behind the time series it is computed from. Lag, of course, produces late buy or sell signals that kill profits.
The only way one can compute a perfect moving average is to have knowledge of the future, and if we had that, we would buy one lottery ticket a week rather than trade!
Having said this, we can still improve on the conventional simple, weighted, or exponential moving averages. Here's how:
Two Interesting Moving Averages
We will examine two benchmark moving averages based on Linear Regression analysis.
In both cases, a Linear Regression line of length n is fitted to price data.
I call the first moving average ILRS, which stands for Integral of Linear Regression Slope. One simply integrates the slope of a linear regression line as it is successively fitted in a moving window of length n across the data, with the constant of integration being a simple moving average of the first n points. Put another way, the derivative of ILRS is the linear regression slope. Note that ILRS is not the same as a SMA ( simple moving average ) of length n, which is actually the midpoint of the linear regression line as it moves across the data.
We can measure the lag of moving averages with respect to a linear trend by computing how they behave when the input is a line with unit slope. Both SMA (n) and ILRS(n) have lag of n/2, but ILRS is much smoother than SMA .
Our second benchmark moving average is well known, called EPMA or End Point Moving Average. It is the endpoint of the linear regression line of length n as it is fitted across the data. EPMA hugs the data more closely than a simple or exponential moving average of the same length. The price we pay for this is that it is much noisier (less smooth) than ILRS, and it also has the annoying property that it overshoots the data when linear trends are present.
However, EPMA has a lag of 0 with respect to linear input! This makes sense because a linear regression line will fit linear input perfectly, and the endpoint of the LR line will be on the input line.
These two moving averages frame the tradeoffs that we are facing. On one extreme we have ILRS, which is very smooth and has considerable phase lag. EPMA has 0 phase lag, but is too noisy and overshoots. We would like to construct a better moving average which is as smooth as ILRS, but runs closer to where EPMA lies, without the overshoot.
A easy way to attempt this is to split the difference, i.e. use (ILRS(n)+EPMA(n))/2. This will give us a moving average (call it IE /2) which runs in between the two, has phase lag of n/4 but still inherits considerable noise from EPMA. IE /2 is inspirational, however. Can we build something that is comparable, but smoother? Figure 1 shows ILRS, EPMA, and IE /2.
Filter Techniques
Any thoughtful student of filter theory (or resolute experimenter) will have noticed that you can improve the smoothness of a filter by running it through itself multiple times, at the cost of increasing phase lag.
There is a complementary technique (called twicing by J.W. Tukey) which can be used to improve phase lag. If L stands for the operation of running data through a low pass filter, then twicing can be described by:
L' = L(time series) + L(time series - L(time series))
That is, we add a moving average of the difference between the input and the moving average to the moving average. This is algebraically equivalent to:
2L-L(L)
This is the Double Exponential Moving Average or DEMA , popularized by Patrick Mulloy in TASAC (January/February 1994).
In our taxonomy, DEMA has some phase lag (although it exponentially approaches 0) and is somewhat noisy, comparable to IE /2 indicator.
We will use these two techniques to construct our better moving average, after we explore the first one a little more closely.
Fixing Overshoot
An n-day EMA has smoothing constant alpha=2/(n+1) and a lag of (n-1)/2.
Thus EMA (3) has lag 1, and EMA (11) has lag 5. Figure 2 shows that, if I am willing to incur 5 days of lag, I get a smoother moving average if I run EMA (3) through itself 5 times than if I just take EMA (11) once.
This suggests that if EPMA and DEMA have 0 or low lag, why not run fast versions (eg DEMA (3)) through themselves many times to achieve a smooth result? The problem is that multiple runs though these filters increase their tendency to overshoot the data, giving an unusable result. This is because the amplitude response of DEMA and EPMA is greater than 1 at certain frequencies, giving a gain of much greater than 1 at these frequencies when run though themselves multiple times. Figure 3 shows DEMA (7) and EPMA(7) run through themselves 3 times. DEMA^3 has serious overshoot, and EPMA^3 is terrible.
The solution to the overshoot problem is to recall what we are doing with twicing:
DEMA (n) = EMA (n) + EMA (time series - EMA (n))
The second term is adding, in effect, a smooth version of the derivative to the EMA to achieve DEMA . The derivative term determines how hot the moving average's response to linear trends will be. We need to simply turn down the volume to achieve our basic building block:
EMA (n) + EMA (time series - EMA (n))*.7;
This is algebraically the same as:
EMA (n)*1.7-EMA( EMA (n))*.7;
I have chosen .7 as my volume factor, but the general formula (which I call "Generalized Dema") is:
GD (n,v) = EMA (n)*(1+v)-EMA( EMA (n))*v,
Where v ranges between 0 and 1. When v=0, GD is just an EMA , and when v=1, GD is DEMA . In between, GD is a cooler DEMA . By using a value for v less than 1 (I like .7), we cure the multiple DEMA overshoot problem, at the cost of accepting some additional phase delay. Now we can run GD through itself multiple times to define a new, smoother moving average T3 that does not overshoot the data:
T3(n) = GD ( GD ( GD (n)))
In filter theory parlance, T3 is a six-pole non-linear Kalman filter. Kalman filters are ones which use the error (in this case (time series - EMA (n)) to correct themselves. In Technical Analysis , these are called Adaptive Moving Averages; they track the time series more aggressively when it is making large moves.
Centered Oscillators
HPI for crypto [ptt]The Herrick Payoff Index is designed to show the amount of money flowing into or out of a futures contract.
This indicator uses open interest (from Binance PERP like this BTCUSDTPERP_OI) from during its calculations, therefore, the pairs being analyzed must contain open interest data on Binance.
The indicator only works with USDT pairs! Like RVNUSDT, BTCUSDT... does not work with USD pairs!
The indicator works in two mode.
Index mode - when the values moving 0-100
In this case, if the value below 10, it shows the money is flowing out of the futures contract and near the local bottom. If the value above 90, it shows the money is flowing into the futures contract and near the local top.
(The two trigger can be modified, the default is low:10 and high:90)
Oscillator mode - when the values moving around the origo (0)
In this case, if the value above 0 (green), it shows the money is flowing into the futures contract, this is bullish
If the value below 0 (red), it shows the money is flowing out of the futures contract, this is bearish
Autocorrelative Power Oscillator (APO) [SpiritualHealer117]This indicator is very strong in identifying short-term trends, and was made for trading stocks and commodities. When it is green, it indicates an uptrend, and red indicates a downtrend. The transparency of the columns illustrates the strength of the trend, with transparent columns indicating weakness, while solid columns indicate strength.
Basic Explanation of the Indicator
This indicator calculates an asset's Pearson's R coefficient when compared with several different lags of the stock's price. After that, the oscillator checks whether the indicator is in the green or red compared to those correlations, and takes the sum of the correlative periods to predict which direction the market should go based on the relationship of the current price with its past correlations.
MACD DivergencesUpdate of MACD indicator which shows the most recent, and developing, price action divergences with the histogram.
Price Convergence DivergenceSimple Price convergence divergence. Current close minus past or in other words lagging price.
Divergence MACD Sign/Alert [MsF]MACD divergence sign & alert notification.
With this router, you can choose which further indicators you want to see divergence in MACD.
In addition, in order to improve visibility, the sub-window is designed to display only the selected index and diversity.
Lookback Bars: When detecting divergence, you can set how many bars to look back in the past.
--------------
MACDダイバージェンスのサイン&アラートインジケータです。
このインジケータでは、MACDの中でさらにどの指標のダイバージェンスを見るか選択できます。"MACD"、"Signal"、"ヒストグラム"の3つから選べます。
なお、サブウィンドウには可視性向上のため、選択した指標とダイバージェンスのみを表示する仕様としています。
■設定について
Lookback Bars:ダイバージェンス検出する場合に、何個のバーを過去にさかのぼるか設定できます。
[HA] Heikin-Ashi Shadow Candles// For overlaying Heikin Ashi candles over basic charts, or for use in it's own panel as an oscillator.
// Enjoy the visual cues of HA candles, without giving up price action awareness.
// Good for learning and comparison.
// Aug 11 2022
Release Notes: * Bugfix: Candle color was based on classic direction not HA direction (did not update cover photo).
// Aug 12 2022
Release Notes: * Implemented true oscillator mode.
Provided as separate plot (styles tab) or mode switch option (Inputs tab). TV gets spazzy with "styles tab" "default hidden" plots, and will reset them if any variables are modified that affect them (i.e. wick color override). Mode switch should be sufficient for both users.
// Aug 21 2022
Republished because of typo in indicator name prevented search.
Cumulative ATR Distance Oscillator// A Price/ATR oscillator with cumulative waves.
// Based on Cumulative Volume Delta, but using price movement alone.
// Public Domain
// By Jolly Wizard
Tom Joseph MACD 5-35 for Elliot WavesThis oscillator for the Elliott Theory has been invented by Tom Joseph and it's useful to correctly count the impulsive and corrective waves.
Its difference compared to a simple MACD is the peculiarity to use the ratio between the Fast SMA (default period set to 5) and the Slow SMA (default period se to 35).
The used formula is as below:
( (fast_SMA / slow_SMA) -1 ) * 100
Hope you could find it useful! 😉
Munich's Momentum Wave V2MUNICH'S MOMENTUM WAVE VERSION 2 IS LIVE!!!
There are a few big things to note with this one.
I decided to upload this as an entirely new script due to the number of changes differing from the first version, but as the last one, this will still work on ANY TIMEFRAME, ANY ASSET CLASS, ANY PRICE! .
This momentum wave indicator now will give you data for when trend could turn, and two momentum indicators to help you decide when to take an entry.
First off,
*I have added an alma ma (alma) that will track momentum alongside price action and further lead the indicator consisting of the Munich waves.
* The background feature will track the price using a method derived from the Bollinger bands, after calculations, it will color the background based on the average of the momentum's ema's, the alma ma, and also the alma in comparison to the alma's value pre offset ( the offset is 3, following the basis).
*There are now 5 basis values given from the increase in ema samples.
If anyone has any questions feel free to pm me or comment below. Thank you guys for the support! :)
INDEX:BTCUSD TVC:NDQ AMEX:SPY BITSTAMP:ETHUSD BINANCE:BTCUSDT FX:USDJPY NASDAQ:AAPL
Dr. Mahdi Kazempour - Crypto Trade Dashboard and Indicator PanelA great panel for crypto traders all in one table:
Price, Volume, RSI, MACD, ADI, MOM
1) current symbol
2) BTCUSDT
3) NASDAQ
4) ETHUSDT
5) TOTAL2
TTM Wave ABC By GanymedeNilTo facilitate the production of an open source version of the strategy TTM Wave ABC
München's Momentum WaveMUNICH'S MOMENTUM WAVE:
This momentum tracker has features sampled from Madrid's moving average ribbon but has differentiated many values, parameters, and usage of integers. It is derived using momentum and then creates moving averages and mean lengths to help support the strength of a move in price action, and also has the key mean length that helps determine HL/LH or rejections into trend continuation. This indicator works on ALL TIME FRAMES, ALL ASSET CLASSES ON ALL SETTINGS!!
HOW DO I USE IT?
*First off, I have arranged the input settings into groups based on the parts of the indicator it affects.
*You want to use the aqua/white/yellow (Munich's line) as your leading indicator, this is a combined average of the MoM indicator.
* When using Munich's line you want to look at the relation to the mean line (the flat line that adjusts based on price action. You will often see rejections of this line into trend continuation. I personally have caught perfect LH/HL bounce trades off of this indicator.
* Use the Background and other colored moving averages to help pre-determine moves based on the -3 offset value of Munich's line. This was by design not to create 'accurate' results, but to help predict momentum swings based on sharper moves in price action better than if all values lined up to the current bar.
Cheat Code's Notes:
I hope you guys find this indicator to be useful, this is most likely the best indicator that I have written. Simply for the fact it is useful on any chart, any timeframe with any setting. If you guys have any issues with it, shoot me a pm or drop a comment. Thanks!
-CheatCode1
BINANCE:BTCUSDT BITSTAMP:ETHUSD BITSTAMP:BTCUSD PEPPERSTONE:JPYX TVC:DXY TVC:NDQ AMEX:SPY
Trend Friendly RSITrend Friendly RSI
Unlike the standard RSI, "Trend Friendly RSI" adapts to the trend. RSI and other momentum-based oscillators cannot give a buy signal in uptrends and a sell signal in downtrends because they do not take into account the momentum of the trend and behave as if the price is in a constant sideways trend. "Trend Friendly RSI", on the other hand, takes into account the momentum of the trend of your chosen length and subtracts it from the current momentum, thus giving more realistic buy and sell signals.
use it to identify your long-term investments and trading entry points for hodl. It would be wise to use this indicator for assets that you have done fundamental analysis and are sure of the trend direction. it doesn't know what the price will do, it just shows the points that are suitable for you.
remember this indicator will fail in horizontal trends.
MTF MACD BarOVERVIEW
This indicator shows MACD(Moving Average Convergence/Divergence) is up or down, represented by a bar. This indicator is compatible with MTF.
CONCEPTS
What do you want to know about market analysis?
Do you want a hard analysis? You can look for it.
All I want to know is whether the commonly known technical analysis is 'UP' or 'DOWN'.
All I want to know is whether the current market price is going up or down. Not only for the current, but also for the monthly, weekly, and daily status.
I want to make a decision in a moment. Without even thinking about it.
That is why I created a color-coded bar indicator to show the status.
No need to frown anymore.
DETAILS
You need more information about MACD, click here.
tradingview.com
MACD histogram Green ⇒ Bar is green.
MACD histogramRed ⇒ Bar is red.
Normalized MACD with RSI [bkeevil]This indicator normalizes the MACD and RSI indicators to a range between -1.0 and 1.0 so they can be displayed together on the same chart to save screen real-estate.
While the MACD is a good indicator to detect trend changes, in some circumstances (such as a sideways range market) it can give false signals. The MACD is more likely to give a false signal when the RSI indicator is close to the centerline than if the RSI is signaling an overbought or oversold condition. Thus the RSI indicator and MACD indicator are commonly used together.
I have included a few features found in other MACD indicators that I have found helpful:
MACD line changes color if it is rising or falling
Dots at the MACD line to signal crossovers
The MACD signal line is hidden it by default as the information it contains is redundant. Hiding the signal line makes the indicator less busy.
Simple Buy and Sell SignalsThis is a Simple Indicator which shows buy and sell signals based on MACD and SSL channel.
It is not a Holy Grail Indicator. It shows a lot of false signals when the market is Consolidation Zone.
So don't use this indicator to place trades based on signals given by the indicator.
Use this as a confluence along with your technical analysis
On lower timeframes there are a lot of signals so to eliminate false signals , get a signal on higher timeframe and place a trade in the direction of the trend on lower timeframe.
Hope you'll find this helpful. Enjoy👍.
TheATR: Fisher Oscillator.Fisher Oscillator(FO).
The Fisher Oscillator is inspired by John Ehlers "Fisher Transform".
The oscillator highlights when prices have moved to an extreme, based on recent prices.
The FO may help in spotting turning points, in the short-medium trends of an asset, also, it helps in recognizing the asset's trends themselves, giving a picture of mkt conditions affected by less noise.
Fisher Oscillator Components.
Fisher V1 -> Main FO.
Fisher V2 -> Past Candle FO.
0-line threshold -> Directional Component.
How to read the Fisher Oscillator.
The FO is super easy to read by itself.. also, I coded some features which make it even easier to read.
It's suggestions, which we can call "Signals", come from 2 different sources, accessible thanks to the variable "Signals Type".
- 0-Line Crosses:
When the "Fisher V1" upcrosses the oscillator 0-line, the oscillator suggests a Long scenario.
When the "Fisher V1" downcrosses the oscillator 0-line, the oscillator suggests a Short scenario.
- Classic Lines Crosses:
When the "Fisher V1" upcrosses the "Fisher V2", the oscillator suggests a Long scenario.
When the "Fisher V1" downcrosses the "Fisher V2", the oscillator suggests a Short scenario.
Users will be able to recognise these Signals visually, thanks to some color customisation to the "Fisher V1" line, and thanks to the ability of the oscillator of plotting Signals.
TheATR Documentation regarding TheATR: Fisher Oscillator.
Researching and backtesting the FO, I noticed it's skill of being able to dynamically identify trend reversals with a nice degree of reliability.
Also, the FO's able to keep up with trends up to their tops/bottoms, as it's very responsive.
This makes the FO a trend-following oscillator in my personal view, because its nature of being very fast in detecting reversals will lead to many false reversals as well.
On the other face of this coin, if we look at the FO as a source for confirmations for a trend-following strategy, may be very useful.
To conclude, I would use the FO as a confirmation oscillator, in a trend-following strategy that needs to have other components.
Thanks for reading,
TheATR.
EMA 21 + MacD + RSI + Alma
Setting
EMA 21 = Green
EMA 9 = yellow
MacD = 5 35 5
RSI = 10
Alma 20 0.8 8
RULES
Long:
1. EMA 9 below 21
2. RSI above 50 from Oversold
3. Macd Solid green
4. SL @ ALMA
5. Conditional buy limit order @ top wick
6. 1:3 RR
Short:
1. EMA 9 above 21
2. RSI below 50 from Overbought
3. Macd Solid red
4. SL @ ALMA
5. Conditional sell limit order @ bottom wick
6. 1:3 RR
Dap's Oscillator- Short Term Momentum and Trend. BINANCE:BTCUSDT BYBIT:BTCUSDT BYBIT:ETHUSDT BINANCE:ETHUSDT
DAP's OSCILLATOR:
WHAT IS IT?
This Oscillator was created to inspire confidence in the short-term trend of traders. This will work very well with a volatility metric (I recommend BBWP by @The_Caretaker)
WHAT IS IT MADE OF?
1. Consists of a series of equations (mainly the difference between simple to exponential moving averages) and Standard deviations of these moving average differences (length equivalent to the length of sampled ma's)
2. These equations are then boiled down through an averaging process array, after averaging the covariants are equated against the variants of the positive side of the array. This is what is presented as the aqua line.
3. The RC average (yellow) is the sma following the DAP'S Oscillator at a specified length
4. The most important part of this indicator is simply the momentum oscillator represented as a green or red line based on the value relative to the Oscillators.
HOW DO I USE THIS?
As I mentioned before mixed with a volatility metric, it should set you up for a good decision based on short-term trends. I would say to be careful for periods of consolidation, with the consolidation the momentum often meets hands with DAP's Oscillator and can cause fake-outs. You want to spot divergences from the price to the momentum difference, as well as room to work down or upward to secure a good entry on a position.
CHEAT CODE'S NOTES:
I appreciate everyone who has boosted my previous scripts, it means a lot. If you want to translate words to pine script onto a chart, feel free to PM me. I would be happy to help bring an indicator to life. I may take a quick break but will be back shortly to help create more cheat codes for yall. Thanks!
-Cheat Code
Commodity Channel Relative StrengthNew concept(I think atleast) I've joined the Standard RSI and CCI at the hip with another plotcandle, which gives a picture of a larger candle With more interesting movement imo. Includes Fib Retracement Levels, High/Low and a couple of coppock curves for more confirmation. Broadening candles seem to indicate a weakening of trend strength (from what i've seen atleast) although exceptions do occur. Vice versa for tapering to a lesser degree I imagine. RSI has been shifted down to 0 to align the center point with the CCI , so the usual 30/70 RSI Levels are now -20/20 (although I have 30/-30 instead for the hlines).
Heinkin-Ashi Shadow Candles// Public Domain
// By JollyWizard
// For overlaying Heikin Ashi candles over basic charts, or for use in it's own panel as an oscillator.
// Enjoy the visual cues of HA candles, without giving up price action awareness.
// Good for learning and comparison.
Synthetic EMA Momentum w/ DSL [Loxx]Synthetic EMA Momentum w/ DSL is a momentum indicator that is calculated with 5 different EMAs of increasing period to derive a final momentum value. This helps reduce noise and improve signal quality. Discontinued signal lines are uses to calculate signal values.
What are DSL Discontinued Signal Line?
A lot of indicators are using signal lines in order to determine the trend (or some desired state of the indicator) easier. The idea of the signal line is easy : comparing the value to it's smoothed (slightly lagging) state, the idea of current momentum/state is made.
Discontinued signal line is inheriting that simple signal line idea and it is extending it : instead of having one signal line, more lines depending on the current value of the indicator.
"Signal" line is calculated the following way :
When a certain level is crossed into the desired direction, the EMA of that value is calculated for the desired signal line
When that level is crossed into the opposite direction, the previous "signal" line value is simply "inherited" and it becomes a kind of a level
This way it becomes a combination of signal lines and levels that are trying to combine both the good from both methods.
In simple terms, DSL uses the concept of a signal line and betters it by inheriting the previous signal line's value & makes it a level.
Included:
Loxx's Expanded Source Types
Alerts
Signals
Bar coloring
Related indicators
Smoother Momentum MACD w/ DSL
T3 Velocity