Module 2   Technical AnalysisChapter 14

Indicators (Part 1)

View chapters →

M2-Ch14-title

If you look at a stock chart displayed on a trader’s trading terminal, you are most likely to see lines running all over the chart. These lines are called the ‘Technical Indicators’. A technical indicator helps a trader analyze the price movement of a security.

Indicators are independent trading systems introduced to the world by successful traders. Indicators are built on preset logic using which traders can supplement their technical study (candlesticks, volumes, S&R) to arrive at a trading decision. Indicators help in buying, selling, confirming trends, and sometimes predicting trends.

Indicators are of two types namely leading and lagging.  A leading indicator leads the price, meaning it usually signals the occurrence of a reversal or a new trend in advance. While this sounds interesting, you should note, not all leading indicators are accurate. Leading indicators are notorious for giving false signals. Therefore, the trader should be highly alert while using leading indicators. In fact the efficiency of using leading indicators increases with trading experience.

A majority of leading indicators are called oscillators as they oscillate within a bounded range. Typically an oscillator oscillates between two extreme values – for example 0 to 100. Based on the oscillator’s reading (for example 55, 70 etc) the trading interpretation varies.

A lagging indicator on the other hand lags the price; meaning it usually signals the occurrence of a reversal or a new trend after it has occurred.  You may think, what would be the use of getting a signal after the event has occurred? Well, it is better late than never. One of the most popular lagging indicators is the moving averages.

You might be wondering if the moving average is an indicator in itself, why we discussed it even before we discussed the indicators formally. The reason is that moving averages is a core concept on its own. It finds its application within several indicators such as RSI, MACD, Stochastic etc. Hence, for this reason we discussed moving average as a standalone topic.

Before we proceed further into understanding individual indicators, I think it is a good idea to understand what momentum means. Momentum is the rate at which the price changes. For example if stock price is Rs.100 today and it moves to Rs.105 the next day, and Rs.115, the day after, we say the momentum is high as the stock price has changed by 15% in just 3 days. However if the same 15% change happened over let us say 3 months, we can conclude the momentum is low. So the more rapidly the price changes, the higher the momentum.

14.1 – Relative Strength Index

Relative strength Index or just RSI, is a very popular indicator developed by J.Welles Wilder. RSI is a leading momentum indicator which helps in identifying a trend reversal. RSI indicator oscillates between 0 and 100, and based on the latest indicator reading, the expectations on the markets are set.

The term “Relative Strength Index” can be a bit misleading as it does not compare the relative strength of two securities, but instead shows the internal strength of the security. RSI is the most popular leading indicator, which gives out strongest signals during the periods of sideways and non trending ranges.

The formula to calculate the RSI is as follows:

M2-Ch14-Chart1

Let us understand this indicator with the help of the following example:

Assume the stock is trading at 99 on day 0, with this in perspective; consider the following data points:

Sl No Closing Price Points Gain Points Lost
01 100 1 0
02 102 2 0
03 105 3 0
04 107 2 0
05 103 0 4
06 100 0 3
07 99 0 1
08 97 0 2
09 100 3 0
10 105 5 0
11 107 2 0
12 110 3 0
13 114 4 0
14 118 4 0
Total 29 10

In the above table, points gained/lost denote the number of points gained/lost with respect to the previous day close. For example if today’s close is 104 and yesterday’s close was 100, points gained would be 4 and points lost would be 0. Similarly, if today’s close was 104 and previous day’s close was 107, the points gained would be 0 and points lost would be 3. Please note that, the loses are computed as positive values.

We have used 14 data points for the calculation, which is the default period setting in the charting software. This is also called the ‘look-back period’. If you are analyzing hourly charts the default period is 14 hours, and if you are analyzing daily charts, the default period is 14 days.

The first step is to calculate ‘RS’ also called the RSI factor. RS as you can see in the formula, is the ratio of average points gained by the average points lost.

Average Points Gained = 29/14

= 2.07

Average Points Lost = 10/14

= 0.714

RS = 2.07/0.714

= 2.8991

Plugging in the value of RS in RSI formula,

= 100 – [100/ (1+2.8991)]

= 100 – [100/3.8991]

= 100 – 25.6469

RSI = 74.3531

As you can see RSI calculation is fairly simple. The objective of using RSI is to help the trader identify over sold and overbought price areas. Overbought implies that the positive momentum in the stock is so high that it may not be sustainable for long and hence there could be a correction. Likewise, an oversold position indicates that the negative momentum is high leading to a possible reversal.

Take a look at the chart of Cipla Ltd, you will find a lot of interesting developments:

M2-Ch14-Chart2

To begin with, the red line below the price chart indicates the 14 period RSI. If you notice the RSI’s scale you will realize its upper bound to 100, and lower bound to 0. However 100 and 0 are not visible in the chart.

When the RSI reading is between 30 and 0, the security is supposed to be oversold and ready for an upward correction. When the security reading is between 70 and 100, the security is supposed to be heavily bought and is ready for a downward correction.

The first vertical line marked from left shows a level where RSI is below 30, in fact RSI is 26.8. Hence RSI suggests that the stock is oversold. In this particular example, the RSI value of 26.8, also coincides with a bullish engulfing pattern. This gives the trader a double confirmation to go long! Needless to say, both volumes and S&R should also confirm to this.

The second vertical line, points to a level where the RSI turns 81, a value which is considered overbought. Hence, if not for looking at shorting opportunities, the trader should be careful in his decision to buy the stock. Again, if you notice the candles, they form a bearish engulfing pattern. So a bearish engulfing pattern, backed by an RSI of 81 is a sign to short the stock. What follows this is a quick and a short correction in the stock.

The example that I have shown here is quite nice, meaning both the candlestick pattern and RSI perfectly align to confirm the occurrence of the same event. This may not always be true. This leads us to another interesting way to interpret RSI. Imagine the following two scenarios:

Scenario 1) A stock which is in a continuous uptrend (remember the uptrend can last from few days to few years) the RSI will remain stuck in the overbought region for a long time, and this is because the RSI is upper bound to 100. It cannot go beyond 100. Invariably the trader would be looking at shorting opportunities but the stock on the other hand will be in a different orbit. Example – Eicher motors Limited, the stock has generate a return of close to 100% year on year.

Scenario 2) A stock which is in a continuous downtrend the RSI will be stuck in the oversold region since the RSI is lower bound to 0. It cannot go beyond 0. In this case as well the trader will be looking at buying opportunities but the stock will be going down lower. Example – Suzlon Energy, the stock has generated a return of negative 34% year on year.

This leads us to interpret RSI in many different ways besides the classical interpretation (which we discussed earlier)

  1. If the RSI is fixed in an overbought region for a prolonged period, look for buying opportunities instead of shorting. The RSI stays in the overbought region for a prolonged period because of an excess positive momentum
  2. If the RSI is fixed in an oversold region for a prolonged period, look for selling opportunities rather than buying. RSI stays in the oversold region for a prolonged period because of an excess negative momentum
  3. If the RSI value starts moving away from the oversold value after a prolonged period, look for buying opportunities. For example, the RSI moves above 30 after a long time may mean that the stock may have bottomed out, hence a case of going long.
  4. If the RSI value starts moving away from the overbought value after a prolonged period, look for selling opportunities. For example, RSI moving below 70 after a long time. This means the stock may have topped out, hence a case for shorting

14.2 – One last note

None of the parameters used while analyzing RSI should be treated with rigidity. For example, J.Welles Wilder opted to use a look back period of 14 days simply because that was the value which gave the best results considering the market conditions in 1978 (which is when RSI was introduced to the world). You may choose to use 5,10,20, or even 100 days look back period if you wish too. In fact this is how you develop your edge as a trader. You need to analyze what works for you and adopt the same. Please note, fewer the days you use to calculate the RSI, the more volatile the indicator would be.

Also, J.Welles Wilder decided to use 0-30 level to indicate oversold regions and 70-100 level to indicate overbought region. Again this is not set in stone, you can arrive at you own combination.

I personally prefer to use 0-20 level and 80-100 level to identify oversold and overbought regions respectively. I use this along with the classical 14 day look back period.

Of course, I urge you to explore parameters that work for you. In fact this is how you would eventually develop as a successful trader.

Finally, do remember RSI is not used often as a standalone indicator by  traders, it is used along with other candlestick patterns and indicators to study the market.


Key takeaways from this chapter

  1. Indicators are independent trading systems developed, and introduced by successful traders
  2. Indicators are leading or lagging. Leading indicators signals the possible occurrence of an event. Lagging indicators on the other hand confirms an ongoing trend
  3. RSI is a momentum oscillator which oscillates between 0 and 100 level
  4. A value between 0 and 30 is considered oversold, hence the trader should look at buying opportunities
  5. A value between 70 and 100 is considered overbought, hence the trader should look at selling opportunities
  6. If the RSI value is fixed in a region for a prolonged period, it indicates excess momentum and hence instead of taking a reversed position, the trader can consider initiating a trade in the same direction.

461 comments

View all comments →
  1. Bimal says:

    Nitin, I was looking at Infy charts after Friday (7.11.14) closing. The stock hit 52 wk as well as all time high on 7th November. The last six candles on daily chart showed gap up opening and higher closing. Bollinger band suggests envelope expansion indicating trending stock. I think that they are indicators of strong bullishness in the stock. However, I also found that the RSI is near 76 and MACD is higher than signal. These indicate bearishness. I could not find any definite single or multiple candlestick pattern to trade. How should one interprete such chart for position trade?

  2. raman says:

    Sir,
    Please let me know good Technical analysis software in which i can draw all the things that u have mentioned in your Techinal Analysis module

    • jagadeesh says:

      Hi Raman,
      You can use amibroker which is a paid one. The price ranges between 18000 to 25000 depending on the edition you want.
      If you want to have a free software, you can use Fibotrader. Obviously the paid one is more user friendly than the free softwares. I don’t have any idea on our upcoming software ‘PI’. So even i request Karthik sir to comment on this. Hope it helps.. 🙂

      • Karthik Rangappa says:

        Here is a sneak peak into Pi. It is in beta stage, there are close to about 1000 people using it. Hopefully the finial release should be around the corner.

    • Karthik Rangappa says:

      The same is discussed here in this chapter Raman.

  3. Ashwin says:

    Hi Karthik,
    Can you please throw some more light on the look back period?

    • Karthik Rangappa says:

      Lookback period is simply the number of days data you wish to include in your calculation. For example a standard RSI indicator has a 14 day lookback period. You could change it to 21 if you wish.

      A 5 day SMA has a 5 day look back period…so on and so forth.

  4. Subhadeep Basu says:

    Lets go the materials in versity, only then I can comment.222

  5. Keerthan says:

    Hi Karthik,
    Could you have a look at the TVS Motors charts especially the last 5-6 trading sessions. The stock is trading near its all time high, which was 266.7 achieved a couple of trading sessions ago and so a sort of resistance exists around these levels, there is a dark cloud formation if we look at the last two trading sessions,looks like there is a double top pattern formation in place, the selling on Friday is not accompanied by increasing volumes(I believe it was profit booking before the weekend/expiry with doubts on NIfty’s movements) , indicators (RSI,MACD) doesn’t say much other than showing good strength. How do we approach this scenario, given that there is a possibility of making a new high accompanied with a breakout or a possible move towards the downside?

    • Karthik Rangappa says:

      Almost all the things you have mentioned is true –

      1) Double top formation
      2) Resistance
      3) Dark Cloud formation
      4) Low Volumes

      Except for the volumes part, the stock is suggesting a short trade (it click most of the checklist items). I would be happy to short and be quick to book profits as well. The only reason I’d be quick to book profits is the absence of impressive volumes.

      • Keerthan says:

        Thank you Karthik, for the validation. I have another question for you. Could you have a look into the charts of Small Cap’s like Aimco Pesticides, Waterbase, Freshtrop fruits etc. Here a peak was formed where volumes where high at those levels and over a period of time the volumes are decreasing and the chart shows a fall which is flat like a consolidation. Could you tell us what stage is the stock in (ie, accumulation, distribution or other)?

View all comments →
Post a comment