Professional Documents
Culture Documents
Technical Analysis Importance
Technical Analysis Importance
Submitted By
Azime Adem Hassen
Register Number:
03XQCM6014
DECLARATION
ACKNOWLEDGEMENT
This Project report has been made possible through the direct
and indirect cooperation of various people to whom I wish to
express my deep sense of Gratitude.
Certificate
Place: Bangalore
(Dr.Nagesh.S.Malavalli)
Certificate
Contents
Declaration……………………………………………………………i
Certificates……………………………………………………………ii
Acknowledgement……………………………………………………iii
Abstract ………………………………………………………………iv
Technical Indicators…………………………7
& Divergence………………………18
5.1 Conclusion………………………………….62
5.2 Recommendations…………………………63
Bibliography
ABSTRACT
Chapter 1
Introduction
1.1 INTRODUCTION
to identify a trend reversal at a relatively early stage and ride on that trend
until the weight of the evidence shows or proves that the trend has
reversed.”
Technical analysis involves searching for recurrent and predictable
patterns in stock prices. This type of analysis has a long history and dates
back to the Japanese rice traders trading on the Dojima Rice Exchange in
Osaka as early as 1600s. It evolved into Chartism in the early 20th
century with mechanical trading rules to generate signals. This
development has since been aided by the introduction of electronics
which took the tedium out of complex mathematical manipulations. As
computers have become more powerful and its use more widespread,
analysts are found to combine fundamental economic data with the more
traditional price and volume data to produce new indicators. More
recently, concepts like chaos theory, fuzzy logic, artificial neural network,
genetic algorithms, and so on, have been applied to the financial markets.
This could well be the next stage of the evolution of technical analysis.
Since the seminal work of Friedman (1953) and Fama (1970), the role of
technical analysis as a forecasting mechanism continues to remain
controversial in the literature. As will be briefly discussed in the next
section, several influential studies conclude that technical analysis is not
useful. On the other hand, there is strong evidence that simple forms of
technical analysis contain significant forecasting power. In this paper, our
objective is to provide new evidence on this issue. NYSE data is used to
investigate whether the technical indicators do play any useful role in the
timing of stock market entry and exit. The focus is on the most
established of the trend followers, the Moving Average (MA), and the
Chapter 2
Review of Literature
Review of Literature
The use of market timing has long been the subject of much discussion.
Several researchers question the usefulness of such techniques, arguing
that such techniques usually cannot produce better returns than a buy-
and-hold (B-H) strategy. Although technicians recognize the value of
information on future economic prospects of the firm, their position is
that such information is not mandatory for a successful trading strategy.
The reason is that whatever the fundamental reason for a change in the
stock price, if the stock price is sluggish to adjust, the analyst should be
able to identify a trend that could be exploited during the adjustment
period. Consequently, the key to successful technical analysis is a lazy
response of stock prices to fundamental supply-and demand phenomena.
Note that this prerequisite is diametrically opposite to the notion of an
efficient market.
Technical Indicators
against Sharpe’ s (1975) conclusion, saying that there was no need for the
predictive accuracy to be as high as 70 percent for the gains to be large.
In addition, he demonstrated that market timing would be increasingly
rewarding when the difference in returns between cash and stocks were
narrowed and when market volatility increased.
There are several technical indicators in use by practitioners, but
generally, they can be classified into two major categories: trend
followers and counter-trend indicators. In this section, we discuss briefly
the most established of the trend followers, namely, the moving average,
and the most frequently used counter-trend indicator, known as the
relative strength index and Moving average convergence and divergence
(MACD)
Where Mt,n is the simple n-day moving average at period t and Ci is the
closing price for period i. In the simple MA procedure, a buy signal is
generated when the closing price rises above the MA and a sell signal is
generated when the close falls below the MA. If there were a clear trend,
this method would work well. If, however, the market were moving
sideways or if there were excessive volatility, there could be a lot of
whipsaws (false signals).
Variants of moving averages include the dual moving average system, the
triple moving average system, and the t-ratio on moving averages. The
Dual Moving Average is the use of two moving averages while the Triple
Moving Average is the use of three moving averages. The T-Ratio of
Moving Average is the ratio of simple MA and its standard deviation
such that
The buy and sell signals are generated when the faster Simple Moving
Average crosses a slower Simple Moving Average. The faster Simple
Moving Average is the one with a lower day period. The slower Simple
Moving Average is the one with a higher day period. For example, in the
trading system with 50 and 200 days Simple Moving Averages the Faster
simple moving averages is the 50 days SMA, and the slower simple
moving average is the 200 days SMA.
• When the faster Simple Moving Average has been below the
slower Simple Moving Average and crosses above the Slower
SMA, a BUY signal is generated;
• When the faster Simple Moving Average has been above the
slower Simple Moving Average and crosses below the Slower
SMA, a SELL signal is generated.
for any and C i is the closing price for period i. The next step is to
define
Readings of 100 implies that there are pure upward price movements,
while readings of 0 imply that there are pure downward price movements.
Hence a reading close to 100 indicates an overbought market, while a
reading around 0 indicates an oversold market. The time period for RSI is
found to be shorter for more volatile markets and longer for less volatile
markets. Generally, the longer the time period used the less frequent and
more stable are the trading signals. Shorter time periods tend to generate
more noise (erratic movements and false signals) than longer periods. For
example, using a time period of 14 days, the market tops and bottoms are
deemed to occur after the RSI goes above 70 or below 30. Using longer
time periods would mean setting less extreme levels for which the market
is considered to be overbought or oversold. Thus for a 20-day RSI, the
levels may be 60 and 40. Note that the RSI is an oscillator and a counter-
trend indicator. If used in a trending market, the RSI often becomes
entrenched near one end of the range for days, or even weeks, giving
false indications of a market top or bottom.
The Relative Strength Index (RSI) can provide an early warning of an
opportunity to buy or sell.
Interpretation
RSI is plotted on a vertical scale of 0 to 100. The 70% and 30% levels are
used as warning signals. An RSI above 70% is considered overbought
and below 30% is considered oversold. The 80% and 20% levels are
preferred by some traders. The significance depends upon the time frame
being considered. An overbought reading in a 9-day RSI is not nearly as
significant as an RSI for a 12-month period.
RSI can be plotted for any time span. Wilder originally recommended
using a 14-day RSI. Since then, the 9, 10 and 25-day RSIs have also
become popular. The shorter the time period, the more sensitive the
oscillator becomes. If the user is trading short-term moves, the time
period can be shortened. Lengthening the time period makes the oscillator
smoother and narrower in amplitude.
Signals
These failure swings can lead to divergences between the price action and
the RSI. For example, a divergence occurs when a market makes a new
high or low, but the RSI fails to set a matching new high or low. A
divergence can be an indication of an impending reversal. In Wilder'
s
opinion, divergences are the most important signal provided by RSI.
Trendlines
RSI has crossed the lower bound (typically set at 30) and retraced back to
the same lower bound or higher. It generates a sell signal when the RSI
has crossed the upper bound (typically set at 70) and retraced back to the
same upper bound or lower. The ’ 50 crossover’ method generates a buy
signal when the RSI rises above 50 and a sell signal when the RSI falls
below 50.
Interpretation: Buy (sell) when MACD crosses above (below) the trigger
line or zero line.
Look for divergence between price data and MACD curve.
The MACD proves most effective in trending markets rather than choppy,
sideways markets. There are two main sets of signals generated by the
MACD: crossovers and divergences.
&URVVRYHUV
Thomas Aspray found that MACD signals often lagged important market
moves, especially when applied to weekly charts. He first experimented
with changing the moving averages and found that shorter moving
averages did indeed speed up the signals. However, he was looking for a
means to anticipate MACD crossovers and came up with the MACD
Histogram.
,QWHUSUHWDWLRQ
The MACD Histogram represents the difference between MACD and it'
s
signal line (usually the 9-day Exponential Moving Average (EMA) of the
MACD). Whenever MACD crosses the signal line, MACD-H crosses
the zero line.
• If the MACD line is above the signal line, the histogram is positive,
and the bars are drawn above the zero line.
• If the MACD line is below the signal line, histogram is negative,
and the bars are drawn below the zero line.
Sharp increases in the MACD-H indicate that MACD is rising faster than
its 9-day EMA and upward momentum is strengthening. Sharp declines
in the MACD-H indicate that MACD is falling faster than its moving
average and downward momentum is increasing.
Divergences between MACD and MACD-H are the main tool used to
anticipate crossovers. A positive divergence in the MACD-H indicates
that MACD is strengthening and could be on the verge of a bullish
moving average crossover. A negative divergence in the MACD-H
indicates that MACD is weakening and can act to foreshadow a bearish
moving average crossover in MACD.
Signals
when the histogram is below its zero line (negative) and starts to rise, the
downtrend is losing momentum. These turns of the histogram provide
early warnings that the current trend is losing momentum, and the buy or
sell signal is given when the histogram crosses the zero line.
Used this way, the weekly signals become trend filters for daily signals.
This prevents using daily signals to trade against the overall trend.
6LJQDO/LQH&URVVRYHUV
The basic MACD trading rule is to buy when the MACD rises above its
signal line. Similarly, a sell signal occurs when the MACD crosses below
its signal line. The crossing of the MACD line above the signal line
can denote the beginning of a trend. An uptrend typically pauses or
stops when the MACD line crosses and falls below the signal line.
the zero line it crosses, the stronger the uptrend. If the crossover occurs
below the zero line, the uptrend is likely not very strong.
When the bullish crossover occurs above the zero line, the uptrend gains
more momentum, and the price rises with more intensity.
Bullish MACD crossovers are probably the most common signals and as
such can be less reliable. If not used in conjunction with other technical
analysis tools, these crossovers can lead to whipsaws and many false
signals.
One way to try and counteract false signals is to apply a price filter to the
crossover to see if a trend will hold. An example of a price filter would be
to buy if the MACD breaks above the signal line and remains above for
three days. The buy signal would then commence at the end of the third
day.
Chapter 3
Methodology
The data collected are daily historical stock price for one year of the New
York stock exchange. The period tested was from June 1, 2004 to June 10
2005. The daily close of the NYSE for the period of a year have been
used.
The following companies have been used in the analysis: PDF Solution,
The Coca-Cola Company, General Electric Company, General Motors
Corporation, ABX Air Inc, IBM International Business Machines, United
States Stl Corp New, AT&T Corp, Microsoft Corporation, and Ford
Motor Company. The companies selected have a minimum average daily
volume of a million shares and above.
The indicator to be tested will provide us with the buy and sell signals as
follows:
i) Dual Moving average
In trading system with 9 days and 18 day Simple moving average the
faster SMA is the 9 days SMA, the slower SMA is 18 days SMA.
• When the faster simple moving average has below the slower
simple moving average and crosses above the slower
Simple moving average, a buy signal is generated.
• When the faster simple moving average has been above the
slower simple moving average and crosses below the slower
simple moving average, a sell signal is generated.
ii) MACD
The basic MACD trading rule is to sell when the MACD falls
Below its signal line and to buy when the MACD rises above its
Signal line.
iii) RSI
RSI is an oscillator, the indicator moves between two extremes 0% and
100%.
• A buy signal when RSI touches the lower bond (typically set at
25) which indicates the market is oversold and hence time to
buy.
• A sell signal when RSI touches the upper bound (typically set at
70) which indicates that the market is overbought and hence
time to sell.
iv) Buy and hold:
Buy at the beginning of the month of June 12004 and sell on
June 10 2005
Then we determine the action to be taken as well as the profit or loss
during the daily transaction after the signal to be tested. In these technical
trading systems transaction costs are totally ignored.
Data Analysis
The strategies common to all indicators were the discussed below. There
is a specific strategy for transforming the technical analysis indicators
into specific buy and sell signals according to trade rule.
• Comprehensive: Go (long, short) every stock whose indicator is
according to the trading rule.
• Buy and hold strategy. Buy at the beginning of June 2004 and sell
on June 10 2005.
More specifically, appropriate charts for each indictor are used to test
whether the buy and sell signals yield profit or loss.
• The basic MACD trading rule is to sell when the MACD falls
Below its signal line and to buy when the MACD rises above its
Signal line.
• A buy signal when RSI touches the lower bond (typically set at
25) which indicates the market is oversold and hence time to
buy.
• A sell signal when RSI touches the upper bound (typically set at
75) which indicates that the market is overbought and hence
time to sell.
Chapter 4
Results
1) PDF Solution
Compan y Data
Exchange: NYSE
Rule 1:
The signals, dates, price and profit (loss) for the 9- and 18-day moving
averages shown as follow:
Overall, the results for the buy signal as well as for the difference
between the buy and sell signals were reasonably good for the chartists
Rule 2:
Rule 3:
Using the RSI method the following trading activity and profit (loss) are
analyzed.
Action Date Price ($) Profit
(Loss) ($)
Buy 24- June 2004 8.4 N\A
Sell 27- July 2004 9.06 .66
Buy 26- Oct 2004 12.2 N\A
Overall, the results for the buy signal as well as for the difference
between the buy and sell signals were reasonably good for the chartists.
Rule 4:
Compan y Data
Exchange: NYSE
Rule 1:
The signals, dates, price and profit (loss) for the 9- and 18-day moving
averages shown as follow:
Action D at e Price ($) Profit
(Loss) ($)
Buy 19- Aug 2004 44.02 N\A
Sell 07- Sep 2004 45.65 1.63
Buy 07- Oct 2004 40.12 N\A
Sell 18- Nov 2004 40.28 0.16
Buy 07- Dec 2004 40.16 N\A
Sell 10- Mar 2005 43.07 2.91
Bu y 11- Apr 2004 41.87 N\A
Sell 07- June 2005 44.11 2.24
Rule 2:
Overall, the results for the buy signal as well as for the difference
between the buy and sell signals were reasonably good for the chartists.
Rule 3:
Using the RSI method the following trading activity and profit (loss) are
analyzed.
Overall, the results for the buy signal as well as for the difference
between the buy and sell signals were reasonably good for the chartists.
Rule 4:
Buy and hold strategy:
Compan y Data
Exchange: NYSE
Rule 1:
The signals, dates, price and profit (loss) for the 9- and 18-day moving
averages shown as follow:
Action D at e Price ($) Profit
(Loss) ($)
Buy 16-July 2004 33.09 N\A
Sell 03- Aug 2004 32.88 0.21
Buy 24- Aug 2004 32.63 N\A
Sell 29- Sep 2004 33.45 0.82
Buy 08- Oct 2004 33.74 N\A
Sell 19- Oct 2004 33.43 (0.31)
Bu y 02- Sep 2004 34.05 N\A
Sell 02- Dec 2004 35.94 1.89
Bu y 10- Dec 2004 36.69 N\A
Sell 31 Dec 2004 36.50 (0.19)
Bu y 02 Jan 2005 36.25 N\A
Rule 2:
Using the MACD method the following trading activity is shown from
the above chart.
Action Date Price ($) Profit
(Loss) ($)
Buy 14- June 2004 31.57 N\A
Sell 29- June 2004 32.33 0.76
Buy 14- July 2004 32.84 N\A
Sell 22- July 2004 32.88 0.04
Buy 18- Aug 2004 32.78 N\A
Sell 23- Sep 2004 33.42 0.64
Buy 10- Dec 2004 36.69 N\A
Sell 22- Dec 2004 36.84 0.15
Buy 27- Jan 2005 35.61 N\A
Sell 15- Feb 2005 36.39 0.78
Overall, the results for the buy signal as well as for the difference
between the buy and sell signals were reasonably good for the chartists.
Rule 3:
Using the RSI method the following trading activity and profit (loss) are
analyzed.
Overall, the results for the buy signal as well as for the difference
between the buy and sell signals were reasonably good for the chartists.
Rule 4:
Compan y Data
Exchange: NYSE
Rule 1:
The signals, dates, price and profit (loss) for the 9- and 18-day moving
averages shown as follow:
Rule 2:
Using the MACD method the following trading activity is shown from
the above chart.
Action D at e Price ($) Profit
(Loss) ($)
Buy 28- June 2004 46.51 N\A
Sell 27- July 2004 43.46 (3.05)
Buy 01- Sep 2004 41.21 N\A
Sell 12- Oct 2004 41.80 0.59
Rule 3:
Using the RSI method the following trading activity and profit (loss) are
analyzed.
Rule 4:
Compan y Data
Exchange: NYSE
Rule 1:
The signals, dates, price and profit (loss) for the 9- and 18-day moving
averages shown as follow:
Action Date Price ($) Profit
(Loss) ($)
B uy 09- Aug 2004 6.27 N\A
Sell 25- Oct 2004 6.53 0.26
B uy 04- Nov 2004 6.86 N\A
Sell 11- Jan 2005 7.85 0.99
B uy 07- Feb 2005 8.30 N\A
Sell 17- Feb 2005 7.45 (0.85)
Rule 2:
Using the MACD method the following trading activity is shown from
the above chart.
Action Date Price ($) Profit
(Loss) ($)
B uy 15- June 2004 4.50 N\A
Sell 15- July 2004 6.70 2.20
B uy 27- Aug 2004 5.77 N\A
Sell 15- Oct 2004 6.85 1.08
B uy 05- Nov 2004 6.99 N\A
Sell 22- Nov 2004 7.40 0.41
B uy 17- Dec 2004 8.10 N\A
Sell 04- Jan 2005 8.60 0.50
The signal after Jan 2005 was a difficulty to identify the exact signaling
action point. Overall, the results for the buy signal as well as for the
difference between the buy and sell signals were reasonably good for the
chartists.
Rule 3:
Using the RSI method the following trading activity and profit (loss) are
analyzed.
Rule 4:
Compan y Data
Exchange: NYSE
Rule 1:
The signals, dates, price and profit (loss) for the 9- and 18-day moving
averages shown as follow:
Action Date Price ($) Profit
(Loss) ($)
Buy 23- July 2004 84.85 N\A
Sell 10- Aug 2004 84.99 0.14
Buy 30- Aug 2004 84.4 N\A
Sell 24- Sep 2004 84.43 0.03
Buy 10- Oct 2004 88.04 N\A
Rule 2:
Using the MACD method the following trading activity is shown from
the above chart
Overall, the results for the buy signal as well as for the difference
between the buy and sell signals were reasonably good for the chartists.
Rule 3:
Using the RSI method the following trading activity and profit (loss) are
analyzed.
Overall, the results for the buy signal as well as for the difference
between the buy and sell signals were reasonably good for the chartists.
Rule 4:
7) AT&T Corp.
Compan y Data
Exchange: NYSE
Rule 1:
The signals, dates, price and profit (loss) for the 9- and 18-day moving
averages shown as follow:
Rule 2:
Using the MACD method the following trading activity is shown as
follows:
Overall, the results for the buy signal as well as for the difference
between the buy and sell signals were reasonably good for the chartists.
Rule 3:
Using the RSI method the following trading activity and profit (loss) are
analyzed.
Rule 4:
Compan y Data
Exchange: NYSE
Rule 1:
The signals, dates, price and profit (loss) for the 9- and 18-day moving
averages shown as follow:
Action Date Price ($) Profit
(Loss) ($)
B uy 5- Oct 2004 40.49 N\A
Sell 18- Oct 2004 34.73 (5.76)
B uy 1- Nov 2004 37.39 N\A
Sell 14- Dec 2004 49.31 11.92
B uy 21- Dec 2004 53.4 N\A
Sell 05- Jan 2005 48.84 (4.56)
B uy 24- Jan 2005 50.37 N\A
Rule 2:
Using the MACD method the following trading activity is shown from
the above chart
Action Date Price ($) Profit
(Loss) ($)
Buy 14- Jun 2004 28.9 N\A
Sell 21- July 2004 34.86 5.96
Buy 01- Sep 2004 36.59 N\A
Sell 17- Sep 2004 38.00 1.41
Buy 01- Oct 2004 38.36 N\A
Sell 11- Oct 2004 38.74 0.38
Buy 27- Oct 2004 37.18 N\A
Sell 06- Dec 2004 50.25 13.07
Buy 28- Jan 2005 50.97 N\A
Sell 07- Mar 2005 59.00 8.03
Buy 03- May 2005 43.61 N\A
Sell 12- May 2005 38.98 (4.63)
Buy 19- May 2005 40.41 N\A
Overall, the results for the buy signal as well as for the difference
between the buy and sell signals were reasonably good for the chartists
Rule 3:
Using the RSI method the following trading activity and profit (loss) are
analyzed.
Overall, the results for the buy signal as well as for the difference
between the buy and sell signals were reasonably good for the chartists.
Rule 4:
9) Microsoft Corporation
Compan y Data
Exchange: NYSE
Rule 1:
The signals, dates, price and profit (loss) for the 9- and 18-day moving
averages shown as follow:
Action Date Price ($) Profit
(Loss) ($)
Buy 23- July 2004 28.03 N\A
Sell 06- Aug 2004 27.14 (0.86)
Buy 27- Aug 2004 27.46 N\A
Sell 01- Nov 2004 28.04 0.58
Buy 06- Apr 2005 24.67 N\A
Overall, the results for the buy signal as well as for the difference
between the buy and sell signals were reasonably good for the chartists.
Rule 2:
Using the MACD method the following trading activity is shown from
the above chart
Action Date Price ($) Profit
(Loss) ($)
Buy 10- Jun 2004 26.77 N\A
Sell 06- Jul 2004 28.02 1.25
Buy 26- Aug 2004 27.44 N\A
Sell 22- Oct 2004 27.74 0.30
Buy 06- Dec 2004 27.33 N\A
Sell 14- Jan 2005 26.12 (1.21)
Buy 27- Jan 2005 26.11 N\A
Sell 17- Feb 2005 25.79 (0.32)
Rule 3:
Using the RSI method the following trading activity and profit (loss) are
analyzed.
Rule 4:
Compan y Data
Exchange: NYSE
Rule 1:
The signals, dates, price and profit (loss) for the 9- and 18-day moving
averages shown as follow:
Action Date Price ($) Profit
(Loss) ($)
Buy 04- Nov 2004 13.78 N\A
Sell 11- Jan 2005 14.43 0.65
Buy 06- May 2005 9.76 N\A
Rule 2:
Using the MACD method the following trading activity is shown from
the above chart
If Buy and hold strategy is applied there is a loss of ($10.33- $15.22), $ 4.89.
Overall, the results for the buy signal as well as for the difference
between the buy and sell signals were reasonably good for the chartists
Rule 3:
Using the RSI method the following trading activity and profit (loss) are
analyzed.
Overall, the results for the buy signal as well as for the difference
between the buy and sell signals were reasonably good for the chartists.
Rule 4:
Buy and hold strategy:
If Buy and hold strategy is applied there is a loss of ($10.33- $15.22), $ 4.89.
Chapter 5
Conclusions
and
Recommendation
5.1 Conclusions
In general, we can conclude from the results that the technical indicators
can play a useful role in the timing of stock market entry and exits. By
applying technical indicators, brokers or investors may enjoy substantial
profits.
Most survey studies indicate that technical analysis has been widely used
by market participants in futures markets and foreign exchange markets,
and that at least 30% to 40% of practitioners regard technical analysis as
an important factor in determining price movement at shorter time
horizons up to one year.
Despite positive evidence about profitability and improved procedures for
testing technical trading strategies, skepticism about technical trading
profits remains widespread among academics.
5.2 Recommendation
• We should buy stocks which demonstrate the potential for
explosive gains, while maintaining a highly disciplined trading
rules and exit strategy to manage risk.
• Focus on your potential risk and identifying your exit plan and
should your trade go against you, it is easy to keep emotions out of
the game allowing you to think clearly and stick to your trading
plan.
• You need to have a proven and consistent strategy that will allow
you to find winning stocks in any market environment.
• It is better to keep the application of technical analysis as simple as
possible using some of the indicators.
• For active trading in the short run this should be the better rather
than a long-term investors.
Bibliography
Brock, W., J. Lakonishock, and B. LeBaron. “ Simple Technical Trading
Rules and the Stochastic Properties of Stock Returns.” Journal of
Finance, 47(1992)
Frankel, J. and K. Froot, 1990b, Chartists, Fundamentalists and the .
Demand for Dollars, in Private Behavior and Government Policy in
Interdependent Economies, A.S. Courakis and M.P. Taylor (eds),
Oxford University Press
Froot, K.A., D.S. Scharfstein and J.C. Stein, 1992. Heard on the street :
information inefficiencies in a market with short-term speculators.
Journal of Finance 47
Shiller, R.J., 1984, Stock Prices and Social Dynamics, Brookings Papers
on Economic Activity, 2, Brookings Institution,