• Skip to main content
  • Skip to primary sidebar
  • home
  • chart pattern
  • Indicators
  • Swing Trading
  • investing
  • nifty prediction
  • sector indices

trading

macd indicator how to use formula etc

March 7, 2024 by Raju Ginne

What Is MACD? – Moving Average Convergence/Divergence

momentum oscillator

MACD histogram

How this indicator works

 

bullish

  1. MACD crossing above zero is considered bullish, while crossing below zero is bearish.

When the MACD line crosses from below to above the signal line, the indicator is considered bullish.  crossing above to below bearish signal.

  • Divergence between the MACD and the price action is a stronger signal when it confirms the crossover signals.

MACD

 

macd formula

by default MACD line can be calculated by subtracting the value of a 26 period Exponential Moving Average (EMA) from a 12 period EMA. The shorter EMA is constantly converging toward, and diverging away from, the longer EMA. This causes MACD to oscillate around the zero level. A signal line is created with a 9 period EMA of the MACD line.

You can adjust the parameters based upon your own criteria.

macd histogram explained

A MACD histogram is a bar chart that shows the difference between the MACD and its signal line.

How Do You Calculate the MACD Histogram?

MACD: (12-day EMA – 26-day EMA) Signal Line: 9-day EMA of MACD MACD Histogram: MACD – Signal Line
The histogram is positive when MACD is above its 9-day (signal line) EMA and negative when MACD is below its 9-day (signal line).

the MACD-Histogram crosses the zero line as MACD crosses below its signal line.

MACD VS RSI Indicator

There is overbought and oversold zone in MACD. RSI also consider the time along with the price. we can use both RSI MACD Signal to spot the trend.

MACD measures the relationship between two EMAs(26, 12), while the RSI measures price change in relation to recent price highs and lows

 

RSI formula

 

              100
    RSI = 100 - --------
                 1 + RS

    RS = Average Gain / Average Loss

or

  • RSI = 100 – [100 ÷ ( 1 + (Average Gain During Up Periods ÷ Average Loss During Down Periods ))]

The first calculations for average gain and average loss are simple 14-period averages:

  • First Average Gain = Sum of Gains over the past 14 periods / 14.
  • First Average Loss = Sum of Losses over the past 14 periods / 14

The second and subsequent, calculations are based on the prior averages and the current gain loss:

  • Average Gain = [(previous Average Gain) x 13 + current Gain] / 14.
  • Average Loss = [(previous Average Loss) x 13 + current Loss] / 14.

rsi formula excel

About Raju Ginne

AMFI Registered mutual fund distributor based in Hyderabad. you may contact me for mutual funds SIP investments Whatsapp: 9966367675.
nism certified research analyst

Primary Sidebar

Recent Posts

  • Sector Indices Nifty September 12, 2024
  • nifty prediction today tommarrow week analysis PE September 12, 2024
  • Stock market today 10th sept Nifty Analysis Bank, Sector global trends September 10, 2024
  • Pyramiding trading & Position sizing June 12, 2024
  • richard dennis turtle trading strategy trend-following June 12, 2024
  • GFS Strategy by vishal malkan RSI Indicator June 3, 2024
  • Stocks to Watch if BJP Wins 2024 Lok Sabha Elections modi 3.0 stocks sectors May 29, 2024
  • How to find Stocks for Swing Trading chart link & screener May 24, 2024
  • Transfer shares to any demat account online CDSL zerodha to groww May 23, 2024
  • zerodha vs groww charges features find which suits for you May 22, 2024
  • How to find breakout stocks before breakout May 20, 2024
  • rohan mehta strategy turtle Wealth May 17, 2024
  • Momentum Trading Strategies & mistakes May 6, 2024
  • zerodha vs upstox vs groww vs angel broking charges May 4, 2024
  • stop loss exit strategies April 3, 2024

Disclaimer: No buy Sell recommendations, only for education purpose.