Nifty Valuation Tool: Find out if the stock market is expensive or cheap in multiple ways

Idea concept featured image

Published: May 22, 2019 at 11:36 am

Last Updated on December 7, 2022 at 9:58 pm

Use this nifty valuation tool to find out if the stock market is expensive or cheap using PE, PB, Div Yield, Bollinger Bands and much more.  The idea to try and understand the state of the market using multiple methods. An example of some of the results obtained with this sheet is here: Are we now in a bear market?

Four different types of indicators can be used: Trend, volatility,  momentum, and valuation.  The sheet can be used for periodic profit booking or market timing or tactical asset allocation. It can also be used for buying on dips, but I would recommend reading this first: Buying on market dips: How effective is it?

Disclaimer: The sheet provided below is informational/education in nature. It will tell you the results of various indicators, but will not tell you when to buy or sell or do anything. That judgment is entirely up to the user. The sheet has been extensively tested for bugs and there are no known bugs at this time of release. However, it is not possible to guarantee that the sheet is free of errors. Users can bring issues to my notice for evaluation. I am not responsible for gains or losses that the user may suffer by using this tool

Many investors sit and fret if the market is overvalued and if this is the right time to invest or not. This sheet can provide quantitative insight into the state of the market. Instead of looking at only the PE or a moving average, it would be better if different types of indicators are used to check stock market valuation. Sometimes multiple indicators may agree with each other and sometimes no. During such times the user will have to use their discretion and judgment. We shall look at examples of each indicator type available and how to interpret them.


Join over 32,000 readers and get free money management solutions delivered to your inbox! Subscribe to get posts via email!
🔥Enjoy massive discounts on our robo-advisory tool & courses! 🔥

Nifty Valuation Tool: List of indicators available

Indicator Type: Trend

  1. Simple moving average  (180 and 365 days, the duration can be set by user)
  2. Exponential moving average (180 and 365 days, the duration can be set by user)
  3. Moving Average Convergence Divergence (MACD)

Indicator Type: Volatility (plus trend)

  1. Bollinger bands with 200 days DMA

Indicator type: momentum

  1. Relative Strength Indicator

Indicator type: Valuation

  1. Price to earnings ratio (PE) with 10-year moving average and standard deviation bands
  2. Price to book value  (PB) with 10-year moving average and standard deviation bands
  3. Dividend Yield with 10-year moving average and standard deviation bands
  4. EPS Growth rate
  5. ROE or book yield

Simple moving average

Stock market price movements on a daily basis are too noisy. So to spot trends, we need to smoothen them. One can take the average of the last 200 day prices for this. To spot bullish and bearish trends, a double moving average is used: One for about 180 days (6 months) and another for about 365 days (12 months).

Sometimes the period would be 180 days or 179 days or 181 days depending on the index used. Here is an example:

moving average crossover method chart one

A bearish trend is possible when the 150-day average falls below the 364-day average- downward arrows. A bullish trend is possible when the 150-day average moves above the 364-day average – upward red arrows.

The problem is, sometimes both these averages will cross each other in quick succession  (see below) a problem known as whipsaw. To prevent this, we use the exponential moving average

Exponential Moving Average

The standard alternative to the simple moving average  (SMA, also known as daily moving average or DMA) is the exponential moving average. (EMA) This offers higher weight to recent price movement and responds faster than the simple moving average as seen below. The weight to older data decreases exponentially and hence responds faster.

Nifty Valuation Tool screenshots EMA full

Nifty Valuation Tool screenshots exponential moving averagesIf we go by the double EMAs, the market has been bullish for a while now.

Moving Average Convergence Divergence (MACD)

A potentially more sensitive method is to compute the difference between the two EMAs above and then take the moving average of the difference. The MACD seen below is the difference between the 188-day EMA and 365-day EMA. The average of this difference is known as the MACD signal or simply the signal. I have used a 136-day average.

Nifty Valuation Tool screenshots MACDDown-trend: When the MACD goes below its signal.

Up-trend: When the MACD goes above its signal.

Bollinger Bands

This technique helps us make better decisions with the 200-day moving average and also gives us insights on market volatility. Bollinger bands are essentially rolling standard deviation bands for the 200 DMA. The upper band is usually set two standard deviations above the 200 DMA and the lower band set at two below.

Nifty Valuation Tool screenshots Bollinger BandsVolatility indication When the upper and lower bands converge with the 200dma moving up, it could mean bullish trend. When the upper and lower bands converge with the 200dm a moving down, then it could indicate a bearish trend.

You can spot both a bullish trend (200 DMA above the upper band) and the bands coming together (decrease in volatility). that does not happen often!!

Buy/sell indication With the bands reasonably spaced apart, if the price hits the upper band, it could mean an overheated market and a sell indication. That is a bearish market outlook. With the bands spaced reasonably apart, if the price hits the lower band, it could mean a buy indication.

Relative strength indicator

The simplest definition of the RSI is that it represents recent average gains divided by average losses. If the avg gains are higher than the index is overbought. If the avg losses are higher, the index is oversold. The problem with the RSI is similar to that of the PE or PB ratios. It is based on arbitrary high or low numbers.  I have plotted the 365-day RSI for the Nifty below. It is more useful as a buy indicator than a sell indicator.

Nifty Valuation Tool screenshots Relative Strength IndicatorA low RSI value is a reasonable buy indicator. Current values are not too high.

Nifty PE Valuation

The PE ratio is the current price divided by the earnings per share of the index. If the PE is “too high” then the market is paying too high a price for the earnings and must “correct” down (I hate that word now!). If the PE is “too low” then the market is paying too low a price and must correct up.

Have a look at the 10-year moving average (avg) of the Nifty 50 PE (the center line below).  The standard deviation (stdev) tells you how much each Nifty PE value deviates from the average.  The two lines above the central average line represent:

  • avg + stdev
  • avg + 2*stdev

Similarly, the two lines below the central average line represent:

  • avg – stdev
  • avg – 2*stdev

Nifty Valuation Tool screenshots PE and 10 year moving averageTypically when the current Nifty PE hits the +2 stdev line, it tends to come down (this is NOT mean reversion!), but the problem is, it need not come down too much!! So Current PE > + 2 stdev does not mean a crash!!

Nifty PB Valuation

Arguments made above can also be used to gauge valuation using the price to book value. The book value or shareholders is a measure of asset assets – liabilities. So it is a bit like the NAV of an ETF and the current market price the price of the ETF.

Nifty Valuation Tool screenshots PB and 10 year moving averageAgain, a high PB could mean a “correction” and low PB, time to buy. A conservative market timer could use PB instead of PE.

Dividend Yield

The dividend yield is a contra-indicator. That is a low value could mean over-valuation and vice-versa. The dividend yield of a single stock is computed as the most recent dividend* / current price. A high dividend yield implies the stock price has moved up faster than its dividend and vice versa. Hence low div yield of the index points to overvaluation and vice versa. Current Nifty Dividend Yield is fairly low indicating overvaluation.

* Sometime multiplied by 4 to annualize it.

Nifty Valuation Tool screenshots DY and 10 year moving average

EPS one-year growth rate

Earnings per share = Price/PE. The one-year growth in the EPS is shown below. in 2002, a sudden drop in interest rates triggered the EPS growth rate and a bull run.  Notice that in recent years, there is virtually an absence of EPS growth. This is why I mentioned Do not start dreaming of a bull run even IF exit polls are right!! A bull run accompanied by an increase in EPS growth rate is a healthy bull run.

Nifty Valuation Tool screenshots EPS Growth Rate

ROE or Book Yield

PB divided by the PE gives  Earnings per share divided by book value per share. This is also known as return on equity or book yield. This is a profitability measure. Unfortunately, this has been moving south. Again, an increase in price accompanied by an increase in ROE is a healthy bull run.

Nifty Valuation Tool screenshots ROE Book YieldNifty Valuation Tool Instructions Page

The user following the instructions in this page can paste any index data (price, PE, PB, Div Yield) and analyze valuation. Automated data download is not possible/feasible.

Nifty Valuation Tool screenshots the instructions pageDisclaimer: The sheet provided below is informational/educational. It will tell you the results of various indicators but not when to buy, sell, or do anything else. That judgment is entirely up to the user. The sheet has been extensively tested for bugs, and there are no known bugs. However, it is impossible to guarantee that the sheet is free of errors. Users can bring issues to my notice for evaluation. I am not responsible for gains or losses that the user may suffer by using this tool.

The Nifty Valuation tool is priced at Rs. 1000

Get the Nifty Valuation Tool

You can also get Nifty PE Tool + Tactical Buy/Sell Tool as a combo deal for Rs. 1500.

Do share this article with your friends using the buttons below.

🔥Enjoy massive discounts on our courses, robo-advisory tool and exclusive investor circle! 🔥& join our community of 5000+ users!
Use our Robo-advisory Tool for a start-to-finish financial plan! More than 1,000 investors and advisors use this!
New Tool! => Track your mutual funds and stock investments with this Google Sheet!
Follow Freefincal on Google News
Follow Freefincal on Google News
Subscribe to the freefincal Youtube Channel. Subscribe button courtesy: Vecteezy.
Subscribe to the freefincal Youtube Channel.
Follow freefincal on WhatsApp Channel
Follow freefincal on WhatsApp
Podcast: Let's Get RICH With PATTU! Every single Indian CAN grow their wealth! 
Listen to the Lets Get Rich with Pattu Podcast
Listen to the Let's Get Rich with Pattu Podcast
You can watch podcast episodes on the OfSpin Media Friends YouTube Channel.
Lets Get RICH With PATTU podcast on YouTube
Let's Get RICH With PATTU podcast on YouTube.

  • Do you have a comment about the above article? Reach out to us on Twitter: @freefincal or @pattufreefincal
  • Have a question? Subscribe to our newsletter with the form below.
  • Hit 'reply' to any email from us! We do not offer personalized investment advice. We can write a detailed article without mentioning your name if you have a generic question.

Join over 32,000 readers and get free money management solutions delivered to your inbox! Subscribe to get posts via email!

Explore the site! Search among our 2000+ articles for information and insight!

About The Author

Pattabiraman editor freefincalDr. M. Pattabiraman(PhD) is the founder, managing editor and primary author of freefincal. He is an associate professor at the Indian Institute of Technology, Madras. He has over ten years of experience publishing news analysis, research and financial product development. Connect with him via Twitter, Linkedin, or YouTube. Pattabiraman has co-authored three print books: (1) You can be rich too with goal-based investing (CNBC TV18) for DIY investors. (2) Gamechanger for young earners. (3) Chinchu Gets a Superpower! for kids. He has also written seven other free e-books on various money management topics. He is a patron and co-founder of “Fee-only India,” an organisation promoting unbiased, commission-free investment advice.
Our flagship course! Learn to manage your portfolio like a pro to achieve your goals regardless of market conditions! More than 3,000 investors and advisors are part of our exclusive community! Get clarity on how to plan for your goals and achieve the necessary corpus no matter what the market condition is!! Watch the first lecture for free!  One-time payment! No recurring fees! Life-long access to videos! Reduce fear, uncertainty and doubt while investing! Learn how to plan for your goals before and after retirement with confidence.
Our new course!  Increase your income by getting people to pay for your skills! More than 700 salaried employees, entrepreneurs and financial advisors are part of our exclusive community! Learn how to get people to pay for your skills! Whether you are a professional or small business owner who wants more clients via online visibility or a salaried person wanting a side income or passive income, we will show you how to achieve this by showcasing your skills and building a community that trusts you and pays you! (watch 1st lecture for free). One-time payment! No recurring fees! Life-long access to videos!   
Our new book for kids: “Chinchu gets a superpower!” is now available!
Both boy and girl version covers of Chinchu gets a superpower
Both the boy and girl version covers of Chinchu gets a superpower.
Most investor problems can be traced to a lack of informed decision-making. We have all made bad decisions and money mistakes when we started earning and spent years undoing these mistakes. Why should our children go through the same pain? What is this book about? As parents, what would it be if we had to groom one ability in our children that is key not only to money management and investing but to any aspect of life? My answer: Sound Decision Making. So in this book, we meet Chinchu, who is about to turn 10. What he wants for his birthday and how his parents plan for it and teach him several key ideas of decision-making and money management is the narrative. What readers say!
Feedback from a young reader after reading Chinchu gets a Superpower (small version)
Feedback from a young reader after reading Chinchu gets a Superpower!
Must-read book even for adults! This is something that every parent should teach their kids right from their young age. The importance of money management and decision making based on their wants and needs. Very nicely written in simple terms. - Arun.
Buy the book: Chinchu gets a superpower for your child!
How to profit from content writing: Our new ebook is for those interested in getting side income via content writing. It is available at a 50% discount for Rs. 500 only!
Want to check if the market is overvalued or undervalued? Use our market valuation tool (it will work with any index!), or get the Tactical Buy/Sell timing tool!
We publish monthly mutual fund screeners and momentum, low-volatility stock screeners.
About freefincal & it's content policy. Freefincal is a News Media Organization dedicated to providing original analysis, reports, reviews and insights on mutual funds, stocks, investing, retirement and personal finance developments. We do so without conflict of interest and bias. Follow us on Google News. Freefincal serves more than three million readers a year (5 million page views) with articles based only on factual information and detailed analysis by its authors. All statements made will be verified with credible and knowledgeable sources before publication. Freefincal does not publish paid articles, promotions, PR, satire or opinions without data. All opinions will be inferences backed by verifiable, reproducible evidence/data. Contact information: letters {at} freefincal {dot} com (sponsored posts or paid collaborations will not be entertained)
Connect with us on social media
Our publications

You Can Be Rich Too with Goal-Based Investing

You can be rich too with goal based investingPublished by CNBC TV18, this book is meant to help you ask the right questions and seek the correct answers, and since it comes with nine online calculators, you can also create custom solutions for your lifestyle! Get it now.
Gamechanger: Forget Startups, Join Corporate & Still Live the Rich Life You Want Gamechanger: Forget Start-ups, Join Corporate and Still Live the Rich Life you wantThis book is meant for young earners to get their basics right from day one! It will also help you travel to exotic places at a low cost! Get it or gift it to a young earner.

Your Ultimate Guide to Travel

Travel-Training-Kit-Cover-new This is an in-depth dive analysis into vacation planning, finding cheap flights, budget accommodation, what to do when travelling, and how travelling slowly is better financially and psychologically, with links to the web pages and hand-holding at every step. Get the pdf for Rs 300 (instant download)