Fin Maverick
Foundations VocabularyAccounting & ReportingEconomics & MacroQuant Methods & ProgrammingBusiness & Company AnalysisCorporate Finance & ValuationBehavioural Finance
Banking & Market InfrastructureFixed Income & RatesDerivatives & Structured ProductsPublic EquitiesTransactions & DealsPortfolio ConstructionFunds & AMCs
Private Markets & AlternativesRisk, Treasury & ControlAI & Digital FinanceStochastic Calculus & PricingWealth & Personal FinanceIndian Markets & RegulationProfessional Practice
CalculatorComparison
Frameworks
Explore Bootcamps
Equity ResearchPortfolio ManagementMutual Fund MasteryFinancial LiteracyInvestment Banking Analyst
Private Equity AnalystHedge Funds AnalystBreaking Into VCBreaking Into QuantsAI For Finance
Financial Analyst ProgramRisk Management ProgramPrivate Wealth ManagementDebt Capital MarketsDerivatives Foundation
Explore Internships
Equity Research InternMutual Fund Intern
Portfolio Management InternFinancial Literacy Intern
Explore Micro Courses

Equity Research6

Writing an Investment ThesisBuilding a Discounted Cash FlowReading an Annual Report FastReading a Sector Before a CompanySpotting Quality of Earnings Red FlagsBuilding a Revenue Forecast From Drivers

Portfolio Management3

Rebalancing: When, Why and What It CostsStrategic and Tactical Asset AllocationMeasuring Risk in a Portfolio

Mutual Fund Mastery3

Comparing Funds Without Being FooledHow a NAV Is Struck and Which Day You GetReading a Fund Factsheet Properly

Derivatives Unlocked4

Hedging a Real ExposureThe Greeks, PracticallyFutures, the Basis and What Moves ItReading an Option Payoff

AI For Finance2

Retrieval and Grounding for FinanceDocument Extraction in Finance

Breaking Into Quants4

Backtesting a StrategyHypothesis TestingCleaning Financial DataRegression for Finance

Breaking Into VC3

Sizing a MarketReading a Term Sheet as a FounderHow a Venture Round Actually Works

Financial Analyst Program4

Common Size and Trend AnalysisReading a Cash Flow StatementRatio Analysis That Says SomethingBuilding a Working Capital Schedule

Risk Management Program2

Credit Exposure and How It Is ReducedValue at Risk and What It Hides

Investment Banking Analyst3

Precedent Transactions and Why They DifferReading a Term Sheet StructurallyBuilding a Comparable Companies Table

Private Wealth Management3

Tax Aware Portfolio DecisionsBuilding a Client Risk ProfileGoal Based Planning Arithmetic

Debt Capital Markets3

Analysing an Issuer's CreditDuration and What It Does Not Tell YouBond Pricing and Yield Mechanics

Private Equity Analyst2

Fund Waterfalls and CarryThe LBO in Structure

Hedge Funds Analyst2

Short Selling MechanicsLong Short Mechanics
Courses
Explore Career Roadmaps
Investment Banking AnalystEquity Research AnalystVC AnalystPrivate Equity AnalystHedge Funds Analyst
Quant AnalystAI For FinanceFinancial Analyst ProgramPrivate Wealth ManagementDebt Capital Markets
Risk Management ProgramDerivatives FoundationPortfolio ManagementMutual Fund Mastery
PartnershipsShowdown
Log inSign up
Quant Analyst · CoreTrack
1Quantitative Methods, Financial Data & Programming
iProbability
Probability in FinanceRandom VariableProbability DistributionsThe Normal DistributionNormal Distribution ProbabilityThe Lognormal DistributionRandomness vs Uncertainty
iiStatistics and Inference
Population and SampleMean, Median and ModePrecision and AccuracyVariable TypesVariance, Standard Deviation and…Dispersion MeasuresStatistical BiasEffect SizeHypothesis TestingThe Sampling DistributionSkewnessKurtosisCovarianceConfidence IntervalArithmetic Mean vs Geometric MeanStatistical Significance vs Economic…Confidence Interval vs Prediction IntervalHow to Summarise a…
iiiCorrelation and Regression
RegressionCorrelation and CausationOrdinary Least SquaresInteraction TermsRegression CoefficientsRegression vs ClassificationHow to Build a…Spurious CorrelationRegression, Correlation and FitResidualsMulticollinearityAutocorrelation and Partial Autocorrelation
ivTime Series
Time Series in FinanceSimple, Weighted and Exponential…Moving Average CalculatorPrice, Return and Level SeriesHow to Prepare Time-Series…LagFrequencySeasonalityTimestampsTrendStationarity and the Unit RootHeteroskedasticityLeadRolling WindowsDifferencing
vSimulation and Numerical Methods
SimulationMonte Carlo SimulationHow to Run a…Numerical MethodsIterationResampling and the BootstrapPseudorandom Numbers and the SeedConvergence and ToleranceNumerical Stability
viOptimisation
OptimisationLocal and Global OptimaConstraintsConvex OptimisationThe SolverLinear ProgrammingThe Objective FunctionConstraint ViolationThe Feasible SetLagrange MultipliersQuadratic Programming
viiModelling Practice
Linear, Logistic, Ridge and…Training, Validation and Test…The ModelModel ErrorDependent and Independent VariablesThe ROC Curve and AUCWhat a Model HoldsMSE, RMSE, MAE and MAPEPrecision and RecallCross Validation and RegularisationOverfitting and UnderfittingReturn Series MeasuresSimple, Compound and Log Return
viiiBacktesting and Research Integrity
BacktestingBacktest vs Live PerformanceHow to Document a…How to Prevent Backtest…Out-of-Sample TestingWalk-Forward AnalysisMultiple TestingP-HackingData Snooping
ixData Quality and Structure
Data QualityThe DatasetSelection and Survivorship BiasVersioned DatasetsData Structures in FinanceData CleaningMissing Data and Null ValuesStructured Data vs Unstructured DataMissing Data vs ZeroData Validation vs Data CleaningOutliersDuplicate Records
xProgramming for Finance
Data PipelinesAPIs for Financial DataAPI vs CSV FileDatabases in FinancePython for FinanceJoinsSQL for FinanceThe Analysis Workflow
xiQuantitative Research
Research DesignThe Data Generating ProcessReproducibilityPeer Review in Analytical WorkThe Research HypothesisRobustness and Sensitivity
2Stochastic Calculus & Derivative Pricing Theory
iProbability Foundations
The Probability SpaceRandom VectorsSigma-AlgebraExpectationSample Space and EventsDensity and Distribution FunctionsRisk-Neutral ProbabilityState Price Density vs…
iiStochastic Processes and Jumps
Properties of a Stochastic ProcessMartingaleBrownian Motion and Its PropertiesBrownian Motion vs Geometric…Stopping TimeThe Markov PropertyState VariablesTransition ProbabilityQuadratic VariationQuadratic Variation vs Ordinary…Submartingale and SupermartingaleMartingale RepresentationMarkov Process vs MartingaleOptional StoppingFiltrationJump ProcessesThe Poisson ProcessLevy ProcessesJump Diffusion
iiiIto Calculus
The Ito IntegralThe Ito Integral vs the Riemann IntegralInfinitesimals in Stochastic CalculusQuadratic CovariationIto's LemmaHow to Apply Ito's…The Infinitesimal GeneratorIto Calculus vs Ordinary Calculus
ivStochastic Differential Equations
Stochastic Differential EquationsStochastic Differential Equation vs…Drift and DiffusionStrong and Weak Solutions ComparedDiscretisationGeometric Brownian Motion
vPricing Theory and No-Arbitrage
No-ArbitrageGirsanov, Radon-Nikodym and Change…Physical and Risk-Neutral Measures…The Fundamental Theorems of…The Law of One PriceThe Pricing KernelDiscount Factors and Zero-Coupon PricesReplication vs HedgingComplete Market vs Incomplete MarketClearing Margin Architecture
viOption Pricing Theory
European and American OptionsMonte Carlo European OptionThe Black-Scholes PDEBlack Scholes and the GreeksThe Payoff FunctionThe Binomial ModelBinomial Option PricingDelta Hedging in TheoryBoundary, Initial and Terminal ConditionsThe Exercise BoundaryHow to Check Put-Call…
viiVolatility Models
Constant, Local and Stochastic…Vasicek Model vs CIR ModelThe Heston ModelThe SABR ModelThe Volatility ProcessImplied VolatilityVolatility Smile vs Skew vs Surface
viiiInterest Rate Models
Interest-Rate DerivativesMean ReversionThe Zero-Coupon BondThe Ornstein-Uhlenbeck ProcessThe Discount CurveZero RatesShort-Rate Model vs Market Model
ixNumerical Pricing
Closed Form and Numerical…Monte Carlo PricingEuler and Milstein Schemes ComparedTree MethodsFinite Difference MethodsNumerical Error and StabilityVariance Reduction
xCalibration and Model Risk
Model OverrideMarket Price and Model PriceCalibrationHow to Document a Pricing ModelThe Educational Illustration LabelMarket ConventionsModel Uncertainty and LimitationsBacktesting a Pricing ModelIdentifiabilityCalibrated ParametersThe Calibration Loss Function

Simple, Weighted and Exponential Moving Averages Compared

A simple moving average gives every month in its window the same weight. A weighted moving average gives the newest month the most weight along a straight line. An exponential moving average never drops a month at all and shrinks its weight instead. On the last twelve months of one invented record the three read Rs 196.8859/-, Rs 182.2555/- and Rs 186.7689/-, a spread of Rs 14.6304/- on the same day.

Two things are needed before any moving average can be built, and both are already in hand. The first is the arithmetic mean: add the numbers up, divide by how many there were. Nothing below needs anything harder than that. The second is the six year record of the Nakshatra unit, an invented monthly series built earlier. The record holds 72 dated months. The earliest ends on 31 January 2019, the latest ends on 31 December 2024, and the prices are all measured away from an opening markA value a record is anchored to, dated one step earlier than its earliest observation, so every later figure reads as a distance travelled from it. An opening mark is picked rather than measured, and picking a different one shifts every price while leaving every monthly change exactly where it was. of Rs 100.00/- fixed a day ahead of the first of them. The last month stands at Rs 187.4539/-. The record is a level seriesA record of what something stood at on each date, rather than a record of how much it changed between dates. Prices are a level series. The difference between reading one and reading the other is covered separately., which is to say it records what one unit stood at on each date rather than how much it moved between dates. Every figure below comes off the Nakshatra record and off nothing else.

The genuinely new idea is small, and it is not the arithmetic. Three people can average the same twelve numbers, all of them correctly, and produce three answers that are Rs 14.6304/- apart. The gap between them is not an error in anybody's sum: it is a weighting decision made before the sum started, and the question worth learning to ask is what that decision was.

What question is a moving average actually answering?

Consider first what it is not answering. A moving average does not report the price; the record already carries that. On 31 December 2024 the unit stood at Rs 187.4539/-, and no averaging was needed to establish it.

A moving average answers a different and slightly awkward question: where has this been sitting lately? The method takes a stretch of recent months, combines them into one number, and hands that number back as a description of the stretch. Then it does the same thing again next month with the stretch shifted forward by one. Recomputing month after month is the moving part of the name, and it is the whole of the mechanical idea.

Here is the everyday version. A tea stall outside one office gate keeps a small notebook. Every Saturday the owner adds up the last twelve weeks of takings and divides by twelve, and writes the answer at the bottom of that week's entry. The figure written at the bottom of the entry is not this week's takings. The figure describes a stretch of weeks, of which eleven are already finished and only one is fresh. The date on it is this Saturday, because that is when it was computed, and the period it describes is mostly behind.

The dating is a choice somebody made, and it is the entire reason every moving average sits behind the series it is drawn over. How far behind it sits is measured by counting steps backwards through the record, an operation called taking a lagHow far back in a record a step has been taken. A figure lagged by one month is that figure as it read a month earlier, lined up against today's row. How it is measured is covered separately., and that measurement is covered separately. Dating the figure to the middle of its window is a perfectly reasonable thing to do instead. Separating direction from noise takes that arrangement up separately. Dating it to the last month of the window instead has one enormous practical advantage: at the moment it is written down, every number that went into it was already known. Nothing has been borrowed from a month that has not happened. The habit of checking that no computed column has quietly reached forwards in time is called guarding against lookaheadLetting a figure that could not have been known yet leak into a row dated earlier. Lookahead is a dating mistake inside a computed column rather than a matter of judgement, and it is covered separately., and it is covered separately, but the dating convention used here exists because of it.

So the price of an honest date is that the answer is always a little behind. Notice what that means for the tea stall. If takings collapsed this week, eleven of the twelve weeks in the average are still the old, comfortable weeks. The average will slide, but it will slide gently, and it will keep sliding for another eleven Saturdays as the good weeks fall out one by one. The average is not being slow on purpose. The average is being exactly as slow as the width of the window it was told to use.

Try it out

A twelve month moving average is written against December 2024. What period is it actually describing?

How does a simple moving average weight the months in its window?

Equally, and that single word is the whole definition. Add the last twelve prices, divide by twelve. Every month inside the window carries a weight of one in twelve, or 8.3333 per cent. Every month outside the window carries nothing at all.

Do it on the record. The twelve months ending December 2024 run from January 2024 at Rs 238.4049/- through to December 2024 at Rs 187.4539/-. The twelve prices add to Rs 2,362.6311/-, and dividing by twelve gives Rs 196.8859/-. Rs 196.8859/- is the simple twelve month average of the unit read at December 2024, and there is nothing else inside it.

Now the part most readers never notice, and it is worth slowing down for. Move forward one month and the average changes for two reasons, not one. A new month arrives at the right hand end of the window, and an old month falls off the left hand end. Both of them move the answer, and they move it by exactly the same amount per rupee.

Watch it happen on this record. At November 2024 the simple average read Rs 200.5532/-. At December 2024 it reads Rs 196.8859/-, so it fell by Rs 3.6673/-. December 2024's price of Rs 187.4539/- came in. December 2023's price of Rs 231.4611/- went out. The difference between them is minus Rs 44.0072/-. One twelfth of minus Rs 44.0072/- is minus Rs 3.6673/-, the entire move to the last paisa. A simple moving average can turn downwards because of something that happened a year ago, and nothing on the chart shows that this is what happened.

Equal weighting is not a flaw to be fixed. The effect follows unavoidably from giving every month in the window the same weight, and a month that carries 8.3333 per cent on the way in carries the same 8.3333 per cent on the way out. But it does mean that an explanation of a movement in a simple average which points at recent news should be checked against the other end of the window first. The paisaOne hundredth of a rupee, the smallest unit in the amounts written here. Four decimal places are shown so that sums can be checked against each other rather than because anything is measured that finely. that moved may have been leaving rather than arriving.

ONE MONTH OF SLIDE MOVES THE SIMPLE AVERAGE TWICE The same twelve month window, drawn at November 2024 and again at December 2024. WINDOW AT NOVEMBER 2024 twelve months, Dec 2023 to Nov 2024 it reads Rs 200.5532/- Dec 23 Jan 24 Feb 24 Mar 24 Apr 24 May 24 Jun 24 Jul 24 Aug 24 Sep 24 Oct 24 Nov 24 WINDOW AT DECEMBER 2024 twelve months, Jan 2024 to Dec 2024 it reads Rs 196.8859/- Jan 24 Feb 24 Mar 24 Apr 24 May 24 Jun 24 Jul 24 Aug 24 Sep 24 Oct 24 Nov 24 Dec 24 this one leaves the window this one arrives THE WHOLE MOVE, IN ONE LINE arrives Rs 187.4539/- leaves Rs 231.4611/- difference minus Rs 44.0072/- one twelfth of that difference is minus Rs 3.6673/- and that is the entire move Rs 200.5532/- at November 2024 becomes Rs 196.8859/- at December 2024 Nothing recent explains the fall. The month that left was larger than the month that arrived.
A simple moving average moves as much because of the month that leaves its window as because of the month that arrives, and one twelfth of the gap between them is the whole move.
Try it out

A simple twelve month average turns downwards this month, and no unusually low price was recorded this month. Give one explanation that fits.

Breaking Into Quants Bootcamp — Fin Maverick

How does a weighted moving average differ from a simple one?

A weighted moving average uses the same twelve months and refuses to treat them as equals. The oldest month in the window takes a multiplier of 1. The one sitting after it takes a 2. The multipliers climb the window like that up to the newest month, and the newest month takes a multiplier of 12. The twelve products are then added up and divided by the total of the multipliers. The total is 1 plus 2 plus 3 and so on up to 12, or 78.

Run it on the same twelve months ending December 2024 and the answer is Rs 182.2555/-. The oldest month in the window, January 2024 at Rs 238.4049/-, now carries only 1 in 78, or 1.2821 per cent. The newest month, December 2024 at Rs 187.4539/-, carries 12 in 78, or 15.3846 per cent. The newest month has twelve times the pull of the month at the other end.

Look at what that does here. January 2024 was the highest price inside the window. Holding it back to 1.2821 per cent while pushing the recent, lower months forward is exactly why the weighted answer of Rs 182.2555/- comes out Rs 14.6304/- below the simple answer of Rs 196.8859/-. Neither method made a mistake. The two methods were asked to describe the same twelve months and were given different instructions about which ones matter.

The ramp of weights from 1 to 12 is a decision somebody made, not a property of the record. There is nothing in the data that says the newest month deserves twelve times the pull of the oldest. Somebody chose a straight line because a straight line is simple to state and simple to check, and any other shape would have been just as arithmetically legal and would have produced a different number. The choice of shape is the first hint that a number handed over depends on a decision nobody mentioned.

Financial Analyst Program Bootcamp — Fin Maverick

What does an exponential moving average do that neither of the others does?

An exponential moving average stops using a window at all. Both methods so far draw a boundary: twelve months in, everything else out. The exponential moving average draws no boundary. Instead it holds one running figure and, every month, nudges that figure a fixed fraction of the way towards the new price.

In words, and this is the whole rule: keep 0.846154 of the figure already held, and add 0.153846 of the new price. The two fractions add to exactly one, so nothing is created and nothing is lost. The fraction taken from the new price is called the smoothing factor. Here that factor is 0.153846, or two divided by thirteen.

Why two divided by thirteen? Because the setting here is a twelve month one, and the conventional way to turn a window length into a smoothing factor is to take two over that length with one added to it. Two over the window length plus one is a convention rather than a law, and it is a well chosen one for a reason worth seeing. The ages of the months inside a simple twelve month average run from 0 to 11 and every one carries the same weight, so the average age is 5.5 months. The average age of the exponential weights at a smoothing factor of two over thirteen is also 5.5 months, exactly. The conventional smoothing factor is the one that puts the exponential average's centre of gravity in the same place as the simple average's. The two methods lean on the same middle. The two methods just distribute themselves around that middle very differently.

Here is the everyday version of the rule. A household is trying to hold a picture of what it spends in a month. At the end of every month it does not throw out last year's picture and start again. The household takes the picture it already had and nudges it a little way towards what actually happened this month. A big month nudges it up. A quiet month nudges it down. Nothing is ever fully forgotten and nothing is ever fully believed. The nudging is an exponential moving average, and most people run one in their head without a smoothing factor anywhere in sight.

Now the structural difference, and it is the reason this method behaves unlike the other two. No month ever leaves. The price from four years ago is still inside the December 2024 figure. Forty eight steps behind the newest month, its weight is 0.0051 per cent. Small is not the same as zero. Compare that with the other two, where a month at 8.3333 per cent or at 1.2821 per cent one day is at exactly nothing the next day, the moment it falls past the edge of the window. The exponential average has no edge to fall past. Its weights fade; they never stop.

Count the fade on this setting. The newest month carries 15.3846 per cent. One month back carries 13.0178 per cent, two back 11.0150 per cent, eleven back 2.4492 per cent, twenty three back 0.3299 per cent, fifty nine back 0.0008 per cent. Add up everything inside the most recent twelve months and it comes to 86.5292 per cent. The remaining 13.4708 per cent sits further back than the window the other two methods use at all.

THREE WAYS TO SHARE OUT THE SAME TWELVE MONTHS Bar height is the weight that month carries. Oldest on the left, newest on the right. SIMPLE MOVING AVERAGE every one of the twelve carries 8.3333 per cent, and nothing outside carries anything 8.3333 per cent WEIGHTED MOVING AVERAGE a straight ramp, 1.2821 per cent on the oldest up to 15.3846 per cent on the newest 15.3846 per cent 1.2821 per cent EXPONENTIAL MOVING AVERAGE 15.3846 per cent on the newest, then 0.846154 of that on each step further back 15.3846 per cent 2.4492 per cent oldest of the twelve newest of the twelve 13.4708 per cent of the exponential weight lies FURTHER BACK than these twelve months, spread over every month the record has ever held. No month is ever dropped, only shrunk.
A simple average weights every month in its window equally, a weighted average ramps the weight up to the newest month, and an exponential average never lets a month's weight reach zero.

There is one small coincidence in that picture that is not a coincidence at all, and spotting it saves confusion later. The newest month carries 15.3846 per cent under the weighted average and 15.3846 per cent under the exponential average, the same figure to four decimal places. The match is arithmetic, not luck: 12 divided by 78 reduces to 2 divided by 13, the smoothing factor itself. Everything the two methods do behind the newest month is different, so they agree exactly on that month and still disagree by Rs 4.5134/- on the answer. The weighted average ramps steeply down and then stops dead at twelve months. The exponential average fades gently and carries on past the edge for ever.

Try it out

A weighted moving average over twelve months divides by 78. Where does 78 come from?

Try it out

In an exponential moving average at a smoothing factor of 0.153846, what happens to the weight on a month from four years back?

Moving Average vs Exponential Moving Average: what actually separates them on one day?

Put the simple average and the exponential average side by side at December 2024 and the whole comparison sits in two numbers. The simple reads Rs 196.8859/-. The exponential reads Rs 186.7689/-. The gap between them is Rs 10.1170/-, on the same record, on the same day, at the same nominal twelve month setting.

The reason is one sentence long: the simple average is still carrying the first half of 2024 at full weight, and the exponential average has already shrunk it. Prices in the record ran from Rs 238.4049/- in January 2024 down to Rs 158.1089/- in October 2024. Under the simple average, January's Rs 238.4049/- carries the same 8.3333 per cent in December as December's own Rs 187.4539/- does. Under the exponential average, January 2024 is eleven months back and carries 2.4492 per cent, roughly a sixth of what the newest month carries. The high months are still in there. The high months have just stopped shouting.

Watch the exponential average actually make that journey through 2024. The exponential average starts the year at Rs 208.5704/-, its December 2023 value. January's Rs 238.4049/- is well above it, so the figure is pulled up by Rs 4.5899/-, or 0.153846 of the distance between them. Then the prices turn, and each month the figure is dragged down by a fraction of a widening gap: Rs 6.6944/- in July, Rs 7.8023/- in August. December's price of Rs 187.4539/- was almost exactly where the average already sat, so by December the figure has come to rest at Rs 186.7689/-, only Rs 0.1245/- above where November left it.

THE EXPONENTIAL AVERAGE THROUGH 2024, ONE STEP AT A TIME Each step keeps 0.846154 of what it held and takes 0.153846 of the new price. STARTING FROM carried in from Dec 2023 Rs 208.5704/- THE NEW PRICE WHAT THE AVERAGE BECOMES Jan 2024 Rs 238.4049/- Rs 213.1603/- up Rs 4.5899/- 0.153846 Feb 2024 Rs 236.0208/- Rs 216.6773/- up Rs 3.5170/- 0.153846 Mar 2024 Rs 233.6606/- Rs 219.2902/- up Rs 2.6128/- 0.153846 Apr 2024 Rs 235.9972/- Rs 221.8605/- up Rs 2.5703/- 0.153846 May 2024 Rs 212.3975/- Rs 220.4046/- down Rs 1.4558/- 0.153846 Jun 2024 Rs 199.6537/- Rs 217.2122/- down Rs 3.1925/- 0.153846 Jul 2024 Rs 173.6987/- Rs 210.5178/- down Rs 6.6944/- 0.153846 Aug 2024 Rs 159.8028/- Rs 202.7155/- down Rs 7.8023/- 0.153846 Sep 2024 Rs 162.9988/- Rs 196.6052/- down Rs 6.1103/- 0.153846 Oct 2024 Rs 158.1089/- Rs 190.6827/- down Rs 5.9225/- 0.153846 Nov 2024 Rs 164.4332/- Rs 186.6443/- down Rs 4.0384/- 0.153846 Dec 2024 Rs 187.4539/- Rs 186.7689/- up Rs 0.1245/- 0.153846 Rs 186.7689/- Twelve steps, and not one of the sixty months behind December 2023 was thrown away.
Each month the exponential average travels 0.153846 of the distance towards the new price and holds on to the remaining 0.846154, so twelve of those steps carry it from Rs 208.5704/- to Rs 186.7689/-.

Neither figure is an error and neither is a correction of the other. The two averages answer slightly different questions. The simple average answers what the last twelve months averaged, treating them as a set. The exponential average answers where a running figure ends up if it is nudged towards every price the record has ever held, with the older nudges faded out. Two different questions have been asked, and there is no reason at all why two different questions should have the same answer.

The starting value, and the thing people get wrong about it

An exponential average is a rule for getting from last month's figure to this month's figure. Applied to the very first month, it has a problem: there is no last month's figure to start from. Something has to be put there by hand, and that something is the starting value. The exponential average here starts at Rs 101.2600/-, the simple average of the first twelve prices in the record, and every exponential figure below follows from that choice. Stating it is not a formality. The starting value is one of the three things needed before any exponential figure can be reproduced.

Now the part that is worth getting right. The obvious worry turns out to be the wrong worry. Two people who start their exponential average from different values might be expected to end up with different lines for ever. The two lines converge instead. Every step keeps 0.846154 of whatever came before it, and that includes whatever remains of the starting value, so any gap between two starting values shrinks by 0.846154 at every single step.

Put numbers on it. Suppose one person starts at Rs 101.2600/- and another starts 74 paise higher at Rs 102.0000/-, and both then roll the same sixty months of the record forward. After sixty steps, the 74 paise between them has become Rs 0.0000328/-. Both people read Rs 186.7689/- at December 2024. An exponential average forgets what it was started from, and the only question is how many steps it has had in which to forget.

Which points straight at the failure that does bite. The failure is not two different starting values. The failure is two columns of different lengths. Suppose one column carries sixty months of the record behind it and another column of the same method, with the same smoothing factor of 0.153846, was started inside 2024 at January's price of Rs 238.4049/- and has only had eleven steps since. The long column reads Rs 186.7689/- at December 2024. The short one reads Rs 190.7878/-, a gap of Rs 4.0189/-. After eleven steps, 15.9200 per cent of the short column is still nothing but its own starting value. After sixty steps the long column has 0.0044 per cent of its starting value left in it, and 0.0044 per cent is none.

WHAT A STARTING VALUE IS WORTH AFTER A WHILE Each step keeps 0.846154 of whatever came before, including the starting value. TWO PEOPLE WHO START DIFFERENTLY AND ROLL THE SAME SIXTY MONTHS starts at Rs 101.2600/- starts at Rs 102.0000/- sixty steps of 0.846154 sixty steps of 0.846154 both arrive at Rs 186.7689/- The Rs 0.7400/- between them has shrunk to Rs 0.0000328/-. An exponential average forgets what it was started from. It just takes a while. THE ONE THAT ACTUALLY BITES: TWO COLUMNS OF DIFFERENT LENGTHS SIXTY MONTHS OF HISTORY started at Rs 101.2600/-, rolled from January 2020 onwards Rs 186.7689/- ELEVEN MONTHS OF HISTORY started at Rs 238.4049/-, rolled from February 2024 onwards Rs 190.7878/- Both are exponential moving averages of the same record with the same smoothing factor, and they disagree by Rs 4.0189/- because 15.9200 per cent of the shorter column is still its own starting value.
Two different starting values rolled over the same sixty months arrive at the same figure, while the same method run over eleven months instead of sixty is out by Rs 4.0189/-.

So the honest way to say it is this. The starting value is not what bites. The number of steps rolled since the starting value is what bites, and a short column is still mostly made of the number somebody typed into the top of it. When two people cannot reconcile an exponential average, the first question is not what the column started from, it is how far back the column goes.

Try it out

Two people compute an exponential average of this record with the same smoothing factor of 0.153846. One starts at Rs 101.2600/-, the other at Rs 102.0000/-, and both roll the same sixty months. What do they read at December 2024?

AI For Finance Bootcamp — Fin Maverick

Where do all three sit on the same day?

Here they are, on 31 December 2024, on the same record, at the same twelve month setting, with the price beside them for comparison.

What is being readHow every month in the window is weighted31 December 2024
The price itselfNot averaged at all. One observation.Rs 187.4539/-
Simple moving averageEvery one of the twelve at 8.3333 per centRs 196.8859/-
Exponential moving average15.3846 per cent on the newest, fading, nothing droppedRs 186.7689/-
Weighted moving averageA ramp from 1.2821 per cent up to 15.3846 per centRs 182.2555/-
Widest gap between any two averagesSimple less weightedRs 14.6304/-

Same day, same record, same window length, same arithmetic, and the only thing that differs anywhere is a weighting decision. Rs 14.6304/- is not a small disagreement either. Against a price of Rs 187.4539/- it is 7.80 per cent of the thing being described. Anybody who hands over one of these three numbers and calls it the moving average has handed over one of three answers and dropped the label that would distinguish them.

ONE DAY, ONE RECORD, ONE WINDOW LENGTH, FOUR NUMBERS 31 December 2024. A twelve month window on all three. The scale below starts at Rs 181.00/- rather than at zero. the scale, in rupees 182 186 190 194 198 Rs 196.8859/- SIMPLE MOVING AVERAGE every month at 8.3333 per cent Rs 187.4539/- THE PRICE ITSELF 31 December 2024, nothing averaged Rs 186.7689/- EXPONENTIAL MOVING AVERAGE smoothing factor 0.153846 Rs 182.2555/- WEIGHTED MOVING AVERAGE weights 1 to 12 over 78 the whole spread Rs 14.6304/- The price is BELOW one of its own averages and ABOVE the other two, at the same moment. All four numbers are correct. Only the weighting decision differs.
On one day of the six year record the three averages read Rs 196.8859/-, Rs 186.7689/- and Rs 182.2555/-, and the price of Rs 187.4539/- sits between them.

The price is the interesting part of that picture. At Rs 187.4539/- it sits below the simple average, above the exponential average by Rs 0.6850/-, and above the weighted average by Rs 5.1984/-. Three true sentences about where the price sits, pointing in two directions, on one afternoon.

Try it out

The simple average at December 2024 is Rs 196.8859/- and the exponential is Rs 186.7689/-. Which of the two is still carrying the high prices of early 2024 at full weight?

Does one method always sit highest?

No. A reader who has seen only December 2024 walks away with a rule that is false, and no ranking of the three methods survives a change in the months underneath it.

Go back exactly twelve months. At 31 December 2023 the same three averages on the same record read: simple Rs 207.4234/-, weighted Rs 214.3590/-, exponential Rs 208.5704/-. The weighted average is the highest of the three. Twelve months later it is the lowest of the three. Nothing about the method changed. Nobody adjusted a weight or a smoothing factor. The stretch of months underneath it changed, and that was enough.

THE SAME THREE METHODS, RANKED ON TWO DATES Same record, same window length, same arithmetic. Twelve months apart. 31 DECEMBER 2023 price Rs 231.4611/- HIGHEST weighted Rs 214.3590/- MIDDLE exponential Rs 208.5704/- LOWEST simple Rs 207.4234/- 31 DECEMBER 2024 price Rs 187.4539/- HIGHEST simple Rs 196.8859/- MIDDLE exponential Rs 186.7689/- LOWEST weighted Rs 182.2555/- weighted weighted it swaps The weighted average is the highest of the three on one date and the lowest on the other. Nothing about the method changed in between. The stretch of months underneath it did.
At December 2023 the weighted method tops the ranking and at December 2024 it sits at the bottom of it, so the order is a property of the months underneath rather than of the method.

Why did it move? Because the weighted average leans hardest on recent months. The centre of gravity of each method gives the answer: the simple average's average month is 5.5 months old, the exponential average's is also 5.5 months old, and the weighted average's is 3.6667 months old. The weighted average is the most recent of the three by a clear margin. Through 2023 prices were rising hard into a peak of Rs 238.6196/- in November, so leaning on recent months pushed the weighted figure to the top. Through 2024 prices fell from Rs 238.4049/- in January to Rs 158.1089/- in October, so leaning on the same recent months dropped it to the bottom.

Reacting fastest means leading in both directions, and it never means being right. A method that moves first onto whatever is happening now will be the highest of the three while prices climb and the lowest while they fall, and both of those are the same property showing itself twice. The ranking of the levels is a fact about the stretch of months. The ranking of the responsiveness is a fact about the methods. Keep those two apart and the picture stops being confusing.

Across the whole record the three lines cross each other repeatedly rather than holding station. On this six year record, at a twelve month setting, the weighted average and the simple average change places four times, the simple and the exponential nine times, and the weighted and the exponential twice. The three lines are not parallel with a constant gap between them. The three lines are different descriptions of the same walk, pulling apart and closing up as the walk changes shape.

THE THREE AVERAGES OVER THE WHOLE SIX YEAR RECORD They separate, they close up, and they change places. They are never a fixed distance apart. Rs 100/- Rs 140/- Rs 180/- Rs 220/- Dec 19 Dec 20 Dec 21 Dec 22 Dec 23 Dec 24 Dec 2023 price simple weighted exponential in rupees THE WEIGHTED AVERAGE LESS THE SIMPLE AVERAGE, MONTH BY MONTH Rs 0.00/- Rs 8.00/- minus Rs 8.00/- minus Rs 16.00/- Dec 2023, Rs 6.9356/- Dec 2024, minus Rs 14.6304/- Above the line the weighted average is the higher of the two. Below it, the lower. The line is crossed four times in sixty one readings, and the last crossing is inside 2024.
The three averages of the same record cross each other more than once and are never a fixed distance apart, so no method holds a permanent place above or below another.
Try it out

At December 2023 the weighted average tops the three, and at December 2024 the very same method sits at the bottom of them. What does that establish?

Try it out

Answer this before the slider moves. Take the same record and stretch the window from 3 months out to 12 months. Do the three averages move closer together, or further apart?

Play with it

Stretch the window and watch the three weightings change shape.

One control moves: the window length, from 3 months out to 24. Everything else is nailed down. Underneath it sit the same 72 months throughout, the weighting rules are the three built above, and the exponential average always begins from the simple average of whatever its own first window happens to be. The upper chart draws the three weighting schemes themselves, redrawn every time the slider moves, so a flat bar, a ramp and a fading curve can all be watched rescaling as the window grows. The lower chart puts the three averages back over the record. Start it where it opens, at a window of 12 months, and the December 2024 readings come out at Rs 196.8859/-, Rs 182.2555/- and Rs 186.7689/-, a widest gap of Rs 14.6304/-. The four numbers are the ones the table above already carries.

Drop straight onto a setting:
Window
12 months
Simple
Rs 196.8859/-
Weighted
Rs 182.2555/-
Exponential
Rs 186.7689/-
Widest gap
Rs 14.6304/-
The panel writes this line for itself the moment it opens.

Educational illustration, built on invented data throughout. At every setting the exponential average begins from the simple average of its own first window. Change that rule and the whole line moves. The weights are choices somebody made rather than anything the record itself insists on. The three lines can only begin once enough months have accumulated behind them, so the lower chart has a bare left hand end.

Try it out

What smoothing factor is used here, and what window length does it correspond to?

Risk Management Program Bootcamp — Fin Maverick Bond Pricing and Yield Mechanics — free micro-course from Fin Maverick

How should a price sitting above or below its average be read?

Carefully, and with three labels attached. Without them the sentence is not yet a measurement. Here is the practitioner version of that, and it has nothing to do with anybody buying anything.

A lender is looking at a small printing shop that wants a working capital facility. The shop's monthly takings jump around: a wedding season month is enormous, a monsoon month is thin. Nobody can assess that shop from one month, so the officer computes a moving average of takings and asks whether the latest month sits above it or below it. Comparing the latest month against a moving average of takings is a perfectly sensible thing to do, and it is exactly the operation set out above.

Now suppose two officers in the same lending team assess the shop in the same week. One runs a simple twelve month average. The other runs an exponential one at the conventional smoothing factor. On the Nakshatra unit's numbers, one of them would report a latest reading Rs 9.4320/- below the average and the other a latest reading Rs 0.6850/- above it. One writes that the shop is running below its recent run rate. The other writes that it is running slightly above. Both officers did correct arithmetic, so the disagreement between their opposite sentences cannot be settled by rechecking anybody's sums. That is the worst kind of disagreement to have inside a credit file, because there is nothing to correct.

ONE SENTENCE, THREE ANSWERS, ALL OF THEM TRUE 31 December 2024. The Nakshatra unit at Rs 187.4539/-. the price is below its moving average asked without a window length, a weighting scheme or a starting value against the SIMPLE average TRUE, and the price is below it Rs 196.8859/- against the WEIGHTED average FALSE, the price is above it Rs 182.2555/- against the EXPONENTIAL average FALSE, the price is above it Rs 186.7689/- the same day the same record the same twelve month window The sentence is not a fact about the price until three more things are attached to it.
At December 2024 the Nakshatra unit is below one of its moving averages and above the other two at the same moment, so the bare sentence has three answers.

The habit that prevents the disagreement runs to three fields. Whenever a price is quoted against an average, record the window length, the weighting scheme, and, if the scheme is exponential, what the column was started from and how many periods ago. A moving average figure without those three attached is an opinion wearing the clothes of a measurement. With them attached, anybody can rebuild it, and two people who disagree can find out which of the three fields they differ on in about a minute.

One more thing the officer should hold on to, and it is the honest limit of the whole exercise. A moving average here smooths a record and does nothing else. A moving average does not say what the shop will take next month, it does not say whether the shop is well run, and it is not a verdict. The method compresses a stretch of months into one number so that a stretch can be talked about, and the compression throws away information on purpose. The trendWhere a record is heading over its whole length once the month to month jumping about has been set aside. Prising the two apart needs machinery of its own and is covered separately. underneath a record, if it has one, is a separate question with separate machinery, and is covered separately.

The failure a missing weighting label produces

Somebody says the Nakshatra unit is sitting below its moving average, and the listener takes that as a statement about the unit. It is not. The sentence is a statement about a weighting decision that nobody mentioned.

Read the three sentences that are all true on 31 December 2024. The price of Rs 187.4539/- is below the simple moving average of Rs 196.8859/-. The price of Rs 187.4539/- is above the weighted moving average of Rs 182.2555/-. The price of Rs 187.4539/- is above the exponential moving average of Rs 186.7689/-. Same day, same record, same window length, three sentences, and they point two different ways.

Here is why that costs more than an ordinary mistake. Two people reading the same record on the same day reach opposite descriptions of it, and neither of them has made an arithmetic error, so the disagreement survives every recheck either of them can perform. An arithmetic mistake gets found. There is nothing wrong to find in a silent weighting difference, so it never gets found. The difference just sits there producing two conclusions until somebody thinks to ask which method each person used. Most people never ask, not knowing there was more than one method to ask about.

The working habit that prevents it costs one line of writing. A price is never quoted against an average without the window length, the weighting scheme and, for an exponential one, the value the column was started from and how many periods ago. The line belongs beside the figure, not in a footnote. When a moving average arrives with those fields missing, the correct next move is to ask for them rather than to reason from the number.

Where this guide stops. Choosing a window length and running the three methods on freely chosen numbers is taken up by the calculator that comes next. A recomputed figure sliding across a break in a record, and the reason it arrives late, are covered separately, as is the whole business of a rolling windowA fixed length stretch that steps forward through a record, with the figure inside it worked out afresh at each step. A rolling window is covered separately, including what happens when the stretch straddles a break. in its own right. Pulling a direction out from the noise sitting on top of it is covered separately. So is the repeating twelve month shape a record can carry, and what a seasonally adjustedOne whose twelve month repeat has been taken back out, so that a strong January is not mistaken for a strong stretch. Exactly what the subtraction removes is covered separately. version of one has had lifted out, and so is the difference between reading the levels in a record and reading the changes underneath them. How far behind a figure sits, and how that distance is measured, is covered separately too. Acting on one average moving past another is not a subject these notes take up: a moving average is a description of a stretch rather than an instruction.

Value at Risk and What It Hides teaches you to compute value at risk three ways, interpret the figure, and say precisely what it refuses to describe.

Where do these figures come from?

Figure in this guideThe arithmetic that produces itOutside sourceRechecked
The 72 monthly observations and the price path from Rs 100.00/- to Rs 187.4539/-Take a monthly drift of 1.00 per cent, add a twelve month shape that repeats, add an irregular part, then compound the result forward month by month off the opening markNone. Written for these notes21 August 2026
Rs 196.8859/- simple at December 2024Add the twelve prices from January 2024 to December 2024, which come to Rs 2,362.6311/-, and divide by twelveNone. Twelve additions and one division21 August 2026
Rs 182.2555/- weighted at December 2024Multiply the same twelve prices by 1 through 12 running oldest to newest, add the products, divide by 78None. The multipliers are the whole of the rule21 August 2026
Rs 186.7689/- exponential at December 2024Start at Rs 101.2600/-, then sixty times over keep 0.846154 of the running figure and add 0.153846 of the next priceNone. Sixty applications of one line21 August 2026
The December 2023 reversal, and the December 2021 rowThe same three calculations run to a different last month of the same recordNone. Nothing changes but the stopping point21 August 2026
Rs 190.7878/- from the short columnStart at January 2024's price of Rs 238.4049/- and apply the same eleven steps to December 2024None. Same rule, fewer steps behind it21 August 2026

The Nakshatra unit and its six year monthly record are invented.
Educational material. Not advice on any investment, tax, budget or market position.

← PreviousNext →
Fin Maverick Micro CoursesExplore Micro Courses
Fin Maverick BootcampsExplore Bootcamps
Fin Maverick

Finance education that ends in a job, not a certificate that gathers dust. Built for young India.

LEARN
CalculatorsFrameworksComparisonsCareersShowdown
RESOURCES
All CoursesMicro CoursesBootcampsInternships
COMPANY
AboutJob openingPartnership
LEGAL
Privacy PolicyTerms & ConditionsContent LicenseReturn & Refund Policy
© 2026 FIN MAVERICK / BUILT FOR INDIA.DO FINANCE, DO NOT JUST READ ABOUT IT.