home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 521.lha / Stockchart_v2.18 / StockChart.doc < prev    next >
Encoding:
Text File  |  1991-06-10  |  10.7 KB  |  297 lines

  1.  
  2.  
  3.  
  4. StockChart
  5.  
  6. Stock Market Technical Analysis Program
  7.  
  8. Version 2.18 - December 1990
  9.  
  10. User's Manual
  11. Copyright 1988, 1989, 1990 - David A. Wizda
  12. All rights reserved
  13.  
  14. Portions of this program include material
  15. Copyrighted by Absoft Corp 1988
  16.  
  17.  
  18. THE UBIQUITOUS DISCLAIMER
  19.  
  20.    StockChart was written by an amateur programmer and investor.
  21. While every effort has been made to assure the accuracy of the
  22. information provided by this program, no warranty of any kind is
  23. either expressed or implied.  If you make investment decisions
  24. based solely on the information supplied by this program, might I
  25. remind you that a fool and his money are soon parted.
  26.  
  27.  
  28. INTRODUCTION
  29.  
  30.    StockChart is designed for investors who want to perform
  31. technical analysis on stocks.  The current version provides you
  32. with the facilities to input the high, low, close, and volume of
  33. stock prices on a daily basis; display the data for the latest
  34. six months; rescale the charts; and draw trend lines.  Additional
  35. features include weekly graphs which show up to 2 1/2 years of
  36. data, moving averages, put-call ratio graphs, and
  37. advance-decline graphs.
  38.  
  39.  
  40. FILES
  41.  
  42.    The only file you need to run this program is "StockChart",
  43. however, you should have also received the data files "sp500",
  44. "AdvDec.dat" and "PutCall.dat" along with their ".info" files. We
  45. will assume that you have all or these files for the purposes of
  46. the rest of this Manual.  AdvDec.dat and PutCall.dat must be in
  47. the current directory.
  48.  
  49.  
  50. RUNNING STOCKCHART
  51.  
  52.    To run StockChart, simply double-click its icon, or type
  53. "StockChart" from the CLI.  (WARNING:  When running from the CLI,
  54. make sure the stack is set to at least 13,256).
  55.    You will be greeted by the copyright message and a window
  56. prompting you to enter a file name.  Type "sp500" followed by the
  57. RETURN or ENTER key.  Assuming that you have the file "sp500" and
  58. that it is in the same directory as StockChart, you should see a
  59. graph of the S&P 500 data for the last six months.
  60.    To draw lines on the graph, position the pointer at any point
  61. on the graph and press the left mouse button.  Reposition the
  62. pointer somewhere to the right of the first point and press the
  63. left mouse button again.  Voila! Trend lines.
  64.    Other features of the program are controlled by selecting
  65. items from the menu with the mouse as shown in Figure 1.
  66.  
  67.  
  68. FIGURE 1
  69.  
  70. MENU OPTIONS
  71.  
  72.  
  73.   Data            Graph Options          Put-Call Ratio
  74.     Choose Stock    Auto Price Limits      Enter Data
  75.     Enter Data      Set Price Limits       Revise Data
  76.     Revise Data     Set Volume Limits      Show Put-Call Ratio
  77.     Quit            Auto Volume Limits
  78.                     Daily Graph
  79.                     Weekly Graph
  80.                     Moving Average
  81.                     Redraw Screen
  82.  
  83.   Advance-Decline
  84.     Enter Data
  85.     Revise Data
  86.     Set Limits
  87.     Auto Limits
  88.     Show Adv-Dec
  89.  
  90.  
  91. Data
  92.  
  93.    Choose Stock--A window will appear prompting you to enter a
  94. file name which includes the data for a specific stock.  With
  95. this release of the program, we have included data for the S&P
  96. 500 (file name "sp500").  If you have this file and you enter the
  97. correct name, you will be displayed a graph of the stock
  98. performance for the past few months.
  99.    Enter Data--You will be prompted to enter the year, month,
  100. day, high, low, close, and volume of the stock selected under the
  101. "Data--Choose Stock" option.  You will then be prompted with
  102. "Enter Data (y,N,q,m)?"
  103.  
  104.    - Type "y" (Yes) if the data is correct and you want it to
  105.      be written to the file.
  106.    - Type "n" (No, the default) if the data is incorrect and
  107.      you want to re-enter it.
  108.    - Type "q" (Quit) if you do not want to enter any data.
  109.    - Type "m" (More) if the data is correct, you want it to be
  110.      written to the file, and you want to continue entering
  111.      more data for the following day.
  112.  
  113.    Your first date for entering data must be a Monday.
  114.  
  115.    Years, months, and days must be entered as one or two-digit
  116. integers (e.g "88" for 1988, "8" for August).  Prices must be
  117. entered in decimal form (e.g. "112.5", not 112 1/2).  After the
  118. first day of data has been entered, the date will be entered
  119. automatically.  The program knows about weekends and leap years,
  120. but not holidays.
  121.    I suggest entering volumes in thousands (000 omitted) for
  122. single stocks and in millions (000 000 omitted) for stock
  123. indexes.
  124.    For holidays, enter the date as described above, and "0" for
  125. the high, low, close, and volume.
  126.    After you enter data, the graph will be redrawn.
  127.  
  128.    Revise Data--You will be prompted to enter the record number
  129. for the data that you want to review for possible revision.  If
  130. you hit "RETURN" you will be shown the last 20 entries.
  131.    If you want to revise one of the entries shown, enter its
  132. record number and then enter the data as described above.
  133.    If you do not want to revise any of the data, press "RETURN".
  134.  
  135.  
  136. Graph Options
  137.  
  138.    Auto Price Limits--This is the default when you first review
  139. the graph.  When selected, the top of the price graph will be set
  140. to the highest price within the period and the bottom of the
  141. price graph (the lowest vertical line, about 2/3 down the window)
  142. will be set to the lowest price.  All other prices will be scaled
  143. proportionately.
  144.    After you perform this function, the graph will be redrawn.
  145.  
  146.    Set Price Limits--You will be prompted to set the Upper Bound
  147. and the Lower Bound which correspond to the top and bottom
  148. horizontal lines.  All other prices will be scaled
  149. proportionately.
  150.    Since there are 20 fixed intervals between lines, you may
  151. wish to set the limits at "round" values by inputing multiples of
  152. 20.  For example, if the Automatic Price Limits are 275.125 and
  153. 249.875, you could set the Upper Bound at 280 and the Lower Bound
  154. at 240.
  155.    If you enter an upper bound which is less than the actual
  156. high, some of the higher prices will be off the screen.
  157. Likewise, if you enter a lower bound which is higher than the
  158. actual low, some of the lower prices will extend into the volume
  159. area.
  160.    After you enter these values, the graph will be redrawn.
  161.    Note the "Grid %" number in the lower right-hand column.
  162. This number is calculated by dividing the interval between the
  163. horizontal grid lines by the last closing price.  It indicates
  164. the relative vertical (price) scale of the graph.  This is useful
  165. in visualizing the commonly used 3% break-out rule.
  166.  
  167.    Auto Volume Limits--This is the default when you first review
  168. the graph.  When selected, the top of the volume graph (the
  169. lowest line of the price graph) will be set to the highest volume
  170. within the period.  All other volumes will be scaled
  171. proportionately.
  172.    After you perform this function, the graph will be redrawn.
  173.  
  174.    Set Volume Limits--You will be prompted to set the upper
  175. bound of the volume graph (the lowest line of the price graph).
  176. All other volumes will be scaled proportionately.  You may set
  177. the upper bound at a value lower than the actual high volume, in
  178. which case the volume line will extend into the price graph.
  179.  
  180.    Daily Graph--This is the default mode, showing six months of
  181. data.
  182.  
  183.    Weekly Graph--This mode shows about 2 1/2 years of weekly data
  184. with Friday's closing price.  The vertical lines separate months,
  185. and since some months will have five Fridays instead of four, the
  186. lines are not evenly spaced.
  187.  
  188.    Moving Average--You will be prompted to enter the number of
  189. days for a moving average line (up to 200).  To erase the line,
  190. enter "0".  This feature has not yet been implemented in the
  191. weekly graph mode.
  192.  
  193.    Redraw Screen--The screen is redrawn, erasing any trend lines
  194. which you may have drawn, but not the moving average line.
  195.  
  196.  
  197. Put-Call Ratio
  198.  
  199.    Versions 2.0 and greater add provisions for entering one
  200. Put-Call ratio graph in a separate window.  The accompanying file
  201. "PutCall.dat" includes data for the S&P 100 Index.  You are free
  202. to use any index, however, this version limits you to one.
  203.  
  204.    Enter Data--This operation is the same as described above
  205. except that you enter the date followed by the call volume and
  206. the put volume.  All data is written to the file "PutCall.dat" in
  207. the current directory.
  208.  
  209.    For holidays, enter the date and the previous day's call and
  210. put volumes.
  211.  
  212.    Revise Data--This operates the same as described above under
  213. "Data--Revise Data."
  214.  
  215.    Show Put-Call Ratio--A graph will appear in a window at the
  216. bottom of the screen showing the put-call ratio for the last six
  217. months.
  218.  
  219.    Some analysts believe that a put-call ratio above 1.3 (the
  220. shaded area at the top) is a bullish indicator and that a ratio
  221. below 0.6 (the shaded area at the bottom of the graph) is a
  222. bearish indicator.
  223.  
  224.  
  225. Advance-Decline
  226.  
  227.    Versions 2.06 and greater add provisions for entering one
  228. advance-decline line graph in a separate window.  The
  229. accompanying file "AdvDec.dat" includes data for the NYSE.  You
  230. are free to use any exchange, however, this version limits you to
  231. one.
  232.  
  233.    Enter Data--This operation is the same as described above
  234. except that you enter the date followed by the number of
  235. advancing issues followed by the number of declining issues.  All
  236. data is written to the file "AdvDec.dat" in the current
  237. directory.
  238.  
  239.    For holidays, enter "0"'s.
  240.  
  241.    Revise Data--This operates the same as described above under
  242. "Data--Revise Data."
  243.  
  244.    Set Limits--Allows you to rescale the chart.
  245.  
  246.    Auto Limits--Rescales the chart proportionally between the
  247. highest and lowest values.
  248.  
  249.    Show Adv-Dec--A graph will appear in a window at the bottom
  250. of the screen showing the cumulative number of advances minus the
  251. number of declines for the last six months. I realize that this
  252. is not a traditional advance-decline line graph, but I think it
  253. is more meaningful.
  254.  
  255.  
  256. ENHANCEMENTS
  257.  
  258.    The following enhancements are under consideration for the
  259. next version.  Your input is requested as to which should take
  260. priority.
  261.  
  262.   - Trim File--As you continue to add to the data files, they may
  263.     soon become filled with useless data.  This function will
  264.     trim off the data from the beginning of the file
  265.  
  266.   - Print Data--This function will print the contents of data
  267.     files
  268.  
  269.   - Better I/O and Error handling
  270.  
  271.   - Automatic data entry from news services.
  272.  
  273.   - Anything else that you want.  Please let me know, whether or
  274.     not you send me any money.
  275.  
  276.  
  277. BUGS
  278.  
  279.    For some reason, the program screws up the automatic scaling
  280. of the price chart for weekly data if you are entering data for
  281. more than one stock.  You can still set the limits manually, so
  282. this is no big deal.  I'm trying to fix it, but I can't seem to
  283. find out why it doesn't work correctly.
  284.  
  285.  
  286. SOURCE CODE
  287.  
  288.    Source Code is available on request.  Versions 2.0 and later
  289. of this program have been written in AC/BASIC (a compiled BASIC
  290. language available from the Absoft Corporation).  I am fairly
  291. sure that most of the program functions will work using the Amiga
  292. Basic interpreter except that you will have to rewrite the
  293. routines for drawing trend lines because of timing differences
  294. between the compiler and the interpreter.
  295.  
  296.  
  297.