Technical Analysis
Technical Analysis
Technical Analysis
technical analysis
Technical
Analysis - Part 1
ZERODHA.COM/VARSITY
TABLE OF CONTENTS
Background
1.1
Overview
1.2
1.3
Setting expectations
2.1
Overview
2.2
2.3
2.4
12
3.1
Overview
12
3.2
13
3.3
16
3.4
Candlestick Anatomy
16
3.5
20
24
4.1
24
4.2
25
4.3
26
29
5.1
Overview
29
5.2
The Marubozu
30
5.3
Bullish Marubozu
31
5.4
34
5.5
Bearish Marubuzo
35
5.6
37
39
6.1
39
6.2
41
6.2
43
6.3
The Dojis
45
49
7.1
Paper Umbrella
49
7.2
50
7.3
54
7.4
55
7.5
56
60
8.1
60
8.2
61
8.3
64
8.4
67
8.5
68
8.6
69
8.7
70
73
9.1
73
9.2
74
9.3
77
C H A PT E R 1
Background
1.1 - Overview
The previous module set us on a good plane with the basic understanding about the stock markets. Taking cues from the previous module, we now know that developing a well researched
point of view is critical for stock market success. A good point of view should have a directional
view and should also include information such as:
1. Price at which one should buy and sell stocks
2. Risk involved
3. Expected reward
4. Expected holding period
Technical Analysis (also abbreviated as TA) is a popular technique that allows you to do just that.
It not only helps you develop a point of view on a particular stock or index but also helps you define the trade keeping in mind the entry, exit and risk perspective.
Like all research techniques, Technical Analysis also comes with its own attributes, some of which
can be highly complex. However technology makes it easy to understand. We will discover these
attributes as we proceed along this module.
zerodha.com/varsity
Option 1: You visit a vendor, figure out what they are cooking / selling. Check on the ingredients
used, cooking style, probably taste a bit and figure out if you actually like the food. You repeat
this exercise across a few vendors, after which you would most likely end up eating at a place that
satisfies you the most.
The advantage with this technique is that you know exactly what you are eating since you have
researched about it on your own. However on the flip side, the methodology you adopted is not
really scalable as there could be about 100 odd vendors, and with limited time at your disposal,
you can probably cover about 4 or 5 vendors. Hence there is a high probability that you could
have missed the best tasting food on the street!
zerodha.com/varsity
Option 2: You just stand in a corner and observe all the vendors. You try and find a vendor who is
attracting the maximum crowd. Once you find such a vendor you make a simple assumption
-The vendor is attracting so many customers which means he must be making the best food!
Based on your assumption and the crowds preference you decide to go to that particular vendor
for your dinner. Chances are that you could be eating the best tasting food available on the
street.
The advantage of this method is the scalability. You just need to spot the vendor with the maximum number of customers and bet on the fact that the food is good based on the crowds preference. However, on the flipside the crowd need not always be right.
If you could recognize, option 1 is very similar to Fundamental Analysis where you research about
a few companies thoroughly. We will explore about Fundamental Analysis in greater detail in the
next module.
Option 2 is very similar to Technical Analysis where one scans for opportunities based on the current trend aka the preference of the market.
Technical Analysis is a research technique to identify trading opportunities in market based on
the actions of market participants. The actions of markets participants can be visualized by
means of a stock chart. Over time, patterns are formed within these charts and each pattern conveys a certain message. The job of a technical analyst is to identify these patterns and develop a
point of view.
Like any research technique, technical analysis stands on a bunch of assumptions. As a practitioner of technical analysis, you need to trade the markets keeping these assumptions in perspective. Of course we will understand these assumptions in details as we proceed along.
Also, at this point it makes sense to throw some light on a matter concerning FA and TA. Often
people get into the argument contending a particular research technique is a better approach to
market. However in reality there is no such thing as the best research approach. Every research
method has its own merits and demerits. It would be futile to spend time comparing TA and FA in
order to figure out which is a better approach.
Both the techniques are dierent and not comparable. In fact a prudent trader would spend time
educating himself on both the techniques so that he can identify great trading or investing opportunities.
zerodha.com/varsity
zerodha.com/varsity
zerodha.com/varsity
C H A PT E R 2
Introducing Technical
Analysis
2.1 Overview
In the previous chapter we briefly understood what Technical Analysis was all about. In this chapter we will focus on the versatility and the assumptions of Technical Analysis.
zerodha.com/varsity
zerodha.com/varsity
terly earnings announcement. While he does this secretively, the price reacts to his actions thus
revealing to the technical analyst that this could be a good buy.
2) The how is more important than why This is an extension to the first assumption. Going
with the same example as discussed above the technical analyst would not be interested in
questioning why the insider bought the stock as long he knows how the price reacted to the insiders action.
3) Price moves in trend - All major moves in the market is an outcome of a trend. The concept of
trend is the foundation of technical analysis. For example the recent upward movement in the
NIFTY Index to 7700 from 6400 did not happen overnight. This move happened in a phased manner, in over 11 months. Another way to look at it is, once the trend is established, the price moves
in the direction of the trend.
4) History tends to repeat itself In the technical analysis context, the price trend tends to repeat itself. This happens because the market participants consistently react to price movements
in a remarkably similar way, each and every time the price moves in a certain direction. For example in up trending markets, market participants get greedy and want to buy irrespective of the
high price. Likewise in a down trend, market participants want to sell irrespective of the low and
unattractive prices. This human reaction ensures that the price history repeats itself.
zerodha.com/varsity
Market opened at 9:15 AM and closed at 15:30 PM during which there were many trades. It will be
practically impossible to track all these dierent price points. In fact what one needs is a summary of the trading action and not really the details on all the dierent price points.
By tracking the Open, high, low and close we can draw a summary of the price action.
The open When the markets open for trading, the first price at which a trade executes is called
the opening Price.
The high This represents the highest price at which the market participants were willing to
transact for the given day.
The Low This represents the lowest level at which the market participants were willing to transact for the given day.
The close The Close price is the most important price because it is the final price at which the
market closed for a particular period of time. The close serves as an indicator for the intraday
strength. If the close is higher than the open, then it is considered a positive day else negative. Of
course we will deal with this in a greater detail as we progress through the module.
The closing price also shows the market sentiment and serves as a reference point for the next
days trading. For these reasons, closing price is more important than the Open, High or Low
prices.
zerodha.com/varsity
The open, high, low, close prices are the main data points from the technical analysis perspective. Each of these prices have to be plotted on the chart and analyzed.
10
zerodha.com/varsity
11
zerodha.com/varsity
C H A PT E R 3
3.1 Overview
Having recognized that the Open (O), high (H), low (L), and close (C) serves as the best way to
summarize the trading action for the given time period, we need a charting technique that displays this information in the most comprehensible way. If not for a good charting technique,
charts can get quite complex. Each trading day has four data points i.e the OHLC. If we are looking at a 10 day chart, we need to visualize 40 data points (1 day x 4 data points per day). So you
can imagine how complex it would be to visualize 6 months or a years data.
As you may have guessed, the regular charts that we are generally used to - like the column chart,
pie chart, area chart etc does not work for technical analysis. The only exception to this is the line
chart.
The regular charts dont work mainly because they display one data point at a given point in
time. However Technical Analysis requires four data points to be displayed at the same time.
Below are some of the chart types:
1. Line chart
2. Bar Chart
3. Japanese Candlestick
12
zerodha.com/varsity
The focus of this module will be on the Japanese Candlesticks however before we get to candlesticks, we will understand why we dont use the line and bar chart.
The line charts can be plotted for various time frames namely monthly, weekly, hourly etc. So ,if
you wish to draw a weekly line chart, you can use weekly closing prices of securities and likewise
for the other time frames as well.
The advantage of the line chart is its simplicity. With one glance, the trader can identify the generic trend of the security. However the disadvantage of the line chart is also its simplicity. Besides giving the analysts a view on the trend, the line chart does not provide any additional detail. Plus the line chart takes into consideration only the closing prices ignoring the open, high
and low. For this reason traders prefer not to use the line charts.
The bar chart on the other hand is a bit more versatile. A bar chart displays all the four price variables namely open, high, low, and close. A bar has three components.
1.The central line The top of the bar indicates the highest price the security has reached.
The bottom end of the bar indicates the lowest price for the same period.
13
zerodha.com/varsity
As you can see, in a single bar, we can plot four dierent price points. If you wish to view 5 days
chart, as you would imagine we will have 5 vertical bars. So on and so forth.
14
zerodha.com/varsity
Note the position of the left and right mark on the chart varies based on how the market has
moved for the given day.
If the left mark, which represents the opening price is placed lower than the right mark, it indicates that the close is higher than the open (close > open), hence a positive day for the markets.
For example consider this: O = 46, H = 51, L = 45, C = 49. To indicate it is a bullish day, the bar is represented in blue color.
Likewise if the left mark is placed higher than the right mark it indicates that the close is lower
than the open (close <open), hence a negative day for markets. For example consider this: O = 74,
H=76, L=70, C=71. To indicate it is a bearish day, the bar is represented in red color.
The length of the central line indicates the range for the day. A range can be defined as the dierence between the high and low. Longer the line, bigger the range, shorter the line, smaller is the
range.
15
zerodha.com/varsity
While the bar chart displays all the four data points it still lacks a visual appeal. This is probably
the biggest disadvantage of a bar chart. It becomes really hard to spot potential patterns brewing
when one is looking at a bar chart. The complexity increases when a trader has to analyze multiple charts during the day.
Hence for this reason the traders do not use bar charts. However it is worth mentioning that there
are traders who prefer to use bar charts. But if you are starting fresh, I would strongly recommend
the use of Japanese Candlesticks. Candlesticks are the default option for the majority in the trading community.
16
zerodha.com/varsity
Let us look at the bullish candle. The candlestick, like a bar chart is made of 3 components.
1. The Central real body The real body, rectangular in shape connects the opening and closing
price
2. Upper shadow Connects the high point to the close
3. Lower Shadow Connects the low point to the open
Have a look at the image below to understand how a bullish candlestick is formed:
This is best understood with an example. Let us assume the prices as follows..
Open = 62
High = 70
Low = 58
Close = 67
17
zerodha.com/varsity
This is best understood with an example. Let us assume the prices as follows..
Open = 456
High = 470
Low = 420
Close = 435
18
zerodha.com/varsity
Here is a little exercise to help you understand the candlestick pattern better. Try and plot the candlesticks for the given data.
Day
Open
High
Low
Close
Day 1
430
444
425
438
Day 2
445
455
438
450
Day 3
445
455
430
437
If you find any diiculty in doing this exercise, feel free to ask your query in the comments at the
end of this chapter.
Once you internalize the way candlesticks are plotted, reading the candlesticks to identify patterns becomes a lot easier.
This is how the candlestick chart looks like if you were to plot them on a time series. The blue candle indicates bullishness and red indicates bearishness.
Also note, a long bodied candle depicts strong buying or selling activity. A short bodied candle depicts less trading activity and hence less price movement.
To sum up, candlesticks are easier to interpret in comparison to the bar chart. Candlesticks help
you to quickly visualize the relationship between the open and close as well as the high and low
price points.
19
zerodha.com/varsity
20
zerodha.com/varsity
Monthly
Open
High
Low
The opening
price on the
first day of
Highest price at
which the stock
traded during
the entire
Lowest price
at which the
stock traded
during the
month
entire month
the month
Weekly
Highest price at
Mondays
which the stock
Opening Price traded during
the entire week
Daily or
EOD
Highest price at
Opening price which the stock
of the day
traded during
the day
Intraday
30
The opening
price at the
beginning of
Highest price at
which the stock
traded during
minutes
the 1st
the 30 minute
minute
duration
Intraday
15
The opening
price at the
beginning of
Highest price at
which the stock
traded during
minutes
the 1st
the 15 minute
minute
duration
The opening
price at the
beginning of
Highest price at
which the stock
traded during
the 1st
the 5 minute
minute
duration
Intraday 5
minutes
Lowest price
at which the
stock traded
during the
Close
No of Candles
The closing
price on the
12 candles for
last day of the the entire year
month
The closing
52 candles for
price on Friday the entire year
entire week
Lowest price
at which the
stock traded
during the
The closing
price of the
day
entire day
Lowest price
at which the
stock traded
during the 30
minute
One candle
per day, 252
candles for
the entire year
day
duration
Lowest price
at which the
stock traded
during the 15
minute
The closing
25 candles per
price as on the
day
15th minute
duration
Lowest price
at which the
stock traded
during the 5
minute
21 duration
The closing
75 candles per
price as on the
day
5th minute
zerodha.com/varsity
As you can see from the table above as and when the time frame reduces, the number of candles
(data points) increase. Based on the type of trader you are, you need to take a stand on the time
frame you need.
The data can either be information or noise. As a trader, you need to filter information from noise.
For instance a long term investor is better o looking at weekly or monthly charts as this would
provide information. While on the other hand an intraday trader executing 1 or 2 trades per day is
better o looking at end of day (EOD) or at best 15 mins charts. Likewise for a high frequency
trader, a 1 minute charts can convey a lot of information.
So based on your stance as a trader you need to choose a time frame. This is extremely crucial for
your trading success, because a successful trader looks for information and discards the noise.
22
zerodha.com/varsity
23
zerodha.com/varsity
C H A PT E R 4
24
zerodha.com/varsity
3. Factor 3 The range in which the stock trades today is quite small compared to the last four
days.
With these factors are playing in the background, let us assume that on the next day (8th July
2014) the fall in stock gets arrested and in fact the stock rallies towards a positive close. So, as an
outcome of the 3 factors the stock went up on the 6th day.
Time passes and lets says after a few months, the same set of factors is observed for 5 consecutive trading sessions. What would you expect for the 6th day?
According to the assumption History tends to repeat itself. However we need to make an addendum to this assumption. When a set of factors that has panned out in the past tends to repeat itself in the future, we expect the same outcome to occur, as was observed in the past, provided
the factors are the same.
Therefore, based on this assumption even this time round we can expect the stock price to go up
on the 6th trading session.
25
zerodha.com/varsity
Multiple candlestick patterns are a combination of multiple candles. Under the multiple candlestick patterns we will learn the following:
1.Engulfing pattern
a. Bullish Engulfing
b. Bearish Engulfing
2.Harami
a. Bullish Harami
b. Bearish Harami
3.Piercing Pattern
4.Dark cloud cover
5.Morning Star
6.Evening Star
Of course you must be wondering what these names mean. As I had mentioned in the previous
chapter, some of the patterns retain the original Japanese name.
Candlestick patterns help the trader develop a complete point of view. Each pattern comes with
an in built risk mechanism. Candlesticks gives an insight into both entry and stop loss price.
26
zerodha.com/varsity
Look for a prior trend If you are looking at a bullish pattern, the prior trend should be
bearish and likewise if you are looking for a bearish pattern, the prior trend should be bullish.
In the next chapter, we will begin with learning about single candlestick patterns.
27
zerodha.com/varsity
28
zerodha.com/varsity
C H A PT E R 5
The trades have to be qualified based on the length of the candle as well. One should avoid trading based on subdued short candles. We will understand this perspective as and when we learn
about specific patterns.
29
zerodha.com/varsity
2.
3.
Marubozu is probably the only candlestick pattern which violates rule number 3 i.e look for prior
trend. A Marubuzo can appear anywhere in the chart irrespective of the prior trend, the trading
implication remains the same.
The text book defines Marubozu as a candlestick with no upper and lower shadow (therefore appearing bald). A Marubuzo has just the real body as shown below. However there are exceptions
to this. We will look into these exceptions shortly.
The red candle represents the bearish marubuzo and the blue represents the bullish marubuzo.
30
zerodha.com/varsity
31
zerodha.com/varsity
In the chart above (ACC Limited), the encircled candle is a bullish marubuzo. Notice the bullish
marubuzo candle does not have a visible upper and a lower shadow. The OHLC data for the candle is: Open = 971.8, High = 1030.2, Low = 970.1, Close = 1028.4
Please notice, as per the text book definition of a marubozu Open = Low, and High = Close. However in reality there is a minor variation to this definition. The variation in price is not much when
measured in percentage terms, for example the variation between high and close is 1.8 which as
a percentage of high is just 0.17%. This is where the 2nd rule applies Be flexible, Quantify
and Verify.
With this occurrence of a marubuzo the expectation has turned bullish and hence one would be a
buyer of the stock. The trade setup for this would be as follows:
Buy Price = Around 1028.4 and Stoploss = 970.0
As it is evident, candlestick patterns do not give us a target. However we will address the issue of
setting targets at a later stage in this module.
Having decided to buy the stock, when do we actually buy the stock? The answer to this depends
on your risk appetite. Let us assume there are two types of trader with dierent risk profiles the
risk taker and the risk averse.
The risk taker would buy the stock on the same day as the marubozu is being formed. However
the trader needs to validate the occurrence of a marubozu. Validating is quite simple. Indian markets close at 3:30 PM. So, around 3:20 PM one needs to check if the current market price (CMP)
is approximately equal to the high price for the day, and the opening price of the day is approximately equal to the low price the day. If this condition is satisfied, then you know the day
is forming a marubozu and therefore you can buy the stock around the closing price. It is also
very important to note that the risk taker is buying on a bullish/blue candle day, thereby following rule 1 i.e buy on strength and sell on weakness.
The risk averse trader would buy the stock on the next day i.e the day after the pattern has been
formed. However before buying the trader needs to ensure that the day is a bullish day to comply
with the rule number 1. This means the risk averse buyer can buy the stock only around the close
of the day. The disadvantage of buying the next day is that the buy price is way above the suggested buy price, and therefore the stoploss is quite deep. However as a trade o the risk averse
trader is buying only after doubly confirming that the bullishness is indeed established.
32
zerodha.com/varsity
As per the ACCs chart above, both the risk taker and the risk averse would have been profitable
in their trades.
Here is another example (Asian Paints Ltd) where both the risk taker, and the risk averse trader
would have been profitable
Here is an example where the risk averse trader would have benefited :
Notice in the chart above, a bullish marubuzo has been encircled. The risk taker would have initiated a trade to buy the stock on the same day around the close, only to book a loss on the next
day. However the risk averse would have avoided buying the stock entirely because the next day
happened to be a red candle day. Going by the rule, we should buy only on a blue candle day and
sell on a red candle day.
33
zerodha.com/varsity
But the pattern eventually failed and one would have booked a loss. The stoploss for this trade
would be the low of marubuzo, i.e 959.85.
Booking a loss is a part of the game. Even a seasoned trader goes through this. However the best
part of following the candlestick is that the losses are not allowed to run indefinitely. There is a
clear agenda as to what price one has to get out of a trade provided the trade starts to move in
the opposite direction. In this particular case booking a loss would have been the most prudent
thing to do as the stock continued to go down.
Of course there could be instances where the stoploss gets triggered and you pull out of the
trade. But the stock could reverse direction and start going up after you pulled out of the trade.
34
zerodha.com/varsity
But unfortunately this is also a part of the game and one cannot really help it. No matter what
happens, the trader should stick to the rules and not find excuses to deviate from it.
The expectation is that this sudden change in sentiment will be carried forward over the next few
trading sessions and hence one should look at shorting opportunities. The sell price should be
around the closing price of the marubuzo.
In the chart above (BPCL Limited), the encircled candle indicates the presence of a bearish marubuzo. Notice the candle does not have an upper and a lower shadow. The OHLC data for the
candle is as follows:
Open = 355.4, High = 356.0, Low = 341, Close = 341.7
As we had discussed earlier a minor variation between the OHLC figures leading to small upper
and lower shadows is ok as long as it is within a reasonable limit.
The trade on the bearish marubuzo would be to short BPCL approximately at 341.7 with a stozerodha.com/varsity
35
ploss at the high point of the candle.
In this case the stoploss price is 356.0. Of course at this stage we still havent dealt with setting targets, and we will figure that out much later in this module.
Do remember this, once a trade is initiated you should hold on to it until either the target is hit or
the stoploss is breached. If you attempt to do something else before any one of these event triggers, then most likely your trade could go bust. So staying on course of the plan is extremely crucial.
Trade can be initiated based on the risk appetite of the person. The risk taker can initiate a short
trade on the same day around the closing. Of course, he has to make sure that the candle is forming a bearish marubuzo. To do this at 3:20PM the trader has to confirm if the open is approximately equal to the high and the current market price is equal to the low price. If the condition is
validated, then it is a bearish marubuzo and hence a short position can be initiated.
If the trader is risk averse, he can wait till the next days closing. The short trade will go through
only by 3:20PM next day after ensuring that the day is a red candle day. This is also to ensure that
we comply with 1st rule Buy strength, and Sell weakness.
In the BPCL chart above, both risk taker and risk averse would have been profitable.
Here is another chart, Cipla Limited, where the bearish marubuzo has been profitable for both
risk taker, and a risk averse trader. Remember these are short term trades and one needs to be
quick in booking profits.
36
zerodha.com/varsity
Here is a chart which show bearish marubuzo pattern which would have not worked out for the
risk taker but a risk averse trader would have entirely avoided initiating the trade, thanks to rule
1.
37
zerodha.com/varsity
38
zerodha.com/varsity
C H A PT E R 6
39
zerodha.com/varsity
zerodha.com/varsity
tried to take the markets lower and it did not work either. Neither the bulls nor the bears were
able to establish any influence on the market as this is evident with the small real body. Thus
Spinning tops are indicative of a market where indecision and uncertainty prevails.
If you look at a spinning top in isolation it does not mean much. It just conveys indecision as
both bulls and bears were not able to influence the markets. However when you see the spinning top with respect to the trend in the chart it gives out a really powerful message based on
which you can position your stance in the markets.
41
zerodha.com/varsity
Here is a chart, which shows the downtrend followed by a set of spinning tops. The stock rallied
post the occurrence of the spinning top.
Here is another chart which shows the continuation of a down trend after the occurrence of spinning tops.
So, think about the spinning top as The calm before the storm. The storm could be in the form
of a continuation or a reversal of the trend. In which way the price will eventually move is not certain, however what is certain is the movement itself. One needs to be prepared for both the situations.
42
zerodha.com/varsity
An obvious observation is the fact that there is an uptrend in the market, which implies the
bulls have been in absolute control over the last few trading sessions. However with the occurrence of the recent spinning tops the situation is a bit tricky:
1. The bulls are no longer in control, if they were, spinning tops would not be form on the
charts
2. With the formation of spinning tops, the bears have made an entry to the markets.
Though not successful, but the emphasis is on the fact that the bulls gave a leeway to
bears
Having observed the above, what does it actually mean and how do you position yourself
in the market?
1. The spinning top basically conveys indecision in the market i.e neither the bulls nor the
bears are able to influence the markets.
2. Placing the above fact in the context of an uptrend we can conclude two things..
43
zerodha.com/varsity
a.The bulls could be consolidating their position before initiating another leg of up
move
b.Or the bulls are fatigued and may give way to bears. Hence a correction could be
around the corner.
c.The chances of both these events taking place is equal i.e 50%
Having said that, what should you do? The chances of both events playing out are equal, how are
you going to take a stance? Well, in such a situation you should prepare for both the outcomes!
Assume you had bought the stock before the rally started; this could be your chance to book
some profits. However, you do not book profits on the entire quantity. Assume you own 500
shares; you can use this opportunity to book profits on 50% of your holding i.e 250 shares. Two
things can happen after you do this:
1. The bears make an entry When this happens the market starts to slide down, and as you
have booked 50% profits at a higher price, and can now choose to book profits on the balance 50% as well. Your net selling price will anyway be higher than the current market price.
2. The bulls make an entry It turns out that the bulls were indeed taking a pause and the
rally continues, at least you are not completely out of the market as you still have the balance 50% of your holdings invested in the markets
The stance you take helps you tackle both the outcomes.
44
zerodha.com/varsity
Here is a chart which shows an uptrend and after the occurrence of spinning tops, the stock rallied. By being invested 50%, you can continue to ride the rally.
To sum up, the spinning top candle shows confusion and indecision in the market with an equal
probability of reversal or continuation. Until the situation becomes clear the traders should be
cautious and they should minimize their position size.
45
zerodha.com/varsity
The classic definition of a doji suggests that the open price should be equal to the close price
with virtually a non existent real body. The upper and lower wicks can be of any length.
However keeping in mind the 2nd rule i.e be flexible, verify and quantify even if there is a wafer
thin body, the candle can be considered as a doji.
Obviously the color of the candle does not matter in case of a wafer thin real body. What matters
is the fact that the open and close prices were very close to each other.
The Dojis have similar implications as the spinning top. Whatever we learnt for spinning tops applies to Dojis as well. In fact more often than not, the dojis and spinning tops appear in a cluster
indicating indecision in the market.
Have a look at the chart below, where the dojis appear in a downtrend indicating indecision in
the market before the next big move.
46
zerodha.com/varsity
Here is another chart where the doji appears after a healthy up trend after which the market reverses its direction and corrects.
So the next time you see either a Spinning top or a Doji individually or in a cluster, remember
there is indecision is the market. The market could swing either ways and you need to build a
stance that adapts to the expected movement in the market.
47
zerodha.com/varsity
48
zerodha.com/varsity
C H A PT E R 7
49
zerodha.com/varsity
A paper umbrella consists of two trend reversal patterns namely the hanging man and the hammer. The hanging man pattern is bearish and the hammer pattern is relatively bullish. A paper umbrella is characterized by a long lower shadow with a small upper body.
If the paper umbrella appears at the bottom end of a downward rally, it is called the Hammer.
If the paper umbrella appears at the top end of an uptrend rally, it is called the Hanging man.
To qualify a candle as a paper umbrella, the length of the lower shadow should be at least twice
the length of the real body. This is called the shadow to real body ratio.
Let us look at this example: Open = 100, High = 103, Low = 94, Close = 102 (bullish candle).
Here, the length of the real body is Close - Open i.e 102-100 = 2 and the length of the lower
shadow is Open Low i.e 100 94 = 6. As the length of the lower shadow is more than twice of
the length of the real body; hence we can conclude that a paper umbrella has formed.
Notice the blue hammer has a very tiny upper shadow, which is acceptable considering the Be flexible quantify and verify rule.
50
zerodha.com/varsity
A hammer can be of any color as it does not really matter as long as it qualifies the shadow to
real body ratio. However, it is slightly more comforting to see a blue colored real body.
The prior trend for the hammer should be a down trend. The prior trend is highlighted with
the curved line. The thought process behind a hammer is as follows:
1. The market is in a down trend, where the bears are in absolute control of the markets
2. During a downtrend, every day the market would open lower compared to the previous
days close and again closes lower to form a new low
3.On the day the hammer pattern forms, the market as expected trades lower, and makes a
new low
4. However at the low point, there is some amount of buying interest that emerges, which
pushes the prices higher to the extent that the stock closes near the high point of the day
5. The price action on the hammer formation day indicates that the bulls attempted to
break the prices from falling further, and were reasonably successful
6. This action by the bulls has the potential to change the sentiment in the stock, hence one
should look at buying opportunities
The trade setup for the hammer is as follows:
1.A hammer formation suggests a long trade
2.The traders entry time depends on the risk appetite of the trader. If the trader is a risk
taker, he can buy the stock the same day. Remember, the color of the real body in hammer
does not matter; hence there is no violation to the Rule 1. If the trader is risk averse, he can
buy the stock the day after the pattern has formed only after ensuring that the day is a blue
candle day
a.Risk takers can qualify the day as a hammer by checking the following condition at
3:20PM on the hammer day..
i.Open and close should be almost the same (within 1-2% range)
ii.Lower shadow length should be at least twice the length of real body
iii.If both these conditions are met, then the pattern is a hammer and the risk
taker can go long
b.The risk averse trader should evaluate the OHLC data on the 2nd If its a blue candle, the
trade is valid and hence he can go long
3.The low of the hammer acts as the stoploss for the trade
The chart below shows the formation of a hammer where both the risk taker and the risk averse
would have set up a profitable trade. This is a 15 minutes intraday chart of Cipla Ltd.
51
zerodha.com/varsity
52
zerodha.com/varsity
53
zerodha.com/varsity
A hanging man can be of any color and it does not really matter as long as it qualifies the shadow
to real body ratio. The prior trend for the hanging man should be an uptrend, as highlighted by
the curved line in the chart above. The thought process behind a hanging man is as follows:
1.The market is in an uptrend, hence the bulls are in absolute control
2.The market is characterized by new highs and higher lows
3.The day the hanging man pattern appears, the bears have managed to make an entry
4.This is emphasized by a long lower shadow of the hanging man
5.The entry of bears signifies that they are trying to break the strong hold of the bulls
Thus, the hanging man makes a case for shorting the stock. The trade set up would be as follows:
1.For the risk taker, a short trade can be initiated the same day around the closing price
2.For the risk averse, a short trade can be initiated at the close of the next day after ensuring
that a red candle would appear
a.The method to validate the candle for the risk averse, and risk taker is exactly the
same as explained in the case of a hammer pattern
54
zerodha.com/varsity
Once the short has been initiated, the high of the candle works as a stoploss for the trade.
In the chart above, BPCL Limited has formed a hanging man at 593. The OHLC details are Open = 592, High = 593.75, Low = 587, Close = 593. Based on this, the trade set up would be as follows:
The risk taker, initiates the short trade on the day the pattern appears (at 593)
The risk averse, initiates the short trade on the next day at closing prices after ensuring it is
a red candle day
Both the risk taker and the risk averse would have initiated their respective trades
The stoploss price for this trade would be the high price i.e above 593.75
The trade would have been profitable for both the risk types.
55
zerodha.com/varsity
I would encourage you to develop your own thesis based on observations that you make in the
markets. This will not only help you calibrate your trade more accurately but also help you develop structured market thinking.
Unlike a paper umbrella, the shooting star does not have a long lower shadow. Instead it has a
long upper shadow where the length of the shadow is at least twice the length of the real body.
The colour of the body does not matter, but the pattern is slightly more reliable if the real body is
red. The longer the upper wick, the more bearish is the pattern. The small real body is a common
feature between the shooting star and the paper umbrella. Going by the text book definition, the
shooting star should not have a lower shadow, however a small lower shadow, as seen in the
chart above is considered alright. The shooting star is a bearish pattern; hence the prior trend
should be bullish.
The thought process behind the shooting star is as follows:
The stock is in an uptrend implying that the bulls are in absolute control. When bulls are in control, the stock or the market tends to make a new high and higher low
56
zerodha.com/varsity
On the day the shooting star pattern forms, the market as expected trades higher, and in the
process makes a new high
However at the high point of the day, there is a selling pressure to an extent where the stock
price recedes to close near the low point of the day, thus forming a shooting star
The selling indicates that the bears have made an entry, and they were actually quite successful
in pushing the prices down. This is evident by the long upper shadow
The expectation is that the bears will continue selling over the next few trading sessions, hence
the traders should look for shorting opportunities
Take a look at this chart where a shooting star has been formed right at the top of an uptrend.
The OHLC data on the shooting star is; open = 1426, high = 1453, low = 1410, close = 1417. The
short trade set up on this would be:
1.The risk taker will initiate the trade at 1417, basically on the same day the shooting star forms
a.The risk taker initiates the trade the same day after ensuring that the day has formed a
shooting star. To confirm this the trader has to validate:
i.If the current market price is more or less equal to the low price
ii.The length of the upper shadow is at least twice the length of the real body
b.The risk averse will initiate the trade on the next day, only after ensuring that the 2nd day
a red candle has formed
2.Once the trade has been initiated, the stoploss is to be placed at the high of the pattern. In the
case the stop loss is at 1453
As we have discussed this before, once a trade has been set up, we should wait for either the stoploss or the target to be triggered. It is advisable not to do anything else, except for maybe trail57
zerodha.com/varsity
ing your stoploss. Of course, we still havent discussed about trailing stoploss yet. We will discuss
it at later stage.
Here is a chart where both the risk taker and the risk averse would have made a remarkable profit
on a trade based on shooting star.
Here is an example, where both the risk averse and the risk taker would have initiated the trade
based on a shooting star. However the stoploss has been breached. Do remember, when the stop
loss triggers, the trader will have to exit the trade, as the trade no longer stands valid. More often
than not exiting the trade is the best thing to do when the stoploss triggers.
58
zerodha.com/varsity
59
zerodha.com/varsity
C H A PT E R 8
60
zerodha.com/varsity
61
zerodha.com/varsity
6.The bullishness is expected to continue over the next few successive trading sessions, driving the prices higher and hence the trader should look for buying opportunities
The trade set up for the bullish engulfing pattern is as follows:
1.The bullish engulfing pattern evolves over two days
2.The suggested buy price is around the close price of blue candle i.e on P2
Risk taker initiates the trade on P2 itself after ensuring P2 is engulfing P1
The risk averse initiates the trade on the next day i.e the day after P2 around the closing price, after confirming the day is forming a blue candle
If the day after P2 is a red candle day, the risk averse trader will ignore the trade, owing to rule 1 of candlesticks (Buy strength and Sell weakness)
On a personal note, in multiple candlestick patterns where the trade evolves over 2
or more days it is worth to be a risk taker as opposed to a risk averse trader
3.The stop loss for the trade would be at the lowest low between P1, and P2
Needless to say, once the trade has been initiated you will have to wait until the target has been
hit or the stoploss has been breached. Of course, one can always trail the stop loss to lock in profits.
Have a look at DLFs chart below; the bullish engulfing pattern is encircled.
The OHLC on P1 Open = 163, High = 168, Low = 158.5, Close = 160. On P2 the OHLC details are
Open = 159.5, High = 170.2, Low = 159, Close = 169.
62
zerodha.com/varsity
There is often a lot of confusion on whether the candle should engulf just the real body or the
whole candle, including the lower and upper shadows. In my personal experience, as long as the
real bodies are engulfed, I would be happy to classify the candle as a bullish engulfing pattern. Of
63
zerodha.com/varsity
course, candlestick sticklers would object to this but what really matters is how well you hone
your skills in trading with a particular candlestick pattern.
So going by that thought, Id be happy to classify the following pattern as a bullish engulfing pattern, even though the shadows are not engulfed.
64
zerodha.com/varsity
1. To begin with the bulls are in absolute control pushing the prices higher
2. On P1, as expected the market moves up and makes a new high, reconfirming a bullish
trend in the market
3. On P2, as expected the market opens higher and attempts to make a new high. However
at this high point selling pressure starts. This selling comes unexpected and hence tends to
displace the bulls
4. The sellers push the prices lower, so much so that the stock closes below the previous
days (P1) open. This creates nervousness amongst the bulls
5. The strong sell on P2 indicates that the bears may have successfully broken down the
bulls stronghold and the market may continue to witness selling pressure over the next few
days
6. The idea is to short the index or the stock in order to capitalize on the expected downward slide in prices
The trade set up would be as follows:
1.The bearish engulfing pattern suggests a short trade
2.The risk taker initiates the trade on the same day after validating two conditions
The open on P2 is higher than P1s close
The current market price at 3:20 PM on P2 is lower than P1s open price. If the two conditions are satisfied, then it would be logical to conclude that it is a bearish engulfing
pattern
3.The risk averse will initiate the trade on the day after P2 only after ensuring that the day is
a red candle day
4.Since the bearish engulfing pattern is a 2 day pattern, it makes sense to be a risk taker.
However this purely depends on the individuals risk appetite
65
zerodha.com/varsity
Take a look at the chart below of Ambuja Cements. There are two bearish engulfing patterns
formed. The first pattern on the chart (encircled, starting from left) did not work in favor of a risk
taker. However the risk averse would have completely avoided taking the trade. The second bearish engulfing pattern would have been profitable for both the risk taker and the risk averse.
The OHLC data for the bearing engulfing pattern (encircled at the top end of the chart) is as below:
P1: Open 214, High 220, Low 213.3, Close 218.75
P2: Open 220, High 221, Low 207.3, Close 209.4
The trade setup for the short trade, based on the bearish engulfing pattern is as follows:
1.On P2 by 3:20 PM the risk taker would initiate the short trade at 209 after ensuring P1, and
P2 together form a bearish engulfing pattern
2.The risk averse will initiate the trade, the day after P2 only after ensuring that the day is a
red candle day
3.The stoploss in both the cases will the highest high of P1 and P2, which in this case is at
221.
Both the risk averse and the risk taker would have been profitable in this particular case.
66
zerodha.com/varsity
67
zerodha.com/varsity
8.Panic with uncertainty is the perfect recipe for a catastrophe. Which explains the long red
candle following the Doji
From my own personal trading experience I can tell you that whenever a doji follows a recognizable candlestick pattern, the opportunity created is bigger. Besides illustrating this point, I also
want to draw your attention to chart analysis methodology. Notice in this particular chart, we did
not just look at what was happening on P1 or P2 but we went beyond that and actually combined
two dierent patterns to develop a comprehensive view on the market.
As long as this condition is satisfied, everything else is similar to the bullish engulfing including
the trade set up. Here a risk taker would initiate the trade on P2 around the close. The risk averse
would initiate the trade, the day after P2 only after ensuring a blue candle is formed. The stoploss
would be the low of the pattern.
68
zerodha.com/varsity
Here P2s blue candle engulfs just under 50% of P1s red candle. For this reason we do not consider this as a piercing pattern.
69
zerodha.com/varsity
set up is exactly the same as the bearish engulfing pattern. Think about the dark cloud cover as
the inverse of a piercing pattern.
70
zerodha.com/varsity
However there is an exception to this selection criterion. Later in this module I will introduce a 6
point trading checklist. A trade should satisfy at least 3 to 4 points on this checklist for it to be considered as a qualified trade. Keeping this point in perspective, assume there is a situation where
the ICICI Bank stock forms a piercing pattern and the HDFC Bank stock forms a bullish engulfing
pattern. Naturally one would be tempted to trade the bullish engulfing pattern, however if the
HDFC Bank stock satisfies 3 checklist points, and ICICI Bank stock satisfies 4 checklist points, I
would go ahead with the ICICI Bank stock even though it forms a less convincing candlestick pattern.
On the other hand, if both the stocks satisfy 4 checklist points I will go ahead with the HDFC Bank
trade.
71
zerodha.com/varsity
72
zerodha.com/varsity
C H A PT E R 9
73
zerodha.com/varsity
74
zerodha.com/varsity
7.The blue candle not only encourages the bulls to build long positions, but also unnerves
the bears
8.The expectation is that panic amongst the bears will spread in an accelerated manner, giving a greater push to bulls. This tends to push the prices higher. Hence one should look at
going long on the stock.
The trade setup for the bullish harami is as follows:
1.The idea is to go long on the bullish harami formation
2.Risk takers can initiate a long trade around the close of the P2 candle
3.Risk takers can validate the following conditions to confirm if P1, and P2 together form a bullish
harami pattern:
a.The opening on P2 should be higher than the close of P1
b.The current market price at 3:20 PM on P2 should be less than P1s opening price
c.If both these conditions are satisfied then one can conclude that both P1 and P2 together
form a bullish harami pattern
4.The risk averse can initiate a long trade at the close of the day after P2, only after confirming
that the day is forming a blue candle
5.The lowest low of the pattern will be the stoploss for the trade
Here is a chart of Axis Bank; the bullish harami is encircled below:
75
zerodha.com/varsity
The risk taker would initiate the long position at the close of P2 which is around 835. The stop
loss for the trade would be lowest low price between P1 and P2; which in this case it is 810.
The risk averse will initiate the trade the day near the close of the day after P2, provided it is a
blue candle day, which in this case is.
Once the trade has been initiated, the trader will have to wait for either the target to be hit or the
stop loss to be triggered.
Here is a chart below where the encircled candles depict a bullish harami pattern, but it is not.
The prior trend should be bearish, but in this case the prior trend is almost flat which prevents us
from classifying this candlestick pattern as a bullish harami.
And here is another example where a bullish harami occurred but the stoploss on the trade triggered leading to a loss.
76
zerodha.com/varsity
77
zerodha.com/varsity
1.The risk taker will short the market near the close of P2 after ensuring P1 and P2 together
forms a bearish harami. To validate this, two conditions must be satisfied:
a.The open price on P2 should be lower than the close price of P1
b.The close price on P2 should be less than the open of P1
2.The risk averse will short the market the day after P2 after ensuring it forms a red candle
day
3.The highest high between P1 and P2 acts as the stoploss for the trade.
Here is a chart of IDFC Limited where the bearish engulfing pattern is identified. The OHLC details
are as follows:
P1 Open = 124, High = 129, Low = 122, Close = 127
P2 Open = 126.9, High = 129.70, Low, = 125, Close = 124.80
The risk taker will initiate the trade on day 2, near the closing price of 125. The risk averse will initiate the trade on the day after P2, only after ensuring it forms a red candle day. In the above example, the risk averse would have avoided the trade completely.
78
zerodha.com/varsity
The stop loss for the trade would be the highest high between P1 and P2. In this case it would be
129.70.
79
zerodha.com/varsity
80
zerodha.com/varsity