Hodrick-Prescott MACD [Loxx]Hodrick-Prescott MACD is a MACD indicator using a Hodrick-Prescott Filter.
What is Hodrick–Prescott filter?
The Hodrick–Prescott filter (also known as Hodrick–Prescott decomposition) is a mathematical tool used in macroeconomics, especially in real business cycle theory, to remove the cyclical component of a time series from raw data. It is used to obtain a smoothed-curve representation of a time series, one that is more sensitive to long-term than to short-term fluctuations. The adjustment of the sensitivity of the trend to short-term fluctuations is achieved by modifying a multiplier Lambda.
The filter was popularized in the field of economics in the 1990s by economists Robert J. Hodrick and Nobel Memorial Prize winner Edward C. Prescott, though it was first proposed much earlier by E. T. Whittaker in 1923.
There are some drawbacks to use the HP filter than you can read here: en.wikipedia.org
Included
Bar coloring
3 types of signals
Alerts
Loxx's Expanded Source Types
K-macd
Digital Kahler MACD [Loxx]Digital Kahler MACD is a MACD indicator that uses an extreme noise reduction algorithm by Philipp Kahler. For our purposes here, we call it Digital Kahler.
What is Digital Kahler?
From Philipp Kahler's article for www.traders-mag.com, August 2008. "A Classic Indicator in a New Suit: Digital Stochastic"
Digital Indicators
Whenever you study the development of trading systems in particular, you will be struck in an extremely unpleasant way by the seemingly unmotivated indentations and changes in direction of each indicator. An experienced trader can recognise many false signals of the indicator on the basis of his solid background; a stupid trading system usually falls into any trap offered by the unclear indicator course. This is what motivated me to improve even further this and other indicators with the help of a relatively simple procedure. The goal of this development is to be able to use this indicator in a trading system with as few additional conditions as possible. Discretionary traders will likewise be happy about this clear course, which is not nerve-racking and makes concentrating on the essential elements of trading possible.
How Is It Done?
The digital stochastic is a child of the original indicator. We owe a debt of gratitude to George Lane for his idea to design an indicator which describes the position of the current price within the high-low range of the historical price movement. My contribution to this indicator is the changed pattern which improves the quality of the signal without generating too long delays in giving signals. The trick used to generate this “digital” behavior of the indicator. It can be used with most oscillators like RSI or CCI.
First of all, the original is looked at. The indicator always moves between 0 and 100. The precise position of the indicator or its course relative to the trigger line are of no interest to me, I would just like to know whether the indicator is quoted below or above the value 50. This is tantamount to the question of whether the market is just trading above or below the middle of the high-low range of the past few days. If the market trades in the upper half of its high-low range, then the digital stochastic is given the value 1; if the original stochastic is below 50, then the value –1 is given. This leads to a sequence of 1/-1 values – the digital core of the new indicator. These values are subsequently smoothed by means of a short exponential moving average. This way minor false signals are eliminated and the indicator is given its typical form.
Included:
Bar coloring
Signals
Alerts
Loxx's Expanded Source Types
Loxx's Moving Averages
MACDV DASHBOARDFrom Riliza MACD-V Volatility Normalisation and another knowledge I am just her follower, Try to make dashboard to study the market for my self.
Rev00
- MACDV with momentum
-Still need to optimize and revise many thing.
-Any wrong could you please help feed back , Not much experience.
Nyquist Moving Average (NMA) MACD [Loxx]Nyquist Moving Average (NMA) MACD is a MACD indicator using Nyquist Moving Average for its calculation.
What is the Nyquist Moving Average?
A moving average outlined originally developed by Dr . Manfred G. Dürschner in his paper "Gleitende Durchschnitte 3.0".
In signal processing theory, the application of a MA to itself can be seen as a Sampling procedure. The sampled signal is the MA (referred to as MA.) and the sampling signal is the MA as well (referred to as MA). If additional periodic cycles which are not included in the price series are to be avoided sampling must obey the Nyquist Criterion.
It can be concluded that the Moving Averages 3.0 on the basis of the Nyquist Criterion bring about a significant improvement compared with the Moving Averages 2.0 and 1.0. Additionally, the efficiency of the Moving Averages 3.0 can be proven in the result of a trading system with NWMA as basis.
What is the MACD?
Moving average convergence divergence (MACD) is a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price. The MACD is calculated by subtracting the 26-period exponential moving average (EMA) from the 12-period EMA.
The result of that calculation is the MACD line. A nine-day EMA of the MACD called the "signal line," is then plotted on top of the MACD line, which can function as a trigger for buy and sell signals. Traders may buy the security when the MACD crosses above its signal line and sell—or short—the security when the MACD crosses below the signal line. Moving average convergence divergence (MACD) indicators can be interpreted in several ways, but the more common methods are crossovers, divergences, and rapid rises/falls.
Included
Bar coloring
2 types of signal output options
Alerts
Loxx's Expanded Source Types
MACD + RSI with Trade SignalsThis indicator by default comes with the MACD shown but can be switched to show the RSI instead. Settings for each indicator can also be customized as well as Buy/Sell signals given based on pull back crossovers that follow the 200 EMA of the price Chart. There's an above/below middle fill option you can use but I tend not to but I know some traders like to see when an oscillator is above/below the middle and use it as a trend diretion. By the way, the fourth setting for the MACD (which is 2 by default) is the size of the histogram.
Buy Signal = Price is above the 200 EMA. Current or previous MACD or RSI line is/was below middle line and now crossed above the signal line.
Sell Signal = Price is below the 200 EMA. Current or previous MACD or RSI line is/was above middle line and now crossed below the signal line.
There are alerts for each signal as well (MACD and RSI, both buy and sell).
Feel free to leave a comment regarding issues or suggestions for this indicator or ideas for the next one I should do :)
Fisher Transform of MACD w/ Quantile Bands [Loxx]Fisher Transform of MACD w/ Quantile Bands is a Fisher Transform indicator with Quantile Bands that takes as it's source a MACD. The MACD has two different source inputs for fast and slow moving averages.
What is Fisher Transform?
The 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.
What is Quantile Bands?
In statistics and the theory of probability, quantiles are cutpoints dividing the range of a probability distribution into contiguous intervals with equal probabilities, or dividing the observations in a sample in the same way. There is one less quantile than the number of groups created. Thus quartiles are the three cut points that will divide a dataset into four equal-size groups (cf. depicted example). Common quantiles have special names: for instance quartile, decile (creating 10 groups: see below for more). The groups created are termed halves, thirds, quarters, etc., though sometimes the terms for the quantile are used for the groups created, rather than for the cut points.
q-Quantiles are values that partition a finite set of values into q subsets of (nearly) equal sizes. There are q − 1 of the q-quantiles, one for each integer k satisfying 0 < k < q. In some cases the value of a quantile may not be uniquely determined, as can be the case for the median (2-quantile) of a uniform probability distribution on a set of even size. Quantiles can also be applied to continuous distributions, providing a way to generalize rank statistics to continuous variables. When the cumulative distribution function of a random variable is known, the q-quantiles are the application of the quantile function (the inverse function of the cumulative distribution function) to the values {1/q, 2/q, …, (q − 1)/q}.
What is MACD?
Moving average convergence divergence ( MACD ) is a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price. The MACD is calculated by subtracting the 26-period exponential moving average ( EMA ) from the 12-period EMA .
Included:
Zero-line and signal cross options for bar coloring, signals, and alerts
Alerts
Signals
Loxx's Expanded Source Types
35+ moving average types
PA-Adaptive MACD w/ Variety Levels [Loxx]PA-Adaptive MACD w/ Variety Levels is a Phase Accumulation Adaptive MACD with both floating and quantile levels. This is tuned for Forex. You'll have to adjust the Phase Accumulation Cycle settings to work for crypto and stock markets.
What is MACD?
Moving average convergence divergence ( MACD ) is a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price. The MACD is calculated by subtracting the 26-period exponential moving average ( EMA ) from the 12-period EMA .
What is the Phase Accumulation Cycle?
The phase accumulation method of computing the dominant cycle is perhaps the easiest to comprehend. In this technique, we measure the phase at each sample by taking the arctangent of the ratio of the quadrature component to the in-phase component. A delta phase is generated by taking the difference of the phase between successive samples. At each sample we can then look backwards, adding up the delta phases.When the sum of the delta phases reaches 360 degrees, we must have passed through one full cycle, on average.The process is repeated for each new sample.
The phase accumulation method of cycle measurement always uses one full cycle’s worth of historical data.This is both an advantage and a disadvantage.The advantage is the lag in obtaining the answer scales directly with the cycle period.That is, the measurement of a short cycle period has less lag than the measurement of a longer cycle period. However, the number of samples used in making the measurement means the averaging period is variable with cycle period. longer averaging reduces the noise level compared to the signal.Therefore, shorter cycle periods necessarily have a higher out- put signal-to-noise ratio.
Included:
Zero-line and signal cross options for bar coloring, signals, and alerts
Alerts
Signals
Loxx's Expanded Source Types
4 moving average types
MACD-V Volatility NormalisationUsing MACD-V by Alex Spiroglou (CMT) Method
Calculation MACD-V = * 100
While
⚠️MACD-V >150 - Risk
📈MACD-V between 50 - 150 : Rallying or Retracing📈
〰️MACD-V between -50 - 50 : Ranging (Sideway) 〰️
↪️MACD-V between -150 - -50 : Rebounding or Reversing ↪️
⚠️MACD-V <150 - Risk ⚠️
MACD-V as Columns BarI use MACD-V as Columns Bar and including the signal line
Not use MACD-V - Signal Line as Histogram
Enjoy!
CCI+MACD+VWAP+BreakoutDesign for LONG and Day Trade only
- Identify buy and sell signal using CCI
- Green Zone when
-- Price over VWAP
-- EMA9 > EMA50 > EMA200
-- MACD fast > MACD slow
- Yellow Zone when either one failed
- White line occurs when breakout of Higher High + Higher Low
MACD DEMA by ToffMACD DEMA by Toff
converted to version 5
Changed Histogram formatting
Changed MACD plot to indicate macd direction change
//@version=5
//by ToFFF converted to version 5, changed histogram formating changed macd plot to show macd direction changed with lighter color
indicator('MACD DEMA', timeframe = "", timeframe_gaps=true)
sma = input(12,title='DEMA Short')
lma = input(26,title='DEMA Long')
tsp = input(9,title='Signal')
lines = input(true,title="Lines")
col_grow_above = input(#26A69A, "Above Grow", group="Histogram", inline="Above")
col_fall_above = input(#B2DFDB, "Fall", group="Histogram", inline="Above")
col_grow_below = input(#FFCDD2, "Below Grow", group="Histogram", inline="Below")
col_fall_below = input(#FF5252, "Fall", group="Histogram", inline="Below")
col_macd = input(#2962FF, "MACD Line ", group="Color Settings", inline="MACD")
col_signal = input(#FF6D00, "Signal Line ", group="Color Settings", inline="Signal")
col_macd_i = #0000FF
col_macd_d = #66FFFF
slowa = ta.ema(close,lma)
slowb = ta.ema(slowa,lma)
DEMAslow = ((2 * slowa) - slowb)
fasta = ta.ema(close,sma)
fastb = ta.ema(fasta,sma)
DEMAfast = ((2 * fasta) - fastb)
MACD = (DEMAfast - DEMAslow)
signala = ta.ema(MACD, tsp)
signalb = ta.ema(signala, tsp)
signal = ((2 * signala) - signalb)
hist = (MACD - signal)
//swap1 = MACDZeroLag>0?green:red
plot(hist,style=plot.style_columns, color=(hist>=0 ? (hist < hist ? col_grow_above : col_fall_above) : (hist < hist ? col_grow_below : col_fall_below)),title='HIST')
p1 = plot(lines?MACD:na,style = plot.style_line, color=(MACD < MACD) ? col_macd_i : col_macd_d , linewidth =3,title='MACD')
p2 = plot(lines?signal:na, color=col_signal, linewidth =2,title='Signal')
hline(0)
ARKA-LBR OscillatorThe oscillator is used by Linda Bradford Raschke.
Basically, it's a MACD with 3/10/16 settings without the histogram (difference between fast and slow line), instead, the shown histogram is based on the fastline . The color of the lines will tell you if the line is falling (red) or rising (green).
But in this indicator, you can activate Histogram and cross signals.
In histogram mode, you can find 4 colors which show us the strength of each histogram compared to the previous one.
Sherry on Crypto - MACD ScalpingThis indicator is originally made by someone else, I just modified it to increase its win rate.
How to use this indicator?
Step 1: This indicator only works in 5 minutes timeframe (BTC) . Apply 5 minutes timeframe in Tradingview.
Step 2: Apply 2 EMA(s), 1st EMA length 50, 2nd EMA length 200.
Step 3: Draw support and resistance and understand price action as well.
Step 4: Use RSI along with this indicator.
Strategy: When you see a down tick on the MACD in 5 minutes timeframe,
you are allow to take a long position. When you see an up tick on the MACD in 5 minutes timeframe, you are allow to take a Short position,
but RSI should be Included (you can do your own settings of RSI).
Recommended TP 0.50 and SL 0.40.
Variety Moving Average Waddah Attar Explosion (WAE) [Loxx]Variety Moving Average Waddah Attar Explosion is a Waddah Attar Explosion after the original version created over a decade ago. This version has ATR and Pips calculated dead-zone as well as 35+ moving averages to choose from for all moving average calculations.
What is Waddah Attar Explosion?
Waddah Attar Explosion is a momentum indicator that accounts for volatility in the market. It is the combination of MACD and Bollinger Bands with volatility cutoffs to determine entry and exit points.
How to use:
Strong uptrend when dark green arrow points up
Weak uptrend when light green arrow points up
Strong downtrend when dark red arrow points down
Weak downtrend when light red arrow points down
Included:
35+ moving averages
Controls over explosion and trend filtering
Bar coloring
Dead-zone coloring
ATR and Pips-based dead zone cutoffs
Alerts
MACD CandleInstead of viewing MACD from a separate chart (histogram), this indicator will plot a candle based on the MACD value. It is easy to summarize trends and make your technical analysis charting less complex.
MACD S/R signal indicatorI've based the script on my MACDs/r indicator.
I think it works better on higher timeframes, this is just an experiment, please feel free to modify it.
I have been testing it with parabolic SARS to know when to exit the trades.
Exit condition: if I'm in a log position and the price is below the last bearish parabolic SARS dot I exit the trade and the opposite for shorts
DISCLAIMER: Is just an experiment and I haven't test it with real money, be careful
MACD Potential Divergence - FontiramisuIndicator showing potential momentum divergences on MACD Momentum.
The problem with the classic divergence is that when the signal appears, it is sometimes too late to enter a trade .
The potential divergence corrects this problem by signaling the beginning of a potential divergence .
MACD is a momentum indicator that offers relevant insights with divergences.
Potential divergences are indicated with the letter B and a red color for Bearish Div or Green color for Bullish Div .
Potential divergence is confirmed when the line and the label "Bear"' or "Bull" appear.
MACD ScalpsMACD Scalping
50 EMA crosses below 200 EMA = Only shorts
50 EMA crosses above 200 EMA = Only longs
For longs: -> Enter on red MACD bar
For shorts: -> Enter on green MACD bar
Bars not big enough or that do not follow the EMA rule are greyed out.
WSTF RSI2 IndicatorThis is the Indicator replicating the basic RSI(2) created by Wilders.
Buy condition:
(RSI(2) crossed under 10) & (close > EMA(200)) & (EMA(5) > close)
Sell condition:
(RSI(2) crossed over 90) & (close < EMA(200)) & (EMA(5) < close)
You can play around with the script by adjusting the RSI Values, EMA values and crossover & crossunder threshold.
We will update the script with new features in the futures.
Please don't hesitate to share some Ideas or Feedbacks, we would be happy to improve the script for you !
Have fun !
WS TradingFactory
Probability Density Function based MA MACD [Loxx]Probability Density Function based MA MACD is a MACD indicator using a type of weighted moving average.
What is Probability Density Function based MA MACD?
Probability density function based MA is a sort of weighted moving average that uses probability density function to calculate the weights.
Included:
-Toggle on/off bar coloring
BenMACD Wilders LTF (Learning to Fish) PTBH (Paid By The Hour)Howdy folks!
The study/script is based on Wilders MACD , and has its roots in "Learning to Fish", and "Paid by The Hour" , made popular by Daniel on Twitter. This takes Daniel's work a step further.
As stated, this MACD Wilders based study . By using this script in TradingView you can take guesswork out of the "curls" and "I think it's curling up? Let me check the blue line and subtract..." Forget all that. This study alerts you with big red arrows and big green arrows, and a banner and a message. And it makes sounds. Alert for bullish and a different sound for bearish.
This study is timeframe and instrument agnostic. Use it to daytrade, swing trade, or trade pairs. I've personally found a lot of success using this, trading pairs (SQQQ/TQQQ or TNZ/TZA, for example) on the 5m and 15m intervals. It's also been very accurate on PBTH using stocks like SQ or BX.
With arrows showing the MACD curl, it makes trading a lot easier.
Also included are 4 built in alert conditions:
upsignal - A bullish alert for 1 bar on the MACD.
upsignalconfirm - A bullish alert on 2 consecutive bars on the MACD. Confirmation alert.
downsignal - A bearish alert for 1 bar on the MACD.
downsignalconfirm - A bearish alert on 2 consecutive bars on the MACD. Confirmation alert.
I can help setup alerts for you if need be, or if you're fluent in TradingView, you're welcome to do that yourself. The premise here, is that the upsignal is a bullish indicator (and is indicated with a green up arrow on the BenMACD chart) and the downsignal is a bearish indicator (and is indicated with a red down arrow on the BenMACD chart).
The upsignalconfirm and downsignal confirm and alerts built into the code. The alerts themselves will have to be created, but they're already here for easy reference and installation.
BenMACD Wilders LTF ScriptSo the script... some details!
What I've created is a MACD Wilders based study. By using this study, in TradingView you can take guesswork out of the "curls" and "I think it's curling up? Let me check the blue line and subtract...". Screw all that. It alerts you with big red arrows and big green arrows, and a banner and a message. And it makes sounds. Alert for bullish and a different sound for bearish.
It also has a confirmation component.
If you don't think it's worth it I'll gladly refund your $. I also help you set it up and answer any questions you have.
MACD XDThis indicator is based on the classic MACD indicator, and with the following additional features:
1. Another set of MACD and signal lines (green and orange) is added for analyzing a bigger trend in a higher time frame. The default set of MACD and signal lines (red and blue) are used for the smaller trend (current time frame).
2. Small upward and downward triangles are added to mark the golden and death crosses of MACD and signal lines: Blue and red triangles (buy and sell signals) - golden and death crosses of MACD and signal lines for the smaller trend (current time frame), green and orange triangles (buy and sell signals) - golden and death crosses of MACD and signal lines for the bigger trend (a higher time frame).
3. The total areas of histograms above and below the MACD zero axis are calculated and shown by the numbers next to the histogram. This information can be used to analyze the top and bottom divergences of the smaller trend (current time frame).
4. A line connecting peaks of adjacent positive or negative histograms is drawn when top and bottom divergences occur, which indicates a potential trend reversal.
This indicator can be used in the following way: after a golden cross occurs in the bigger trend (green arrow), a death cross in the smaller trend (red arrow) may lead to a potential long entry at the pull back of the bigger up trend; after a death cross occurs in the bigger trend (orange arrow), a golden cross in the smaller trend (blue arrow) may lead to a potential short entry at the pull back of the bigger down trend. Note that in general, golden crosses occur when MACD and signal lines are above the zero axis means a higher high will be made, and death crosses occur when MACD and signal lines are below the zero axis means a lower low will be made. On the contrary, golden crosses occurring below the zero axis or death crosses occurring above the zero axis may only lead to a potential pull back in a trend.
本指标基于经典的MACD指标,适合与缠论指标结合使用:
1. 加入第二组MACD线和信号线,适用于辅助判断缠论中的线段背离。
2. 加入计算直方图(红绿柱子)面积的部分,有助于判断缠论中的笔背离。
3. 标注出两组MACD线与信号线的金叉死叉,以及用特殊颜色表示零轴上方金叉和零轴下方死叉的情况。
4. 用直线标注出顶底背离发生的情况,利于准确分辨和判断。