### Ticker

6/recent/ticker-posts

# Moving average convergence divergence or MACD

## MACD indicator

MACD or moving average convergence divergence is a popular indicator used in technical analysis of stocks. Various trading strategies are also there using MACD. It is a trend following indicator.

OPEN UPSTOX ACCOUNT

OPEN FYERS ACCOUNT

MACD is made with 3 things. They are
• A faster moving average.
• A slower moving average.
• Average of difference between them.

### Default MACD Settings

Default setting of MACD is 12, 26 , 9 Where 12 is faster moving average, 26 is slower moving average. 9 is 9 bar average of difference between them.

Main components of MACD are,
• MACD Line
• Signal line
• Histogram

### MACD Calculation

#### MACD Line

MACD line is calculated by subtracting slower moving average from faster moving average.

In default MACD , 26 period EMA is subtracted from 12 period EMA.  That means MACD will have a positive value when 12 EMA is above 26 EMA and negative value when 26 EMA is above 12 EMA.

#### Signal Line

9 period average of MACD line is called signal line. It is plotted on top on MACD line.

#### MACD Histogram

MACD histogram shows distance between MACD line and signal line. If MACD line is above signal line, histogram will be green above above baseline. If MACD line is below signal line, Histogram will be red and below baseline.

Main use of histogram is to measure bullish and bearish momentum.

### MACD cross over strategy

MACD cross over strategy is a commonly used strategy. Traders buy a stock when MACD line crosses above signal line and sell when MACD line crosses below signal line. MACD crossing shows a momentum shift. So that property has been used here to develop this strategy.

But being a lagging indicator, the success rate of this strategy may be lower. But you can tweak it to make better by practice and adding some more parameters for entry and exit.

### MACD Divergence Strategy

MACD being a momentum indicator, you can use it to find divergences. Divergence between price and MACD indicator can be a strong tradings signals.
{"ft_lang_label":"__label__en","ft_lang_prob":0.8845398,"math_prob":0.8257769,"size":2064,"snap":"2021-43-2021-49","text_gpt3_token_len":474,"char_repetition_ratio":0.14902912,"word_repetition_ratio":0.0,"special_character_ratio":0.20833333,"punctuation_ratio":0.0948718,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.96013224,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-10-20T04:23:44Z\",\"WARC-Record-ID\":\"<urn:uuid:28872b51-ff19-454f-a4a1-abe6894206db>\",\"Content-Length\":\"200705\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:05524df1-1bff-4b50-9657-ed879c51276b>\",\"WARC-Concurrent-To\":\"<urn:uuid:843fc921-2cc1-4b73-9e1c-b32570e3f6d5>\",\"WARC-IP-Address\":\"142.251.45.115\",\"WARC-Target-URI\":\"https://www.teqmocharts.com/2020/02/macd.html\",\"WARC-Payload-Digest\":\"sha1:TQURNHIWX7IHJ7A7RX2SJC46N2AHDTGQ\",\"WARC-Block-Digest\":\"sha1:PI6CTO54E2BVC3VYDIJTR6XGY4C5JTM5\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-43/CC-MAIN-2021-43_segments_1634323585302.56_warc_CC-MAIN-20211020024111-20211020054111-00174.warc.gz\"}"}