The Now or Never Month – August 2019

The last few weeks (esp. the last one) have been hard for a number of people (including me).

The Baseline

NIFTY made a high of 12103.25 (the curse of the thousands played out again) and has since then corrected to a low of 10848.95 in 9 weeks. This is a move of 10.36% at an average pace of 1.15% per week. As far as pace of corrections go, this has been a fairly tame correction. The average pace of the last 5 weeks has been 1.89% per week.

Baseline

What does History tell Us about Corrections

First of all, it’s a good idea to review this twitter thread of mine reviewing corrections on the NIFTY since 2002.

Now what about this correction?

Lets review the Weekly Charts

  1. This correction has gone beyond the -3 SD on the Bollinger Bands!
  2. 8 of the past 9 weeks have been red candles on the weekly charts.
  3. The correction has landed at the doors of the 100 WSMA @ 10848.95

Weekly_Charts

Now Lets review the Monthly Charts

  1. Two consecutive red candles have been formed.
  2. The correction has *almost* tested the -0.5 SD BB (10793.xx)

Monthly_Chart

So, NIFTY has reached the same levels as the Sept – Oct 2018 correction.

 How do these levels compare to the 2018 correction?

  1. September – October 2018 correction ended at -0.5 SD BB on the Monthly Charts
  2. It also ended just below the 100 WSMA.
  3. The 2018 correction had lasted 8 weeks.
  4. It never went close to the -3 SD on the Weekly BB.

 

Now that we have the context lets try and peer into some additional data points ….

The value of the -3 SD Bollinger Band Test

  • The NIFTY has tested the -3SD on the Weekly BB only ten times in its entire history!
  • 6 / 10 times, the NIFTY low in the week of -3SD BB test was within 2% of its intermediate low.
  • 8 / 10 times, the swing low happened within 2 weeks (or in the same week) of the -3 SD test week.
  • 7 / 10 times, the low formed within that 1 – 3 week period was the final low.
  • 3 / 10 times, the market made a substantially lower low (it turned out to be start of a bear market)

-3SD.png

The duration of the fall (>= 9 weeks)

  • There have been 7 instances since 1997 where the singular fall / correction lasted >= 9 weeks
    • One of them lasted 9 weeks
    • Two of them lasted 10 weeks and 13 weeks each
    • The remaining two lasted 11 weeks and 12 weeks each
  • Only 3 / 7 had <= 1 Green candle in the entire journey from top to bottom (similar to the current correction)
  • 4/7 corrections made a final low whereas for the remaining 3/7 instances, the low formed by this correction was within 4% of the final low.

Greater than 9

Now we come to the Now or Doomsday (Monthly Charts)

If the NIFTY breaks the -0.5 SD on the Bollinger Band conclusively, then it tends to test either or all of the following

  • The 50 MSMA (9654)> Rising at 52 points per month
  • -2 SD on the Bollinger Band (10047).
  • -2.5 SD on the Bollinger Band (9818).

In a worse case scenario, can also test the 100 MSMA (8050).

In a nutshell

  • There is a high probability an Intermediate Term low has either formed or will form within the following parameters
    • Previous week or within the next 1 – 3 weeks
    • Current low or within the 2% – 3% of the current low.

 

  • IF there is a sustained break of the -0.5 SD Bollinger Band on the Monthly chart (10793), then its time to sit back and watch the chaos unfold. IF that happens, then the current correction will feel like a bull-market. 

 

Disclaimer – The above is my market analysis and should NOT be considered as any kind of market advice. I am not certified to provide market advice. 

 

Where do we go after the damp squib?

I Am trying out to this experiment of moving from an unstructured twitter thread to the blog. I have no real idea of how successful or coherent I’ll be, but hopefully I’ll get better at this. Please excuse me if the post rambles a bit.

 The (non-)volatility of election results

From a volatility perspective the election results turned out to be a damp squib. Agreed that on the day of the results, there was a 400-point candle but on the weekly charts it didn’t even manage the widest range for Calendar Year 2019. That’s a pity. Even in 2014, NIFTY made the widest range bar in > the past 20 weeks and the less we talk of sparkling price volatility in 2009 and 2004, the better it is.

That was legendary volatility; days you remember for years!

The question will, inevitably, come up. Why does this even matter? Maybe as they say, the markets had already *priced* in the election results (That is BS; just in case you haven’t read my tweets).

The Consolidation

The real reason it matters is the yellow rectangle and the consolidation it represents. Since making an intermediate top in early August 2018, NIFTY has moved 3% in ~ 10 months and 5 of those 10 months were spent under the tender love and care of the 20 Monthly SMA. This SMA was, almost, retested in May 2019.

While the NIFTY has moved beyond the previous ATH with some minor conviction, it hasn’t seen the kind of explosive move that many (including myself) expected.

The baseline

For the purpose of the next set of analysis, I’m going to assume the elections were a non-event (sadly). Let us see where the NIFTY stands today

Weekly Charts

  1. Price is between +1 SD to +2 SD BB
  2. RSI is approaching 70.
  3. The price differential between the Week’s High and the 20WSMA is 6.3%

To Summarize, it is potentially (Why potentially? The price action and data is dynamic) getting close to levels where we should worry but not yet.

The Weekly Chart

Monthly Charts

  1. Price is tagging the +2 SD BB (3rd consecutive month)
  2. RSI is approaching 70.
  3. The price differential between the Month’s High and the 20MSMA is 10.22%

Monthly Charts

Quarterly Charts

  1. Price is tagging the +2 SD BB (2nd consecutive quarter)
  2. RSI is at 79.84. For context, this has been higher only twice earlier (Jan 2006 @ 80.4 and Oct 2007 @ 86.74)

This Long-Term trend is starting to breathe rarefied air. Yet, this is a quarterly chart and fortunes can be built & lost in a single quarterly candle.

The Assessment

With the baseline established, let us begin an interpretation of the charts

The Quarterly charts (Long-Term Trend)

  1. Since 1999, there have been six corrections (bear-markets?) lasting at-least two quarters.
  2. 5 of the 6 started from a new ATH.
    1. None of these 5 started below the +2.5 SD BB on the Quarterly Charts.
    2. 3/5 tested or crossed or at-least went very close to the +3 SD BB.
    3. The same levels on the NIFTY (today) are 12600 – 13400 and rising at 400 – 500 points per quarter.
  3. The one instance where the NIFTY didn’t make an ATH and had a multi-quarter correction (bear-market?) was in October 2010.

To summarize, the lack of an explosive move post elections has, probably, extended the duration of the LT Trend.

Quarterly_Correction

The Monthly charts (Medium-Term Trend)

  1. The Monthly candles for the past 3-months have all tagged the +2 SD BB.
  2. If we refer to the Yellow rectangles, in the chart below, we’ll see that none of the 6 instances (since 1999) resulted in an immediate top and the rally continued for anywhere between 3 months – 4 years!

Monthly_BB

  1. In all these instances, the final top happened with the Monthly RSI – broadly – beyond 70 (and we’re not there yet)
  2. Another interesting data point is that months of December 2018 – February 2019 were all red candles. 3 or more consecutive red candles doesn’t happen often.
    1. It has happened only 11 times earlier (since 1997) and of these 11 instances
      1. 2 have happened at or near the top.
      2. Remaining 9 have happened in the middle or the end of a down-move.
    2. The current set of red candles are very similar (at 20MSMA) to what happened in 2013 and 2016 which resulted in significant ATHs and multi-month rallies.

 

Monthl_Reds

The Weekly charts (Short-Term Trend) –

Finally we have reached the point of assessment of the Short-term trend

  1. The two broad parameters that give a, high-probability, view of an upcoming correction are
    1. The price differential between the Week’s High and the 20WSMA is somewhere in the range of 7% – 8%. The 20WSMA is rising at 50 – 60 points per week.
    2. Test of the range > +2 SD BB (Currently @ 12205) rising at ~90 – 100 points per week.
  2. Sometimes, this can combine with a streak of 5 – 8 consecutive green candles (currently NIFTY is making the 4th Green candle)

The curse of the thousands

Whenever NIFTY has crossed a x000 milestone (i.e. 8000 – 9000 – 10000 – 11000 etc) for the first time; it has found an immediate resistance between the range of x100 – x200 points (8180 – 9119.20 – 10137.85 – 11171.55).

Summary

This has been a much longer blog-post than I anticipated it would be; let me try and gather my thoughts into a summary

  1. The Short-term trend may face a hiccup in the next few weeks due to a convergence of multiple parameters.
  2. The Medium-term trend has some way to go and FY19 might turn out to be a real good year for the investors.
  3. The Long-term trend is entering the slog overs, but difficult to say whether it is the 40th over or the 47th over of the 50-over inning.
  4. The levels to note (at this time) are
    1. ST Trend – 12100 to 12250 (rising at 50 – 100 points per week)
    2. MT Trend – 12300 to 12600 (rising at 160 – 180 points per month)
    3. LT Trend – 12600 to 13400 (rising at 400 to 500 points per quarter)

 

NOTE – The above post should be considered as my analysis notes and should not be construed as any kind of investment advice.

The Anatomy of a NIFTY Top

In this post, I’m going to explore something that has always fascinated me; how do market tops happen? Are there data patterns (beyond candlestick patterns) which can be utilized to identify those tops in real-time? So, let’s see if some of those questions can be answered in this post.

For the sake of lucidity, I’m going to split the analysis into a few parts.

Let’s first define what a top means (for purposes of this post)

  • Price Action that leads to a multi-month (>=3) correction
  • Test of the +/- 0.5 SD Bollinger Band (i.e. BB with 0.5SD width and 20MMA)

The Nifty Infancy i.e. 1990 – 1995

During this period, there were 2 market tops which led to multi-month corrections. These tops happened in April 1992 and September 1994

  • Both tops were made during months with red candles and the month range was 16.8% and 6.8% <Interesting Symmetry there!>
  • The first was a blow-out top and the second was a measured top.
  • The second top was 8.2% higher than the first top.
  • Due to the Infancy, both were All-Time High tops.
  • RSI high before either of the two tops was 90 and 75.

INFANCY_01

NIFTY Starting School: 1996 – 2003

These years could also be characterized as the consolidation years. NIFTY made 4 market tops during this period, but it wasn’t until the 4th market top that it crossed the All-time high created during the Infancy years. The four tops were made in June 1996, August 1997, April 1998 and February 2000.

  • The ATH top (Feb. 2000) was made ~ 32% above the previous ATH (Sept. 1994)
  • All except August 1997 top were made in months with Green candles.
  • The monthly range, for months where tops were made, were 9.4%, 15.3%, 10.6% and 16.3%
  • Only the final top was an ATH.
  • All consolidation tops (first three) happened with RSI highs between 55 – 60 and the final ATH top happened with an RSI high of 72.

NIFTY_02

NIFTY’s Wild Years: 2003 – 2009

This period saw the most one-sided rally that NIFTY has ever seen followed by a stunning fall. This rally enticed and introduced many people to the equity markets (including me) and then us newbies saw our portfolios getting halved over the period of a few months. Probably the best description of these wild years can only come from a Charles Dickens epic – “It was the best of times and the worst of times …..”.

During this period, NIFTY made three tops (as per my definition) in January 2004, May 2006 and finally in January 2008.

  • All three months were made in months with red candles (normal service resumed!!)
  • The monthly ranges, in which the tops were made, were 12.8%, 23.2% and 30.2%
  • The first ATH was 10.8% above the previous ATH (Feb. 2000). All three were blow-out highs with months of sustained upmove prior to the tops.
  • The RSI tops were 78, 82 and 85 prior to each of the ATHs.

NIFTY_03

NIFTY Trying to grow up? – 2009 Onwards

It might be fair to say that NIFTY has nursed a long hangover of it’s wild years. Every time NIFTY has moved up, people have looked for a premature top (atleast IMO). During this period, NIFTY successfully made 4 tops and a fifth one will happen sometime in the near or far future. These four tops happened in November 2010, May 2013, February 2015 and September 2016.

  • 3 of the four tops were made in months with red candles.
  • The monthly ranges in each of these four months were 10.2%, 5.2%, 9.3% and 4.6%.
  • The first ATH was 43.5% higher than the previous ATH (Jan 2008)
  • The RSI tops prior to these market tops were 68, 61, 83 and 63 respectively.

What does all this mean?

  • Of the 13 tops on monthly charts, 9 were made in months with RED candles.
    • 3 of the four tops made with green monthly candles were made between 1995 – 1998.
    • So, there is a > 70% approaching 90% chance that the top will be made in a month with a red candle.
  • NIFTY has tendency to make ATHs (post-consolidation) at 8-10% above the previous ATH. Beyond this, it doesn’t stop till it reaches the 30s.
  • The average monthly range for a top month is 13.13% and the median monthly range is 12.8%. Only 4/13 have < 10% monthly ranges and the highest concentration is between 9 – 13%!!! Remember this is range for ONE month.
  • All but one of the ATH tops were preceded by huge GREEN candles on the monthly charts.
  • Two of the ATH tops were made with RSI @ 72 whereas RSI was > 78 for all other ATH tops.

Where is the NIFTY today?

Monthly range for June is < 2% with the current ATH being 6.4% above the previous ATH AND the current RSI high is 69.6. I shouldn’t need to spell out where my interpretation of the price action is pointing.

BUT and this is a huge caveat, History should be taken as an indicator but not a predictor of the future. There is a first time for everything!

Thanks for reading so far! I’m reachable @jdsfinance on twitter.

NIFTY – Move Analysis – 1991 to 2017 – I

Thanks to everyone for the amazing feedback for the previous post.

The question that triggered off this analysis was “Has the NIFTY moved too far, too soon and is a major correction imminent?” If you’ve heard any of the analysts on TV, you would know that there is a rare fund manager or analyst who believes in this rally.

This post is an attempt to look back at NIFTY’s history to see what it can tell us. This post is not about Technical Analysis, but pure and simple data analysis. For the record, you know of my views of the move from my previous post. 😊

The Tools for the Analysis

  1. 20WSMA (20 Weekly Simple Moving Average) is something I’ve used for a while now.
  2. Upmove duration is defined as time spent by NIFTY for any duration >= 10 weeks above the 20 WSMA. It is not time from bottom to top; but rather the time duration between retests of 20WSMA. The filter is a move that lasts for >= 10 weeks.
  3. Downmove duration is defined as time spent by NIFTY for any duration >= 10 weeks below the 20 WSMA. It is not time from top to bottom; but rather the time duration between retests of 20WSMA. The filter is a move that lasts for >= 10 weeks.
  4. % move is the difference between the last point at which the 20WSMA was crossed and the following top or bottom before a retest of the 20WSMA.
  5. Clarifications
    1. One bull or bear market move could encompass multiple tests of the 20WSMA, but for the purposes of this analysis, each of the tests or retests is considered a separate data point.
    2. All the selections e.g. 20WSMA and 10 weeks are arbitrary and my choices, you can do the same analysis on any moving average or any duration.
    3. Numbers are close approximations, because I took the data from the charts rather than any database.
    4. Data is up to the 30th April 2017.

Back to the Analysis

Background data

Since 1991, there have been 28 instances where the NIFTY has spent >= 10 weeks above the 20WSMA and 24 instances where the NIFTY has spent >= 10 weeks below the 20WSMA. Some simple data points,

  • In total amongst these 52 instances (including the current one), NIFTY has spent 978+ weeks in trend i.e. 18.8 years of 26+ years. Who said the markets trend only 30% of the time?
  • The averages are (skewed by outliers of course)

 

Parameter 1991 – 2017 2007 – 2017
Number of Upmoves 28 10
Average Upmove % 39.71% 29.73%
Average Upmove duration 21.67 Weeks 23.44 weeks
Price move per week – Upmove 1.83% 1.23%
Number of Downmoves 24 8
Average downmove % -21.39% -19.24%
Average downmove duration 15.43 Weeks 12.87 weeks
Price move per week – downmove -1.46% -1.38%

The crux of the analysis

Now that we have some idea of the overall picture; let’s get down to the key elements of the analysis. Some of the questions that we’ll attempt to answer are:

  • What kind of rally is this?

    • This is the 4th slowest rally since 2007 and the 6th slowest overall with a change of 0.88% per week. Why does it matter? Slow rallies are, generally, followed by less damaging corrections. As a side point, this is the slowest rally, ever, that began between December – February.
    • Upmoves starting in December – February were comparatively common i.e. 9/28 overall; but this is only the second since 2007. They’ve become a rare-breed since 2007!! Also, such moves don’t last long i.e. average duration is 15.4 weeks; but most data is prior to 2007, so probably not that important an indicator.

NIFTY_MONTHLY_TOPS_BOTTOMS

 

 

 

 

 

 

  • When do the probabilities of this rally ending, begin to rise?

    • NIFTY, very rarely, makes an intermediate top in Q2. The occurrences are only 3/28
    • There is a good chance that one of April – August (at 1 in the above chart) will change. The question is which one? This is a tough one and your guess is as good as mine.
      • 40% of all Upmoves have ended in 17 / 21 – 23 weeks but the Modi moves have lasted 32 (2014) and 27 (2016) weeks respectively. The average upmove duration since 2007 is 23.45 weeks.
      • The mean and median duration all Upmoves which created an ATH are between 22 – 24 weeks.
      • The mean and median duration of all the Upmoves is 21 – 22 weeks.
      • So, here goes the educated guess
        • If we hit the upper-end of the 22- 24-week mark (Modi rally tendencies), there could be a top in another 6 – 8 weeks. That means a top in late-June or more probably July.
        • That would also mean 5-6 consecutive positive monthly candles; which is something that the NIFTY has tended to do in the recent past.

 

  • In the meantime, how much further can this rally go?

    • Assuming we carry on with ~0.85%-0.9% move per week for another 6 – 8 weeks, we should have another 6-7% upside, for a rally of 17%+; which is also the median since 2009 i.e. the last bottom.
    • Need to remember that of the 16 Upmoves (since 1991) which made an ATH, only 3 have ended with a rally < 20%.

 

  • What kind of correction we’re looking at?

    • A substantial one. 2/9 corrections, following similar moves, ended at the 20WSMA. Others just stopped there to take a bit of rest, before driving further down to test the lower Bollinger Band. These numbers are dynamic, but as of today that is a 12-15% kind of correction.
    • Is there anything good about this? These were all slow corrections with an average fall of <= 1% per week; hence the correction could last upto 3 – 4 months.
    • The slower the upmove and the smaller it’s quantum, the lesser will be the magnitude and speed of the correction.

The Alternate Scenarios

In the above analysis, I just assumed that the NIFTY will hit the median upmove % and duration? What if that doesn’t happen before we retest the 20WSMA? That gives rise to 2 scenarios

  • Scenario A: The move is almost done (Lower probability, IMO, than what we’ve discussed above)
    • In this scenario, I would expect more ongoing consolidation with a smallish fall and a decent chance for a reversal from or just below the 20WSMA.
    • The slowness of the upmove would preclude a major and steep fall, unless the world goes to hell.

 

  • Scenario B: The move has a long-way to go (Lowest probability, IMO) before the retest of 20WSMA say 10.5K or upwards
    • I can’t figure why this would happen and how this would happen but this would mean a steepening and speeding up of the move at some point in-time with some interim consolidations.
    • There have been only 3 NIFTY rallies longer than 30 weeks; so such a move can’t be a grinding upward move. Of-course once the 20WSMA or the 50WSMA is retested, then another rally is always possible to take out all possible levels.

What does the VIX Say?

I started looking at VIX monthly data, looking for cyclicality and I found some cyclicality; just not as strong or as much as expected. For the record, there is only weakish correlation between a rising VIX and a falling market. With that in mind, the VIX patterns that I’ve seen are

  • Dies post-budget into somewhere between April – July.
  • Rises upto make a high somewhere between July – October.
  • Dies into December – January.

There is almost no guarantee that this will hold; but the VIX is bound to rise sometime during H2. The current fall has been unprecedented e.g. this is the first time ever, IndiaVIX hasn’t touched 15 for two consecutive months.

 

In Conclusion

I’ve listed down a few scenarios based upon how I’ve interpreted the historical data. It is possible that none of these turn out to be true or that Trump does something or Le Pen wins or Merkel loses or there is a war with North Korea or another black swan event happens and the markets just crack.

Do keep in mind that as the data changes over the next few weeks and months, the probabilities in favor of and against these scenarios will also change.

 

 

I am reachable on twitter @jdsfinance

Disclaimer

This is simple data analysis, done to satisfy curiosity and answer some questions and should NOT be treated as any kind of investment advice.

NIFTY – 20170415

What has the Nifty done?

Long-Term: Nothing much. We were and are at 91xx 25 months apart. 

Medium Term: September 2016 High was 8968 and today we’re at 9150. Again. Nothing much!!

Short Term: The move has been very sluggish (almost a grind-up) since Nifty made a high, after the budget. 

20170415_02

Anyways, my biases and inclinations aside.

Let’s look at the data

Today, I’m going to look at the Nifty and the VIX. So, here go some simple observations

  • Since the August 2013 (FDI in Retail bottom … IIRC), Nifty has spent a bunch of time above the 20 Weekly SMA (approx. 125 weeks) and some time below the 20 Weekly SMA (approx. 65 weeks). Right now, the 20WSMA is @ 8672. 

    Why the distinction? Primarily because, during this period,

    • When the Nifty is > 20WSMA, the corrections (or red candles on the weekly charts, as I prefer to look) have been limited to 3 weeks except for one instance. Also, as would make sense, the “corrections” are much less severe i.e. 5.8%, 5.5%, 7.7%, 3.9% and 4.6%.
    • When the Nifty is < 20WSMA, the falls (or red candles again) tend to last up-to 4 weeks and of-course, the falls are of higher magnitude i.e.  9.3%, 9.5%, 6.5%, 12.55%, 7.3%, 9.2%, 10.2% and 9.4%. 

Now Let’s come back to the current picture

  • NIFTY corrections above the 20WSMA tend to last, mostly, 3 weeks and the Nifty is already 2 weeks in this correction. (I count red candles as corrections / falls). The maximum back-to-back negative weeks have been 4 in one instance in Sept. / Oct. 2014.
  • During this period, a 4 week correction has ALWAYS tested or ended below the 20WSMA. Currently, the average stands @ 8672.
  • The current correction is 1.4%!!!! i.e. waaay lower than any previous correction, in this period, with Nifty above 20WSMA. This “correction” has been surprising in the fact of how little the NIFTY has fallen so far; two weeks into a correction.

What does this all mean?

  • Maybe we can say the greater the consolidation, the lesser the correction?
    • In both the post-Modi up-moves there were two instances of 9 weeks (June – August 2014) and 7 Weeks (July – August 2016) when the Nifty, practically, did nothing for close to two months. (Refer the chart below)
    • Nifty is 7 weeks into some sort of consolidation now.

20170415_03.JPG

So, are we in a one of these “go-nowhere” consolidations?

  • The VIX seems to think so. The last time, VIX was consistently below 15 for a substantial period of time was between August – November 2014. That aligns with the 9-week period of consolidation. 
  • Why is the VIX important in this context? Because, IndiaVIX has quietly, created history
    • The lowest high the VIX has made EVER in a month since it’s inception, was September 2014 – 14.83 (ring a bell!!!!) and March 2017 – 14.72. Current month high is ~12.75!!!!!!!
    • if IndiaVIX doesn’t hit 15 in April: This will be first instance in VIX history that it won’t have hit 15 for two consecutive months!! I mean, what does the VIX need to rise? Trump is threatening to go to war with Syria and North Korea!!
    •  Thanks to the budget in February; This is the first instance where the VIX has fallen below 12 in the months of March & April.

So, what is the conclusion?

  • There are, probably, 1-2 more weeks left of red candles on the Weekly Charts. If during this correction, Nifty falls below 8672; then the alarm bells should ring. 
  • In all the instances of correction above the 20WSMA, Nifty made a significantly new high AFTER that 3/4 week correction.

 

I am reachable on twitter @jdsfinance.

Looking at Market Data

Quick Summary

Over the past few years, I’ve developed a slightly different approach of looking at data regarding the Indian Stock Markets. I don’t know what to call it; but what I’m aiming to do is look for patterns, more specifically trade-able patterns made by historical data. One might say that this is what charts do and that is correct (to an extent).

The only difference in my attempt here is one word – context. A chart pattern, in and of itself, is useful and good chart readers (of which there are many and most of them way better than me) can intuitively grasp the context. Unfortunately, I have struggled in that respect, immensely, at times.

This blog here is an attempt to elucidate and improve my own understanding of ‘context’ as it concerns market data. I have no real-idea of how good I’ll be, in following up this maiden attempt, but I’m going to give it a good try!!