2. LECTURE OBJECTIVES
Mathematical Indicators at Stock Exchange
Moving Average
Simple Moving Average
Exponential Moving Average
Oscillators
Rate of Change Indicator (ROC)
Relative Strength Index (RSI)
Moving Average Convergence and Divergence (MACD)
Market Indicators
Breadth of Market
Odd lot Index
Short Interest
3. MATHEMATICAL INDICATORS
Analyst can use the mathematical tools of moving
average to smoothen out the apparent erratic movement
of share prices and highlight the underlying trend.
Indicators are;
1- Moving Average
2- Oscillators
4. MOVING AVERAGE
Moving average are mathematical indicators of the
underlying trend of price movement. Two types of
moving average (MA) are commonly used by analyst.
Simple Moving Average: an average is the sum of prices
of a share number of days divided by the number of
days. In simple moving average, a set of averages are
calculated for a specific number of days, each average
being calculated by including a new price and excluding
an old price.
6. The first total of 1. 80.5 in column 3 is obtained by adding the
prices of the first five days, that is, (33+35+37.5+36+39). The
second total of 177.5 in column 3 is obtained by adding the price
of the 6th day and deleting the price of the first day from the first
total. The moving average in column 4 is obtaining by dividing
the total figure in column by the number of days namely 5.
Exponential Moving Average: this average can calculated by the
following formula;
EMA= (Current closing price-Previous EMA) x factor + Previous
EMA
Where;
Factor = 2 / n + 1
n = number of days for which the average is calculated
7. Here,
Factor = 2 / n + 1
= 2/ 5 + 1 = 2/6= 0.33
The EMA for the first day is taken as the closing price of that day
itself.
The EMA for the second day is calculated as shown below.
EMA = (Current closing price – Previous EMA) x Factor + Previous
EMA
= (35 - 33) x 0.33 + 33= 33.66
EMA for third day = (37.5 – 33.66) x 0.33 + 33.66 = 34.93
A five days or ten days average would indicate the short term trend;
a 50 days would indicate the medium term trend, and 200 days
Days Closing price EMA
1 33 33
2 35 33.66
3 37.5 34.93
4 36 35.28
5 39 36.51
6 40 37.66
7 40.5 38.60
8 38.5 38.57
9 41 39.37
10 42 40.24
8. OSCILLATORS
Oscillators are mathematical indicators calculate with the
help of the closing price data. They help to identify
overbought and oversold conditions and also the
possibility of trend reversals. These indicators are called
oscillators because they move across a reference point.
Rate of Change Indicator (ROC): This indicator measures
the rate of change of the current price as compared to
the price a certain number of days or weeks back.
Formula:
ROC = closing price today – Closing Price n period ago
Closing price n period
10. The ROC values may be positive or negative or zero, an
ideal situation is where the investor but a share that is
oversold and sell a share that is overbought. In the ROC
chart, the overbought zone is above the zero line and
oversold zone is below the zero line. Many analyst use
the zero line for identifying buying and selling
opportunities. Upside crossing (from below to above the
zero line)indicates a buying opportunity, while a
downside crossing (from above to below the zero line)
indicates a selling opportunity.
11. RELATIVE STRENGTH INDEX
(RSI)
This measure is powerful indicator that signals buying
and selling opportunities ahead of the market.
Formula:
RSI = 100 – (100/ (1 + RS))
Where;
RS = Average gain per day/ Average loss per day
The most commonly used time period for the calculation
of RSI is 14 days.
13. CALCULATION
14 Days Average :
Gain: 25/14= 1.786
Loss: 10/14= 0.714
RS = 1.786/ 0.714= 2.50
RSI = 100 – (100/ (1+2.50))
RSI = 100 – (100/3.50)
= 100- 28.58 = 71.42
This is the RSI for day 15.
14. MOVING AVERAGE
CONVERGENCE AND
DIVERGENCE (MACD)
MACD is an oscillator that measure the convergence and
divergence between two exponential moving average.
Short term moving average and long term moving
average is calculated by closing price data. The
difference between the short term EMA and Long term
EMA represents MACD.
The MACD values for different days are derived by
deducting the long term EMA for each day from the
corresponding short term EMA for the day. These MACD
values are plotted on an XY graph with MACD values on
the Y axis and time period on X axis. The MACD line
would oscillator across the zero line. If the MACD line
cross the zero line from above, the trend can be
considered to have turned bearish, signaling a selling
opportunity. On the other hand, if the MACD line moves
above the zero line from below, the trend can be said to
have turned bullish and indicates a buying opportunity.
15. MARKET INDICATORS
Technical analysis focuses its attention not only on
individual stock price behavior, but also on the general
trend of the market. Indicators used by technical analysts
to study the trend of the market as a whole are known as
market indicators.
Breath of Market
Short Interest
Odd- lot index
16. BREATH OF MARKET
By comparing the number of shares which advanced and
the numbers of shares that decline during a period. The
trend of the market can be ascertained, comparison
between advance and declines is a means of measuring
the dispersion or breath of a general price rise or
decline, the difference between the advance and declines
is called the breath of market.
Days Advance Decline Daily
difference
Breath
Monday 620 350 +270 +270
Tuesday 470 510 -40 +230
Wednesday 360 610 -250 -20
Thursday 585 380 +205 +185
Friday 705 270 +435 +620
17. SHORT INTEREST
A speculator often resorts to short selling which is
selling a share that is not owned by a person. This is
done when the speculator feels that the price of the
stock will fall in future. He hopes to purchase the share
at later date below the selling price and reap up the
profit.
The volume of short sales in the market can be used as a
market indicators. As a technical indicator, short selling
is called short interest. This buying activity increase the
demand for stock. To calculate the ratio, divide the
monthly short selling by average daily volume, which
indicates how many days of trading it would take to
cover up the total short sales.
I general, when the ratio is less than 1.0 the market is
considered to be weakening or overbought. A decline
should follow sooner or later, values above 1.5 are
considered to indicate that the market is oversold and is
18. ODD LOT INDEX
Small investor are presumed to buy smaller number of
shares than the normal trading lot of 100 shares, these
are called odd lots and the buyers and sellers of odd lots
are called odd lotters.
An odd lot index can be calculated by relating odd lot
purchases to odd lot sales. The odd lot index obtain by
dividing odd lot purchases by odd lot sales. An increase
in this index suggests relatively more buying or vise
versa.