
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 portfolioLeveraging the analyze tabCall spread adjustmentsPut spread adjustmentsShort strangle adjustmentsIron condor adjustmentsShort straddle adjustmentsCalendar spread adjustmentsDebit spread adjustmentsButterfly adjustmentsUsing stop lossesDelta hedgingRolling positionsPairs hedging

Strategies
Long 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 financeBrokersCandlestick patternsChart patternsDividendsEconomic indicatorsEquity investmentsExercise & assignmentFinancial analysisFinancial historyFinancial marketsFinancial modelingFinancial theoriesFundamental analysisFuturesInvestment accountsInvestment taxesInvestor biasesMarket holidaysMarket hoursMarket indexesMarket indicatorsMomentum tradingOptionsOptions pricingOptions settlementPortfolio managementRisk managementStocksStock marketTechnical analysisTechnical indicatorsTrading commissionsTrading platformsTrading psychologyTrend trading
Resources

Workshops

Podcast

Blog
Support

Help Center
Overview
Getting started
What is a bot?Creating a botAutomation 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 typeComparing 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 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 backtestsBacktesting 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

LoginFree Trial
EducationTechnical IndicatorsExponential Moving Average Basics

Exponential Moving Average Basics

Exponential moving average (EMA) is a technical overlay that averages a set of data points and gives greater weight to new data points. Learn how to use EMA in technical analysis.

Moving averages are one of the most heavily used technical analysis tools. 

Moving averages smooth a series of data points.

Moving averages smooth the randomness of a security’s daily price fluctuations to reveal underlying trends. 

Moving averages are most commonly calculated using closing prices for a specific timeframe. For example, an hourly chart would use each hour’s closing price and a daily chart would use each day’s closing price.

Exponential moving averages (EMAs) and simple moving averages (SMAs) are the two most popular moving averages. Here, we’ll explain the basics of exponential moving averages.

What Is an Exponential Moving Average? 

An exponential moving average is the weighted average of a set of data points where new data points receive greater weight in the calculation.

Exponential Moving Average Example

An exponential moving average is a technical indicator that uses a multiplier to give preference to newer data points and reduce lag in responsiveness to price movements. EMAs help traders identify trends.

SMA vs. EMA Comparison

A number of technical indicators, such as the MACD, use exponential moving averages as a smoothing factor or signal line. 

Traders also use multiple EMAs to determine levels of support and resistance, generate buy or sell signals, confirm trading signals, and more.

How to Calculate an Exponential Moving Average

To calculate an exponential moving average, first determine the weight of today’s data point in the EMA calculation. 

EMA Calculation - Step 1

Shorter moving averages have heavier weights for today’s data point. 

Second, determine the weight of yesterday’s EMA in the calculation.

EMA Calculation - Step 2

Finally, once you’ve calculated the weights, incorporate today’s closing price into the full EMA calculation.

EMA Calculation - Step 3

EMAs address the “drop-off effect” caused when the earliest data point rolls off of an SMA calculation.

What is the Best Exponential Moving Average Length

50 and 200-day simple moving averages receive the most attention. 12-day and 26-day EMAs are the most popular for short-term traders, and 50-day and 200-day EMAs for longer-term traders.

The periods are somewhat arbitrary and there is little difference between a 25-day EMA and a 26-day EMA. However, the “power of the crowd” is evident when a large number of traders are watching the same timeframe indicators. 

Which length is best? 

The longer the timeframe, the more data points, the less the reaction to new data points, and the smoother the series. One-day changes in a security’s price do not have a significant effect on longer-length moving averages. That can be good. However, if a stock’s trend changes abruptly, longer exponential moving averages take longer to adapt. 

There’s a balance between responsiveness to trend changes and false signals from price outliers. 

Moving averages react to data points and are not intended to be predictive like other technical indicators. Moving averages simply follow price action and exponential moving averages react more quickly to new data points than simple moving averages. 

The moral of the story: align the moving average length with your trading timeframe. For example, if you are a long-term buy-and-hold investor, the 5-day EMA shouldn’t affect your decisions. 

However, short-term traders may still use a long-term EMA, such as the 50-day or 200-day, to identify an overall trend and establish bias. For example, a day trader may only take long trades if the underlying security is above the 200-day EMA.

Using Exponential Moving Averages in Stock Trading

Traders use EMAs in a number of ways as entry and exit signals. 

Support and resistance often rest where two moving averages crossover. So, traders use crossovers for systematic entries and exits. Crossovers are where two moving averages or a moving average and a security’s price cross on a price chart.

For example, a short-term EMA crossing over a longer-term EMA is a mechanical buy signal for many traders. Similarly, a short-term EMA crossing below a longer-term EMA is a sell signal.  

One caveat for EMA entry and exit signals is that neutral or sideways price action can generate many low-quality signals leading to whipsaws. EMAs are more useful for entry and exit signals in trending markets. So, EMAs are often used with other momentum signals. 

Traders also use EMA as an exit trigger. Long-term EMAs can be used for entry signals and shorter-term EMAs for more responsive exit signals. 

For example, trend following traders could enter a position when price crosses above the 26-day EMA and exit the position when price crosses below the 12-day EMA.

EMAs are a tool in many trader’s technical analysis toolbox. Remember to align the moving average length with your trading timeframe.

Learn how easy it is to add an EMA to any automation.

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.
On this page
Share this





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

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