home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / BF / BF023B.ZIP / SMVERS25.DOC < prev   
Text File  |  1989-02-16  |  41KB  |  915 lines

  1. STOCK CHARTING SYSTEM - RELEASE 2.5                         PAGE 1 OF 14
  2.  
  3.       (C)  Copyright 1988-89 Charles L. Pack - All Rights Reserved
  4.    QuickBASIC Compiler  (C)  Copyright 1982-87 Microsoft Corporation
  5.  
  6.                       WRITTEN BY: Charles L. Pack
  7.             25303 La Loma Drive, Los Altos Hills, CA. 94022
  8.             Phone: (415) 949-0887 (no collect calls please)
  9.  
  10. The purpose of this system is to draw and/or print volume-high-low-close
  11. bar charts for stocks, commodities, mutual funds and other securities.
  12. Short- and long-term moving average lines can optionally be included on
  13. each chart.  Moving average periods can be changed at will, and moving
  14. averages can be computed temporarily on a "what-if" basis, or stored
  15. permanently on disk.  Price and volume scales can be either linear or
  16. logarithmic.  The system does not make buy/hold/sell recommendations.
  17.  
  18. Whenever a new stock is added to the system, the user may specify daily
  19. or weekly updating of price and volume data, and may also specify the
  20. number (up to 319) of days or weeks of data to be retained for that
  21. individual stock. A 360K diskette can hold 127 days or weeks of data for
  22. each of 86 different stocks.
  23.  
  24. Volume and price data can be "imported" from an ASCII file, which may be
  25. created by a communications or spreadsheet program external to (and not
  26. a part of) the Stock Charting System.  Or volume and prices can be typed
  27. in by the user from data published in Barron's (for weekly updating) or
  28. the Wall Street Journal or other daily paper. Also, weekly-updated stock
  29. charts can be updated directly from corresponding daily-updated charts.
  30.  
  31. Per-share annual earnings and dividends are maintained to permit compu-
  32. tation of the price/earnings ratio and yield for each stock.  High and
  33. low estimated 5-year prices can be entered, to permit computation of
  34. total annual return.  This information may be obtained from the Value
  35. Line Investment Survey or another advisory service.  Also, a stop (or
  36. other) limit can be specified, and is indicated on the chart.
  37.  
  38. The Stock Charting System is menu-driven, allowing the user to easily
  39. select all options without memorizing commands.  All menus have a "Help"
  40. function; when invoked by pressing the "H" key, the directions which are
  41. applicable to that part of the system will appear on the screen.
  42.  
  43. Hardware requirements are an IBM or other "fully compatible" personal
  44. computer with one disk drive and 256K memory.  A color graphics adapter
  45. (CGA) or equivalent is required for displaying or printing bar charts.
  46. A Hercules or other "monographics" adapter may be used with the HGCIBM
  47. simulator by Athena Digital (not included with Stock Charting System).
  48. An Epson-compatible graphics printer is required for printing bar
  49. charts.  IBM DOS or PC-DOS version 2.0 or later is required.  A second
  50. floppy disk drive, or a hard disk, is recommended.  Program modules are
  51. written in compiled BASIC with machine-language subroutines.
  52.  
  53. Permission is granted for personal use of this program, to make backup
  54. copies, and to share this program with other individuals at no cost.
  55. THE AUTHOR RESERVES THE SOLE and EXCLUSIVE RIGHT to distribute this pro-
  56. gram to clubs, user groups, bulletin board systems and other institu-
  57. tions - please write for further information.  Suggestions and comments
  58. are welcome, and may be addressed directly to the author.  The author
  59. makes no warranties, express or implied, and makes no recommendations to
  60. buy or sell any security.
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67. STOCK CHARTING SYSTEM - RELEASE 2.5                         PAGE 2 OF 14
  68.  
  69.               SPECIAL INFORMATION ABOUT HERCULES GRAPHICS
  70.  
  71. If you have a Leading Edge Model D with a monochrome monitor, or if you
  72. are using a Hercules or equivalent "monographics" card, you MUST have a
  73. special software simulator to display the bar charts.  That software is
  74. NOT a part of this version of the Stock Charting System.  The author re-
  75. commends a product called HGCIBM.COM, which is available from:
  76.  
  77. Athena Digital, 2351 College Station Rd., Suite 567, Athens, GA 30605.
  78.  
  79. Phone (404) 354-4522 and ask for Gary Batson, or send $15.00 in check or
  80. money order (includes registration).  The instructions for use with
  81. HGCIBM.COM are not included in this document, but they will come with
  82. that product, and you should follow those instructions for installation.
  83.  
  84. WARNING:  The HGCIBM.COM program must be installed - with the required
  85. software switch settings - BEFORE starting the Stock Charting System.
  86. It makes no difference whether it is installed before or after GRAPHICS
  87. is loaded.  See Page 3 (floppy disk) or Page 6 (hard disk).  Also, it
  88. probably should be un-installed after you are finished, if you are run-
  89. ning other programs that use Hercules graphics directly.  Refer to the
  90. documentation for HGCIBM.COM.
  91.  
  92.  
  93.     HOW TO GET THE STOCK CHARTING SYSTEM RUNNING AS SOON AS POSSIBLE
  94.  
  95. In this document, abbreviations are used to denote certain actions.  The
  96. < > symbols indicate a particular key to be pressed, for example <Enter>
  97. means "press the Enter key".  The Enter key is used to indicate you are
  98. finished entering a command or a data item.  <Enter> need not be pre-
  99. ceeded by a space even though it is done in this document for clarity.
  100.  
  101. Some keys, such as the Esc and Ctrl keys, may be in different positions
  102. on different keyboards.  You may have to look, or consult your computer
  103. operations manual to find them.  The Esc key is usually in the top row,
  104. and the Ctrl key is usually near the left side.  The Enter key has the
  105. funny hooked arrow on it.
  106.  
  107. Commands typed into DOS may be in uppercase (CAPITAL letters) or lower-
  108. case; for example COPY, Copy and copy are all interpreted in the same
  109. way.  In this document, commands will be shown in uppercase.
  110.  
  111. The Stock Charting System uses the DOS system date to compute trading
  112. periods when adding a new stock.  Therefore, it is important to enter
  113. the correct date when the computer is started.  From the DOS prompt A>
  114. or C>, type DATE <Enter>.  If the date is incorrect, type in a new date
  115. in the format mm/dd/yy, for example 2/15/89.
  116.  
  117. If you have a hard disk, you must install your program on the hard disk
  118. before running it. Instructions for hard disk installation begin on page
  119. 6.  Instructions for operation on floppy disks begin on the next page.
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133. STOCK CHARTING SYSTEM - RELEASE 2.5                         PAGE 3 OF 14
  134.  
  135.                     OPERATION FROM FLOPPY DISKETTES
  136.  
  137. The first and most important thing for you to do is to MAKE A WORKING
  138. COPY.  The original copy of the Stock Charting System has (or, should
  139. have!) write-protect tabs on it to prevent accidentally writing over it.
  140. DO NOT try to use the original copy - keep that for backup!  Make at
  141. least one working copy of the Stock Charting System and then put the
  142. original in a safe place other than where your computer is.  This place
  143. should be free of magnetic fields generated by vacuum cleaners, etc.
  144.  
  145. To make a working copy, insert your DOS diskette in drive A and make
  146. sure the A> prompt is visible.  Insert a blank diskette in Drive B.
  147. WARNING: Any data on the diskette in Drive B is about to be erased!
  148. Type the following command:
  149.  
  150.                           FORMAT B: /S <Enter>
  151.  
  152. Follow the prompts on the screen. This will format the diskette and copy
  153. your DOS system files (COMMAND.COM and the two hidden files) onto it, so
  154. that it can be booted directly.  *** WARNING! *** NEVER use FORMAT by
  155. itself.  That will format your DOS diskette, and wipe out your DOS!
  156.  
  157. A special program, from your DOS diskette, is required for printing bar
  158. charts.  Issue the following command from the keyboard:
  159.  
  160.                        COPY GRAPHICS.* B: <Enter>
  161.  
  162. Note: in some versions of DOS - especially those from Tandy and Zenith -
  163. the graphics print program may be called by another name.  Refer to your
  164. DOS manual or see your dealer service department.
  165.  
  166. At this point, you may optionally copy some useful DOS utility programs
  167. onto your working diskette.  The following are suggested, and will allow
  168. you to format diskettes and make backup copies without going back to
  169. your original DOS diskette:
  170.  
  171.                       COPY CHKDSK.COM B: <Enter>
  172.                       COPY DISKCOPY.COM B: <Enter>
  173.                       COPY DISKCOMP.COM B: <Enter>
  174.                       COPY FORMAT.COM B: <Enter>
  175.  
  176. Now remove your DOS diskette from drive A and insert your Stock Charting
  177. System STARTUP diskette.  The STARTUP diskette is the one with the files
  178. BRUN30.EXE and SM2.EXE on it. If you have only one diskette, that should
  179. be the STARTUP/PROGRAM diskette; insert that one in drive A instead.
  180. Then type the following command:
  181.  
  182.                           COPY *.* B: <Enter>
  183.  
  184. This copies all of the individual files from the diskette in the default
  185. drive (drive A) onto the working diskette in drive B.  You now have a
  186. working copy of the STARTUP diskette.
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199. STOCK CHARTING SYSTEM - RELEASE 2.5                         PAGE 4 OF 14
  200.  
  201.               OPERATION FROM FLOPPY DISKETTES (continued)
  202.  
  203. Insert your DOS diskette in drive A again and make sure you have the A>
  204. prompt.  Insert another blank diskette in drive B.  Type the command
  205.  
  206.                            FORMAT B: <Enter>
  207.  
  208. to format another diskette.  This diskette won't have DOS on it, and
  209. therefore will not be "bootable".  At this point, you may want to format
  210. additional diskettes for data files.  If your Stock Charting System came
  211. on only a single STARTUP/PROGRAM diskette, skip this next step.
  212.  
  213. Remove DOS and insert the original PROGRAM diskette in drive A.  With a
  214. formatted diskette in drive B, copy all the files from A onto B with the
  215. following command:
  216.  
  217.                           COPY *.* B: <Enter>
  218.  
  219. You now have a working copy of the PROGRAM diskette.
  220.  
  221. At this point, make sure all diskettes are correctly labelled.  Do not
  222. put write-protect tabs on either the working copies of the STARTUP and
  223. PROGRAM diskettes or the on data diskettes.
  224.  
  225. Now remove the diskette in Drive A and insert a WORKING COPY of the
  226. Stock Charting System.  If you received the Stock Charting System on two
  227. floppies, insert the STARTUP diskette.  Do NOT try to start with the
  228. PROGRAM diskette.  If you received only one diskette, insert that one
  229. (it is a combined STARTUP/PROGRAM diskette).
  230.  
  231. Re-set your computer with the Ctrl-Alt-Del keys. When asked for the cur-
  232. rent date and time, it is important to enter these items as the program
  233. uses the DOS system date in some of its calculations.  In just a moment
  234. the introductory screen should appear!
  235.  
  236. If you have not used these programs before, press the H (for HELP) key
  237. for further information on how to use the system in general.  Then press
  238. the Enter key to continue.  If you began with the STARTUP diskette, the
  239. program will automatically prompt you to insert the PROGRAM diskette
  240. when it is needed.  (Once you are on the PROGRAM diskette, the STARTUP
  241. diskette is no longer used).  After this process has taken place, you
  242. will see the Master Menu screen.
  243.  
  244. Once the Stock Charting System is running, all instructions on how to
  245. operate it are available from within the system itself.  Note that you
  246. can press the H (for HELP) key to get instructions from any screen that
  247. has a menu.  Please read the HELP screens; they will answer most of your
  248. questions.
  249.  
  250. Some demonstration data files are on the PROGRAM diskette.  To work with
  251. these files, press S from the Master Menu.  When you are asked to enter
  252. the disk drive and/or sub-directory for data files, press the Enter key
  253. by itself.  Then press A from the Master Menu to go to the Stock Select
  254. screen, and try out the various menu options in the program.
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265. STOCK CHARTING SYSTEM - RELEASE 2.5                         PAGE 5 OF 14
  266.  
  267.               OPERATION FROM FLOPPY DISKETTES (continued)
  268.  
  269. You should keep your data files (INDEXFIL.SMX and all files with names
  270. ending in .SMP) on a separate DATA diskette, so you have plenty of space
  271. to work with.  This will also facilitate the implementation of new pro-
  272. gram updates.  The program diskette has only limited space, so you will
  273. be able to add only a few stocks to the system if you try to keep both
  274. programs and data on the same diskette (see also pages 11 and 14).
  275.  
  276. To start a new data diskette, insert a newly formatted diskette in drive
  277. B.  From the Master Menu screen type S.  When you are asked to enter the
  278. path (disk drive and/or sub-directory) for data files, type B: <Enter>.
  279. (If you specify an invalid or non-existing drive, you will get an error
  280. message so you can try again).  After a moment, the prompt "Are you
  281. starting a new data disk (Y=Yes, N=No)?" will appear; reply Y.  The
  282. program has recognized the empty diskette in Drive B and will automatic-
  283. ally start asking you for information about the first stock (or other
  284. type of security).  For more information at that time, press Esc and
  285. then press H for HELP.
  286.  
  287. The program always remembers the previous path for data files, so that
  288. in the future, just insert your data diskette in Drive B.  Right after
  289. the introductory screen, the program will go directly to the Master
  290. Menu and show you what the current path is.  You can change it any time.
  291.  
  292. If you are UPGRADING from an earlier version, you can still use all of
  293. your old data files.  These include INDEXFIL.SMX and all other files
  294. with names ending in .SMP. Data files created by Release 1.7 and earlier
  295. releases will be converted automatically, so they can no longer be used
  296. by the earlier programs.  Therefore BACK THEM UP FIRST.
  297.  
  298.  
  299.               SPECIAL REQUIREMENT FOR PRINTING BAR GRAPHS
  300.  
  301. If you want to print bar graphs, you must run the GRAPHICS program -
  302. which is a part of DOS - BEFORE starting the Stock Charting System.
  303. From the DOS prompt A>, with your DOS diskette in Drive A, type GRAPHICS
  304. <Enter>.  This loads into memory the program that is used by the Stock
  305. Charting System to print graphics.  You can enter the command DIR /W
  306. <Enter> to see if GRAPHICS is on your DOS diskette.
  307.  
  308. NOTE: In some versions of DOS - such as Tandy and Heath/Zenith - the
  309. graphics print program may have another name which depends on the type
  310. of printer you are using.  Refer to your DOS manual, or consult your
  311. dealer.
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331. STOCK CHARTING SYSTEM - RELEASE 2.5                         PAGE 6 OF 14
  332.  
  333.                       INSTALLATION ON A HARD DISK
  334.  
  335. Installation is the process of transferring the original of a program
  336. onto a hard disk, and setting it up to operate with your particular
  337. computer.  Installation on a hard disk drive usually consists of three
  338. steps:  First, making a sub-directory; Second, copying the required
  339. files; and Third, creating a batch file.  The last step is optional but
  340. still very desirable.  *** NOTE *** If you are UPGRADING from an earlier
  341. release of the Stock Charting System, skip now to page 9.
  342.  
  343. The Stock Charting System programs should reside in their own dedicated
  344. sub-directory. This sub-directory may be called \SM or \STOCKS or \CHART
  345. or whatever you want, up to 8 characters, but for explanatory purposes
  346. here it will be called \SMPROG (for Stock Market Programs).  (See page 8
  347. for information on sub-directories and how to make one).  Now make this
  348. the current sub-directory by typing CD \SMPROG <Enter>.  This completes
  349. the first step.
  350.  
  351. Insert the original Stock Charting System diskette in Drive A.  Copy all
  352. the files to the hard disk by typing  COPY  A:*.*  /V <Enter>.  If your
  353. version of the Stock Charting System was received on more than one disk-
  354. ette, copy all files on EACH of them to the hard disk.  This completes
  355. the second step.
  356.  
  357. Getting the Stock Charting System to run will require several commands.
  358. The next thing to do is to create a batch file to start the Stock Chart-
  359. ing system.  A batch file contains one or more DOS commands and has the
  360. extension .BAT. When you type the name of a batch file, all the commands
  361. in that batch file are executed, just as if you had typed them individu-
  362. ally from the keyboard.
  363.  
  364. A batch file should reside in the root directory; so switch back there
  365. by entering the command CD \ <Enter>.  A file can be created by copying
  366. directly from the keyboard (CON:) to that file on disk.  Type the fol-
  367. lowing commands:
  368.                        COPY CON: SM.BAT <Enter>
  369.                        CD \SMPROG <Enter>
  370.                        GRAPHICS <Enter>
  371.                        SM2 <Enter>
  372.                        CD \ <Enter>
  373.                        <F6> <Enter>
  374.  
  375. Leave out CD \ if you don't wish to return to the root directory upon
  376. termination of the Stock Charting System.  <F6> means press the F6 key
  377. (this is a function key on the left side of your keyboard).  You should
  378. see the message "1 file(s) copied" and the DOS prompt C>.  The Stock
  379. Charting System can now be started from the root directory with the
  380. single command SM <Enter>.
  381.  
  382. If GRAPHICS.COM is not found, you will get a "command not found" message
  383. when trying to load it.  It should be in the same directory as your DOS.
  384. Your AUTOEXEC.BAT file should contain a PATH statement such as the fol-
  385. lowing:  PATH  C:\DOS; C:\. If not, you will have to either add the PATH
  386. statement to the AUTOEXEC.BAT file, or copy the GRAPHICS.COM file to the
  387. \SMPROG directory.  If GRAPHICS.COM is not loaded BEFORE you run the
  388. Stock Charting System, the bar graphs will not be printed correctly; you
  389. will get letters and numbers but no lines.
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397. STOCK CHARTING SYSTEM - RELEASE 2.5                         PAGE 7 OF 14
  398.  
  399.                        OPERATION FROM A HARD DISK
  400.  
  401. NOTE:  In some Heath, Zenith and Tandy versions of DOS, the graphics
  402. print program may have a different name, depending on the type of
  403. printer you are using.  Check your DOS manual, or see your dealer.
  404.  
  405. From your root directory, begin operation of the Stock Charting System
  406. with the command SM <Enter>.  In just a moment, the introductory screen
  407. should appear!  If you have not used these programs before, press the H
  408. (for HELP) key for further instructions on how to use the system in gen-
  409. eral.  Then, press the Enter key to continue on to the Master Menu.
  410.  
  411. Some demonstration data files are in the program sub-directory.  To work
  412. with these files, press S from the Master Menu.  When you are asked to
  413. enter the disk drive and/or sub-directory for data files, press the
  414. Enter key by itself.  Then press A from the Master Menu to go to the
  415. Stock Select screen and try out the various menu options in the program.
  416.  
  417. Once the Stock Charting System is running, all instructions on how to
  418. operate it are available from within the system itself.  Note that you
  419. can press the H (for HELP) key to get instructions from any screen that
  420. has a menu.  Please read the HELP screens, they will answer most of your
  421. questions.
  422.  
  423. It is advisable to keep your data files (INDEXFIL.SMX and all files with
  424. names ending in .SMP) in their own sub-directory, to facilitate direc-
  425. tory management - especially if there could be many files.  It will be
  426. assumed here that data files are to reside in the sub-directory called
  427. \SMDATA\.  You can have up to 110 stocks in each sub-directory, and you
  428. can have as many sub-directories as your disk drive has the space for!
  429.  
  430. From the Master Menu screen, press S (for Specify disk drive).  When
  431. asked to enter the path for data files, type \SMDATA\ <Enter>.  (If you
  432. specify an invalid or non-existing path, you will get an error message
  433. so you can try again.  A "path" is a disk drive letter and/or sub-dir-
  434. ectory name, for example B: or \SMDATA\ or C:\SM\FUNDS\.)  Then use the
  435. A option from the Master Menu to go to the Stock Select screen.
  436.  
  437. Since the new sub-directory doesn't have the index file (INDEXFIL.SMX),
  438. you will be asked, "Are you starting a new data disk (Y=Yes, N=No)?".
  439. Reply Y and the program will create the index file and automatically
  440. start asking you for information about the first stock (or other type of
  441. security).  For more information at that time, press Esc and then press
  442. H for HELP.
  443.  
  444. The program always remembers the previously entered path for data files.
  445. So, right after the introductory screen the program will continue dir-
  446. ectly to the Master Menu.  You can change the path for data files at any
  447. time by using the S function.
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463. STOCK CHARTING SYSTEM - RELEASE 2.5                         PAGE 8 OF 14
  464.  
  465.              WHAT IS A "SUB-DIRECTORY", AND HOW TO MAKE ONE
  466.  
  467. A hard disk can contain hundreds of files, which could make management
  468. of its directory very difficult.  Therefore a hard disk usually contains
  469. a "root" directory and a number of "sub-directories", organized in a
  470. "tree" structure. The root directory is the main directory and is always
  471. present.  It is like the trunk of a tree, and can contain any number of
  472. sub-directories, which are like branches of a tree.  Also, sub-direc-
  473. tories can contain other sub-directories, up to many different levels
  474. just like the many branches of a tree.
  475.  
  476. Another way to look at it is, the root directory of a disk(ette) is like
  477. the master index to a big book, and the sub-directory is like the index
  478. to an individual chapter.  I recommend keeping the directory structure
  479. simple, with only one level of sub-directories.  Floppy diskettes can
  480. also have sub-directories but usually they don't - while hard disks,
  481. with their large capacity, usually do.
  482.  
  483. Usually, sub-directories contain individual categories of programs or
  484. other files.  For example word processing programs can be in one sub-
  485. directory, documents in another, spreadsheets in another, etc.  Ideally,
  486. the root directory should contain only sub-directories, batch files and
  487. certain other system files; DOS should have its own sub-directory.
  488.  
  489. The Stock Charting System programs should reside in their own dedicated
  490. sub-directory.  To make a sub-directory, first make the root directory
  491. active by typing CD \ <Enter>. Note the back-slash (\) is different from
  492. the regular forward slash (/).  Sub-directory names are just like any
  493. other file names except they always start with the back-slash (\).  The
  494. root directory has no name and is just called \.
  495.  
  496. Sub-directory names must be unique within the directory that contains
  497. them.  To look at sub-directory names, use DIR /W <Enter>.  Sub-direc-
  498. tories are identified by the caption <DIR>.  It is permissible for a
  499. sub-directory name to be the same as a file name, for example SM can
  500. exist as a directory and again as a batch file such as SM.BAT.
  501.  
  502. Now enter the DOS command to "Make a Directory". Type in MD \xxx <Enter>
  503. where xxx denotes a name 1 to 8 characters in length - for example type
  504. MD \SMPROG <Enter>.  For best results, use only letters of the alphabet.
  505. If no error message appears and the DOS prompt C> re-appears, the sub-
  506. directory now exists.  While you are at it, you can make another sub-
  507. directory for data files, for example type MD \SMDATA <Enter>.  To make
  508. the program sub-directory active, type CD \SMPROG <Enter>.
  509.  
  510. WARNING: If you are not in the ROOT directory when you make a sub-direc-
  511. tory, that sub-directory will be under the CURRENT directory that is
  512. active at that time.  For example, if the current directory is \SMPROG
  513. and you make a sub-directory called \SMDATA, you will have to enter the
  514. path name \SMPROG\SMDATA\ in order to get to it.  It's usually better to
  515. keep things more simple.
  516.  
  517. If you can't find your data sub-directory, it may have been placed acci-
  518. dentally under a different sub-directory.
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529. STOCK CHARTING SYSTEM - RELEASE 2.5                         PAGE 9 OF 14
  530.  
  531. UPGRADING FROM AN OLDER VERSION (1.4-1.7; 2.1-2.4) ON A HARD DISK SYSTEM
  532.  
  533. Get into DOS, as indicated by the prompt C>.  Make the sub-directory
  534. which contains the Stock Charting System the currently active directory.
  535. For example, use the command CD \SM <Enter>.  Use the DIR command to
  536. make sure you are in the correct directory.  Now type in the following
  537. commands, which will delete the old program files:
  538.  
  539.                          ERASE SM*.CTL <Enter>
  540.                          ERASE SM*.BAS <Enter>  (2.3 & earlier)
  541.                          ERASE SM*.EXE <Enter>  (2.40 & later)
  542.                          ERASE SM*.H*  <Enter>
  543.  
  544. Note: the .CTL file may be absent if you were using a version earlier
  545. than 1.7.  Re-check with the DIR command to make sure you deleted the
  546. correct files.  Do NOT delete any of the data files, but MAKE SURE THEY
  547. ARE BACKED UP.  (Data files are INDEXFIL.SMX, and all files with the
  548. extension .SMP).
  549.  
  550. Insert the original copy of the Stock Charting System (Release 2.5x) in
  551. Drive A.  You will need to copy some, but not all, of the files onto
  552. your hard disk.  Now, type in the following commands:
  553.  
  554.                        COPY A:SM*.CTL /V <Enter>
  555.                        COPY A:SM*.EXE /V <Enter>
  556.                        COPY A:SM*.HLP /V <Enter>
  557.  
  558. If you received the Stock Charting System on more than one diskette,
  559. repeat the above procedure for EACH diskette; it doesn't matter which
  560. one is copied first.
  561.  
  562. Note: the old copy of SMSETUP2.CTL will not work with the new version of
  563. the program.  If you try to use the old SMSETUP2.CTL, you will get an
  564. error message saying the file is defective, and the program won't run.
  565.  
  566. Do NOT copy any of the sample data files (INDEXFIL.SMX and files with
  567. the extension .SMP).  This will wipe out your existing index file.
  568.  
  569. You may have to modify the batch (.BAT) file which starts the program.
  570. It should be located in the root directory and should be similar to this
  571. after it has been changed:
  572.  
  573.                             CD \SM
  574.                             GRAPHICS
  575.                             SM2
  576.                             CD \
  577.  
  578. NOTE: The command to start the program was changed to SM2 in Release
  579. 2.53, from SMSTART2 in earlier compiled versions.
  580.  
  581. Release 2.5 of the Stock Charting System will read data files created by
  582. all earlier releases.  However, data files created by Release 1.7 and
  583. earlier releases will be over-written with a new format, which can no
  584. longer be used by the earlier release. Note also the new program is com-
  585. piled, and no longer requires BASICA or GWBASIC.  However, the GRAPHICS
  586. program is still required for printing the bar charts.  See the next
  587. page to find out the differences among various releases.
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595. STOCK CHARTING SYSTEM - RELEASE 2.5                        PAGE 10 OF 14
  596.  
  597.          DIFFERENCES BETWEEN THIS RELEASE AND PREVIOUS RELEASES
  598.  
  599. Release 2.5 contains the following improvements over Release 2.4:
  600.  
  601. 1.  The maximum number of days/weeks of data is increased from 90 to 319
  602.     and for older existing charts, that number can be changed at will.
  603.  
  604. 2.  A Master Menu screen has been added. In addition, full color support
  605.     with user choice of several different color schemes is available.
  606.  
  607. 3.  Ability to "import" current or historical data from ASCII files.
  608.     Also, weekly files can be updated from corresponding daily files.
  609.  
  610. 4.  Improved chart formats with "zoom" feature and other enhancements.
  611.  
  612. Release 2.4 contains the following improvements over Release 2.2/2.3:
  613.  
  614. 1.  The program has been compiled and runs much faster.  The program is
  615.     now started with the command SMSTART2 instead of SMADDEL2.
  616.  
  617. 2.  Data files may now be kept in their own sub-directory, separate from
  618.     the programs.  You can have any number of data sub-directories.
  619.  
  620. 3.  Improvements were made to the menu structure.  The Stock Select
  621.     screen and the Add/Delete Stocks screen are now one in the same.
  622.  
  623. Release 2.2 contains the following improvements over Release 2.1:
  624.  
  625. 1.  Tick marks have been added to the bar chart to indicate the first
  626.     trading period date of each month.  The stop (or other) limit will
  627.     show on the bar chart as a reduced-intensity horizontal line.
  628.  
  629. 2.  If a color monitor is used, error messages show in red, and on the
  630.     bar chart, moving average and stop limit lines are shown in color.
  631.     (The background remains black, for maximum contrast with both color
  632.     and monochrome monitors).  Better error trapping & documentation.
  633.  
  634. Release 2.1 contains the following improvements over Release 1.7:
  635.  
  636. 1.  The original 4 program modules have been combined into two for more
  637.     efficient operation, simpler menu structure and less disk storage.
  638.     Programs run a little faster, and graph printing is much faster.
  639.  
  640. 2.  Price history can now be printed in columnar format, in addition
  641.     to graphic format.  A stop limit was added to the database.
  642.  
  643. 3.  A Setup screen was added in Release 1.7, and improved in Release 2,
  644.     to select system parameters such as the disk drive to be used for
  645.     data files.  Esc key now active during data entry.  Better error
  646.     trapping and Help screens.
  647.  
  648. Many improvements have been made as a result of user feedback.  The
  649. author always welcomes user input, whether positive or negative.
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661. STOCK CHARTING SYSTEM - RELEASE 2.5                        PAGE 11 OF 14
  662.  
  663.                        ABOUT DATA FILE MANAGEMENT
  664.  
  665. A data diskette or sub-directory for the Stock Charting System contains
  666. its own index file plus one file for each stock (or other security) for
  667. which volume and prices are maintained. The maximum number of stocks for
  668. which data can be kept on one diskette or in one sub-directory is limit-
  669. ed to 110. This number will be less if there are programs or other files
  670. on a 360K diskette.
  671.  
  672. If you are using two floppy disk drives, you can have data and programs
  673. on the same diskette, or on different diskettes.  Note that the programs
  674. (with extension .EXE), the control files (with extension .CTL), and the
  675. HELP screens (with extension .HLP) must always reside on the active
  676. system drive.  This is usually drive A.  If both data and programs are
  677. on the same 5.25" 360K diskette, space for data will be limited.  On a
  678. higher-density diskette (3.5" or 5.25") there will be more space for
  679. data; you could even use separate sub-directories for programs and data.
  680.  
  681. If you have two floppy disk drives and no hard disk, it is recommended
  682. to have the programs on drive A and data on drive B.  This will make it
  683. easier and faster to back up your data, and facilitate the installation
  684. of subsequent and improved versions of the Stock Charting System pro-
  685. grams.  Upgraded versions will either be able to use existing data files
  686. directly, or will have the ability to convert older data files to a new
  687. format.  Your data files will not be allowed to become orphans!
  688.  
  689. Each time the data for a stock is updated or changed, the associated
  690. files are over-written on the data diskette or in the data sub-direc-
  691. tory.  Therefore it is very important to KEEP BACKUP COPIES!
  692.  
  693. I suggest the following diskette backup scheme:  Use three diskettes and
  694. label the three envelopes C (for current, or child), F (for Father), and
  695. G (for Grandfather).  The envelope labelled C is of course the current,
  696. or working, diskette.  When a copy of the current diskette is made, copy
  697. onto the Grandfather diskette, which then becomes the new Current disk-
  698. ette.  The old Current diskette becomes the new Father; the old Father
  699. becomes the new Grandfather.  The diskettes are simply switched in their
  700. envelopes.  The advantage to this scheme is that each diskette is always
  701. used in rotation so one diskette does not tend to wear out faster than
  702. the others.  Also, there are always three generations of data.
  703.  
  704. If you are using a hard disk, you should still back up your data files.
  705. To do this, insert a newly formatted diskette in Drive A.  Make drive C
  706. the active drive, and make the sub-directory which contains the stock
  707. charting system DATA the active sub-directory.  Type the following
  708. command: COPY INDEXFIL.SMX A: /V <Enter>.  This copies the index file.
  709. Now type a second command as follows:  COPY *.SMP A: /V <Enter>.  This
  710. copies all of your price history files.
  711.  
  712. It is still recommended to keep two or more backup copies!  Although
  713. computers are usually very reliable, disk drives and disks DO wear out
  714. over time.  A head crash or an electrical "transient" could wipe out
  715. months of work!
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727. STOCK CHARTING SYSTEM - RELEASE 2.5                        PAGE 12 OF 14
  728.  
  729.              DESCRIPTION OF THE STOCK CHARTING SYSTEM FILES
  730.  
  731. If you are using 5 1/4" 360KB diskettes, the Stock Charting System MUST
  732. be distributed between two diskettes, because there is not enough room
  733. on a single diskette for the entire system.  The following files should
  734. be on the STARTUP diskette:
  735.  
  736. RELEASE2.5x  is the version/release number of the master diskette.  The
  737.              file itself has no purpose except to identify what release
  738.              it is. "x" could (if it is present) be any letter or digit.
  739.  
  740. SMSTART2.CTL is the file which contains the introductory screen.  The
  741.              version of this file MUST match the current program version
  742.              and not that of an earlier version.
  743.  
  744. SM2.EXE      is the program which displays the introductory screen.  The
  745.              Stock Charting System must ALWAYS be started with this pro-
  746.              gram.  This program automatically loads BRUN30.EXE, which
  747.              remains in memory until you return to DOS.
  748.  
  749. BRUN30.EXE   is the run-time library which is required for any of the
  750.              Stock Charting System programs to run. It contains routines
  751.              which are common to all programs.  BRUN30.EXE is a part of
  752.              the QuickBASIC compiler which is (C) Copyrighted by Micro-
  753.              soft Corporation.
  754.  
  755. SMSTART2.HLP contains the initial HELP screens with general information
  756.              about using the Stock Charting System.
  757.  
  758. SMVERS25.DOC is the text file which contains the information you are
  759.              reading now.
  760. README
  761. READ.ME      is a short text file which explains how to print the infor-
  762. README.DOC   mation you are reading now.
  763.  
  764. If you are using a high-density floppy diskette or a hard disk, the
  765. above files may be on the PROGRAM diskette or in the PROGRAM sub-direc-
  766. tory.  The files SMSTART2.CTL, SM2.EXE, BRUN30.EXE and SMSTART2.HLP all
  767. MUST be present for the Stock Charting System to run.
  768.  
  769. All files with the extension .EXE are executable program files in native
  770. machine language.  However, the Stock Charting System must ALWAYS be
  771. started with the command SM2 (which may be in a batch file).
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793. STOCK CHARTING SYSTEM - RELEASE 2.5                        PAGE 13 OF 14
  794.  
  795.        DESCRIPTION OF THE STOCK CHARTING SYSTEM FILES (continued)
  796.  
  797. The following files must reside on the PROGRAM diskette, or in the PRO-
  798. GRAM sub-directory:
  799.  
  800. SMSETUP2.CTL is a control file which has several functions.  If data and
  801.              programs are on separate diskettes SMSETUP2.CTL must be on
  802.              the PROGRAM diskette, not the data diskette.  Likewise, on
  803.              a hard disk SMSETUP2.CTL must be in the PROGRAM sub-direc-
  804.              tory, not the data sub-directory.
  805.  
  806. SMMMENU2.EXE is the Master Menu program.  It also allows the user to
  807.              specify a path for data files and to select other options.
  808.  
  809. SMMMENU2.HLP contains Help screens which explain the Master Menu.
  810.  
  811. SMADDEL2.EXE displays the Stock Select screen and allows the user to
  812.              add, delete or change stocks.  It creates and/or modifies
  813.              the index file INDEXFIL.SMX and initializes price history
  814.              files whenever new stocks are added to the system. A separ-
  815.              ate price history file is created for each stock for which
  816.              data is to be maintained.  The name of a price history file
  817.              is the ticker symbol preceeded by D or W (daily or weekly).
  818.              The extension is always .SMP, for example B:WIBM.SMP.
  819.  
  820. SMADDEL2.HLP contains the Help screens for SMADDEL2.EXE.
  821.  
  822. SMTRANS2.EXE is the program which "imports" current or historical data
  823.              from an external ASCII file.  Current prices can also be
  824.              entered manually for all stocks.  Weekly files can be up-
  825.              dated from corresponding daily files in this program.
  826.              Note: Manual entry of historical prices for many dates, but
  827.              for just a selected stock, is performed in SMENTRY2.EXE.
  828.  
  829. SMTRANS2.HLP contains the Help screens which explain the updating of
  830.              current prices for all daily files or all weekly files.
  831.  
  832. SMPRUPD2.HLP contains the Help screens which explain the import of cur-
  833.              rent volume and prices from an ASCII file.
  834.  
  835. SMDTOWK2.HLP contains the Help screens which explain how to transfer
  836.              data to weekly-updated files from corresponding daily-
  837.              updated files.
  838.  
  839. SMPRHIS2.HLP contains the Help screens which explain the import of his-
  840.              torical volume and prices from an ASCII file.
  841.  
  842. SMENTRY2.EXE is the data entry and bar graph program.  In this program,
  843.              volume and prices for all dates for the selected stock can
  844.              be entered manually.  In addition, moving averages are com-
  845.              puted, bar graphs are displayed and data is stored on disk.
  846.              It also does the printing of bar charts and tabular data.
  847.  
  848. SMENTRY2.HLP contains the Help screens for SMENTRY2.EXE when in the man-
  849.              ual data entry mode.
  850.  
  851. SMGRAPH2.HLP contains the Help screens for SMENTRY2.EXE when in graphic
  852.              display/print mode.
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859. STOCK CHARTING SYSTEM - RELEASE 2.5                        PAGE 14 OF 14
  860.  
  861.          DESCRIPTION OF STOCK CHARTING SYSTEM FILES (continued)
  862.  
  863. The following files should reside on the DATA diskette, or in the DATA
  864. sub-directory (unless data and programs are on the same diskette):
  865.  
  866. INDEXFIL.SMX is the system index file.  It contains - for each stock for
  867.              which volume and price data are maintained - the name,
  868.              ticker symbol, exchange, number of days/weeks of informa-
  869.              tion, annual earnings, dividends and price goals.  If this
  870.              file is missing, the system can automatically create it and
  871.              ask for data on the first stock.
  872.  
  873.      xxx.SMP (where xxx is a stock symbol preceeded by D or W) - these
  874.              are the files which contain historical volume, prices and
  875.              moving averages.  One of these files exists for each stock,
  876.              in addition to a corresponding entry in the index file.
  877.  
  878. A price history file requires 32 bytes of disk space for each trading
  879. period date, plus an extra 32 bytes.  Thus, a 127-day file or a 127-week
  880. file will require (127+1) x 32, or 4,096 bytes.  For the most efficient
  881. use of floppy disk space, choose a number of days or weeks that's evenly
  882. divisible by 32, minus 1.  For example 31, 63, 95, 127, ..., 319.  The
  883. index file requires 7,168 bytes and its size will not change.
  884.  
  885. All files with the entension .HLP are standard text files which do not
  886. contain any control characters.  Whenever the H (for Help) function is
  887. invoked from a menu, the program looks for the appropriate file (see the
  888. list of files on the preceding 2 pages).  If that file is not found in
  889. the program directory, the message "Help screen not available" will
  890. flash on the bottom line of the screen (press any other valid key to get
  891. rid of a flashing error message).
  892.  
  893. You may delete the .HLP files if necessary to make more space on a disk-
  894. ette.  To delete an individual file, make the diskette or sub-directory
  895. which contains that file the active one.  Then enter the following
  896. command: ERASE filename <Enter>.  For example, to erase the file that
  897. contains the initial Help screen (you should have a printout or backup
  898. copy of it first), type ERASE SMSTART2.HLP <Enter>.  To get rid of all
  899. HELP screens, type ERASE *.HLP <Enter>.  Use DIR or DIR /W to check the
  900. directory before and after you delete a file.  DIR shows the names of
  901. all files in one column along with their corresponding dates and times
  902. of last changes; DIR /W shows several file names on each line, without
  903. the other information (/W means "Wide").
  904.  
  905. It is recommended to run the Stock Charting System with 2 disk drives,
  906. one of which can be a hard disk. A hard disk is strongly recommended if:
  907. a)  you have more stock charts than will fit on one diskette, or
  908. b)  you are "importing" data from any external files.
  909. A hard disk drive will alleviate the need for swapping diskettes, and
  910. may speed up your programs quite a bit.
  911.  
  912. If you have any problems with the documentation in this program, please
  913. notify the author (address & phone number on the first page).  This will
  914. help the author to make improvements and correct errors.  Thank you!
  915.