TraderEvolution
  • TraderEvolution Guide
  • TraderEvolution for Desktop
    • Windows
      • How to...
      • Getting started
        • System requirements
        • Installation and login
        • General settings
        • Hotkeys
        • Managing columns
        • Workspaces
        • Arranging panels
        • Top menu, Side bar, Info bar, Status bar
        • Panel settings
        • Alerts
        • Symbol & Account lookups
      • Analysis tools
        • Chart
          • Chart overview
          • Chart settings
          • Chart templates
          • Aggregation types overview
          • Cluster chart
          • Profile chart
          • Drawings
            • Drawing basics
            • Long/Short position
            • Fibonacci tools
          • Level ll data on chart
          • Object manager
          • Chart overlay
          • Context menu
          • Dividend payment history
          • Volume analysis
            • Price statistics
            • Volume profile
            • Volume bars
            • Volume dots
            • Bar statistics
            • Time & Sales analysis
            • VWAP+
        • Grid
        • Watchlist
        • Time & Sales
      • Technical indicators
        • Settings
        • Channels
          • BB (Bollinger bands)
          • BBF (Bollinger bands flat)
          • Price channel
          • Keltner channel
          • MAE (Moving average envelope)
        • Moving averages
          • EMA (Exponential moving average)
          • KAMA (Kaufman adaptive moving average)
          • LWMA (Linear weighted moving average)
          • MAS3 (3MASignal)
          • MD (McGinley dynamic)
          • MMA (Modified moving average)
          • PPMA (Pivot point moving average)
          • Regression line
          • SMA (Simple moving average)
          • SMMA (Smoothed moving average)
        • Oscillators
          • AC (Acceleration oscillator)
          • AO (Awesome oscillator)
          • Aroon
          • CCI (Commodity channel index)
          • CMO (Chande momentum oscillator)
          • KRI (Kairi relative index)
          • MACD (Moving average/convergence divergence)
          • Momentum
          • PO (Price oscillator)
          • PPO (Percentage price oscillator)
          • QStick
          • RLW (%R Larry Williams)
          • ROC (Rate of change)
          • RSI (Relative strength index)
          • Stochastic (Stochastic slow)
          • Stochastic RSI
          • TSI (True strength index)
        • Trend
          • ADX (Average directional movement index)
          • Alligator
          • DMI (Directional movement index)
          • ICH (Ichimoku)
          • Pivot point
          • SAR (Parabolic time/price system)
          • SI (Swing index)
          • ZZ (ZigZag)
          • YHL (Yesterday's high low)
        • Volatility
          • ATR (Average true range)
          • HV (Historical volatility)
          • SD (Standard deviation)
        • Volume
          • MFI (Money flow index)
          • OBV (On balance volume)
          • PVI (Positive volume index)
          • RVOL (Relative Volume) & RVOLBS (Relative Volume Beasley Savage)
          • Volume
        • Other
          • Didi index
          • EATR (Envelopes ATR)
      • Trading panels
        • Order entry
          • Position sizing
        • Super DOM
        • Market depth
        • Matrix
        • Scalper
        • Visual trading
        • Option master
          • Overview
          • Option chain
          • Analyzer
          • Volatility lab
      • Account management
        • Working orders
        • Orders history
        • Filled orders
        • Saved orders
        • Close account requests
        • Positions
        • Synthetic instruments
        • Account operations
        • Assets
        • Statement
        • Subscriptions
        • Copy trading
      • Account information
        • Accounts
        • Account statistics
        • Managed account statistics panel
        • Positions balance
        • Currencies exposure
        • Reports
      • Informative panels
        • Gainers/Losers list
        • Market consensus list
        • High/Low list
        • RSS
        • News
        • Video
        • Internal Browser
        • Economic calendar
        • IPO calendar
        • Heat map
        • Dividends calendar
        • Notifications
        • Event log
      • Strategy manager
        • Overview
        • Strategy list
        • Chart section
        • Active positions/orders section
      • Trading ideas
      • MAM system
        • MAM basics
        • Creating MAM group
        • Trading in MAM
      • More
  • TraderEvolution for Mobile
    • Phones
      • Getting started
      • Settings
      • Watchlist
      • Symbol info
      • Chart
      • Technical indicators
        • Settings
        • Channels
          • BBF (Bollinger bands flat)
          • Price channel
          • BB (Bollinger bands)
        • Moving averages
          • SMA (Simple moving average)
          • LWMA (Linear weighted moving average)
          • SMMA (Smoothed moving average)
          • MMA (Modified moving average)
          • EMA (Exponential moving average)
        • Oscillators
          • Stochastic (Stochastic slow)
          • ROC (Rate of change)
          • RSI (Relative strength index)
          • Aroon (Dawn's early light)
          • CMO (Chande momentum oscillator)
          • CCI (Commodity channel index)
          • Momentum
          • MACD (Moving average/convergence divergence)
        • Trend
          • ADX (Average directional index)
          • SAR (Parabolic time/price system)
          • ICH (Ichimoku)
        • Volatility
          • SD (Standard deviation)
          • ATR (Average true range)
        • Volume
          • OBV (On balance volume)
          • MFI (Money flow index)
      • Order entry
        • Visual trading
        • Position sizing
      • Orders
      • Trading ideas
      • Positions
      • Positions balance
      • Assets
      • Market depth
      • Option chain
        • Option strategies
      • Market consensus list
      • Event log
      • Account details
      • Statement
      • MAM summary
      • Alerts
      • My Portfolio
        • Getting started
        • Performance
        • Return
        • Growth
        • Metrics
        • More
      • Video
      • Notifications
      • Auto-invest
      • More
      • Subscriptions
    • Tablets
      • Getting started
      • Settings
      • Watchlist
      • Symbol info
      • Chart
      • Technical indicators
        • Settings
        • Channels
          • BB (Bollinger bands)
          • Price channel
          • BBF (Bollinger bands flat)
        • Moving averages
          • EMA (Exponential moving average)
          • MMA (Modified moving average)
          • SMMA (Smoothed moving average)
          • LWMA (Linear weighted moving average)
          • SMA (Simple moving average)
        • Oscillators
          • MACD (Moving average/convergence divergence)
          • CCI (Commodity channel index)
          • CMO (Chande momentum oscillator)
          • Aroon (Dawn's early light)
          • RSI (Relative strength index)
          • ROC (Rate of change)
          • Stochastic (Stochastic slow)
          • Momentum
        • Trend
          • ICH (Ichimoku)
          • SAR (Parabolic time/price system)
          • ADX (Average directional index)
        • Volatility
          • ATR (Average true range)
          • SD (Standard deviation)
        • Volume
          • MFI (Money flow index)
          • OBV (On balance volume)
          • PVI (Positive volume index)
      • Order entry
        • Visual trading
        • Position sizing
      • Orders
      • Trading ideas
      • Positions
      • Positions balance
      • Assets
      • Market depth
      • Option chain
        • Option strategies
      • Market consensus list
      • Event log
      • Account details
      • Statement
      • MAM summary
      • Alerts
      • Notifications
      • Auto-invest
      • Video
      • Subscriptions
      • My Portfolio
        • Getting started
        • Performance
        • Return
        • Growth
        • Metrics
        • More
      • External links
  • TraderEvolution for Web
    • Getting started
      • System requirements
      • Login screen
      • Explore the app
      • General settings
      • Hotkeys
      • Managing columns
      • Workspaces
      • Arranging panels
      • Top menu and Status bar
      • Alerts
      • Symbol & Account lookups
    • Analysis tools
      • Chart
        • Chart overview
        • Chart settings
        • Drawings
        • Chart overlay
        • Context menu
      • Grid
      • Watchlist
      • Time & Sales
    • Technical indicators
      • Settings
      • Moving average
        • MD (McGinley dynamic)
        • Regression
        • SMMA (Smoothed moving average)
        • PPMA (Pivot point moving average)
        • SMA (Simple moving average)
        • EMA (Exponential moving average)
        • MMA (Modified moving average)
        • LWMA (Linear weighted moving average)
        • Multi EMA
      • Oscillators
        • MACD (Moving average/Convergence divergence)
        • RSI (Relative strength index)
        • PO (Price oscillator)
        • Momentum
        • CCI (Commodity channel index)
        • Aroon
        • KRI (Kairi relative index)
        • PPO (Percentage price oscillator)
        • RLW (%R Larry Williams)
        • ROC (Rate of change)
        • QStick
        • TSI (True strength index)
        • Stochastic (Stochastic slow)
        • RSI Laguerre
      • Channels
        • BB (Bollinger bands)
        • Keltner channel
        • Price channel
        • MAE (Moving average envelope)
      • Volume
        • Volume
        • VWAP (Volume weighted average price)
        • OBV (On balance volume)
      • Trend
        • SI (Swing index)
        • Pivot point
        • Alligator
        • SAR (Parabolic time/price system)
        • Fractals
      • Volatility
        • ATR (Average true range)
        • CMO (Chande momentum oscillator)
        • SD (Standard deviation)
    • Trading panels
      • Market depth
      • Order entry
        • Position sizing
      • Visual trading
      • Option master
        • Overview
        • Option chain
        • Analyzer
        • Volatility lab
    • Account management
      • Working orders
      • Orders history
      • Saved orders
      • Filled orders
      • Close account requests
      • Positions
      • Assets
      • Statement
      • Subscriptions
      • Copy trading
    • Account information
      • Accounts
      • Positions balance
    • Informative panels
      • Event log
      • Notifications
      • Video
      • Internal Browser
    • Trading ideas
    • More
  • EvoCode
    • Getting started
      • About EvoCode
      • Starting EvoCode
      • Creating a new module
      • General settings
    • Dictionary tool
    • Editing panel
      • Source code editing
      • Editing types/Scripts setup
      • Output & Watch
    • Backtesting panel
      • Backtester
      • Statistics
      • Backtesting Types/Setup
      • Running a backtest
      • Working orders & Positions
      • Orders & Positions history
      • Filled orders
      • Logs
      • Saving scripts, importing and exporting script settings
  • Investing
    • Getting started
    • Portfolio
      • Getting started
      • Positions
      • Positions balance
      • Assets
      • Orders
      • Operations
    • Watchlist
      • Chart
      • Info window
      • Option master
        • Option strategies
    • Discover
      • Symbol lookup
      • Thematic lists
      • Top gainers/Top losers
      • High/Low
    • Trading ideas
    • MAM summary
    • Auto-invest
    • Video
    • More
Powered by GitBook
On this page
  • Calculation
  • Main parameters
  1. TraderEvolution for Mobile
  2. Tablets
  3. Technical indicators
  4. Oscillators

MACD (Moving average/convergence divergence)

Moving average convergence-divergence (MACD) is one of the most popular momentum indicators used by traders. MACD takes 2 moving averages and turns them into a momentum oscillator by subtracting the longer period moving average from the shorter period moving average. What makes MACD unique among oscillators is that it can be used as a trend tracking tool or momentum indicator. The most common signals monitored by the traders are signal line crossings, center line crossings, and divergences. Since the MACD is an unbounded oscillator, it is not particularly useful for identifying overbought and oversold levels.

The MACD was invented by Gerald Appel in the 1970s, and in 1986, Thomas Aspray added a histogram to the MACD as a means of predicting MACD crossovers.

The MACD is considered a trend-following tool due to the use of moving averages. By subtracting the longer period moving average, the MACD converts from a lagging indicator to a momentum oscillator. MACD fluctuates above and below zero without any upper or lower boundaries.

Crossovers

The basic rule of MACD trading is to sell when the MACD falls below the signal line. Likewise, a buy signal occurs when the Moving average convergence/divergence rises above the signal line. It is also popular to buy/sell when the MACD goes above/below zero.

Divergence

An indication that the end of the current trend may be near occurs when the MACD diverges from the symbol. A bullish divergence occurs when the Moving average convergence/divergence indicator reaches new highs while prices fail to reach them. A bearish divergence occurs when the MACD makes new lows while prices fail to reach new lows. Both of these divergences are most significant when they occur at relatively overbought/oversold levels.

Calculation

The MACD is calculated by subtracting the 26-period exponential moving average value from the 12-period exponential moving average. A 9-period dotted simple moving average of the MACD (signal line) is then plotted on top of the MACD.

MACD = EMA (CLOSE, 12) – EMA (CLOSE, 26)

SIGNAL = SMA (MACD, 9)

Where:

  • EMA — Exponential moving average;

  • SMA — Simple moving average;

  • SIGNAL — the signal line of the indicator.

Main parameters

  • Apply to – determines the type of price at which the moving average is calculated, available values: Close, Open, High, Low, Median, Typical, Weighted;

  • Fast EMA interval –number of periods for calculating the exponential moving average, 12 by default (classic value for this indicator);

  • Slow EMA interval – number of periods for calculating the exponential moving average, 26 by default (classic value for this indicator);

  • Signal EMA interval – defines the period of a signal line, 9 by default.

This indicator looks as follows on the chart:

PreviousOscillatorsNextCCI (Commodity channel index)

Last updated 10 months ago