Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.



Published on

Published in: Business, Economy & Finance
  • Be the first to comment


  1. 1. Volume’s Value episode II Continuation of April 26 th 2005 meeting
  2. 2. … <ul><li>Revisit abnormal trading days </li></ul><ul><li>Look at a few normalization indicators </li></ul><ul><li>Relationship between price and volume </li></ul>
  3. 3. Martin J. Pring[1] summarized the following: <ul><li>Volume is measured in trends, and the trends are always interpreted in relations to the recent past. </li></ul><ul><li>It is normal for volume to expand with rising prices and contract with declining ones. Anything to the contrary is abnormal and warns of an impending trend reversal. </li></ul>
  4. 4. Martin J. Pring[1] summarized the following (cont): <ul><li>During bullish trends, it is normal for volume to lead the price. </li></ul><ul><li>Selling climaxes clear the air. They do not necessarily signal the final low for the move but are almost always followed by a rally. </li></ul><ul><li>Record volume coming off an important low usually signals a strong rally </li></ul>
  5. 5. Martin J. Pring[1] summarized the following (cont): <ul><li>A parabolic expansion in price and volume represents an exhaustion move, which is typically followed by a sharp decline. </li></ul><ul><li>Pring[2] has expanded material on volume. </li></ul>
  6. 6. Singal[3] (in chapter 4) concluded <ul><li>“ In general, there is no evidence of tradable price regularities following large price events. If large price changes are accompanied by other traits of information, such as high volume and public dissemination of news, the patterns become stronger. … The annualized return after transactions costs can be estimated at 36% annually for positive price changes and 15% for negative price changes. This strategy works even in bear markets!” </li></ul>
  7. 7. Average Return on Day of Large Change for stocks > $10 <ul><li>Singal[3] states also that the average return on day of large change in 1990 to 1992 in increasing relative return on day 0, was 7.13% and 0.08% from day 1 to day 20. For average decline on day 0 of -7.13% there was an return of -0.48% by day 20. </li></ul>
  8. 8. Brian R. Bell[4] states: <ul><li>Normalizing an indicator allows you to do several things. </li></ul><ul><li>Allows historical analysis to become easier since the values of the indicator are more consistent over long periods. </li></ul><ul><li>Cross-market analysis becomes possible, since the values of the indicator are more consistent across different instruments. </li></ul>
  9. 9. Brian R. Bell[4] states: <ul><li>Analysis over several time frames becomes easier, since the values of the indicator can be made consistent. </li></ul><ul><li>Effects from sudden changes in volatility can be removed. </li></ul>
  10. 10. Some normalization techniques <ul><li>Bell[4] gave example of a 4/8 moving average price oscillator normalized to the 1st 4 methods techniques listed below: </li></ul><ul><li>Average price </li></ul><ul><li>Standard deviation of price </li></ul><ul><li>Average true range of price </li></ul><ul><li>Range of the oscillator itself </li></ul><ul><li>Using log function – as seen (aka Jeff) in TASUG meetings. See also Mandelbrot [5] chapter 4 “Images of the Abnormal” for price examples. </li></ul>
  11. 11. Examples of what is abnormal volume? <ul><li>One of the criteria Bollhorn[6] uses to check for “Abnormal Activity to Predict New Upwards Trends” is to compare the volume today, relative to the 20 day volume average. </li></ul>
  12. 12. Examples of what is abnormal volume? <ul><li>Swing[7] produced a scan based on Pritamani et al[8]*. Criteria is as follows: </li></ul><ul><li>Liquidity of 100,000 traded/day on average. </li></ul><ul><li>Twice the average volume. </li></ul><ul><li>Positive short-term momentum. </li></ul><ul><li>Exceptionally strong intra-day trend. </li></ul><ul><li>* Note that reference [3] and most likely [8] are based on information in reference [9]. </li></ul>
  13. 13. Examples of what is abnormal volume? <ul><li>// Translation of Swing[7] scan using in Amibroker[10] afl </li></ul><ul><li>// liquidity: 100,000 shares traded per Day, on average. </li></ul><ul><li>MAv = MA(V,20); </li></ul><ul><li>// require the High Volume, as in Pritamani AND Singal[8]. </li></ul><ul><li>// Specifically, twice the average Volume. </li></ul><ul><li>Filter_v = MAv>100000 && V>MAv*2; </li></ul><ul><li>// Require positive short-term momentum. </li></ul><ul><li>// Use the directional indicators and the 1-day change as proxy for this. </li></ul><ul><li>Filter_d = PDI(14)>MDI(14) && (C/Ref(C,-1)-1) > 0.05; </li></ul><ul><li>// Finally, we require an exceptionally strong intra-Day trend, </li></ul><ul><li>// as calculated by how much of the intra-Day volatility translated </li></ul><ul><li>// into upwards movement. </li></ul><ul><li>Filter_t = (Close-Open)/(High-Low) > 0.75; </li></ul><ul><li>// Exploration scan using criteria above </li></ul><ul><li>Filter = Filter_v && Filter_d && Filter_t; </li></ul>
  14. 14. Examples of what is abnormal volume? <ul><li>Some one had mentioned that one should look at 3 times the average volume … </li></ul>
  15. 15. Examples of what is abnormal volume? <ul><li>Bajo[11] computed the normalized abnormal volume (NAV) with Number of Trading Days (NTD=66) using: </li></ul>
  16. 16. Examples of what is abnormal volume? <ul><li>Bajo[11] computed the normalized abnormal volume (NAV) with NTD=66. </li></ul><ul><ul><li>It is just a normalized standard deviation </li></ul></ul><ul><ul><li>technique. It is written in Amibroker afl as: </li></ul></ul><ul><ul><li>nav = (V - MA (V,66))/ StDev (V,66); </li></ul></ul><ul><ul><li>In statistics, this formula is known as </li></ul></ul><ul><ul><li>“ Z-score”. </li></ul></ul>
  17. 17. Using volume standard deviation method as in Bajo[11] <ul><li>Using standard deviation(SD), we know that 95.5% of the change in volume should be within 2SD and 99.7% within 3SD. </li></ul><ul><li>Bajo[11] used the levels of over 2.33SD and 3.1SD for indicating abnormal volume. </li></ul><ul><li>Since there are about 250/251 trading days in the North American markets, using 20 (NTD=60) or 21 (NTD=63) trading days per month may be appropriate. References [3,6,7,8,9] uses 20 days per month in SD or average calculation. </li></ul>
  18. 18. Normalization Consideration? <ul><li>When normalizing, one may consider not using the current price or volume in the calculation. For moving average normalization, instead of 2*MA(V,20), one can use twice the previous average volume. i.e. 2*ref(MA(V,20),-1). </li></ul><ul><li>Period used. </li></ul><ul><li>Advantages/Disadvantages? </li></ul>
  19. 19. Example Charts using AmiBroker[10] <ul><li>Next set of slides are example charts of some normalization methods with different periods. </li></ul>
  20. 28. Normalization summary <ul><li>Volume Standard deviation </li></ul><ul><ul><li>Vsd = (V – ref(ma(V,period),n))/ref(stdev(V,period), -n); </li></ul></ul><ul><li>Volume Moving Average </li></ul><ul><ul><li>Vma = V/ref(ma(V,period),-n); </li></ul></ul><ul><li>Volume with Range </li></ul><ul><ul><li>Vhr = 100 *(V - LLV (V,period))/( HHV (V,period)- LLV (V,period)); </li></ul></ul><ul><li>For starters, try using value period from 20 to 60 and n should be at least 1. On page 507 of Kaufman[12], he uses n =5 for formula (2) above. </li></ul>
  21. 29. Misc <ul><li>Misc </li></ul><ul><ul><li>Bollhorn[6] examples AAPL, MSFT… </li></ul></ul><ul><ul><li>Normalized price … </li></ul></ul><ul><ul><li>Scans … </li></ul></ul><ul><ul><li>Other normalized indicators </li></ul></ul><ul><ul><li>… </li></ul></ul>
  22. 30. Statistically analyzing volume <ul><li>One method of visualizing data distribution is by plotting all the data in something like a scatter plot. </li></ul><ul><li>By using methods like in Goodman[13], one may be able to help answer question like “Is an increase in the activity of a stock a meanful indication of the direction of the price?” </li></ul>
  23. 31. Statistically analyzing volume <ul><li>Following two slides are scatter like plots. The second one is zoom in view of the first. </li></ul>
  24. 34. Statistically analyzing volume <ul><li>One can tabulate the data in groups and display the result as a spreadsheet. </li></ul><ul><li>Note to make things simple, when you see the range like n-m , the values are greater than n and up to m . i.e. 0-2 means greater than 0 and including 2. </li></ul>
  25. 35. USvolumeTest_61_F20030101T20041231_0sv_P20_V1.csv 549 176 86 38 125 68 76 >15   546 346 207 96 465 230 509 10-15   875 1103 819 497 2302 1787 6554 5-10   375 779 729 500 2761 2500 14068 3-5   159 411 429 330 1857 2007 14795 2-3   210 411 465 353 2134 2477 26981 0-2 |Price change| % >5 3.1-5 2.33-3.1 2-2.33 1-2 0.5-1 0-0.5       Normalized volume (xSD)    
  26. 36. Statistically analyzing volume <ul><li>As a map </li></ul>
  27. 38. Statistically analyzing volume <ul><li>As a bar chart </li></ul>
  28. 40. Statistically analyzing volume <ul><li>As a colour bar chart </li></ul>
  29. 42. Filename/chart meaning <ul><ul><li>Note that the data file names end in V#.dat. When # is </li></ul></ul><ul><li>0 then the volume of at least 100000. 1 then there is also a bullish candle requirement of (C-O)/(H-L)>0.75 </li></ul><ul><li>2 then it uses the basic requirement of Swing[7] – see slide 13. </li></ul><ul><li>The first day is day 0. So if we were to buy, we use the next day (i.e. 2 nd day) close </li></ul><ul><li>0sv denotes standard deviation volume vs absolute price change on that day </li></ul><ul><li>1mv denotes moving average volume vs absolute price change on that day </li></ul><ul><li>2pr denotes price range vs price change </li></ul><ul><li>3di denotes standard deviation volume vs price change range </li></ul><ul><li>4fp20d denotes price range vs future price change (20 th day close over 2 nd day close) </li></ul><ul><li>5fq20d denotes price range vs maximum future price change in 20 days over 2 nd day close </li></ul><ul><li>6fr denotes price change vs the close of n day over the 2 nd day close </li></ul>
  30. 43. Filename/chart example <ul><li>The file name </li></ul><ul><li>USvolumeTest_61_F20030101T20041231_0sv_P20_V1.dat </li></ul><ul><li>denotes that </li></ul><ul><li>the watchlist is called USvolumeTest </li></ul><ul><li>the watchlist number is 61 </li></ul><ul><li>analysis is from 2003-01-01 to 2004-12-31 </li></ul><ul><li>(0sv) standard deviation volume vs absolute price change chart </li></ul><ul><li>P20 – using a 20 period in the normalized volume </li></ul><ul><li>V1 – with additional bullish candle requirement of (C-O)/(H-L)>0.75 </li></ul>
  31. 44. US sample example <ul><li>Sample of 1814 US stocks. </li></ul><ul><li>Minimum volume of 100000 </li></ul><ul><li>Period of 2003-01-01 to 2004-12-31. </li></ul><ul><ul><li>Following slides are colour charts of the results. </li></ul></ul><ul><li>The outputs are produced by running Amibroker 3 times (i.e. V=0,1,2) on the watchlist USvolumeTest and then running Gnuplot[14] on the charts. </li></ul>
  32. 60. TSX sample <ul><li>Using a sample of 725 TSX stocks and applying the following: </li></ul><ul><li>Minimum volume of 100000 </li></ul><ul><li>Period of 2003-01-01 to 2004-12-31. </li></ul><ul><ul><li>Following slides are colour charts of the results. </li></ul></ul>
  33. 76. Discussion <ul><li>… </li></ul>
  34. 77. References <ul><li>Pring, Martin J., “Volume Basics”, Stocks and Commodities, July 2000, Volume 18, No. 7, pages 36-41. </li></ul><ul><li>Pring, Martin J., “Technical analysis explained”, McGraw-Hill 2002. </li></ul><ul><li>Singal, Vijay, “Beyond the random walk: a guide to stock market anomalies and low-risk investing”, Oxford University Press 2004, Chapter 4 “Short-Term Price Drift”, pages 56-77. </li></ul>
  35. 78. References <ul><li>Bell, Brian R., “Normalization”, Stocks and Commodities, October 2000, Volume 18, No. 10, pages 58-68. </li></ul><ul><li>Mandelbrot, Benoit et al, “The (Mis)behavior of markets”, Basic Books 2004, pages 88-94. </li></ul><ul><li>Bollhorn, Tyler, “Using Abnormal Activity to Predict New Upward Trends”, 2000. http:// </li></ul>
  36. 79. References <ul><li>Swing, Larry, “Breakout Stocks”, May 12 2005. </li></ul><ul><li>Pritamani, Mahesh and Singal, Vijay, “Return Predictability Following Large Price Changes and Information Releases”, Journal of Banking and Finance, April 2001, Volume 25, No. 4. </li></ul><ul><li>Pritamani, Mahesh, “Return Predictability Conditional on the Characteristics of Information Signals”, PhD Dissertation 1999. </li></ul>
  37. 80. References <ul><li>AmiBroker 4.70, http:// </li></ul><ul><li>Bajo, Emanuele, “The Information Content of Abnormal Trading Volume”, May 24 2005 draft paper. </li></ul><ul><li>Goodman, William M., “Statistically Analyzing Volume”, Stocks and Commodities, November 1996, Volume 14, No. 11, pages 465-470. </li></ul>
  38. 81. References <ul><li>Kaufman, Perry J., “New Trading Systems and Methods”, Wiley 4 th Edition Feb 2005. </li></ul><ul><li>Gnuplot data and function plotting routine. </li></ul>