
Start Here
Platform

Tour
Bots 101How it worksLive demo
Tools
Automated tradingOptions backtestingWatchlist scannerPrivate community
Use cases
New investorsStock tradersActive tradersPassive investorsSwing tradersAlgorithmic traders

Templates
By trade type
Stock trading botsOptions trading bots
By strategy type
Bullish options strategiesNeutral options strategiesBearish options strategiesHedging strategies
By style
Active and high frequency botsEvent-based botsTrend trading botsMomentum trading botsStatistic and probability-based botsTechnical analysis botsEarnings strategy bots

Integrations

Pricing
Education

Courses
Overview
By experience
Beginner
What is an options contract?Stock trading vs. options tradingOptions contract specificsCall vs. put options basicsBuying options vs. selling optionsOptions profit and loss diagramsOptions pricing tablesOption moneyness (ITM, OTM, and ATM)Options pricing and the "Greeks"Options expiration and assignmentWhat's our "edge" trading options?Single vs. multi-leg options strategiesSmall account options strategies
Intermediate
Fearless, confident options tradingHistorical volatility vs. implied volatilityPredicting market movesTrade size and capital reservesPortfolio balance and beta weightingHow to choose the best options strategyHow far out to place trades?Strike price anchoring with probabilitiesTips on getting your trades filledAdvanced and contingent orders7 step options trade entry checklist
Advanced
Developing a daily trading routineHow to avoid "Black Swan" eventsAdjusting and hedging option tradesExiting options trades automaticallyOptions strategies we don't adjust (and why)Big picture adjustment strategyWhen to adjust or notAdjusting straddles and stranglesAdjusting credit spreads, iron condors, and calendarsSmarter stop-loss ordersBuilding a diversified options portfolioRolling options trades for duration and premiumOptions expiration week position checklistDealing with stock assignment and dividendsHow to free up trading margin and cash
By subject
Options basics
Why options vs. stocks?What is an options contract?Smart use of leverageOption strike priceOption premiumOption expirationOption contract multiplierProfit and loss diagramsLong call option explainedShort call option explainedLong put option explainedShort put option explainedATM, ITM, and OTM optionsCash vs. margin basicsHigh probability trading definedHow to buy a call optionHow to buy a put optionSingle-leg vs. multi-legWhat is the VIX?Is fundamental analysis dead?
Entering and exiting trades
Game of numbers7 step entry checklistStrong liquidity examplesPicking the next directionScanning for tradesOption pricing table basicsSetting up your trade tabPinning your probability of profitUsing delta for probabilitiesBuy to open vs sell to openBuy to close vs sell to closeMarket, limit, stop loss orders5 types of contingent ordersLimit ordersMarket ordersLimit on close ordersMarket on close ordersAdvanced contingent ordersTaking profits before expirationMechanics of rollingConsider future events
Options expiration
Options expiration explainedWhat is the Options Clearing Corporation (OCC)?Physical vs. cash settlement optionsAmerican vs. European style optionsWeekly options expirationWeekly expiration tags/codesOptions assignment processOptions exercise processTrading timeline (duration)
Bullish options strategies
Bull put spreadBull call spreadLong callShort putBull call backspreadPut broken wing butterflyCall calendar spreadPut diagonal spreadCustom naked putCovered callSynthetic long stock
Neutral options strategies
Short straddleLong straddleIron condorsShort strangleLong strangleIron butterflyUnbalanced iron condors
Bearish options strategies
Bear call spreadBear put spreadLong putShort callBear put backspreadCall broken wing butterflyPut calendar spreadCall diagonal spreadCustom naked callCovered putSynthetic short stock
Portfolio managmeent
No guaranteed tradesDon't do something, sit thereAccount size adjustmentsAvoiding stock market overloadStocks, indexes, & ETFsMonitoring positionsCreating automatic alertsIndividual stock betaPortfolio betaBeta weighting your portfolioUncorrelated industries/sectorsSystematic vs. unsystematic riskEfficient portfolio frontierLimiting undefined risk tradesEconomic calendarConcept of legging
Options pricing and volatility
How to find option price quotesUnderstanding the mathIV vs. IV percentileProbability of profit vs. probability of touchOption probability curveBid-ask spread definedIV expected vs. actual moveThe "Greeks"Fatal pricing errorsInverse ETFsOptions parity
Adjusting trades
#1 adjustment for any tradeWhen to adjust a tradeSingle options trade vs. overall portfolioCall spread adjustmentsPut spread adjustmentsShort strangle adjustmentsIron condor adjustmentsShort straddle adjustmentsCalendar spread adjustmentsDebit spread adjustmentsButterfly adjustmentsUsing stop lossesDelta hedgingRolling positionsPairs hedging

Strategies
OverviewLong callLong putShort callShort putCovered callCovered putProtective putCollar strategyLEAPSBull call debit spreadBear call credit spreadBull put credit spreadBear put debit spreadLong straddleShort straddleLong strangleShort strangleCall calendar spreadPut calendar spreadIron condorReverse iron condorIron butterflyReverse iron butterflyCall butterflyPut butterflyStrapCall diagonal spreadPut diagonal spreadCall ratio spreadPut ratio spreadCall backspreadPut backspreadLong box spreadShort box spreadReversalStock repair

Topics
OverviewAsset allocationAutomated tradingBehavioral financeBondsBrokersCandlestick patternsChart patternsDay tradingDividendsEconomic indicatorsEconomicsETFsEquity investmentsExercise & assignmentFinancial analysisFinancial historyFinancial marketsFinancial modelingFinancial theoriesFundamental analysisFuturesInvesting basicsInvestment accountsInvestment taxesInvestor biasesMarket holidaysMarket hoursMarket indexesMarket indicatorsMomentum tradingOptionsOptions pricingOptions settlementPortfolio managementRisk managementStocksStock marketSwing tradingTechnical analysisTechnical indicatorsTrading commissionsTrading platformsTrading psychologyTrend tradingGlossary
Resources

Workshops

Podcast

Blog
Support

Help Center
Overview
Getting started
What is a bot?Creating a bot
Using the bot wizard
Automation typesAutomation editorBot dashboardBot positionsBot logTemplates and cloningKey conceptsSafeguards and limitsPower of botsBest practices
Bot automations
What is an automation?Scanner automationsMonitor automationsEvent automationsEditing automationsReusing automationsCopying automationsOrdering automationsUsing custom inputsBot level inputsAutomation statusesAutomations library
Bot actions
DecisionsOpen positionClose positionNotificationsLoop symbolsLoop positionsBot tagsPosition tags
Bot examples
Genesis 1.0 botGenesis 2.0 botGenesis 3.0 botTrend trading with stocks botPortfolio trend trading botTrend trading with options botMultiple moving averages botTechnical swing trading botTrend and momentum botWeekly credit spread botRecurring iron condors botThe "Honey Badger" botHybrid spreads botHigh IV rank iron condor bot
Decision recipes
Comparing underlying symbol priceEvaluating symbol typeEvaluating underlying symbol OHLCComparing underlying symbol propertiesEvaluating underlying symbol performanceEvaluating underlying symbol standard deviationComparing underlying symbol price to an indicatorComparing multiple underlying symbol indicatorsEvaluating underlying symbol implied volatility rankEvaluating underlying symbol earnings reportingEvaluating underlying symbol price probabilityEvaluating underlying symbol probability within rangeEvaluating bot propertiesEvaluating bot available capital for opportunitiesComparing bot position count to position typeComparing bot position count to underlying symbolEvaluating bot position count to position type and underlying symbolEvaluating bot last position activityEvaluating bot last activity with underlying symbolEvaluating bot position activity historyEvaluating bot position activity history with underlying symbolComparing bot active orders statusComparing bot active orders status with underlying symbolEvaluating bot position availabilityEvaluating bot tagsEvaluating opportunity availabilityEvaluating opportunity return expectationsComparing opportunity attributesComparing opportunity leg attributesComparing opportunity bid-ask spreadEvaluating opportunity probabilitiesEvaluating position performanceComparing profit target to trailing valueComparing position time to expirationComparing position durationEvaluating position underlying symbolComparing position propertiesComparing position leg propertiesEvaluating position typeEvaluating position sideComparing underlying symbol price to position legEvaluating position tagsEvaluating underlying symbol indicator propertiesComparing multiple underlying symbol indicator propertiesEvaluating MACD technical indicatorComparing Bollinger Bands to symbol priceEvaluating stochastic technical indicatorComparing VIX propertiesEvaluating market time of the dayEvaluating days of the weekEvaluating bot switches
Position statement
Activity summaryPosition detailsTrade detailsOpened positionsClosed positionsCanceled positionsOverride positionsExpired positionsPosition historyManually open positionManually close positionImport position
Order pricing
SmartPricingFinal price settingsPosition summaryOrder detailsWorking ordersManual override
Bot templates
Creating new templatesUpdating existing templatesDeleting templatesSharing templatesUpdating shared templatesTemplate best practices
Cloning bots
Cloning existing botsCloning from templateCloning from shared template
Troubleshooting
Using bot logsTesting your botsNot enough capital warningDaily position limit warningTotal position limit warningPricing anomaly warningMissing or invalid input errorDaily symbol limit errorExcessive errors failsafeOverlapping strikes failsafePrice exceeds strike-difference errorOptions expiration protocolDuplicate orders errorOptions approval level errorBot event loopsStock splits and corporate actionsSupported browsersSupported countries
Community forum
Community guidelinesCrafting your introductionSending group messagesSending private messagesAttaching bot templatesReceiving bot templatesAttaching automationsReceiving automationsFollowing tradersPosting publiclyEditing posts and messagesSubscribed discussionsUsing bookmarks
Using backtester
Running a new backtestBacktesting results summaryModifying existing backtestsMy backtestsInstantly create bot from backtestBacktesting research databaseTop backtestsBacktesting errors
Account settings
My profileTrading accountsConnecting to TDAmeritradeConnecting to TradeStationConnecting to TradierIncompatible accountsPassword managementSession timeoutTwo-step authentication
Technical docs
Infrastructure and securityAutomation structureAutomation behaviorData feedsOrder handlingTrade enforcementsBroker rejection errorsBot limitationsProfit and lossFair value pricingDecision propertiesDecision calculationsParameter selectionCalculating probabilityPlatform indicators

Contact
Send FeedbackReport IssueEmail Us
Option AlphaOption Alpha

LoginSign Up
EducationTechnical IndicatorsHow to Trade the MACD Indicator

How to Trade the MACD Indicator

Learn how to use the MACD indicator in technical analysis to determine a trend’s strength and why MACD divergences are important.

The MACD indicator marries momentum and trend into one indicator. 

The moving average convergence/divergence (MACD) is a technical indicator of momentum that uses moving averages to determine a trend’s strength. 

Technical indicators use formulas to generate data points and analyze price action. Investors use indicators for trading alerts, to confirm other indicators, forecast prices, and guide entry and exit decisions. 

What is the MACD (Moving Average Convergence Divergence)?

The moving average convergence/divergence (MACD) is a technical indicator of momentum that uses moving averages to determine a trend’s strength. 

The MACD uses three exponential moving averages (a short term, a long term, and the average difference between the short and long term) to show price momentum.

The MACD indicates changes in trend direction by showing the turning points where the signal line crosses over the other moving average lines.

MACD is often used in mean-reversion systems to signal overbought or oversold conditions.

The default parameters for most MACD calculations take the difference between a 12-period EMA and a 26-period EMA to create an oscillator around zero.

MACD is known as a “centered-oscillator” because a cross above or below the zero centerline signals a change in momentum.

Most MACD charts show the MACD line, the signal line, and a histogram of the difference between the MACD line and the signal line.

MACD Example

The MACD can be calculated on any timeframe from intraday, daily, weekly, or other data points. 

MACD values above zero are typically bullish and indicate an uptrend, while MACD values below zero indicate a downtrend. 

How is MACD Calculated?

The default 12, 26, and 9 settings of the MACD can be adjusted to create more or fewer signals from the indicator. Shorter values generate more signals, while longer values create fewer signals.

The “MACD line” is the difference between the 12 and 26-period EMAs.

MACD Line Calculation

The “signal line” is a nine-period EMA of the MACD line.

MACD Signal Line Calculation

The MACD line moves faster than the signal line because the signal line is an EMA of the MACD line.

Adjusting the number of periods in the EMA calculations changes the MACD’s speed of responsiveness to price changes. Reducing the responsiveness of the MACD line gives fewer signals, which can reduce whipsaws but comes at the expense of quicker entry and exit signals.

MACD Histogram

The MACD may be displayed as a line chart or a histogram. The MACD histogram visually displays the same information as MACD and signal line crossovers. 

Because the two display types relay the same information, traders tend to select one or the other as a matter of preference.

MACD Histogram Calculation

A MACD histogram’s vertical bars above and below the zero centerline visually indicate positive and negative momentum. Crosses above and below the centerline represent the same information as positive and negative crosses of the signal line on a MACD line chart.

Aside from analyzing crossovers, the MACD histogram is often weighted more heavily in analysis than the signal line because peaks and troughs in the histogram occur less frequently than the signal line’s crosses of 0. Downward or upward turns in the MACD histogram towards the zero line always precede MACD crossover signals. 

MACD Crossovers

The MACD is a variation of a traditional moving average crossover signal. A cross of the MACD’s zero line is the same signal as a chart with two exponential moving averages. The MACD is useful because when the MACD is above zero, the underlying security is in an uptrend. 

MACD buy and sell signals are given when the MACD line and signal lines cross. In this way, MACD resembles the two-moving average crossover system. The MACD histogram’s distance above or below the zero line is where MACD resembles an oscillator. 

Traders may draw trendlines on the MACD chart to demonstrate peaks and troughs in MACD momentum. 

MACD Entries and Exits

A positive MACD indicates upward momentum and means the average price of the last 12 periods is higher than the average price of the previous 26 periods. A negative MACD shows downward momentum as the average price of the last 12 periods is lower than the average price of the last 26 periods.

MACD buy signals happen when the MACD crosses from below to above the signal line. The highest quality signals often occur when the MACD line is far below zero when the crossover occurs.

MACD sell signals occur when the MACD crosses from above to below the signal line. The highest quality signals often occur when the MACD line is far above zero when the bearish crossover occurs.

Trading MACD Divergences

Divergence simply means an indicator and price chart are moving in different directions. 

Traders compare peaks and valleys in the MACD to peaks and valleys in the underlying security’s price to find divergences. 

When you compare peaks and troughs in the MACD lines to the price chart of the underlying security, you can determine convergence and divergence. 

Divergences between a price chart and the MACD mean the two are moving in opposite directions. Convergence between the two means momentum and price action are in sync. 

For example, if a security’s price makes a new high but MACD does not, then the two are diverging, with MACD indicating decreasing momentum in the security’s upward movement. This bearish divergence is a contrarian indicator.

MACD Bearish Divergence

A double top is often accompanied by a bearish divergence in momentum. The MACD’s slowing momentum as price makes the second high foreshadows the subsequent price decline. 

Bullish divergences indicate a long entry opportunity.

Because the indicator measures momentum, analysts believe the price action will follow the momentum. So, divergences between momentum and price can be significant. 

Using the MACD with Other Indicators

Using only the MACD signal line for entry and exit indicators can be noisy and give false signals. Traders often pair the MACD with other indicators to seek confirmation before executing trading signals. 

For example, turns in the MACD signal line near areas of support or resistance confirm potential reversal areas. Or, pairing the MACD with the Money Flow Index (MFI) confirms price momentum with an increase in volume. 

Whereas RSI is bounded between 0 and 100, the MACD is unbounded, making it more useful in trending markets than for identifying overbought and oversold conditions. 

The MACD can be used in multiple timeframe analysis. For example, traders may use the MACD on an hourly chart for early trade signals on a daily timeframe. In this instance, the shorter timeframe MACD triggers buy and sell signals for the daily timeframe.

You can even use MACD in your automated trading strategies with this decision recipe.

Check out this MACD Indicator Bounce bot workshop to learn more about automating a simple MACD strategy.

Join 200k+ options traders
Thank you! Please check your email!
Oops! Something went wrong...
Be the first to get notified when we publish new updates.
No items found.
No items found.
No items found.
No items found.
No items found.
No items found.

FAQs

How accurate is divergence trading?

Divergence indicates changes in direction of a trend, as well as overbought and oversold conditions. MACD is arguably the most popular, but different indicators are used to identify divergence.

The accuracy of an indicator is subjective and varies based on many factors.

Is MACD a good indicator?

The moving average convergence/divergence (MACD) is a technical indicator of momentum that uses moving averages to determine a trend’s strength.

The MACD uses three exponential moving averages (a short term, a long term, and the average difference between the short and long term) to show price momentum.

The MACD indicates changes in direction of a trend, as well as overbought and oversold conditions, by showing the turning points where the signal line crosses over the other moving average lines.

Investors use MACD in various applications.

On this page
FAQs
Share this





No-code, fully automated trading for stocks and options.

HomeAboutLegalStatusContact
©2022 Option Alpha. All Rights Reserved. Patent Pending USSN 63/118,547