Presentation is loading. Please wait.

Presentation is loading. Please wait.

Saeed Ebrahimijam Fall 2014-2015 Faculty of Business and Economics Department of Banking and Finance Doğu Akdeniz Üniversitesi FINA417.

Similar presentations


Presentation on theme: "Saeed Ebrahimijam Fall 2014-2015 Faculty of Business and Economics Department of Banking and Finance Doğu Akdeniz Üniversitesi FINA417."— Presentation transcript:

1 Saeed Ebrahimijam Fall 2014-2015 Faculty of Business and Economics Department of Banking and Finance Doğu Akdeniz Üniversitesi FINA417

2  Chapter 10: SIMPLE MOVING AVERAGE WEIGHTED MOVING AVERAGE EXPONENTIAL MOVING AVERAGE MULTIPLE MOVING AVERAGES FIBONACCI NUMBERS  Chapter 13 : - Confirmation and Divergence  Chapter 17 : - Moving Average Convergence-Divergence (MACD) - CROSSOVER OF MACD BY THE SIGNAL LINE - DIVERGENCE ANALYSIS - EXTREME READINGS 2 Fundamental of Technical Analysis and Algorithmic Trading

3  One of the most widely used tools in the technician’s toolbox is the moving average.  Various types of moving averages are used to smooth price fluctuations and get a clear picture of a security’s price trend.  The advantages and disadvantages of simple, weighted, and exponential moving averages.  How to use one moving average or two or more in combination to signal the trend of prices.  Before discussing types of moving averages, it is important to understand exactly what a moving average is: An average is the sum of whatever you are examining (for example, the closing prices of a stock) for a number of instances (for example,10 days) divided by the number of instances (10 days).  The moving part of moving average means that one recalculates the average for each additional instance (day). 3 Fundamental of Technical Analysis and Algorithmic Trading

4  It is equivalent to the moving arithmetic mean.  The simple moving average is calculated by adding the prices (typically closing prices) for a number of periods (hours, days, weeks, etc.) and dividing by the number of periods. 4 Fundamental of Technical Analysis and Algorithmic Trading

5 5 Note that in 5 day simple moving average there is no simple moving average charted for the first four days, since there are not enough data to make the calculation until the fifth day.

6  Longer time periods are typically used for simple moving averages. For example, the commonly used 200-day simple moving average of the S&P 500 index closing prices is plotted in Figure 11-2.  As a rule of thumb: as long as the index is above its 200-day simple moving average, the outlook is bullish. On the other hand, when it falls below its 200-day simple moving average, it is a bearish sign. 6 Fundamental of Technical Analysis and Algorithmic Trading

7 7

8  A major criticism of the simple moving average is: it gives equal weight to each period’s price rather than weighting recent periods’ action more heavily than older periods’ price action.  Both weighted and exponential moving averages answer that criticism. 8 Fundamental of Technical Analysis and Algorithmic Trading

9  The weighted moving average gives each period’s price a “weight” based on its age: -The oldest period’s price is given a weight of 1. -The next to the oldest period’s price is given a weight of 2. -The next period’s price is given a weight of 3. The price for -The period after that is given a weight of 4. The weight increases by 1 until the final period (the current period) is assigned a weight.  Each period’s price is multiplied by the given weight.  The products of the calculation are summed and divided by the total of the weights. 9 Fundamental of Technical Analysis and Algorithmic Trading

10 Table 11-2 five-day period WMA:  The first day’s price, which is the oldest day, is multiplied by the weight of 1.  The second day’s price is multiplied by 2.  The third, fourth, and fifth days’ prices are multiplied by 3, 4, and 5, respectively.  The products of the five calculations are summed, and the total is divided by the total of the weights (1+2+3+4+5= 15). 10 Fundamental of Technical Analysis and Algorithmic Trading

11 11 Fundamental of Technical Analysis and Algorithmic Trading

12 12 Fundamental of Technical Analysis and Algorithmic Trading

13 13 Fundamental of Technical Analysis and Algorithmic Trading

14  however, remember that the faster SMA has a disadvantage of potentially giving a false signal of a changing trend direction. 14 Fundamental of Technical Analysis and Algorithmic Trading

15 15 Fundamental of Technical Analysis and Algorithmic Trading

16 16 Fundamental of Technical Analysis and Algorithmic Trading

17  One criticism of both the simple and weighted moving averages is that they include data for only the number of periods the moving average covers.  For example, a five day simple or weighted moving average only uses five days’ worth of data. Data prior to those five days are not included in the calculation of the moving average. 17 Fundamental of Technical Analysis and Algorithmic Trading

18  Many technicians believe that the prior data are an important reflection of prices and should be included (on a weighted basis with older data given less weight) in a moving average calculation.  These technicians frequently use an exponential moving average to accomplish that task.  An exponential moving average gives more weight to recent prices and ever decreasing weight to older data. Unlike simple and weighted moving averages, the older data never go away in the calculation of exponential moving averages.  The formula for calculating exponential moving averages is somewhat complex and is best done with the aid of a computer. 18 Fundamental of Technical Analysis and Algorithmic Trading

19  Before calculating the exponential moving average on a daily basis, you must have a beginning moving average number (previous day’s exponential moving average).  To start, use a five-day simple moving average for the previous day’s exponential moving average. Each day you make the following calculation: The previous day’s exponential moving average is subtracted from the current day’s closing price.  That difference is multiplied by the exponential moving average exponent (in this case, 0.4) to arrive at a number that is added (or subtracted, if negative) to the previous day’s exponential moving average resulting in the current day’s exponential moving average. 19

20 20 Fundamental of Technical Analysis and Algorithmic Trading

21  The exponent for a given time period is calculated by dividing 2 by the number of time periods in the exponential moving average.  Thus, for five periods, the exponent equals 2 divided by 5 or 0.4.  Similarly for 20, 50, and 200 periods, the exponent equals 0.1, 0.04, and 0.01, respectively. 21 Fundamental of Technical Analysis and Algorithmic Trading

22 22 Fundamental of Technical Analysis and Algorithmic Trading

23  Figure 11-6 illustrates a 200-day exponential moving average of the S&P 500 index closing prices. 23 Fundamental of Technical Analysis and Algorithmic Trading

24 24 Fundamental of Technical Analysis and Algorithmic Trading

25  Moving averages of differing lengths are often used together in trend determination.  The objective of using more than one moving average is to reduce whipsaw trades that result in losses in volatile markets. Whipsaw means : a condition where a security’s price heads in one direction, but then is followed quickly by a movement in the opposite direction 25 Fundamental of Technical Analysis and Algorithmic Trading

26 26 Fundamental of Technical Analysis and Algorithmic Trading

27  A buy signal is given when the shorter term moving average crosses above the longer- term moving average.  A sell signal occurs when the opposite happens: the longer-term moving average crosses above the shorter-term moving average. 27 Fundamental of Technical Analysis and Algorithmic Trading

28 28

29  Three moving averages can also be used in a triple crossover method.  A popular combination employs 4-, 9-, and 18-day moving averages. It is principally used with commodities. - buy signal is generated when both the 4- (acts as a warning) and 9- (acts as a confirmation) day moving averages cross above the 18-day moving average. - Sell signals are produced by the crossing of the 4- and 9-day moving averages below the 18-day moving average.  FIGURE 11.7 shows a 5- and 20-day simple moving averages for Apple and the signals they generate in combination. Note that the shorter 5-day simple moving average is much more sensitive to trend changes than the longer 20- day simple moving average. 29 Fundamental of Technical Analysis and Algorithmic Trading

30 30 Fundamental of Technical Analysis and Algorithmic Trading

31  A substantial number of technicians believe that the most successful moving averages are those that are linked to the dominant cycles of the various markets.  Since Fibonacci numbers are often noted in cycle analysis, it makes sense that technicians find them to be useful in moving average analysis. 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377,... to infinity 31 Fundamental of Technical Analysis and Algorithmic Trading

32  A 21-day simple moving average is often used by technicians to help determine the short-term trend in prices : - When prices move above the 21-day simple moving average, it is considered to be a bullish signal. On the other hand, - when prices move below the 21-day simple moving average, it is viewed as bearish. 32 Fundamental of Technical Analysis and Algorithmic Trading

33 33

34  Confirmation and divergence are basic concepts that are applicable to a wide variety of commonly used technical analysis techniques including those that are presented in Lessons 14 through 17.  As a technician, it is essential that you have a proper understanding of these concepts. 34 Fundamental of Technical Analysis and Algorithmic Trading

35  You simply compare two related items (typically price and an indicator) to see if they are moving in the same direction and reaching new highs or lows at about the same time.  If they are, it is known as confirmation since the second item (indicator) is “confirming” the action of the first item (price).  On the other hand, if the first item (price) is not accompanied by a similar movement in the second item (indicator), it is called a divergence. 35 Fundamental of Technical Analysis and Algorithmic Trading

36  Confirmations and divergences can have both bullish and bearish implications.  A bullish confirmation occurs when both the items reach new highs and, thus, signal higher prices.  When both items reach new lows, a bearish confirmation results, and lower prices are forecasted.  A bullish divergence occurs when an indicator begins to move up at a time that prices are reaching new lows. - In this case, the indicator is suggesting underlying market strength and, therefore, the potential for a reversal in prices to the upside. 36 Fundamental of Technical Analysis and Algorithmic Trading

37  A bearish divergence (see Figure 13-4) is just the opposite. When an indicator begins to move down at a time that prices are rising, underlying weakness is implied and a warning is given that prices could reverse direction and move downward.  The ideas of confirmation and divergence date back to the early 1900s and the Dow Theory. In the Dow Theory, the Dow Jones Industrial Average (DJIA) and the Dow Jones Transportation Average (DJTA) must confirm each other in order to signal a bull or bear primary trend. To signal a bull trend, both the DJIA and the DJTA must rise above their respective highs of previous upward secondary reactions.  To signal a bear trend, both averages must drop below their respective lows of previous secondary reactions. 37 Fundamental of Technical Analysis and Algorithmic Trading

38 38 Fundamental of Technical Analysis and Algorithmic Trading

39 39 Fundamental of Technical Analysis and Algorithmic Trading

40 40 Fundamental of Technical Analysis and Algorithmic Trading

41 41

42  It is a price momentum indicator that was developed by Gerald Appel (Signalert Corporation).  It is an oscillator based on the point spread difference between two exponential moving averages of the closing price—a slower one (typically 26 period) and a faster one (typically 12 period).  This difference is further smoothed by an even faster exponential moving average (typically 9 period) which is called the signal line. 42 Fundamental of Technical Analysis and Algorithmic Trading

43 43 Fundamental of Technical Analysis and Algorithmic Trading

44  Although 26- and 12-period exponential moving averages are typically used for MACD and a 9- period exponential moving average is normally used for the signal line calculation, other exponential moving averages can be used.  There is no set number of exponential moving average periods that work best in all markets and for all investment time horizons.  Only by experimenting with the particular security or market you are trading can you determine the best combination of exponential moving average periods to use in the MACD calculation. 44 Fundamental of Technical Analysis and Algorithmic Trading

45  Divergence analysis  Extreme readings  Crossover of MACD by the signal line. 45 Fundamental of Technical Analysis and Algorithmic Trading

46  The primary method of interpreting MACD for buy and sell signals is through divergence analysis.  Divergence between prices on a bar chart and MACD strongly suggests that prices will be reversing direction.  If prices are rising or moving sideways and MACD is declining, look for a downturn in prices.  If, on the other hand, prices are declining or moving sideways and MACD is increasing, expect prices to turn and move higher. 46 Fundamental of Technical Analysis and Algorithmic Trading

47  As with many technical indicators, extreme MACD readings identify overbought and oversold conditions, thus signaling the likelihood of tops or bottoms.  When the MACD is extremely high, a top in prices is likely.  Conversely, an extremely low MACD reading suggests a high probability of a bottom being made. 47 Fundamental of Technical Analysis and Algorithmic Trading

48  In general, when the MACD line crosses from below to above the signal line, it is considered bullish.  It is viewed as bearish when the MACD line crosses from above to below the signal line.  However, the crossover signal should not be used in isolation (without taking the environment into consideration), but as confirmation of bullish and bearish evidence provided by examining MACD for divergences from price action and extreme readings. 48 Fundamental of Technical Analysis and Algorithmic Trading

49 49 Fundamental of Technical Analysis and Algorithmic Trading

50 50 Fundamental of Technical Analysis and Algorithmic Trading

51 51 Fundamental of Technical Analysis and Algorithmic Trading


Download ppt "Saeed Ebrahimijam Fall 2014-2015 Faculty of Business and Economics Department of Banking and Finance Doğu Akdeniz Üniversitesi FINA417."

Similar presentations


Ads by Google