MACD: Everything You Need To Know!The MACD indicator consists of three parts: the MACD line, the signal line, and the histogram. The MACD line is calculated by subtracting the 26-period exponential moving average (EMA) from the 12-period EMA. The signal line is a 9-period EMA of the MACD line, and the histogram represents the difference between the MACD line and the signal line.
Let's break this down a little further. The MACD line is a measure of the difference between the 12-period and 26-period EMAs. When the 12-period EMA is above the 26-period EMA, the MACD line will be positive. When the 12-period EMA is below the 26-period EMA, the MACD line will be negative.
When the MACD line crosses above the signal line, it's considered a bullish signal. This indicates that the trend is likely to continue upward. Conversely, when the MACD line crosses below the signal line, it's considered a bearish signal, indicating that the trend is likely to continue downward.
One of the most popular ways to use the MACD indicator is by looking for crossovers between the MACD line and the signal line. When the MACD line crosses above the signal line, it's considered a bullish signal, indicating that the trend is likely to continue upward. Conversely, when the MACD line crosses below the signal line, it's considered a bearish signal, indicating that the trend is likely to continue downward.
But using MACD isn't just about looking for crossovers. There are several other ways to use the indicator to make informed trading decisions. For example, you can use the MACD histogram to identify divergences between price and the MACD indicator, which can signal a potential trend reversal.
Macdhistogram
Negative Divergences Often Warn of Declines: Bitcoin & Gold Negative Divergences Often Warn of Impending Declines: Bitcoin Highlighted…. Is Gold Next?
OTC:GBTC
COMEX:GC1!
INDEX:BTCUSD
The CMT Association is proud to publish this guest post from Louise Yamada CMT. Louise was a Managing Director and Head of Technical Research for Smith Barney (Citigroup), and while there, was a perennial leader in the Institutional Investor poll and the top-ranked market technician in 2001, 2002, 2003 and 2004. Louise was the 2016 recipient of the CMT Association’s Lifetime Achievement Award.
In these examples we use the moving average convergence divergence (MACD) indicator to illustrate the concept of divergence, to forensically evaluate Bitcoin and to make some forward looking observations on the gold market.
Divergences:
• Negative momentum divergences often warn of impending price consolidations or declines.
• Divergence forms as price moves to a new high while the oscillator fails at a lower high, creating a negative divergence between the oscillator and price.
• Divergences of this type suggest that the underlying momentum may be waning.
Divergences carry different implications depending upon their time frame.
• Daily perspective divergences suggest either a consolidation, or a pullback in an ongoing uptrend.
• Weekly perspective divergences suggest a more sustained consolidation or even a reversal of trend, particularly if important support is violated.
• Monthly divergences have the potential to result in a more sustained decline or even to reverse an uptrend.
MACD sell signals give validity to divergences.
• Monthly signals have much more weight than weekly and daily.
• Monthly divergences don’t always occur prior to monthly MACD sell signals
• But when a sell signal does occur it offers a structural warning.
Graystone Bitcoin Trust (GBTC) Weekly:
• The March 2021 high (A) was followed by a roughly equal price high (B). However, the MACD momentum peaked at a significantly lower high (Line A1-B1), forming a classic divergence that suggested that upward momentum was fading.
• At point C, the weekly MACD moved onto a sell signal (the fast moving average crossed below the slower moving average) strongly suggesting that positions should be either lightened or sold.
• After the sell signal was generated, price declined from 50 to 24.
• A weekly MACD buy signal was then generated at point D. The subsequent rally carried price near the prior high.
• The failure of the MACD to match its prior high warned of potential weakness.
• The MACD generated another sell signal at point E, suggesting lightening or selling positions. Price offered another decline from 50 to 24.
• After a multi-week consolidation in March-April 2022, price broke below the support @24 (S1-S2).
• MACD continues to decline, suggesting that the price decline may not be over, notwithstanding interim rallies.
• Before considering a new long, evidence of stabilization at a low and the gradual reversal of the daily, weekly and eventually, monthly MACDs would be required.
Grayscale Bitcoin Trust (GBTC) Daily
• On the daily perspective chart that there is a divergence from price (A-B) and the MACD (C-D)
• The divergence warned of the possibility of bearish developments spreading to the weekly and monthly.
Graystone Bitcoin Trust (GBTC) Monthly:
• The monthly chart also shows a divergence at points MD1 and MD2 and on the histogram at MD3 and MD4.
• At the second price high (B), MACD hadn’t yet generated a sell signal, but it was beginning to flatten and roll over.
• One can also see the falling histogram, as the MACD narrows (blue arrow), and the divergence progressed, until it finally generated a clear sell.
• Price lingered above the support at 24 (S2) for several months providing ample time to adjust positions before the May 2022 price breakdown.
Momentum is still declining, suggesting that it’s too soon to consider re-entry, notwithstanding interim rallies, which can carry into resistance, formerly support.
Graystone Bitcoin Trust (GBTC) relative to SPX Weekly:
• One can also note a similar warning in the weekly Relative Strength (RS) negative divergence.
• In this case the RS for BITCOIN/SPX was also suggesting a change from a period of relative overperformance to one of relative underperformance.
Is Gold Next?
Gold is displaying many of the same long term MACD warning behaviors evident in the GBTC chart.
COMEX Gold Daily:
• Despite the May 2020 (R1) and 2022 (R2) price peaks being roughly equal, the MACD (R3 & R4) peaked at a much lower level.
• A MACD Sell signal occurred after the 2020 peak (R3), alerting to the possible price decline, which eventually carried to the March 2021 low near 1,700 (S1).
• The lower March 2022 MACD peak (R4) also registered a sell signal, suggesting one might lighten positions.
COMEX Gold Monthly:
• There is a monthly multi-year MACD negative divergence between the 2012 (R1) and 2022 (R2) price peaks.
• In 2012, the monthly MACD structural sell signal (R3) was very effective as price collapsed toward 1,100 on the sell signal.
• In March 2022, the MACD, registered another major monthly sell (R4), and then subsequently rallied to test the high (R2) without generating a new buy signal (A), a sign of weakness.
• The MACD has remained negative and appears poised to perhaps continue down.
• This suggests that Gold may be in danger of a potentially large decline, especially if support at 1,700 is broken.
• Such a breach could easily find support at the breakout level from the 2013 to 2019 basing pattern at 1400.
• It is possible, however, that although GOLD has broken out in many other currencies, the extraordinary current strength in the US dollar may be contributing to the Gold disappointment.
Louise Yamada CMT
LYAdvisors LLC
using MACD histrogram as a volatility toolMany traders use the MACD for divergence or crossover signals. It is my opinion that market participants trade almost every oscillator this way. This I find rather simplistic and not respecting what the data shows you. In this tutorial I will show a new approach to reading the MACD, obviously I'm probably not the only person who looks at MACD this way however.
MACD colors:
blue = MACD
orange = Signal line
green and red waves = histogram
The MACD is based on the distance between 2 exponential moving averages. The signal line is a smoothed version of the centered oscillator that difference creates. And the histogram is the difference between the MACD and signal line, this is extremely simple.
On the chart I have plotted these 2 EMA's for clarifying my approach to the MACD. Notice that when price rapidly changes these 2 lines move away from eachother, we see the MACD line also move away from the signal line in the process creating a big histogram wave. After the trend becomes less volatile and more one directional the EMA's stay at the same distance from eachother. This creates a flat histogram.
The trading approach I'm showing here is that instead of trading tops and bottoms from the histogram/crossovers you use the MACD as a directional tool and you use the histogram as a volatility tool. We wait for a crear trend to get established after a big histogram wave and then for the trend to stabilise: MACD histogram flattening. Now we have a one directional trend and it is a good place to start opening positions in the trend direction as it is stable.
Notice how we got a nice discount after the trend stabilised and became on directional. I provide below some snapshots of how the market looked when trades would have been opened:
long setup:
short setup:
result:
Use this information with caution as these examples are obviously cherry picked. I hope this gives some perspective on using the MACD in your trading arsenal.
The MACD explained ! All you need to know about it Hello everyone, as we all know the market action discounts everything :)
_________________________________Make sure to Like and Follow if you like the idea_________________________________
In this video, I am gonna explain what is the MACD and how to use it and how to identify buy and sell signals using this indicator.
So what is the MACD, The MACD is a trend-following momentum indicator (so a momentum indicator is a technical analysis tool that allows us to determine the strength or weakness of a stock's price movement )
There are a lot of people that use the MACD when they analyze charts because it's very simple and it's very good but I always say never just use 1 indicator to analyze a chart, always try to use at least 3 this way u can make sure that the result is more accurate and the market most likely to move as u analyzed.
let's look at the theory behind the MACD before looking at a real-life example and how to identify buy and sell signals using this indicator :
The typical settings for the MACD are 12 26 and 9.
The MACD consist of 4 parts :
1) Zero line
2) MACD line
3) Signal line
4) Histogram
We start off with our zero line and this is where the MACD line and the signal line move around and basically so if the MACD is trading above the 0 line then it's bullish and if it's under then it's bearish.
Then we have the MACD line and it comes from the 12 26 section, and it gets calculated by subtracting the 26 EMA of the price out of the 12 day EMA of the price.
And after that we have a second line that gets plotted from the 9 section so basically, it’s a moving average for the MACD line so it tries to smooth the MACD line and give us some signals and it's called the signal line.(it's called a signal line because that's where we get our buy and sell signals from)
So on top of that, we have another part in this indicator which is called the histogram. So this histogram job is to show how close these lines will crossover, so when the distance between the MACD line and the signal line is far the histogram gets bigger and bigger.
So how do we use this indicator :
1) Crossovers between the MACD line and the Signal line.
* When the MACD line crosses above the Signal line then its a buy signal (Bullish Crossover)
* When the MACD line crosses below the Signal line then its a sell signal (Bearish Crossover)
2) The Histogram .
A lot of people use histograms as a way to predict when a reversal will occur.
We know that the MACD is a momentum indicator so it can show us when sell pressure is low. And that means it might be a good time to buy. And It can tell you when your long position is about to run out of steam and when you should exit.
3) Divergences between the MACD and the Market Price .
A Divergence means that the indicator is not moving in sync with the Market Price and a Reversal could happen (Note that Reversal trading is risky so please calculate your risks before using this Strategy)
always remember that :
Bullish divergence is when the Market price is going down but the MACD is going up.
Bearish divergence is when the Market Price is going up but the MACD is going down.
I hope I’ve made the MACD easy for you to understand and please ask if you have any questions .
Hit that like if you found this helpful and check out my other video about the Moving Average, Stochastic oscillator, The Dow Jones Theory, How To Trade Breakouts and The RSI. links will be bellow
Using the Moving Average Convergence Divergence (MACD)MACD – What it is
The Moving Average Convergence Divergence (MACD) is the momentum indicator that shows the relationship between two different moving averages:
1. The 12 period exponential moving average – On Tradingview it is the Fast Length.
2. The 26 periods exponential moving average –On Tradingview it is the Slow Length.
The MACD line is calculated by subtracting the 26 period EMA from the 12 period EMA.
The Signal line is the 9 period exponential moving average.
These two lines are then plotted on top of each other. These are the two lines you see when you turn on the MACD indicator.
Additionally, there is a histogram that shows the distance between the two lines. Larger bars tell us that the MACD and Signal are further apart.
When it comes to candles, size matters. The larger the candle the more momentum the trend has.
The histogram will turn green when the MACD line is above 0 (bullish) and it will turn red when the MACD line is below 0 (bearish).
Very bearish momentum is shown above. Photo was taken May 23, 2021.
How to use the MACD
The most important thing to know about the MACD is how to read the relationship between the two lines.
I’ve found that the best timeframe to use the MACD with is daily. This is because the MACD is a lagging indicator and using daily data prevents a lot (not all) of false buy and sell signals.
These signals are:
• When the MACD line crosses above the signal line it is a buy signal
• When the MACD line crosses below the signal line it is a sell signal
Additionally, it is best to use the MACD in a trending market; a market with a clearly defined up or down trend.
Using the MACD with trend lines is a very powerful combination.
The reason for this is that if the market is moving sideways, you can see small fluctuations where the MACD and Signal Line cross but the price does not really go anywhere. These are false breakouts.
Therefore, these signals are not automatic buys and sells.
There are ways of confirming the indications from the MACD chart.
One way is a strategy that uses the RSI and MACD together (which is beyond the scope of this text, but I will discuss in my next article).
Another way is to use the MACD with the current trend. So, if you are in an uptrend and then you see a bullish cross, then this is confirmation that you are likely to go higher.
The same is true in reverse.
Also, please note that the cross over happens well after the price either stabilizes or rises. Again, this is because the MACD is a lagging indicator.
Leading Indicator?
Since the MACD and Signal lines are lagging indicators is there something that can be used in a predictive way?
Some traders use the histogram as a way to predict when a reversal will occur.
Since the MACD is a momentum indicator it can show us when sell pressure is alleviating. Meaning it might be a good time to buy.
This doesn’t always work of course, but with good risk management (stop losses) you can often get into a position well before its breakout.
Conversely, it can show you when your long position is running out of steam and can warn you when to get out.
MACD Divergence
Another useful way to use the MACD is to spot divergences.
A bullish divergence, very similar to the RSI, is when the short-term price trend is going down but, the MACD is going up.
Bearish divergence, also very similar to the RSI, is when the price trend is going up but, the MACD is going down.
Trading this way is sometimes not a good idea because you are trading against the trend. Please practice good risk management if you are trading reversals.
Also, notice the buy signal right before the sell signal that is circled. I really want to hammer home the point that the signals are not automatic buys and sells.
Price action is a great way to confirm the reversal (to the up or down side) of a trend. Because simply spotting a divergence does not guarantee the price will follow.
Final thoughts
As you can see there are different ways of successfully using the MACD. I hope I’ve made a few of these ways clear in this beginner guide.
Please let me know if you have any questions and if you like it, please hit the thumbs up and be sure to follow for more.
Links to my Fibonacci Retracement and RSI guides are below.
Thanks for reading!
MACDH | Gunbot trading strategyThis is an example of Gunbot trading with the MACDH strategy. Gunbot is a multi platform crypto trading bot.
About this strategy
This strategy is based on the MACD histogram, taking advantage of signals that indicate a MACD signal line crossover is likely.
A buy order is placed when the MACD histogram crosses up the zero line. A sell order will be placed when the MACD histogram drops below 0.
Settings used
This example uses the "pure" version of the MACDH strategy, meaning both the buy method and sell method are set to use MACDH. MFI is used as confirming indicator.
The following relevant settings were used, all other settings were set to the defaults:
PERIOD: 60
MACD_SHORT: 5
MACD_LONG: 13
MACD_SIGNAL: 3
MFI_ENABLED: true
MFI_BUY_LEVEL: 40
MFI_SELL_LEVEL: 20
Full disclosure
I am the author the Gunbot wiki. This content is only meant as educational material to show an example of how Gunbot can be used, disclosing the full strategy settings used.
Disclaimer
While every effort has been made to ensure these simulations of Gunbot contain the same logic as Gunbot, they will not always buy or sell at the exact same time or prices as Gunbot (because of TradingView's inability to use ticker prices). This is close as you can get in TradingView to the real thing. Backtesting the past does NOT guarantee profit in the present or future.
Please don't use these exemplary settings without doing your own research. Results can vary depending on the chosen market and it's conditions.
How To Trade Histogram IndicatorsHistograms such as MACD histogram or my Ichimoku histogram give two kind of trading signals.
One is common and is triggered on each price bar. The other happens less often but is extremely powerful.
The common signal is triggered by the slope of the histogram. When the most recent bar is greater than the one before, the slope is bullish. This is saying that bulls have the situation in control and that it is time to buy. When the more recent bar is lower than the one before, the slope is bearish. This shows that bears have control and that it is time to sell. When price action is going in a direction but the histogram in another, it tells us that the trend is losing its strength.
Rule #1
Buy or go long when the histogram stops falling and rise a little. Use a protection stop under last support.
Rule #2
Sell or go short when the histogram stops rising and falls a little. Use a protection stop above last minor resistance.
In lower timeframes, it is not be worth to buy and sell every time the histogram reverses. A change of direction of the histogram incline is much more significant on higher timeframes such as Daily or Weekly.
Rule #3
Bearish divergence: Sell or go short when the histogram is reversing from its second lower high and price is on a new high. Place a protection stop above the new high.
Rule #4
Bullish divergence: Buy or go long when the histogram is starting to reverse from its second higher low and price is on a new bottom. Place a protection stop under the new low.
Past history candlestick analysis for Hartalega
On March 8, 2018, an Inverted Hammer + Bullish Engulfing appeared, signifying a change to the down trend. This is further confirmed by the support line in blue.
Stock rallied for roughly a month plus until April 12, where a Hanging Man appeared (Note the Hanging Man is not as potent as a Shooting Star, but it still gives the signal that the bullish trend is coming to an end). The trend then start to change.
Stock goes downwards and tumbled, until a bullish engulfing pattern emerges on April 25 - 26. Interestingly, this happened 3 times! Triple bullish engulfing pattern! This also serves as a support line, which supported the price level on June 28 - 29.
Stock rallied up and hit a bearish Harami pattern on June 11 - 12, signalling that bull has lost it's momentum. Stock drops and hit the support line where a bullish engulfing pattern appears, and then goes upwards until it hits a Doji on July 2. Market comes to a neutral tone and market is unsure to go up or go down.. in the end it goes downwards.
Price could go further down until it hits the support line and change upwards, depending on the candlestick formation at that time. If it goes down it would hit the second support line formed by the inverted hammer.
Notice the MACD histogram is showing an upward trend, signifying an uptrend of price.