home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / WINDOWS / MISC / PRTY12D2.ZIP / MANUAL.DOC < prev    next >
Encoding:
Text File  |  1992-06-03  |  188.9 KB  |  3,699 lines

  1.  
  2.  
  3.                                                            Parity
  4.                                                                  
  5.                                         Technical Analysis System
  6.                                                                  
  7.                                                       Version 1.2
  8.                                                                  
  9.                                                      User's Guide
  10.        
  11.        
  12.        Copyright 1991, 1992 Paul Rickert.  All Rights Reserved.
  13.        
  14.        The software described in this document is provided under the terms of
  15.        a license Agreement.  Please read it carefully.  The software may be
  16.        used or copied only upon acceptance and in accordance with the terms
  17.        of this agreement.  Unauthorized use, duplication, distribution, or
  18.        disassembly is strictly prohibited by federal law.
  19.        
  20.        Parity, Parity Plus and The Display Matrix are trademarks of Parity
  21.        Software Systems.
  22.        
  23.        IBM is a registered trademark of International Business Machines, Inc.
  24.        Lotus and 1-2-3 are registered trademarks of Lotus Development
  25.        Corporation.
  26.        Microsoft is a registered trademark and Windows is a trademark of
  27.        Microsoft Corporation.
  28.        MetaStock, The Technician, and The Downloader are trademarks of EQUIS
  29.        International.
  30.        CompuTrac is a trademark of Compu Trac Software Inc.
  31.        
  32.        ParTech Software Systems
  33.        Two Bryant Street, Suite 200
  34.        San Francisco, CA  94105
  35.        (415) 546-9316
  36.        
  37.        Printed in the United States of America
  38.  
  39.  
  40. Table Of Contents
  41.       
  42.        Part 1     Introduction                           1
  43.             What Is Parity?                              2
  44.             Parity and Shareware                         2
  45.             About Parity Plus                            3
  46.             Installing Parity                            3
  47.             Price Data                                   4
  48.        
  49.        Part 2     Basic Concepts                         7
  50.             Charts                                       7
  51.             Groups                                       7
  52.             Studies                                      8
  53.             Batches                                      9
  54.             Clusters                                     9
  55.             The Display Matrixä                          10
  56.        
  57.        Part 3     The Tool Bar                           13
  58.             The Tool Bar                                 13
  59.                  Moveable Versus Fixed Tool Bar          13
  60.                  Action Tools                            13
  61.                  Display Tools                           14
  62.                  Window Management Tools                 14
  63.        
  64.        Part 4     Menu Commands                          17
  65.             File Menu                                    17
  66.             Edit Menu                                    17
  67.             Groups Menu                                  17
  68.                  Load a Security                         18
  69.                  Create or Modify Group                  20
  70.                  Select a Group                          21
  71.                  Reorder a Group                         23
  72.                  Save All Groups                         23
  73.                  Delete Groups                           23
  74.                  Display Group or Security               24
  75.                  Import Other Formats                    24
  76.             Studies Menu                                 27
  77.                  Study Commands                          27
  78.                  Batch Commands                          28
  79.                  Create/Modify Current Study             28
  80.                  Formula Editor                          29
  81.                  Pane Layout Editor                      31
  82.                  Color Editor                            33
  83.                  Options Editor                          34
  84.                  Select a Study                          35
  85.                  Save All Studies                        35
  86.                  Delete Study                            35
  87.                  Display Current Study                   36
  88.                  Batch Studies                           36
  89.                  Select a Batch                          36
  90.                  Reorder Batch                           36
  91.                  Save All Batches                        37
  92.                  Delete Batch                            37
  93.             Clusters Menu                                37
  94.                  Make a Cluster                          38
  95.                  Select a Cluster                        38
  96.                  Save All Clusters                       38
  97.                  Delete Cluster                          39
  98.                  Display Current Cluster                 39
  99.             Pointer Menu                                 39
  100.             Options Menu                                 40
  101.             Window Menu                                  41
  102.             Help Menu                                    42
  103.        
  104.        Part 5     Indicators & Chart Procedures          43
  105.             Technical Indicators                         43
  106.                  List of Predefined Technical Indicators 44
  107.                  Bibliography of Technical Analysis Texts 46
  108.             MetaStock Function Compatibility             46
  109.             Procedures vs. Functions                     48
  110.             Chart Procedures                             48
  111.             Point and Figure Charts                      50
  112.                  The Point and Figure Procedures         51
  113.             Adding Lines to a Chart                      52
  114.        
  115.        Part 6     Formulas, Operators & Functions        55
  116.             Formulas                                     55
  117.             Arrays versus Scalars                        56
  118.             Predefined Variables                         57
  119.             Operators, Parenthesis and Mathematical Precedence     59
  120.             Arithmetic Operators                         60
  121.             Comparison Operators                         60
  122.             Logical Operators                            61
  123.             Trigonometric Functions                      61
  124.             Exponential Functions                        62
  125.             Rounding Functions                           62
  126.             Array Related Functions                      63
  127.             Statistical Functions                        63
  128.        
  129.        Part 7     File Formats Supported                 65
  130.             The MetaStock/CompuTrac Format               65
  131.             ChartPro File Format                         66
  132.             Comma Separated ASCII Files                  66
  133.        
  134.        Part 8     Odds and Ends                          69
  135.             Printing Charts                              69
  136.             Windows 3.0 System Resources                 70
  137.             System Requirements and Execution Speed      71
  138.             Problems and Solutions                       72
  139.                  The Hour Glass Cursor                   72
  140.                  Incomplete Charts and System Resources  72
  141.        
  142.        Appendix                                          75
  143.             Data Vendors                                 75
  144.             Other Resources                              76
  145.  
  146. Part 1         Introduction
  147.        
  148.        Welcome to the Parity Technical Analysis System.  This User's Guide is
  149.        a comprehensive guide to all of the features and procedures offered by
  150.        the Parity software.  Most of the text of this manual is also
  151.        available through Parity's on-line Help files.  You can access
  152.        Parity's help at any time by pressing F1 or by clicking on the Help
  153.        button on most of Parity's forms and dialog boxes.
  154.        
  155.        We strongly recommend that you read the Basic Concepts and The Tool
  156.        Bar sections of the manual and follow the brief tutorial described in
  157.        the "Getting a Head Start" section of the README.1ST file included in
  158.        your Parity Installation Disk.  This should give you enough of an
  159.        overview to permit you to quickly become productive using Parity.
  160.        
  161.        The Menu Command sections are a reference to all the commands that are
  162.        available from Parity's Menu Bar.  You will benefit from a careful
  163.        reading of the Create/Modify Current Study section and the detailed
  164.        description of each of the Study Editors which follows.
  165.        
  166.        More advanced users should skim through the Indicators and Chart
  167.        Procedures section to get a sense of the full range of tools Parity
  168.        gives you for creating charts incorporating a wide variety of
  169.        technical indicators and chart types.  The Technical Indicators
  170.        section also includes a bibliography for the best technical analysis
  171.        books we have found.  We strongly recommend John Murphy's "Technical
  172.        Analysis of the Futures Market" for a beginning text, and Perry
  173.        Kaufman's "The New Commodity Trading Systems and Methods" for a
  174.        comprehensive overview of technical analysis.  Despite their titles
  175.        these books are excellent for the analysis of stocks as well as
  176.        commodities.
  177.        
  178.        Part 6, Formulas, Operators and Functions, is designed as a reference
  179.        guide to the various functions and operators which are available to
  180.        you when you want to chart your own formulas and indicators.  This
  181.        section assumes a fair amount of knowledge about standard math and
  182.        computer notations and conventions.  You will probably want to ignore
  183.        this part of the manual until you are ready to start creating formulas
  184.        which express your own ideas about the best ways to analyze price
  185.        data.
  186.        
  187.        Part 7, File Formats Supported, discusses the three data file formats
  188.        that Parity supports directly and provides some tips about the merits
  189.        of each.
  190.        
  191.        Part 8, Odds and Ends, includes some general comments about Parity and
  192.        Windows 3.0 and the idiosyncrasies of both.
  193.        
  194.        As you use Parity please remember that when you make a mistake in a
  195.        formula you are trying to chart, Parity will seem to "freeze up" and
  196.        the mouse cursor will be locked into an hour glass shape.  Just hit
  197.        the up arrow key and you can proceed normally.  Occasionally an error
  198.        may occur when you have a form or dialog box open.  Normally you can
  199.        recover by pressing the up arrow key and closing the  dialog box by
  200.        double clicking on the control menu box in the upper left hand corner
  201.        of the dialog box window.  This may indicate a bug in the program and
  202.        we would appreciate it if you would report it to us.
  203.        
  204. What Is Parity?
  205.        
  206.        Parity is a Stock Charting and Technical Analysis Program designed to
  207.        take full advantage of the Windows Graphical User Interface.  The
  208.        program permits the user to design sophisticated charts of stock price
  209.        data using a wide range of technical indicators and tools.
  210.        
  211.        Parity's charting capabilities permit you to graph a security's price,
  212.        volume and up to nine indicators in a single chart using any
  213.        combination of stacked or overlapping panes, each of which can include
  214.        one or more indicators.
  215.        
  216.        Parity incorporates traditional Open, High, Low, Close charts, Line
  217.        and Bar charts, Japanese Candlestick charts, Point and Figure charts,
  218.        Equivolume charts, Horizontal Bar charts, and a Price at Volume chart
  219.        which is similar to The Crocker Chartc.
  220.        
  221.        The program includes over 30 of the most popular predefined indicators
  222.        plus a wide range of math and statistical functions.  These indicators
  223.        and functions can be combined in user defined formulas.
  224.        
  225.        The most innovative aspect of Parity is its unique use of Groups of
  226.        Stocks, Batches of Studies, and Clusters of Charts in order to
  227.        simplify the analysis of a large number of securities at one time.
  228.        
  229.        In order to manage the profusion of sophisticated charts you can
  230.        design with Parity, virtually all of its settings can be saved to disk
  231.        and recalled for another Technical Analysis Session.
  232.        
  233.        In addition, Parity provides a graphical Display Matrix that permits
  234.        the user to easily jump from stock to stock and study to study.
  235.        
  236.        Parity has no intrinsic limit on the number of charts you can create,
  237.        although Windows' limited System Resources restrict the number of
  238.        charts that can be displayed at one time.
  239.        
  240. Parity and Shareware
  241.        
  242.        Parity is distributed as Shareware.  Parity is not free or public
  243.        domain software.  Shareware permits you to try Parity before you buy
  244.        the software.  However if you continue to use Parity you must Register
  245.        the software by paying the current licensing fee.
  246.        
  247.        Shareware provides a good channel for a software vendor to distribute
  248.        its products without incurring the high marketing costs involved in
  249.        normal commercial distribution of software.  These cost savings are
  250.        passed onto the user through the lower cost of Parity compared to
  251.        other "commercial" technical analysis programs.  Our goal is to make
  252.        Parity the finest technical analysis program you can buy anywhere.
  253.        
  254.        In addition to the ability to "try before you buy", Shareware also
  255.        permits us to make more frequent updates to Parity than would be
  256.        possible with retail software.  The most recent version of Parity will
  257.        always be available on the INVFORUM of CompuServe.  We will also send
  258.        you the most current version of Parity if you send us your credit card
  259.        number or a check for $5 to cover the cost of shipping and handling.
  260.        
  261.        Feel free to "share" the evaluation version of Parity as long as you
  262.        follow the guidelines in the LICENSE.DOC file included with the
  263.        program.  However, you may not share the registered version of Parity
  264.        or any copies of this manual.  Under no circumstances may you give a
  265.        copy of the REGISTER.DAT file to any other user.
  266.        
  267. About Parity Plus
  268.        
  269.        Parity Plus is the Enhanced Retail Version (ERV) of Parity.  Parity
  270.        Plus is only available directly from ParTech Software Systems or our
  271.        designated distributors.  In addition to all of the great features of
  272.        the shareware version, Parity Plus includes advanced features such as
  273.        Profit Testing, Optimization, Stock Filtering and Scanning, Cycle
  274.        Analysis, Data and File Maintenance, and Data Conversion.
  275.        
  276.        Registered users of Parity will be able to upgrade to Parity Plus at
  277.        any time by paying the difference between the current price of Parity
  278.        Plus and their registration fee for Parity.
  279.        
  280. Installing Parity
  281.        
  282.   Initial Installation
  283.        
  284.        If you are installing Parity from compressed ZIP files which you have
  285.        downloaded or purchased from a disk vendor:
  286.        
  287.         1  Copy the *.ZIP files to a directory on your hard disk.  Unzip the
  288.            files using PKUNZIP or ARCE or LHA depending on the compression
  289.            used.  Do not copy the files to the \Parity directory since this
  290.            is normally where you will want the program installed to.
  291.         
  292.         2  Start Windows.  From the Program Manager Click on the File Menu
  293.            and select Run.  Type in the drive and directory where you
  294.            unzipped the files followed by INSTALL.EXE, i.e.,
  295.            C:\TEMP\INSTALL.EXE.
  296.         
  297.         3  Parity will automatically install itself.  If this is a first
  298.            time installation you should let Parity install the sample data
  299.            files and the sample configuration files.  If this is not a first
  300.            time install uncheck these options to avoid overwriting any files
  301.            you have created.
  302.        
  303.        YOU MAY NOT INSTALL PARITY TO THE SAME DIRECTORY AS THE UNZIPPED FILES
  304.        YOU ARE INSTALLING.
  305.        
  306.        If you are installing Parity from uncompressed files on a single high
  307.        density floppy diskette:
  308.        
  309.         1  Start Windows and insert the diskette in drive A or B.
  310.         
  311.         2  From the File Menu of the Program Manager select Run.  Type in
  312.            the floppy diskette drive and INSTALL.EXE, i.e. A:INSTALL.EXE.
  313.         
  314.         3  Parity will automatically install itself.  If this is a first
  315.            time installation you should let Parity install the sample data
  316.            files and the sample configuration files.  If this is not a first
  317.            time install uncheck these options to avoid overwriting any files
  318.            you have created.
  319.        
  320.        If you are installing the registered version of Parity also copy the
  321.        REGISTER.DAT file to your Parity directory by clicking ont the Copy
  322.        REGISTER.DAT check box.  The Installation Program will not do this
  323.        automatically unless you click on the check box.
  324.        
  325.        Parity's installation routine will automatically create a RLZRUN10
  326.        directory under your Windows directory and a C:\PARITY directory by
  327.        default.  It will not modify your WIN.INI, AUTOEXEC.BAT or CONFIG.SYS
  328.        files in any way.
  329.        
  330.   Subsequent Installations
  331.        
  332.        If you are installing an upgraded version of Parity follow the
  333.        appropriate installation procedure as outlined above.  However it is
  334.        very important that in step 3 you uncheck the Sample Data Files and
  335.        Sample Configuration Files options before you proceed with the
  336.        installation.  If you don't do this you may overwrite the *.DAT files
  337.        which contain the definitions of the Studies, Groups, Batches and
  338.        Clusters etc. that you have created.  We suggest you make backup
  339.        copies of these *.DAT files regularly.
  340.        
  341.        If you are installing the registered version of Parity also copy the
  342.        REGISTER.DAT file to your Parity directory by clicking ont the Copy
  343.        REGISTER.DAT check box.  The Installation Program will not do this
  344.        automatically unless you click on the check box.
  345.        
  346.        Always check for a README.1ST file with more up-to-date installation
  347.        instructions.
  348.        
  349. Price Data
  350.        
  351.        Parity is compatible with 5 or 7 field MetaStock/CompuTrac data files,
  352.        ChartPro/MegaTech data files, and Comma Separated ASCII files.  If
  353.        sufficient demand exists, other data formats will also be provided.
  354.        Daily, weekly and monthly data in these formats are widely available
  355.        from various on-line and data disk services.
  356.        
  357.        Parity also permits you to import price data from Excel 2.1 and 3.0
  358.        files, Lotus 123 WKS files, Comma Separated Value text files and Tab
  359.        Separated Value text files.  Data from these file formats cannot be
  360.        included in the definition of a Group but can be charted in the same
  361.        fashion that Load a Security permits you to chart a single stock.  See
  362.        Import Other Formats for more information.
  363.        
  364.        Parity does not include any utilities for downloading or maintaining
  365.        price data files.  The Parity Plus version of the program does include
  366.        data and file maintenance utilities, as well as an excellent data
  367.        conversion command.  A number of commercial and shareware programs
  368.        permit you to download and automatically update your data files.  An
  369.        excellent program for updating MetaStock or ChartPro data files from
  370.        ASCII text files of price data is the Prodigy MetaStock Loader (PML).
  371.        PML is shareware and the most recent version is always available by
  372.        calling the FlexSoft BBS at (510) 829-2293.
  373.  
  374. Part 2         Basic Concepts
  375.        
  376.        The Basic Concepts section of the User Guide explains some of the more
  377.        innovative terms and concepts which give Parity its power.  Like most
  378.        technical analysis programs, Parity permits you to chart a single
  379.        stock with a single indicator.  However, the real usefulness of Parity
  380.        comes from its unique ability to chart "Groups" of stocks using
  381.        predefined "Studies" which include multiple indicators and very
  382.        flexible chart formats.  These features are summarized below.
  383.        
  384. Charts
  385.        
  386.        A price chart created by Parity has many different components, most of
  387.        which are defined by the user in a Study.
  388.        
  389.        
  390.        Every chart includes one or more panes.  A Pane is an area of the
  391.        chart where you can plot price or indicator data.  A pane can include
  392.        up to 11 different data arrays including stock prices and trading
  393.        volume.  Parity permits you to define up to 11 individual panes.
  394.        
  395.        Panes are "transparent".  They can be stacked or overlaid and their
  396.        size can be set relative to other panes and the size of the total
  397.        chart.  Any number of panes can be overlaid and each overlaying pane
  398.        maintains its own scale.  A pane's scale can be displayed on the left
  399.        axis, the right axis or not displayed at all.
  400.        
  401.        Stacked panes can be separated in order to show the end values of the
  402.        scales more clearly.  By default a pane will be separated by 5% of the
  403.        total chart size.
  404.        
  405.        Each pane has its own vertical and horizontal grid that can be
  406.        displayed or hidden.
  407.        
  408.        Individual indicators within a pane can have a label defined by the
  409.        user that displays in the same color as the indicator.
  410.        
  411.        The user can set a title for the chart that automatically includes the
  412.        Security Name and the Study Name used to create the chart.  This title
  413.        is displayed in the chart window's Title Bar and can also be added to
  414.        the top of the chart itself.
  415.        
  416.        The user can also control the number of days between tick marks on the
  417.        X axis.
  418.        
  419.        You can use the tools in the Tool Bar and the Pointer Menu to draw
  420.        various types of lines in a chart, zoom in on the data, and add text
  421.        anywhere in the chart.
  422.        
  423. Groups
  424.        
  425.        While Parity can load price data for a single security at a time, a
  426.        powerful feature of the program is its ability to define a Group of
  427.        securities that can be displayed in any sequence using the Display
  428.        Tools.
  429.        
  430.        A Group is a list of security price data files, in any supported
  431.        format, located in any directory, on any disk.  You might prefer to
  432.        think of a Group as a portfolio of stocks or a list of ticker symbols.
  433.        
  434.        Parity permits you to mix data files in different directories, in
  435.        different formats, and of different sizes within a single Group.
  436.        Parity stores all of the information necessary to locate and import a
  437.        data file in the Group definition.  Since a single Group can only
  438.        contain 64KB of characters the maximum number of securities in a group
  439.        depends on the size of the data file's path.  Even with a long path a
  440.        Group will hold about 900 securites and if all your files were in the
  441.        root directory you could create a group with as many as 1800
  442.        securities.
  443.        
  444.        The User can define an unlimited number of Groups, each of which has a
  445.        unique name with up to 16 characters.
  446.        
  447.        Group definitions can be edited, reordered and deleted at any time.
  448.        All defined Groups can be saved to disk for reuse in subsequent
  449.        sessions.  Group definitions are stored in the GROUPS.DAT file in the
  450.        Parity directory on your disk.
  451.        
  452.        Visually, the securities in a Group define the vertical axis of the
  453.        Display Matrix.
  454.        
  455. Studies
  456.        
  457.        A Study defines how Parity will chart an individual security,
  458.        regardless of which security is chosen.
  459.        
  460.        Parity permits the user to define the following aspects of a chart.
  461.        
  462.           How the price data is displayed, i.e., HLC bar chart or Japanese
  463.           candlestick chart.
  464.           Where and whether volume is displayed.
  465.           What indicators and formulas are plotted on the chart and where.
  466.           How individual panes are stacked and overlapped and what their
  467.           relative sizes are.
  468.           Whether to set a pane's scale to Maximize Y Axis, or Optimize Scale
  469.           Labels.
  470.           Which side of the Y axis scale labels are displayed on.
  471.           What colors to use for the chart.
  472.           What labels to use for each data array plotted.
  473.           The number of days between ticks on the X axis.
  474.           How to label the chart with the Security Name and/or the Study
  475.           Name.
  476.           Whether to include the chart title at the top of the chart as well
  477.           as in the title bar of the chart window.
  478.        
  479.        A Study is defined using the Create/Modify Current Study selection in
  480.        the Studies Menu.  Each Study can have up to a 16 character name and
  481.        all Studies can be saved to disk for subsequent sessions.
  482.        
  483. Batches
  484.        
  485.        A Batch is analogous to a Group of stocks.  However, instead of
  486.        defining which stocks will be displayed, a batch defines a list of
  487.        studies that will be displayed.
  488.        
  489.        The concept of a "Batch of Studies" is a novel idea.  Unlike other
  490.        stock charting programs, Parity permits you to define an unlimited
  491.        number of studies.  One study might just show a Candlestick chart of a
  492.        stock with some moving averages.  Another study might plot all of the
  493.        components of Welles Wilder's Directional Movement Index.  A third
  494.        study might only show volume related indicators, while a fourth study
  495.        might include oscillators like MACD, Chaiken's Oscillator or
  496.        Stochastics.
  497.        
  498.        Parity permits you to define a Batch of any or all of these studies.
  499.        When you select a Batch, Parity displays each of these studies in
  500.        sequence on a single security or each stock in a Group.
  501.        
  502.        Selecting a Group of stocks and a Batch of studies creates a two-
  503.        dimensional Display Matrix, where the stocks form the vertical axis
  504.        and the Studies make up the horizontal axis.  It may help to think of
  505.        the Display Matrix as a graphical spreadsheet with individual stocks
  506.        as the rows and studies as the columns.  Each cell of the
  507.        "spreadsheet" is potentially a chart.
  508.        
  509.        Depending on the Display Tool you select, you can move through the
  510.        Display Matrix vertically - looking at the same study on dozens of
  511.        different stocks, or horizontally - looking at multiple studies on a
  512.        single stock.  By selecting a different display tool you can
  513.        instantaneously change direction.
  514.        
  515. Clusters
  516.        
  517.        A Cluster defines the screen configuration for displaying multiple
  518.        Studies at one time.  Like a Batch, a Cluster is a list of individual
  519.        Studies.  However, a Cluster displays all of the Studies at once in
  520.        your predefined screen layout.
  521.        
  522.        You can use a Cluster with a Group of stocks, or when you load
  523.        individual securities.  Use the forward and reverse display tools to
  524.        display the Cluster for each security in the Group.
  525.        
  526.        To define a Cluster, first arrange charts of each of the Studies you
  527.        want to include in the Cluster on the screen.  Make sure that each
  528.        chart is positioned and sized the way you want it reproduced when you
  529.        display the Cluster.  Then select the Make a Cluster menu item and
  530.        enter a name for the Cluster.  Note that Parity automatically excludes
  531.        any "UNNAMED" or "DEFAULT" studies from a Cluster.
  532.        
  533.        You can save the definition of all of your Clusters to disk for reuse
  534.        in subsequent sessions.  Parity creates a CLUSTERS.DAT file in its
  535.        directory that is automatically loaded the next time you start the
  536.        program.
  537.        
  538.        Since all the charts in a Cluster are erased when you move up or down
  539.        in a Group, the Fast Forward and Fast Reverse tools are meaningless
  540.        and are disabled.
  541.        
  542. The Display Matrix
  543.        
  544.        Parity offers the user the possibility of creating dozens of types of
  545.        charts on hundreds of individual securities through the use of its
  546.        Group and Batch features.  In order to manage this potential
  547.        complexity we created an intuitive and easy to use tool we call the
  548.        Display Matrix.
  549.        
  550.   The Display Matrix Concept
  551.        
  552.        Conceptually, the Display Matrix is a two dimensional array of all the
  553.        charts you could create from the individual stocks in a group combined
  554.        with the individual studies in a batch.
  555.        
  556.        It is easiest to think of this two dimensional array (the "matrix") as
  557.        being similar to a spreadsheet.  Each cell of the spreadsheet
  558.        corresponds to a chart.
  559.        
  560.        The rows of the spreadsheet are the price data for each security in
  561.        the group.  The columns of the spreadsheet are the studies that are
  562.        used to plot that price data.  The intersection of each row and
  563.        column, i.e., the cell, corresponds to a unique chart created by
  564.        combining the price data for the security in that row, with the
  565.        definition of the study in that column.
  566.        
  567.        Unlike a spreadsheet, most of the charts/cells in the Display Matrix
  568.        aren't displayed.  Even more importantly, only one chart at a time is
  569.        "current" in the sense that you can retrieve numeric data from it.
  570.        
  571.   What Do We Mean by "Current"?
  572.        
  573.        At any given time Parity can only have one of each type of "thing" in
  574.        memory.  By "thing" we mean the data from one stock, the settings from
  575.        one study, and the definition of one group and one batch.  So, for
  576.        example, when we talk about the current group we mean that one group
  577.        whose list of securities is currently available to define the vertical
  578.        axis of the Display Matrix.
  579.        
  580.        The only time that having just one of each type of thing in memory
  581.        limits us is when we want to use the Data Microscope on a chart to see
  582.        the numbers behind the scene.  Then we are limited to the "current"
  583.        chart, i.e., the one for which Parity still has the price data and
  584.        study settings stored in memory.
  585.        
  586.   The Display Matrix Tool
  587.        
  588.        Parity's Display Tools visually correspond to the conceptual display
  589.        matrix.  When you move from one stock to another, you are moving up
  590.        and down the vertical group axis of the spreadsheet.  When you move
  591.        from one study to another you move left and right along the horizontal
  592.        axis of the spreadsheet.  When you select a Display Tool, you tell
  593.        Parity how to interpret the Forward and Reverse tools, when it creates
  594.        new charts.
  595.        
  596.        With the Display Matrix Tool you can position yourself anywhere within
  597.        the Display Matrix.  Your current location is shown by the
  598.        intersection of the current study and the current security.  By
  599.        clicking on any cell in the matrix you can immediately reposition the
  600.        current study and current security.  You can select from the drop down
  601.        list boxes to do the same thing.  The Display Matrix Tool doesn't
  602.        affect the display state you selected by clicking on one of the
  603.        display tools, it simply repositions you within the matrix.
  604.  
  605. Part 3         The Tool Bar
  606.        
  607. The Tool Bar
  608.        
  609.        The Tool Bar incorporates most of the tools that are used to display
  610.        and manipulate charts after you have selected whatever Stocks, Groups,
  611.        Studies, Batches or Clusters you want displayed.  Several less
  612.        frequently used tools can be accessed through the Pointer Menu.
  613.        
  614. Moveable Versus Fixed Tool Bar
  615.        
  616.        By default, the Tool Bar is in a fixed position on the left side of
  617.        the screen.  The Tool Bar can be set to be moveable with the Moveable
  618.        Tool Bar command on the Options Menu.
  619.        
  620.        You can also use the Moveable Tool Bar and Fixed Tool Bar commands to
  621.        recreate the Tool Bar if it gets mispositioned.  This can happen when
  622.        you have a fixed tool bar and have moved charts off the screen and
  623.        then do a Window Cascade or Window Tile command.
  624.        
  625.        Normally, though, the Tool Bar is simply hidden under a chart.  You
  626.        can bring the Tool Bar forward by clicking in a chart or selecting
  627.        TBar in the Window Menu.  To hide the Tool Bar behind a chart, click
  628.        in the chart's title bar.
  629.  
  630. Action Tools
  631.        
  632.        Click on the tool and then click on the chart you want to act on.
  633.        These tools are "sticky" and stay active until you select another
  634.        action tool or click on the Pointer Tool.  The Pointer Menu includes a
  635.        selection of some less frequently used action tools.
  636.        
  637.             Tool            Description
  638.             Print Tool      Prints selected chart.  Since the Print Tool
  639.                             gives you much greater control over the printing
  640.                             of a chart you should always use it in preference
  641.                             to the File Print command.  See Printing Charts.
  642.             Trash Can Tool  Closes selected chart or all open charts.
  643.             Data Microscope Displays price and indicator data for the most
  644.                             recently created chart and can print the data or
  645.                             export it to an Excel, Lotus 123, or text file.
  646.             Pointer Tool    Resets other action tools and goes to a neutral
  647.                             pointer mode.
  648.             Text Tool       Used to draw text on a chart.
  649.             1:1 Magnifying Glass Restores chart to fully expanded state.
  650.             + Magnifying Glass   Zooms in on a chart to focus more closely on
  651.                             a date range.  Each use expands the chart to
  652.                             roughly 1/3 its previous data range.
  653.             - Magnifying Glass   Opposite of + Magnifying Glass
  654.             Vertical Line Tool   Draws a vertical line the entire height of
  655.                             the chart wherever you click.
  656.             Horizontal Line Tool Draws a horizontal line the entire length of
  657.                             the chart wherever you click..
  658.             Limited Line Tool    Draws a line between any two points you
  659.                             click on.
  660.             Extended Line Tool   Draws a line defined by any two points and
  661.                             extending to the chart boundaries.
  662.  
  663. Display Tools
  664.        
  665.        Used to select the Display State and Direction used to move through
  666.        the Display Matrix.
  667.        
  668.              Tool              Description
  669.              Display Matrix Tool    Shows a graphical depiction of the
  670.                                Display Matrix and the Current Chart's
  671.                                position in it.  By clicking on the grid of
  672.                                the Display Matrix or selecting from the drop
  673.                                down list boxes you can reposition yourself
  674.                                anywhere within the Display Matrix.
  675.              Forward & Reverse Tools     Used to move through the Display
  676.                                Matrix in the direction indicated by the
  677.                                Display State tools.  If the next chart in the
  678.                                direction already exists these tools will
  679.                                bring it to the front.  Otherwise the next
  680.                                chart is created from scratch.
  681.              Fast Forward & Reverse Used to create multiple charts at a time.
  682.                                Clicking on one of these tools causes Parity
  683.                                to create the maximum number of charts in the
  684.                                current direction.  The number of charts was
  685.                                defined when you selected the current group.
  686.              Display Group Tool     This sets the display state to vertical
  687.                                movement between securities in a group.  It
  688.                                causes the current graph in the Display Matrix
  689.                                to be created if it isn't already displayed.
  690.              Display Batch Tool     This sets the display state to horizontal
  691.                                movement between studies in a batch.  It
  692.                                causes the current graph in the Display Matrix
  693.                                to be created if it isn't already displayed.
  694.              Display Group on Batch This sets the display state to move
  695.                                through the Display Matrix showing all the
  696.                                studies in a batch for a security in a group
  697.                                before moving up or down to the next security
  698.                                in the group.
  699.              Display Batch on Group This sets the display state to move
  700.                                through the Display Matrix showing all the
  701.                                securities in a group before moving left or
  702.                                right to the next study in a batch.
  703.  
  704. Window Management Tools
  705.        
  706.        The Window Management Tools provide the same functionality as the
  707.        Window Menu Cascade and Tile commands.
  708.        
  709.             Tool            Description
  710.             Tile Windows    Works exactly like the Window Menu Tile
  711.                             selection; it tiles all the displayed charts.
  712.             Cascade Windows Works exactly like the Window Menu Cascade
  713.                             selection; it cascades all the displayed charts.
  714.  
  715. Part 4         Menu Commands
  716.        
  717.        This section of the User's Guide reviews all of the Menu Commands that
  718.        are available in Parity.  Most of the Tool Bar tools do not have any
  719.        equivalent functionality from the Menu or the Keyboard.
  720.        
  721. File Menu
  722.        
  723.        The File Menu has relatively limited functionality in Parity since no
  724.        files are "opened" in the traditional Windows sense.  Instead use the
  725.        appropriate commands in the Groups, Studies, and Clusters menus to
  726.        select the items you want to chart.
  727.        
  728.        Command           Description
  729.        Close             Will close the currently selected chart.  Generally
  730.                          it will be easier to close a chart by double
  731.                          clicking on the Control-Menu box or using the trash
  732.                          can tool.
  733.        
  734.        Save As           Can only be used to save the contents of the Print
  735.                          Log to a file.  You must save studies, groups,
  736.                          batches, and clusters using their respective Save
  737.                          All commands.
  738.        
  739.        Print             Will print the currently selected chart using
  740.                          default settings.  Generally you should use the
  741.                          Printer Tool instead.  See Printing Charts.
  742.        
  743.        Printer Setup     Standard Windows 3.x Printer Setup dialog.
  744.        
  745.        Exit              Exits Parity.  If you have any unsaved groups,
  746.                          batches, studies, or clusters Parity will ask if you
  747.                          want to save them.
  748.        
  749. Edit Menu
  750.        
  751.        The Edit Menu provides the standard Edit functionality common to most
  752.        Windows 3.x applications and they will not be discussed here.  Most of
  753.        these selections will be disabled except when you enter text in a
  754.        dialog box or use the print log.
  755.        
  756.        Command           Description
  757.        Copy Window       The Copy Window menu item will copy the currently
  758.                          selected chart to the Clipboard.  You can paste the
  759.                          chart into most word processors or into a paintbrush
  760.                          program.  If you hold down the shift key while you
  761.                          issue this command the title bar of the window will
  762.                          also be copied to the clipboard.
  763.        
  764. Groups Menu
  765.        
  766.        The Groups Menu provides all of the commands to load one security, or
  767.        to create, select and modify a Group of securities.
  768.        
  769.        Command           Description
  770.        Load a Security   Loads price data for a single stock that is
  771.                          automatically displayed using the current study.
  772.        
  773.        Create/Modify Group    Creates a new group of securities or modifies
  774.                          an existing group.  A group holds an unlimited
  775.                          number of securities, in any of the supported data
  776.                          formats, located anywhere on your disks.
  777.        
  778.        Select a Group    Selects the group to use from any of the groups
  779.                          previously defined.
  780.        
  781.        Reorder a Group   Permits you to change the order in which the
  782.                          securities in a group are displayed.
  783.        
  784.        Save All Groups   Saves the definition of ALL the groups to the
  785.                          GROUPS.DAT file.  Once saved, these definitions are
  786.                          automatically loaded when you start Parity.
  787.        
  788.        Delete Groups     Removes the definition of one or more groups from
  789.                          memory.  This change isn't permanent unless you Save
  790.                          All Groups.
  791.        
  792.        Display           Displays the first security in the currently
  793.                          selected group using the current study.
  794.        
  795.        Import Other Formats   Permits you to import data from Excel, Lotus
  796.                          123, Comma Separated Value, and Tab Separated Value
  797.                          files.
  798.        
  799. Load a Security
  800.        
  801.        The Load a Security command permits you to select and load a single
  802.        security for charting using the current study.  Loading a security
  803.        overwrites the current group if one had been selected.
  804.        
  805.        This command consists of two dialog boxes:
  806.        
  807.   Open a File for Charting
  808.        
  809.        This dialog permits you to select a security by symbol or name for
  810.        loading.  Parity will display all the files in the directory you have
  811.        chosen which match the file format criteria.  If the file format
  812.        permits it, the file will be displayed with additional information
  813.        such as company name and data period.  To select a security for
  814.        loading, highlight the security and click OK or double click on the
  815.        security.
  816.        
  817.        Change directories by double clicking on the directory you wish to
  818.        change to in the directories list box.
  819.        
  820.        Parity supports three different data file formats, 5 or 7 field
  821.        MetaStock/CompuTrac files, 7 field ChartPro/MegaTech files, and Comma
  822.        Separated ASCII files.  You can select which file format to use by
  823.        clicking on the appropriate radio button.  The Available Securities
  824.        list box will be automatically updated to show the securities with
  825.        that format in the directory you selected.  To save your file
  826.        preferences from session to session, use the Directory and File
  827.        Preferences command on the Options Menu.  For more information on
  828.        these formats, see the File Formats Supported section.
  829.        
  830.        To quickly move to a particular security, just select any security
  831.        with a single click of the mouse and then type the first letter of the
  832.        file or security name.  If no file starts with that letter nothing
  833.        will happen, otherwise you will move to the first file starting with
  834.        that letter.  This is standard Windows 3.x functionality and you can
  835.        use this method with any list box.
  836.        
  837.   Range of Data to Load
  838.        
  839.        This dialog permits you to select which data records in a file will be
  840.        loaded.  The range of records to load can be specified in two ways:
  841.        This dialog permits you to select which data records in a file will be
  842.        loaded.  You can also set the chart size to be maximized within the
  843.        "working" screen area.  If you manually maximize a chart by clicking
  844.        on its maximize icon it will "snap" back to its default size whenver
  845.        another form, chart or window is opened over it.
  846.        
  847.        You can specify the number of blank periods that you want added to the
  848.        right of the chart by entering a positive number in the "Blanks Added
  849.        to the Right of Chart" box.  This is useful if you want to draw
  850.        extended trendlines into the future.
  851.        
  852.        The range of records to load can be specified in several ways.
  853.        
  854.        Range of Records  Description
  855.        Absolute Record Number Specify the number of the record in the file.
  856.                          The First Record is the oldest record to be loaded
  857.                          and has to be an integer greater than or equal to 1.
  858.                          The Last Record is the most recent record to be
  859.                          loaded and must be an integer greater than the first
  860.                          record and less than or equal to the total number of
  861.                          records.  By default, Parity will load all of the
  862.                          records in the data file.  There is no limit on the
  863.                          number of records you can load.
  864.        
  865.        Relative Record Position    Permits you to select a range of records
  866.                          to load relative to the most recent record in the
  867.                          file (the Last Record).  Indicate relative record
  868.                          positions by using negative numbers that count back
  869.                          X records from the last record.  If you enter a
  870.                          relative record position for the first record, e.g.,
  871.                          -100, Parity will set the Last Record to 0.  In this
  872.                          example a total of 101 records will be loaded
  873.                          starting with the most recent record and counting
  874.                          back 100 records.  Hitting enter after inputting a
  875.                          relative record position in the First Record field
  876.                          will execute the dialog box.
  877.        
  878.        Absolute Date Range    Enter the dates you want to load data for.
  879.                          Dates must be formatted as MM/DD/YY or YYMMDD.  When
  880.                          you enter a date for the first record, Parity will
  881.                          automatically set the last record to the last date
  882.                          in the file.  You may not mix dates and record
  883.                          numbers or relative record positions.
  884.        
  885.        Compression       Parity gives you two options you can use to
  886.                          "compress" your data files into weekly or monthly
  887.                          formats.  If you select the "True Weekly" option,
  888.                          Parity will use the highest and lowest values, the
  889.                          total volume, and Friday's closing price to create
  890.                          its weekly data.  The "True Monthly" option works in
  891.                          the same way.  The first and last data points may be
  892.                          partial weeks if a full weeks data doesn't exist.
  893.  
  894. Create or Modify Group
  895.        
  896.        The Create or Modify Group command defines a new group or modifies the
  897.        contents of an existing group.  A group is a list of securities in any
  898.        of the supported data formats, located anywhere on your disks.  The
  899.        actual number of securities a group can contain depends primarily on
  900.        the length of the path of the data files, and for MetaStock files the
  901.        lengths of the symbol and name of each security.  The total size of a
  902.        group is 64KB of characters.  On average each entry for a data file in
  903.        the root directory will be 35-40 characters so the largest possible
  904.        group is 1600 to 1800 securities.  However, if your data files have a
  905.        very long path, for example,  C:\PARITY\DATAFILE\STOCKS\CONSUMER then
  906.        the maximum size of your groups will be only 900-1000 securities.  You
  907.        can define any number of groups.
  908.        
  909.        Dialog Form Items Description
  910.        Groups            This box lists all of the defined groups currently
  911.                          in memory.  Double clicking on a group will add all
  912.                          of the securities in that group to the Securities in
  913.                          Group list.  To modify an existing group double
  914.                          click on its name to add its stocks to the
  915.                          Securities in Group list.  Make any modifications
  916.                          you want and save it under the same name.
  917.        
  918.        Securities in Group    This box lists all of the securities you have
  919.                          selected to be in the group.  Add securities by
  920.                          double clicking on an available security or an
  921.                          entire group.  To delete securities from the group,
  922.                          double click on the security in the group.
  923.        
  924.        Available Securities   Lists all the securities of the specified data
  925.                          type that are available in the selected directory.
  926.                          Double click on any available security to add it to
  927.                          the group.  Type the first letter of a security to
  928.                          search the list for it.
  929.        
  930.        Add All Securities     Clicking on this button will cause all the
  931.                          securities in the available securities list box to
  932.                          be added to the group.
  933.        
  934.        Directories       Lists all the directories on your disk.  To move
  935.                          around the directory tree simply double click on the
  936.                          directories or drives that are listed.  The
  937.                          Available Securities list will be updated for the
  938.                          directory you select.
  939.        
  940.        New Group         Enter the name of the group you are creating or
  941.                          modifying in this text box.  The name can contain 16
  942.                          significant characters including A-Z, a-z, 0-9, %,
  943.                          _, $, !, and %.  Names cannot begin with a number
  944.                          and are not case sensitive.
  945.        
  946.        Double Click Action    Selects the effect of double clicking in the
  947.                          list boxes.  By default double clicking will add or
  948.                          remove securities from the Securities in Group list.
  949.                          Selecting Show Details will cause double clicking on
  950.                          a security to list any available details on the data
  951.                          file.  ChartPro data formats contain very little
  952.                          information on the underlying security.
  953.        
  954.        File Format       Selects the data file format Parity looks for in the
  955.                          selected directory.  Only files from one data format
  956.                          at a time can be displayed in the Available
  957.                          Securities list.  Note that you can mix files of any
  958.                          format in a group.
  959.        
  960.        Sort Available Securities   By default Parity sorts the Available
  961.                          Securities list by symbols.  You can also sort
  962.                          certain file formats by name.  This option is
  963.                          disabled for ChartPro and ASCII files.
  964.        
  965.        Create Group Button    Clicking Create Group will save the list of
  966.                          securities in the group to the group name you
  967.                          entered in the New Group text box.  If you didn't
  968.                          enter a name Parity will prompt you for one.  To
  969.                          make the group you created the current group you
  970.                          must use the Select a Group command.
  971.        
  972.        Cancel Button     Will exit the dialog without creating or modifying a
  973.                          group.
  974.  
  975. Select a Group
  976.        
  977.        Use the Select a Group command to select the group of securities which
  978.        you want to be able to display.
  979.        
  980.   Select a Group Dialog Box
  981.        
  982.        The Select a Group command lists all the groups and allows you to
  983.        select the group you want to become the current group by double
  984.        clicking on the group's name.  After you select a group, a second
  985.        dialog box will appear prompting you to enter a data range and some
  986.        other parameters controlling the display of charts for the securities
  987.        in the group
  988.        
  989.   Options for Displaying Groups
  990.        
  991.        This dialog box sets up certain options that will be identical for all
  992.        of the securities in the current group.  These options control the
  993.        size and number of the charts that will be shown and the range of data
  994.        Parity will display from each security in the group.
  995.        
  996.        Dialog Form Items Description
  997.        # of Graphs Displayed  The number of charts Parity can display at one
  998.                          time is constrained by Windows' available System
  999.                          Resources.  Windows 3.1 gives Parity significantly
  1000.                          more System Resources than Windows 3.0.  You will
  1001.                          receive a warning if you specify more than 12 graphs
  1002.                          to be displayed at once.  To display only a single
  1003.                          graph at a time, click on the Close Graph After
  1004.                          Displayed check box.
  1005.        
  1006.        Chart Size        Permits you to set the chart size in pixels.  Parity
  1007.                          sets the default chart size to equal the size of a
  1008.                          chart after a Window Cascade command.  To maximize
  1009.                          the size of each chart as it is displayed click on
  1010.                          the Maximize Graph Size check box.
  1011.        
  1012.        Print Each Graph  This prints each chart when it is displayed.  See
  1013.                          Printing Charts.
  1014.        
  1015.        Add Blanks to Chart    Specify the number of periods of "white" space
  1016.                          you want added to the right of the chart.  Useful
  1017.                          for drawing extended trendlines into the future.
  1018.        
  1019.        Data Range Options     Since Parity permits you to group securities
  1020.                          with different numbers of records and starting and
  1021.                          ending dates you must use Relative Record Positions
  1022.                          to specify the data range to be printed.  A future
  1023.                          release of Parity will include the option to use
  1024.                          Absolute Date Ranges.  See Load a Security for
  1025.                          details about data ranges.
  1026.        
  1027.        OK                Sets the display and data range options you selected
  1028.                          and loads the first security in the group.  This
  1029.                          will overwrite the group or security that was
  1030.                          previously selected.
  1031.        
  1032.        Cancel            Exits the Select a Group command without selecting a
  1033.                          new group.  The group or security that was
  1034.                          previously selected will remain in effect.
  1035.  
  1036. Reorder a Group
  1037.        
  1038.        When you reorder a group you change the display sequence of the
  1039.        securities within the group.  You can also change the definition of
  1040.        the group by excluding securities from the Reordered Group list.
  1041.        
  1042.        Dialog Form Items Description
  1043.        List of All Groups     Select the group you want to reorder by double
  1044.                          clicking on the group's name in this list box.
  1045.        
  1046.        Original Group    Lists all the securities in the group you selected
  1047.                          for reordering which have not been added to the
  1048.                          Reordered Group list.  Add a security to the
  1049.                          Reordered Group list by double clicking on the
  1050.                          security name.
  1051.        
  1052.        Reordered Group   Lists the display order for all the securities that
  1053.                          have been selected for reordering.  Double Clicking
  1054.                          on a security in the Reordered Group list will add
  1055.                          it back to the Original Group List.
  1056.        
  1057.        Double Click Action    Permits you to select if double clicking on a
  1058.                          security will move it from the Original Group to the
  1059.                          Reordered Group or back, or cause any available
  1060.                          details about the securities data file to be shown
  1061.                          in the upper left corner of the dialog box.
  1062.        
  1063.        O.K. Button       Resets the securities list and display sequence of
  1064.                          the group to be identical to the Reordered Group
  1065.                          list.
  1066.        
  1067.        Cancel            Exits without making any changes.
  1068.  
  1069. Save All Groups
  1070.        
  1071.        The Save All Groups command will save the definition of ALL the groups
  1072.        in memory to the GROUPS.DAT file in your Parity directory.  This is
  1073.        the only way to make any changes, deletions, or newly created groups
  1074.        permanent.  It is not possible to save just the changes of a single
  1075.        group.
  1076.  
  1077. Delete Groups
  1078.        
  1079.        The Delete Groups command permits you to remove the definition of a
  1080.        Group from memory.  Groups will not be permanently deleted unless you
  1081.        Save All Groups.
  1082.        
  1083.        To add a group to the list of groups to be deleted, double click on
  1084.        the group name in the All Defined Groups list.  To remove a group from
  1085.        the list of groups to be deleted double click on the group name in the
  1086.        Groups to be Deleted list.  Click on Delete to make these changes or
  1087.        Cancel to exit without deleting any groups.
  1088.  
  1089. Display Group or Security
  1090.        
  1091.        The Display command in the Groups menu will display a chart of the
  1092.        current security using the current study and set the display mode to
  1093.        Display Group.  This command is included for your convenience only and
  1094.        we recommend controlling the Display Matrix using the Display Tools
  1095.        found on the Tool Bar.
  1096.  
  1097. Import Other Formats
  1098.        
  1099.        Parity permits you to import data from Excel 2.1 and 3.0 files, Lotus
  1100.        123 WKS files, Comma Separated Value text files and Tab Separated
  1101.        Value text files.
  1102.        
  1103.        You can import price data using the 5 field date, high, low, close,
  1104.        volume format or the 7 field date, open, high, low, close, volume,
  1105.        open interest formats.  You can also include other data arrays in the
  1106.        file which will be imported as named variables which you can use in
  1107.        your formulas.
  1108.        
  1109.        Each "column" in the file you import is treated as a variable.  The
  1110.        first "row" of the column must contain the name of the variable.  Each
  1111.        subsequent row contains the elements of the variable's data array.  A
  1112.        variable can contain up to 8100 elements.
  1113.        
  1114.        The Import Other File Formats dialog box is straight forward.  Simply
  1115.        select the file you want to import, check the correct file format
  1116.        radio button and click on the Import button.
  1117.        
  1118.        In order to be correctly imported the file must be formatted very
  1119.        specificly.  Please read the following sections carefully.  Parity
  1120.        performs very limited error checking when it imports data so you may
  1121.        need to experiment with the layout of your file before you are able to
  1122.        import data correctly.
  1123.        
  1124.        Parity Plus includes a data conversion utility that lets you convert a
  1125.        very wide range of file formats to and from the MetaStock, ChartPro
  1126.        and Comma Delimited ASCII data files Parity supports directly.
  1127.        
  1128.   Importing Price Data
  1129.        
  1130.        Although Parity permits you to use the Import Other Formats command to
  1131.        import price data you cannot use this data in a group.  Importing
  1132.        price data is like the Load a Security command but without the ability
  1133.        to select a data range.
  1134.        
  1135.        To successfully import price data you must observe the following
  1136.        conventions exactly.  Each variable name must appear in the first row
  1137.        of the file and must be exactly as shown.  Subsequent rows must
  1138.        include data formatted as described below.
  1139.        
  1140.        Variable Name     Description
  1141.        Date              Mandatory.  Subsequent rows must contain date,
  1142.                          rather than text or numeric values for Excel and
  1143.                          Lotus files.  Text files must include dates
  1144.                          formatted as MM/DD/YY.  Any other formatting will
  1145.                          cause an error.  Note you must use Date not Dates.
  1146.        
  1147.        High              Mandatory.  High price values.  Excel and Lotus must
  1148.                          format the high prices as numeric, rather than text
  1149.                          values.  Text files must not contain non-numeric
  1150.                          characters such as "," or "$".
  1151.        
  1152.        Low               Same as High.
  1153.        
  1154.        Close             Same as High.
  1155.        
  1156.        Volume            Same as High.
  1157.        
  1158.        Open              Optional.  Same formatting as High.
  1159.        
  1160.        OpenInterest      Optional.  Same formatting as High.  It is safest if
  1161.                          you fill openinterest with zeros if you include open
  1162.                          data.  However, this is not mandatory.  Note, there
  1163.                          is no space between open and interest in the
  1164.                          OpenInterest variable name.
  1165.        
  1166.        Name              Mandatory.  You must include a text value for name.
  1167.                          The use of more than 16 characters will be
  1168.                          unpredictable.  Only the first row after Name will
  1169.                          be recognized.
  1170.        
  1171.        Symbol            Mandatory.  You must include a text value for
  1172.                          symbol.  The use of more than 8 characters may be
  1173.                          unpredictable.  Only the first row after Symbol will
  1174.                          be recognized.
  1175.        
  1176.        NumFields         Mandatory.  NumFields must include a numeric value
  1177.                          of either 5 or 7 depending on whether the data
  1178.                          includes Date, High, Low, Close, Volume or Date,
  1179.                          Open High, Low, Close, Volume, OpenInterest.  Note
  1180.                          NumFields is one word with no spacing.  Only the
  1181.                          first row after NumFields will be recognized.
  1182.        
  1183.        The columns can occur in any order and the variable names are not case
  1184.        sensitive.  If you are using comma delimited or tab delimited text
  1185.        files we strongly recommend that you include Name, Symbol, and
  1186.        NumFields at the end of the first and second lines.  Otherwise you
  1187.        will need to maintain the correct comma or tab separation in each and
  1188.        every row.  Also each line in the file must end with a carriage return
  1189.        or carriage return and line feed.  If you are using a word processor
  1190.        like Word for Windows that means you must save the file as text with
  1191.        line breaks.
  1192.        
  1193.        You must have the "File Includes Price Data" check box checked to
  1194.        correctly import price data.  Once price data is imported you can
  1195.        create charts using any study or batch.  If you Load a Security, or
  1196.        Select a Group, the price data you imported will be overwritten.  You
  1197.        must use Parity's Predefined Variables to access price data you
  1198.        import.  The Date, High, Low, Close, Volume, Open, OpenInterest, Name,
  1199.        Symbol, and NumFields variable names will not be accessible to you.
  1200.        
  1201.        An Example of a Comma Separated File
  1202.        
  1203.           Row 1   date,high,low,close,volume,name,symbol,numfields
  1204.           Row 2   3/1/90,33.5,33,33.25,12500,Good Stock,GSTK,5
  1205.           Row 3...  3/2/90,34,33,33.75,15000
  1206.        
  1207.        Common Problems Importing Price Data
  1208.        
  1209.        The Import Other Formats command is bug free.  If it doesn't work for
  1210.        you there is a problem with your file format.  Since we can't tell
  1211.        anything about your file format over the phone we are unable to
  1212.        provide any meaningful technical support for the Import Other Formats
  1213.        command unless you send us the file you are trying to import.  In our
  1214.        experience the most common problems importing data are:
  1215.        
  1216.           1.The date field is not formatted correctly.  This occurs most
  1217.              frequently when importing from a spreadsheet.  The date field
  1218.              looks like a date value but is really text.  Check the
  1219.              formatting of the date column.
  1220.           
  1221.           2.The Lotus 123 WKS file isn't really in the WKS format but
  1222.              simply has a WKS extension.  Parity can only import from true
  1223.              WKS format files, not from WK1, WK3 or WRK files.  Check the
  1224.              format of your file.
  1225.           
  1226.           3.Parity does not support the Excel 4.0 file format.  Excel files
  1227.              must be saved as 3.0 or 2.1 formats.  Check the format of your
  1228.              file.
  1229.           
  1230.           4.Each line in a comma or tab delimited text files must end with
  1231.              a hard carriage return.  Make sure your word processor is
  1232.              saving the file in plain text format with line breaks.
  1233.        
  1234.        Since Parity performs no error handling when you try to import data if
  1235.        an error occurs the program doesn't fail gracefully and it will often
  1236.        appear to freeze the computer.  Normally you can recover simply by
  1237.        pressing the up arrow key and closing the dialog box by double
  1238.        clicking on the control menu box in the upper left hand corner of the
  1239.        dialog box window.
  1240.        
  1241.   Importing Other Data
  1242.        
  1243.        Parity does not limit you to importing only price data.  You can
  1244.        import an array of any numeric data.  The name of the data array
  1245.        variable will be the same as the name in the first row of the data's
  1246.        column.  You can use this variable in exactly the same way as Parity's
  1247.        Predefined Variables.  Non-price data can be imported in the same file
  1248.        as price data.  These imported variables persist throughout your
  1249.        session.
  1250.        
  1251.        Parity performs no checking to prevent you from accidentally
  1252.        overwriting an internal variable.  You may also experience problems
  1253.        with certain formulas when an imported variable doesn't have the
  1254.        "array range" the formula expects.  This is definitely an advanced
  1255.        option which will require experimentation.  One possibility you might
  1256.        explore is importing data from a package like The Technician, and
  1257.        including it in your analysis.
  1258.        
  1259.        See the Predefined Variables section for more suggestions on how to
  1260.        handle imported data.
  1261.        
  1262. Studies Menu
  1263.        
  1264. Study Commands
  1265.        
  1266.        A study controls every aspect of how a chart is displayed except for
  1267.        which security is being charted.  The Studies Menu provides you with
  1268.        all of the tools necessary to create sophisticated charts.  Multiple
  1269.        studies can be "batched" or "clustered" together to automate
  1270.        repetitive display tasks.
  1271.        
  1272.        Command           Description
  1273.        Create/Modify Study    Using a series of dialog boxes you define all
  1274.                          of the key aspects of how and what is displayed in a
  1275.                          chart.  You can create an unlimited number of
  1276.                          studies.
  1277.        
  1278.        Select a Study    Selects the study to display from any of the studies
  1279.                          you have previously defined.  If you don't select a
  1280.                          current study a default study is used to display
  1281.                          charts.
  1282.        
  1283.        Save All Studies  Saves the definition of ALL the studies to the
  1284.                          STUDIES.DAT file.  Once saved, these definitions are
  1285.                          automatically loaded when you start Parity.
  1286.        
  1287.        Delete Study      Removes the definition of one or more studies from
  1288.                          memory.  This change isn't permanent unless you Save
  1289.                          All Studies.
  1290.        
  1291.        Display Current Study  Displays the current study charted on the
  1292.                          current security.  If no security or group has been
  1293.                          selected you will receive an error message.
  1294.  
  1295. Batch Commands
  1296.        
  1297.        A batch is a predefined list of one or more studies that is displayed
  1298.        sequentially on a single security or group.  Use batches to automate
  1299.        and simplify your charting.  A batch can hold an unlimited number of
  1300.        studies and you can define an unlimited number of batches.
  1301.        
  1302.        Command           Description
  1303.        Batch Studies     Creates and names a batch of studies.
  1304.        
  1305.        Select a Batch    Selects the batch to display from any of the batches
  1306.                          you have previously defined.
  1307.        
  1308.        Reorder Batch     Changes the order in which the studies in a batch
  1309.                          are displayed.
  1310.        
  1311.        Save All Batches  Saves the definition of ALL the batches to the
  1312.                          BATCHES.DAT file.  Once saved, these definitions are
  1313.                          automatically loaded when you start Parity.
  1314.        
  1315.        Delete Batch      Removes the definition of one or more batches from
  1316.                          memory.  This change isn't permanent unless you Save
  1317.                          All Batches.
  1318.  
  1319. Create/Modify Current Study
  1320.        
  1321.        The Create/Modify Study command opens the Formula Editor, which is the
  1322.        first of several dialog boxes that control how a chart is displayed.
  1323.        These dialog boxes always display the settings for the currently
  1324.        selected study, or the Default Study if no study has been selected.
  1325.        
  1326.        The changes you make to the study you are modifying will be temporary
  1327.        if you select O.K. from the Formula Editor which will then create an
  1328.        "UNNAMED" study.  The "UNNAMED" study is overwritten if you move
  1329.        through the Display Matrix or select a new current study and your
  1330.        changes will be lost.  You can save your changes under a new or
  1331.        existing study name by clicking on the Save As button.  These changes
  1332.        will be stored for the current session and can be made permanent with
  1333.        the Save All Studies command.
  1334.        
  1335.   The Study Editors
  1336.        
  1337.        Formula Editor    The Formula Editor lets you create sophisticated
  1338.                          technical indicators using the predefined indicator
  1339.                          list and your own formulas.  All of the subsequent
  1340.                          Study Editors return you to the Formula Editor which
  1341.                          controls how your changes will be saved.
  1342.        
  1343.        Pane Layout Editor     Controls how the indicators you defined with
  1344.                          the Formula Editor will be displayed in the chart.
  1345.                          You can specify which pane to plot the indicator in,
  1346.                          where the pane should be displayed, what the pane
  1347.                          size should be, and whether the pane should be
  1348.                          displayed with a scale or a grid.
  1349.        
  1350.        Color Editor      Controls what colors to use for plotting the
  1351.                          indicators as well as the colors used for the
  1352.                          background, scales, labels and grid of the chart.
  1353.        
  1354.        Options Editor    Controls how you label the panes and what to use for
  1355.                          the chart title.  Also lets you select the number of
  1356.                          days between ticks on the X axis and whether the Y
  1357.                          axis scale of each pane is optimized for labels or
  1358.                          data.  You can also use the options editor to
  1359.                          separate stacked panes with white space.
  1360.  
  1361. Formula Editor
  1362.        
  1363.        The Formula Editor permits you to create up to nine formulas that can
  1364.        be displayed on a chart and/or used in another formula.  Each formula
  1365.        can contain any of the indicators, predefined variables, arithmetic
  1366.        operators, or chart procedures available in Parity.
  1367.        
  1368.        The result of each formula is assigned to an array variable named F1
  1369.        to F9 as shown to the left of the Formula to Plot box.  The F1 to F9
  1370.        variables can be used in exactly the same fashion as the predefined
  1371.        variables, O, H, L, C, V, and OI which hold the data for the current
  1372.        security.  The values for the first security in a group are stored in
  1373.        the predefined variables FO, FH, FL, FC, FV, and FOI.  You can use
  1374.        these predefined variables to create spreads and relative strength
  1375.        calculations.
  1376.        
  1377.        Since the formulas are processed sequentially, the result of a
  1378.        formula, e.g. F3, can only be used in subsequent formula definitions,
  1379.        e.g., F4 - F9.
  1380.        
  1381.        Some indicators such as BolBands(), and Stoch() are actually
  1382.        procedures rather than functions.  You cannot reference the result of
  1383.        these procedures by F1-F9 or by including them within another formula
  1384.        calculation.
  1385.        
  1386.        A formula box can also contain a chart procedure.  Chart procedures
  1387.        perform special processing in order to create displays like Point and
  1388.        Figure Charts, EquiVolume Charts, Crockerc type charts, and horizontal
  1389.        bar charts of the number of days at a price, or the total volume at a
  1390.        price.  The ChartFirstSecurity() procedure even lets you include a
  1391.        chart of the first security in a group on the same chart as the
  1392.        current security.  To see the selection of Chart Procedures available
  1393.        click on the Chart Procedure radio button.
  1394.        
  1395.   To Define a Formula
  1396.        
  1397.        1  Click in the Formula Box.
  1398.        2  Type in your formula or edit an existing formula.  Or
  1399.        3  Double click on a predefined indicator in the indicator list box.
  1400.           If the Formula Box you clicked on in 1) was empty the indicator
  1401.           will be copied to the Formula Box.
  1402.           If the Formula Box already contained a formula definition the
  1403.           indicator you selected will be saved to the clipboard and you can
  1404.           position the cursor in any Formula Box and paste the indicator you
  1405.           selected using SHIFT-INS or the Edit Paste Menu Command.
  1406.           If you click on the Functions radio button a list of Parity's
  1407.           operators and functions will be displayed.  When you double click
  1408.           on one of these functions it is saved to the clipboard.  You can
  1409.           paste the function into any Formula Box using SHIFT-INS.  You will
  1410.           need to edit the function manually.
  1411.   
  1412.   To Define a Chart Procedure
  1413.        
  1414.        1  Click on the Chart Procedure radio button.  The list box will now
  1415.           display all the chart procedures available to you.
  1416.        2  Double Click on the Chart Procedure you want to include in your
  1417.           chart.  Complete the dialog box if necessary, and the Chart
  1418.           Procedure will be copied to the Formula Box or saved to the
  1419.           clipboard.
  1420.   
  1421.   To Define the Line Style
  1422.        
  1423.        You can select the line style that will be used to plot the result of
  1424.        a formula by clicking on the drop down list box to the right of the
  1425.        Formula Box.  An example of each of the available line styles will be
  1426.        shown.  The Bars style will plot the formula as a histogram or bar
  1427.        chart.
  1428.        
  1429.   Using Japanese Candlestick Charts
  1430.        
  1431.        By default, Parity will plot the price data as an Open, High, Low,
  1432.        Close bar chart.  To plot this data as a Japanese Candlestick chart
  1433.        just check the Candlestick check box.  If you are using a high
  1434.        resolution printer you may find that candlestick charts print the
  1435.        candles too thinly.  You can use the Chart Preferences command in the
  1436.        Options menu to increase the thickness of the candlesticks.
  1437.        
  1438.   Using Point and Figure, EquiVolume, Crockerc, and Horizontal Bar Charts
  1439.        
  1440.        Parity provides nine powerful Chart Procedures which permit you to
  1441.        include special types of graphs in the panes of your chart.  Click on
  1442.        the Chart Procedures radio button to see the selection of charts
  1443.        available to you.  Simply double click on the chart procedure you want
  1444.        to include and complete the dialog box which will pop up.  The chart
  1445.        procedure will be copied to the empty formula box.
  1446.        
  1447.   Button Commands
  1448.        
  1449.        Button Name       Description
  1450.        O.K. Button       Saves the settings of all the Study Editors as an
  1451.                          "UNNAMED" Study.  These settings will be lost when
  1452.                          another study is loaded.
  1453.        
  1454.        Save As Button    Permits you to save the settings of all the Study
  1455.                          Editors as a "Named" Study.  These settings can be
  1456.                          made permanent by selecting the Save All Studies
  1457.                          menu command.
  1458.        
  1459.        Cancel Button     Exits Formula Editor without making any changes in
  1460.                          the current study.
  1461.        
  1462.        Reset All Button  Will reset all of the Study Editors' settings to the
  1463.                          Default Study settings.  Useful if you want to
  1464.                          create a new study from scratch when a named study
  1465.                          is loaded.
  1466.        
  1467.        Panes Button      Brings up the Pane Layout Editor dialog which
  1468.                          controls the layout and appearance of all the panes
  1469.                          in a chart.
  1470.        
  1471.        Colors Button     Brings up the Color Editor dialog which controls the
  1472.                          layout and appearance of all the colors in a chart.
  1473.        
  1474.        Options Button    Brings up the Options Editor dialog which controls
  1475.                          pane labels, chart titles and pane scaling.
  1476.  
  1477. Pane Layout Editor
  1478.        
  1479.        The Pane Layout Editor controls how each data array will be plotted in
  1480.        a chart.  As many as 11 different data arrays can be plotted in a
  1481.        single chart.  These data arrays include price and volume as well as
  1482.        the array variables F1 to F9 that contain the results of the formulas
  1483.        defined in the Formula Editor.
  1484.        
  1485.        By default, Parity plots each data array you define in its own pane,
  1486.        and each pane is displayed in the chart stacked from top to bottom in
  1487.        ascending order.
  1488.        
  1489.        By changing the Pane to Plot In and Pane to Overlay settings you can
  1490.        plot multiple data arrays in a single pane and stack multiple panes on
  1491.        top of each other.  The Pane to Overlay settings also control the
  1492.        order in which each pane appears.  Each pane maintains its own scale
  1493.        that can be displayed on the left or right side of the pane or not at
  1494.        all by adjusting the Scale settings.  The Relative Size settings
  1495.        control the size of each pane in the chart.  The Grid Settings control
  1496.        how each pane displays its horizontal and vertical grids.
  1497.  
  1498.        Dialog Form Item  Description
  1499.        Pane To Plot In   In order to display a data array you must specify a
  1500.                          pane to plot the data array in.  A pane can contain
  1501.                          any number of data arrays but each pane only
  1502.                          maintains a single Y axis scale.  This scale is
  1503.                          automatically adjusted for the largest and smallest
  1504.                          values plotted in the pane and the Maximize Y Axis
  1505.                          settings in the Options Editor controls how the
  1506.                          scale is fitted to the data.  The Pane to Plot In
  1507.                          setting must contain an integer from 0 to 11.
  1508.                          Setting the Pane to Plot In or the Pane to Overlay
  1509.                          to 0 will cause the data array to not be displayed.
  1510.                          The figure above shows ADX(14) and ADXR(14) plotted
  1511.                          in the same pane.
  1512.        
  1513.        Pane to Overlay   The Pane to Overlay setting controls where the pane
  1514.                          is displayed in a chart.  By default each data array
  1515.                          is plotted in its own pane that overlays itself.
  1516.                          Panes are plotted in the chart from top to bottom in
  1517.                          ascending order of the Pane to Overlay value.
  1518.        
  1519.                          If you change the Pane to Overlay to a different
  1520.                          pane then the contents of the pane will be overlaid
  1521.                          onto the other pane.  The size of the panes will be
  1522.                          controlled by the first pane that is created.  Since
  1523.                          each pane maintains its own scale, you would overlay
  1524.                          panes, rather than plot in the same pane, when two
  1525.                          or more data arrays have very different ranges.  A
  1526.                          good example would be overlaying panes containing
  1527.                          PVI() and NVI() data arrays as shown in the figure
  1528.                          above.
  1529.        
  1530.                          You can also change the order in which panes are
  1531.                          displayed on a chart by changing the Pane To Overlay
  1532.                          settings.  Valid settings for Pane To Overlay are 0
  1533.                          to 13.  Although you can't plot in panes 12 or 13
  1534.                          these settings can be useful to quickly change the
  1535.                          display sequence.  For example, if you prefer to
  1536.                          show the price and volume panes at the bottom of the
  1537.                          chart, simply set their Pane To Overlay settings to
  1538.                          12 and 13 respectively.  Using 0 will cause the data
  1539.                          array not to be plotted at all.
  1540.        
  1541.        Relative Size     Since Parity permits you to dynamically resize your
  1542.                          charts, all pane size settings are relative to the
  1543.                          total size of the chart.  To calculate the display
  1544.                          size of a pane, Parity totals the relative sizes of
  1545.                          all the panes in the stack (overlaid panes are not
  1546.                          counted) and allocates a percentage of the chart's
  1547.                          display area to the pane based on the pane's
  1548.                          relative size divided by the total relative sizes of
  1549.                          all the panes in the stack.  Relative sizes can be
  1550.                          any number greater than zero.
  1551.        
  1552.        Scale Settings    Each Pane maintains its own Y-axis scale.  This
  1553.                          scale can be displayed to the left or right of the
  1554.                          pane or not at all.  Parity will display all the
  1555.                          scales of overlaid panes.  Unless you have the Pane
  1556.                          Separation setting selected in the Options Editor
  1557.                          the highest and lowest labels of stacked panes with
  1558.                          scales set to the same side will overlap.  To change
  1559.                          the Scale Setting insert the cursor to the far left
  1560.                          of the scale box and type L, R, or N.  It is not
  1561.                          necessary to type the whole word or delete the
  1562.                          setting already there.
  1563.        
  1564.        Grid Settings     The frequency of the horizontal and vertical grids
  1565.                          in a pane are automatically controlled by Parity
  1566.                          based on the size of the chart and the pane.
  1567.                          However you can control whether either, both or none
  1568.                          of the grids are displayed in the pane.  To change
  1569.                          the Grid setting insert the cursor to the far left
  1570.                          of the grid box and type H, V, B, or N.  It is not
  1571.                          necessary to type the whole word or delete the
  1572.                          setting already there.
  1573.        
  1574.        O.K. Button       This temporarily stores any changes you have made in
  1575.                          the Pane Layout Editor and returns you to the
  1576.                          Formula Editor.  Your changes won't be saved unless
  1577.                          you select O.K. or Save As from the Formula Editor.
  1578.        
  1579.        Cancel Button     Ignores any changes you made and returns you to the
  1580.                          Formula Editor.
  1581.  
  1582. Color Editor
  1583.        
  1584.        The Color Editor permits you to control the colors used to plot each
  1585.        data array, as well as specifying what colors to use for the chart
  1586.        background, scales and labels.
  1587.        
  1588.        To change a color simply click on the button for the item you wish to
  1589.        change.  The color selection dialog box will appear.  Select one of 38
  1590.        predefined colors by double clicking on the color name, or create your
  1591.        own color using the RGB slider bars.
  1592.        
  1593.        The lines Parity plots are only one pixel wide.  Consequently if your
  1594.        display adapter or Windows settings are set to 16 colors and you
  1595.        select a dithered color the data plots will be unsatisfactory.  Also
  1596.        with a one pixel width, similarly colored lines will look almost
  1597.        identical.
  1598.        
  1599.        As a final caution, you should note that not all printer drivers will
  1600.        print all the colors you can display and some printer drivers may
  1601.        print any color except white as a solid black line.  Given the
  1602.        diversity of drivers for Windows we can only suggest that you
  1603.        experiment with the best settings for your particular mix of
  1604.        equipment.
  1605.        
  1606.        Preview Chart
  1607.        
  1608.        If you have price data loaded, you can preview the chart as it is
  1609.        currently defined by clicking on the Preview Chart Button.  This will
  1610.        create a small copy of the chart your study is defining in the Color
  1611.        Editor form.  A complicated study may take a few seconds to display as
  1612.        Parity calculates the value of each formula.
  1613.  
  1614. Options Editor
  1615.        
  1616.        The Options Editor controls the display of pane labels, chart titles,
  1617.        pane scales and pane separations.  Each of its settings is explained
  1618.        below.
  1619.        
  1620.        Dialog Form Item  Description
  1621.        Pane Labels       Each pane can have a label within the pane that will
  1622.                          appear in the upper left corner of the pane.  By
  1623.                          default pane labels are displayed using the text of
  1624.                          the formula used to create the data arrays in the
  1625.                          pane.  You can edit the text of a pane label and/or
  1626.                          completely disable its display using the Pane Labels
  1627.                          text box and check box respectively.  Labels will be
  1628.                          displayed in the same color used to plot the data
  1629.                          array.
  1630.        
  1631.                          Parity attempts to display all the Pane Labels for
  1632.                          all the data arrays plotted in a particular pane
  1633.                          area.  In other words, labels for all the data
  1634.                          arrays plotted IN a pane or OVERLAID on a pane will
  1635.                          be printed.  However, the logic for arranging these
  1636.                          labels is complicated and can easily become confused
  1637.                          when you overlay panes that contain multiple data
  1638.                          arrays.  Also the pane may not be large enough to
  1639.                          contain all the labels.
  1640.        
  1641.                          Once a Pane Label has been created, either manually
  1642.                          or automatically, subsequent changes in the
  1643.                          underlying formula will not affect the label.
  1644.        
  1645.                          We recommend that when you overlay panes you use the
  1646.                          pane label to indicate whether a data array is
  1647.                          plotted to the left or right scale.
  1648.        
  1649.        Maximize Y Axis?  The Y axis scale can be adjusted to maximize the fit
  1650.                          to the data plotted in the pane by checking this
  1651.                          box.  This maximizes the amplitude of the data
  1652.                          plotted in the pane.  If the box is unchecked Parity
  1653.                          will display the Y axis scale with "rounded" values,
  1654.                          i.e. 10 to 50, or 100 to 200.  This will result in
  1655.                          "prettier" labels but can flatten the data out quite
  1656.                          a lot.  We prefer maximizing the fit to data but the
  1657.                          choice is yours.
  1658.        
  1659.        Separate Panes?   By default, Parity abuts stacked panes top to bottom
  1660.                          with no separation.  If you check Separate Panes?
  1661.                          Parity will add 4% of the area of the chart as white
  1662.                          space to the top of the pane.  Depending on the size
  1663.                          of the chart this will usually permit the top and
  1664.                          bottom scale labels of two adjacent panes to be
  1665.                          displayed without overlapping.  However less space
  1666.                          will be available to display the data.  The total
  1667.                          white space in the chart is added together and used
  1668.                          to adjust the relative size of all of the panes.
  1669.        
  1670.        Chart Title Includes:  The title bar of a chart can include either the
  1671.                          underlying security name, or the study name, or
  1672.                          both.  In order to use a chart in a cluster the
  1673.                          chart title must include the study name.
  1674.        
  1675.        X Axis Tick Days  This controls the minimum number of days displayed
  1676.                          between tick marks on the X Axis.  If the chart is
  1677.                          too small to display all the ticks the number of
  1678.                          tick days will be multiplied by a factor of 2 or 5
  1679.                          until the largest possible number of ticks can be
  1680.                          displayed.  In addition this setting may affect the
  1681.                          frequency of the Vertical Grid.
  1682.        
  1683.        Chart Title at Top of Page  If you check this box the Chart Title will
  1684.                          be included at the top of the chart as well as in
  1685.                          the title bar of the chart's window.  This can be
  1686.                          useful when you are preparing printed charts.
  1687.        
  1688. Select a Study
  1689.        
  1690.        Use the Select a Study command to select the study used to display the
  1691.        price data from any of the studies you have previously defined.
  1692.        
  1693.        Note that when you select a new study to become the current study it
  1694.        will replace the study, batch, or cluster you had previously selected
  1695.        and reset the X or study axis of the Display Matrix.
  1696.        
  1697.        To display the study using the current security use the Display
  1698.        Current Study command or click on one of the display options on the
  1699.        Tool Bar.
  1700.  
  1701. Save All Studies
  1702.        
  1703.        The Save All Studies command saves the definition of ALL the studies
  1704.        in memory to the STUDIES.DAT file in your Parity directory.  This is
  1705.        the only way to make any changes, deletions,  or newly created studies
  1706.        permanent.  It is not possible to save changes to a single study.
  1707.  
  1708. Delete Study
  1709.        
  1710.        The Delete Study command removes the definition of a study from
  1711.        memory.  Studies will not be permanently deleted unless you Save All
  1712.        Studies.
  1713.        
  1714.        To add a study to the list of studies to be deleted, double click on
  1715.        the study name in the All Defined Studies list.  To remove a study
  1716.        from the list of studies to be deleted, double click on the study name
  1717.        in the Studies to be Deleted list.  Click on Delete to make these
  1718.        changes or Cancel to exit without deleting any studies.
  1719.  
  1720. Display Current Study
  1721.        
  1722.        The Display Current Study command displays a chart of the current
  1723.        security using the current study and sets the display mode to Display
  1724.        Group.  This command is included for your convenience only and we
  1725.        recommend controlling the Display Matrix using the Display Tools found
  1726.        on the Tool Bar.
  1727.  
  1728. Batch Studies
  1729.        
  1730.        The Batch Studies command lets you define a new Batch of studies using
  1731.        the Create Batch form.  A Batch can contain an unlimited number of
  1732.        studies.
  1733.        
  1734.        To add studies to the batch, double click on the study name in the All
  1735.        Defined Studies list.  If you change your mind and want to remove a
  1736.        study from the batch just double click on the study name in the
  1737.        Studies to be Batched list.
  1738.        
  1739.        Type the name you want to assign to the batch in the Name of New Batch
  1740.        box.  The name can contain 16 significant characters including A-Z, a-
  1741.        z, 0-9, %, _, $, !, and %.  Names cannot begin with a number and are
  1742.        not case sensitive.
  1743.        
  1744.        Clicking O.K. will save the batch to memory and Cancel will exit.  To
  1745.        make your changes permanent you must issue a Save All Batches command.
  1746.  
  1747. Select a Batch
  1748.        
  1749.        Use the Select a Batch command to select the batch used to display the
  1750.        price data from any of the batches you have previously defined.
  1751.        
  1752.        Note that when you select a new batch to become the current batch it
  1753.        will replace the study, batch, or cluster you had previously selected
  1754.        and reset the X or study axis of the Display Matrix.
  1755.        
  1756.        To display the first study in the batch using the current security use
  1757.        the Display Current Study command or click on one of the display
  1758.        options on the Tool Bar.
  1759.  
  1760. Reorder Batch
  1761.        
  1762.        When you reorder a batch you change the display sequence of the
  1763.        studies within the batch.  You can also change the definition of the
  1764.        batch by excluding studies from the Reordered Batch list.
  1765.        
  1766.        Dialog Form Item  Description
  1767.        List of All Batches    Select the batch you want to reorder by double
  1768.                          clicking on the batch's name in this list box.
  1769.        
  1770.        Original Batch    Lists all the studies in the batch you selected for
  1771.                          reordering which have not been added to the
  1772.                          Reordered Batch list.  Add a study to the Reordered
  1773.                          Batch list by double clicking on the study name.
  1774.        
  1775.        Reordered Batch   Lists the display order for all the studies that
  1776.                          have been selected for reordering.  Double Clicking
  1777.                          on a study in the Reordered Batch list will add it
  1778.                          back to the Original Batch List.
  1779.        
  1780.        O.K. Button       Resets the studies list and display sequence of the
  1781.                          Batch to be identical to the Reordered Batch list.
  1782.        
  1783.        Cancel            Exits the Reorder Batch form without making any
  1784.                          changes.
  1785.        
  1786. Save All Batches
  1787.        
  1788.        The Save All Batches command saves the definition of ALL the batches
  1789.        in memory to the BATCHES.DAT file in your Parity directory.  This is
  1790.        the only way to make any changes, deletions,  or newly created batches
  1791.        permanent.  It is not possible to save changes to a single batch.
  1792.  
  1793. Delete Batch
  1794.        
  1795.        The Delete Batches command removes the definition of a Batch from
  1796.        memory.  Batches will not be permanently deleted unless you Save All
  1797.        Batches.
  1798.        
  1799.        To add a batch to the list of batches to be deleted double click on
  1800.        the batch name in the All Defined Batches list.  To remove a batch
  1801.        from the list of batches to be deleted double click on the batch name
  1802.        in the Batches to be Deleted list.  Click on Delete to make these
  1803.        changes or Cancel to exit without deleting any batches.
  1804.        
  1805. Clusters Menu
  1806.        
  1807.        A Cluster is similar to a batch.  However, instead of displaying its
  1808.        studies sequentially, a cluster displays all the studies it contains
  1809.        at the same time and in a predefined screen configuration.
  1810.        
  1811.        Command           Description
  1812.        Make a Cluster    Creates a cluster using the current screen display.
  1813.                          A cluster contains information on the size,
  1814.                          location, and underlying study of every "named"
  1815.                          chart that is currently displayed.  The underlying
  1816.                          security is irrelevant to the definition of a
  1817.                          cluster.
  1818.        
  1819.        Select a Cluster  Selects the cluster to display from any of the
  1820.                          clusters you have previously defined.
  1821.        
  1822.        Save All Clusters Saves the definition of ALL the clusters to the
  1823.                          CLUSTERS.DAT file.  Once saved, these definitions
  1824.                          are automatically loaded when you start Parity.
  1825.        
  1826.        Delete Cluster    Removes the definition of one or more clusters from
  1827.                          memory.  This change isn't permanent unless you Save
  1828.                          All Clusters.
  1829.        
  1830.        Display Current Cluster     Displays the current cluster charted on
  1831.                          the current security.  If no security or group has
  1832.                          been selected you will get an error message.
  1833.        
  1834.        Note that the configuration of a cluster is display specific.
  1835.        Displaying a cluster created for a higher resolution display, i.e.
  1836.        Super VGA resolutions of 800 x 600 or 1024 x 768, on a 640 x 480 VGA
  1837.        display, will have unpredictable effects.
  1838.        
  1839. Make a Cluster
  1840.        
  1841.        To make a cluster you must display screen charts of all the studies
  1842.        you want included in the cluster.  Size and arrange these charts on
  1843.        your screen exactly as you want them to appear when you display the
  1844.        cluster.  Any charts which exist, whether or not they are visible,
  1845.        will be added to the cluster as long as they based on "named" studies.
  1846.        This includes charts that are minimized.  Only charts with titles
  1847.        including the study name can be clustered.  Charts without a named
  1848.        study in the title, or with a "DEFAULT" or "UNNAMED" study title are
  1849.        excluded from the cluster.
  1850.        
  1851.        The Make a Cluster command is completely automatic.  All you need to
  1852.        do is name the cluster.  The name can contain 16 significant
  1853.        characters including A-Z, a-z, 0-9, %, _, $, !, and %.  Names cannot
  1854.        begin with a number and are not case sensitive.  Clusters, batches,
  1855.        groups and studies can all have the same name.
  1856.        
  1857.        Note that the configuration of a cluster is display specific.
  1858.        Displaying a cluster created for a higher resolution display i.e.
  1859.        Super VGA resolutions of 800 x 600 or 1024 x 768, on a 640 x 480 VGA
  1860.        display will have unpredictable effects.
  1861.        
  1862. Select a Cluster
  1863.        
  1864.        Use the Select a Cluster command to select the cluster you want to
  1865.        display.
  1866.        
  1867.        Note that when you select a new cluster to become the current cluster
  1868.        it will overwrite the cluster, batch, or study you had previously
  1869.        selected and reset the X or studies axis of the Display Matrix.
  1870.        
  1871.        To display the cluster using the current security click on one of the
  1872.        display options on the Tool Bar.
  1873.        
  1874. Save All Clusters
  1875.        
  1876.        The Save All Clusters command saves the definition of ALL the clusters
  1877.        in memory to the CLUSTERS.DAT file in your Parity directory.  This is
  1878.        the only way to make any changes, deletions,  or newly created
  1879.        clusters permanent.  It is not possible to save changes to a single
  1880.        cluster.
  1881.        
  1882. Delete Cluster
  1883.        
  1884.        The Delete Cluster command removes the definition of a Cluster from
  1885.        memory.  Clusters will not be permanently deleted unless you Save All
  1886.        Clusters.
  1887.        
  1888.        To add a cluster to the list of clusters to be deleted double click on
  1889.        the cluster name in the All Defined Clusters list.  To remove a
  1890.        cluster from the list of clusters to be deleted double click on the
  1891.        cluster name in the Clusters to be Deleted list.  Click on Delete to
  1892.        make these changes or Cancel to exit without deleting any clusters.
  1893.        
  1894. Display Current Cluster
  1895.        
  1896.        The Display Current Cluster command displays the charts that comprise
  1897.        the current cluster on the current security.  If no security or
  1898.        cluster has been loaded you will receive an error message.  This
  1899.        command is included for your convenience only and we recommend
  1900.        controlling the Display Matrix using the Display Tools found on the
  1901.        Tool Bar.
  1902.        
  1903. Pointer Menu
  1904.        
  1905.        The Pointer Menu includes less frequently used Action Tools than are
  1906.        accessible by clicking on an icon on the Tool Bar.
  1907.        
  1908.        Choose the action you want to perform from the Pointer Menu
  1909.        selections.  Then click on the chart you want to act on.  These tools
  1910.        are "sticky" and stay active until you select another action tool or
  1911.        click on the Pointer Tool on the Tool Bar.
  1912.        
  1913.        Command           Description
  1914.        Erase Vertical Lines   Erases any vertical lines that have been drawn
  1915.                          on the chart you click on, including lines drawn
  1916.                          with ChartVertLine().
  1917.        
  1918.        Erase Horizontal Lines Erases any horizontal lines that have been
  1919.                          drawn on the chart you click on, except lines drawn
  1920.                          with ChartHorizLine() which cannot be erased.
  1921.        
  1922.        Erase Drawn Lines Erases any lines drawn with the limited line tool,
  1923.                          the extended line tool, or the Fibonacci tools.
  1924.        
  1925.        Erase All Lines   Erases all the lines drawn on the chart except lines
  1926.                          drawn with ChartHorizLine().
  1927.        
  1928.        Draw Fibonacci Lines   Click on any two points in a chart, usually two
  1929.                          extreme price points.  Parity will draw horizontal
  1930.                          lines at the two points plus lines at 38.2%, 50.0%
  1931.                          and 61.8% of the vertical difference between the two
  1932.                          points.  Note that the calculations are performed
  1933.                          based on the actual points you click on, not the
  1934.                          data values they are proximate to.
  1935.        
  1936.        Draw Fibonacci Fans    Click on any two points in a chart, usually two
  1937.                          extreme price Points.  Parity will draw 3 diagonal
  1938.                          trend lines extending from the first point, through
  1939.                          the points that are 38.2%, 50.0% and 61.8% of the
  1940.                          vertical difference between the two points and
  1941.                          vertical to the second point.  These trend lines are
  1942.                          automatically extended to the far right of the
  1943.                          chart.  Note that the calculations are performed
  1944.                          based on the actual points you click on, not the
  1945.                          data values they are proximate to.
  1946.        
  1947.        Draw Channel Lines     Click on any two points in a chart, usually two
  1948.                          points which you believe define a trend.  Parity
  1949.                          will draw an extended trend line between the two
  1950.                          points.  Then click on any third point and Parity
  1951.                          will draw and extended trendline at the third point
  1952.                          which is parallel to the first two points.
  1953.        
  1954. Options Menu
  1955.        
  1956.        The Options Menu includes several commands used to customize Parity's
  1957.        operation.
  1958.        
  1959.        Command           Description
  1960.        Default Study     Permits you to save the settings of the current
  1961.                          study as the "DEFAULT" study.  The "DEFAULT" study
  1962.                          settings are loaded when you first start Parity, and
  1963.                          whenever you click on the Reset All button in the
  1964.                          Formula Editor.
  1965.        
  1966.                          To make a new "DEFAULT" study use the Create/Modify
  1967.                          Current Study editors to define all of the settings
  1968.                          for the current study as you want them to appear in
  1969.                          the "DEFAULT" study and click OK.  Then choose
  1970.                          Default Study from the Options Menu and click on
  1971.                          Make Default Study.  All the settings, including
  1972.                          formulas and chart procedures, of the current study
  1973.                          will be saved to the DEFSTUDY.DAT file.  To return
  1974.                          to Parity's standard "DEFAULT" settings delete the
  1975.                          DEFSTUDY.DAT file from your disk.
  1976.        
  1977.        Chart Preferences Permits you to save settings which affect the colors
  1978.                          and sizes used to display various Chart Procedures,
  1979.                          Action Tools, and the chart size itself.  The
  1980.                          various settings should be self explanatory.
  1981.        
  1982.                          You can enable your preference settings for the
  1983.                          current Parity session only, or you can save them to
  1984.                          the CHRTPREF.DAT file which is automatically loaded
  1985.                          when Parity starts.  To return to Parity's standard
  1986.                          chart settings delete the CHRTPREF.DAT file from
  1987.                          your disk.
  1988.        
  1989.        Directory and File     Permits you to set a Startup Directory used for
  1990.                          the Load a Stock and Create Group commands.  You can
  1991.                          also save a preference for MetaStock or ChartPro
  1992.                          file formats.  Your settings will be saved to the
  1993.                          FILEPREF.DAT file which is automatically loaded when
  1994.                          Parity starts.  To return to Parity's standard
  1995.                          settings delete the FILEPREF.DAT file from your disk
  1996.        
  1997.                          Windows maintains a "current" directory for each
  1998.                          disk.  If you change from the "Startup Directory" to
  1999.                          a different directory using Parity, or any other
  2000.                          Windows application, that will be the directory
  2001.                          which will be displayed when you use Load a Stock or
  2002.                          Create Group.  Parity can only set your initial
  2003.                          startup directory.
  2004.        
  2005.        Moveable Tool Bar Will recreate the Tool Bar as a moveable window of
  2006.                          fixed size.  The moveable Tool Bar will be affected
  2007.                          by the Window Cascade and Tile commands.
  2008.        
  2009.        Fixed Tool Bar    Will recreate the Tool Bar as a fixed windows of
  2010.                          fixed size.  The fixed Tool Bar is not affected by
  2011.                          the Window Cascade and Tile commands unless you have
  2012.                          moved a chart off the "desktop" and used the scroll
  2013.                          bars which will appear to move around on the virtual
  2014.                          desktop.  Then Window Cascade or Tile may adversely
  2015.                          affect the Tool Bar and you may need to recreate it
  2016.                          using either the Moveable Tool Bar or the Fixed Tool
  2017.                          Bar commands.
  2018.        
  2019. Window Menu
  2020.        
  2021.        The Window Menu provides the standard functionality of the Windows 3.x
  2022.        windowing commands.
  2023.        
  2024.        Command           Description
  2025.        Cascade           Arranges chart windows in an overlapping pattern so
  2026.                          that the title bar of each window remains visible.
  2027.        
  2028.        Tile              Arranges chart windows side by side so that all
  2029.                          windows are visible.
  2030.        
  2031.        Arrange Icons     Arranges all chart icons in rows at the bottom of
  2032.                          the Parity window.
  2033.        
  2034.        Show Print Log    Opens a very simple and limited text editor.  You
  2035.                          can make notes and comments in the print log and use
  2036.                          the File Print command to print them or the File
  2037.                          Save As command to save them to a file.
  2038.        
  2039.        Show Scheduler    This command has no function in this release of
  2040.                          Parity.
  2041.        
  2042. Help Menu
  2043.        
  2044.        The Help Menu provides access to Parity's extensive on-line help
  2045.        files.  You can also access help by pressing F1 at any time or
  2046.        clicking on the Help button in most of the dialog boxes.
  2047.  
  2048. Part 5         Indicators & Chart Procedures
  2049.        
  2050.        The technical analysis of stocks and commodities generally falls into
  2051.        three general types of activity; chart reading, indicator analysis,
  2052.        and wave or cycle analysis.  Vociferous proponents of each method
  2053.        exist, but most technicians make use of tools from each of these three
  2054.        general types of analysis in some measure.  Parity provides the user
  2055.        with a wide variety of chart types and predefined technical indicators
  2056.        which can be used to predict potential price trends.
  2057.        
  2058.   Chart Reading
  2059.        
  2060.        Chart reading typically involves the visual recognition of historical
  2061.        price and volume trends and patterns which are believed to be useful
  2062.        for forecasting the future direction of a security.  Most chartists
  2063.        draw trendlines and resistance and support lines on a chart which
  2064.        identify key price patterns.  Parity provides a full complement of
  2065.        drawing tools which are accessible from the Tool Bar or the Pointer
  2066.        Menu.  Just by "pointing and clicking" the user can quickly add
  2067.        trendlines, text, channel lines and Fibonacci lines to any chart.
  2068.        Also, Parity's Chart Procedures allow you to create many different
  2069.        chart types.
  2070.        
  2071.   Indicator Analysis
  2072.        
  2073.        Over the years technicians have developed a number of widely
  2074.        recognized "indicators" which can be useful for predicting when a
  2075.        security has peaked or bottomed or is continuing in its current trend.
  2076.        An indicator is simply a predefined formula which takes historical
  2077.        price and volume data and calculates a new indicator value which may
  2078.        have predictive significance.  Indicator analysis usually looks for
  2079.        indicator values above or below a certain point, divergences from an
  2080.        indicator chart and the price chart, or a peak or trough in the
  2081.        indicator itself.  Parity offers most of the commonly used indicators
  2082.        as predefined functions which can be easily charted or included in
  2083.        your own formulas.
  2084.        
  2085.   Cycle and Wave Analysis
  2086.        
  2087.        Many technicians believe that stocks and commodities follow certain
  2088.        naturally occurring wave patterns and price cycles.  The most
  2089.        comprehensive (and difficult) theory of this type is the Elliot Wave
  2090.        Theory.  Parity provides a full set of trigonometric functions which
  2091.        can be used to generate any sort of cycle and many of the same drawing
  2092.        tools used for chart reading will also be useful for wave analysis.
  2093.        
  2094.        The retail version of the program, Parity Plus, includes special tools
  2095.        to draw and position two sets of independent cycle lines on any of
  2096.        your charts.
  2097.        
  2098. Technical Indicators
  2099.        
  2100.        Parity includes over 30 of the most popular indicators for the
  2101.        technical analysis of stocks and commodities.  These majority of these
  2102.        indicators act as functions that return an array which can be used as
  2103.        the input to another indicator or within a user defined formula.  This
  2104.        makes it easy for you to do "studies on studies" or to develop your
  2105.        own proprietary charting tools.
  2106.        
  2107.        A complete list of the indicators available in Parity is shown below.
  2108.        A full description of the derivation and interpretation of these
  2109.        indicators is well beyond the scope of this documentation.  Please see
  2110.        the Bibliography which follows for a list of books which discuss these
  2111.        indicators in detail.
  2112.        
  2113.   Notes on Syntax
  2114.        
  2115.        The naming and syntax for indicators generally follows the conventions
  2116.        established by MetaStock and TAS.  Some indicators expect parameters
  2117.        of a specific type as shown below:
  2118.        
  2119.           d  Any data array including predefined variables or the result of
  2120.              another indicator.
  2121.           p  The number of periods to use to calculate the indicator.
  2122.           t   The type of moving average to use.  Must be "S" for simple, "E"
  2123.              for exponential, "W" for weighted.  The quotes are required.
  2124.           r   Express the result of the indicator in points or percentages.
  2125.              Must be "$" for points or "%" for percentages.  The quotes are
  2126.              required
  2127.        Note that Parity is not case sensitive.  D is the same as d, AD() is
  2128.        the same as aD().
  2129.        
  2130. List of Predefined Technical Indicators
  2131.        
  2132.        Indicator Function          Description
  2133.           AD()                Accumulation/Distribution
  2134.           
  2135.           ADX(p)              Average Directional Movement Index
  2136.           
  2137.           ADXR(p)             Average Directional Movement Rating
  2138.           
  2139.           BolBands(p, deviations)  Bollinger Bands.  The deviations parameter
  2140.                               is the number of standard deviations used to
  2141.                               calculate the top and bottom bands.  BolBands()
  2142.                               is a procedure.
  2143.           
  2144.           CCI(p)              Commodity Channel Index
  2145.           
  2146.           CO()                Chaikin Oscillator
  2147.           
  2148.           DX(p)               Directional Movement Index
  2149.           
  2150.           MACD()              MACD Indicator.  The 9 day exponential moving
  2151.                               average of the MACD is plotted in the same
  2152.                               color used by the Text Tool.
  2153.           
  2154.           MDI(p)              Minus Directional Indicator
  2155.           
  2156.           MO(p)               Momentum Indicator
  2157.           
  2158.           MOV(d, p, t)        Moving Average
  2159.           
  2160.           NVI()               Negative Volume Index
  2161.           
  2162.           OBV()               On Balance Volume
  2163.           
  2164.           OSCP(p1, p2, t, r)  Price Oscillator
  2165.           
  2166.           OSCV(p1, p2, t, r)  Volume Oscillator
  2167.           
  2168.           PDI(p)              Plus Directional Indicator
  2169.           
  2170.           PVI()               Positive Volume Index
  2171.           
  2172.           PVT()               Price Volume Trend
  2173.           
  2174.           ROC(d, p, r)        Rate of Change
  2175.           
  2176.           RSI (d, p)          Relative Strength Index
  2177.           
  2178.           SAR(AF, MAF)        Parabolic Stop and Reverse System.  AF is the
  2179.                               acceleration factor.  MAF is the maximum
  2180.                               acceleration.
  2181.           
  2182.           STD(d) or STD(d, p) Standard Deviation.  STD(d) calculates the
  2183.                               standard deviation of each element of d from
  2184.                               all the values in d.  STD(d, p) calculates the
  2185.                               standard deviation of each element of d from
  2186.                               the values of the preceding p periods.
  2187.           
  2188.           Stoch(%Kperiods, %Kslowing, %Dperiods, %Dmethod)
  2189.           
  2190.           Stoch(%Kperiods, %Kslowing)   Stochastic Oscillator.  Stoch() takes
  2191.                               two forms.  You must specify the number of %K
  2192.                               periods and the %K slowing periods.  Optionally
  2193.                               you can also specify the number of %D periods
  2194.                               and the %D moving average method, i.e. "E",
  2195.                               "S", "W".  By default %Dperiods is 3 and
  2196.                               %Dmethod is "E".  The %D line is plotted in the
  2197.                               same color as the Text Tool.  Stoch() is a
  2198.                               procedure
  2199.           
  2200.           TR()                True Range
  2201.           
  2202.           TRIX(p)             TRIX Indicator
  2203.           
  2204.           TSF(d, p)           Time Series Forecast
  2205.           
  2206.           ULT(p1, p2, p3)     Larry Williams' Ultimate Oscillator.
  2207.           
  2208.           VAR(d) or VAR(d,p)  Variance.  VAR(d) calculates the variance of
  2209.                               each element of d from all the values in d.
  2210.                               VAR(d, p) calculates the variance of each
  2211.                               element of d from the values of the preceding p
  2212.                               periods.
  2213.           
  2214.           VOL(pm, pr)         Chaikin's Volatility Indicator, pm is the
  2215.                               number of moving average periods, pr is the
  2216.                               number of rate of change periods.
  2217.           
  2218.           VOLW(p)             Wilder's Volatility
  2219.           
  2220.           WC()                Weighted Close
  2221.           
  2222.           WILLA()             Williams' A/D
  2223.           
  2224.           WILLR(p)            Williams %R
  2225.           
  2226.           ZIG(d, change, r)   Zig Zag Indicator.  Filters out changes that
  2227.                               are less than change points or change percent.
  2228.                               If r is "%" then change must be less than 1.0.
  2229.           
  2230. Bibliography of Technical Analysis Texts
  2231.        
  2232.        The New Commodity Trading Systems and Methods.  Perry J. Kaufman
  2233.        Technical Analysis of the Futures Markets.  John J. Murphy
  2234.        The Encyclopedia of Technical Market Indicators.  Robert W. Colby &
  2235.        Thomas A. Meyers
  2236.        Technical Analysis of Stock Trends.  Robert D. Edwards & John Magee.
  2237.        Technical Analysis Explained.  Martin Pring.
  2238.        New Concepts in Technical Trading Systems.  J. Welles Wilder.
  2239.        
  2240. MetaStock Function Compatibility
  2241.        
  2242.        Parity supports virtually all of the indicators and functions provided
  2243.        with MetaStock 2.5, and adds many new indicators and functions of its
  2244.        own.  The following details the differences between MetaStock and
  2245.        Parity.
  2246.        
  2247.   MetaStock Functions Not Supported In Parity 1.0.
  2248.        
  2249.        Options & Commodities  None of MetaStock's options or commodities
  2250.                          related functions are supported in Parity 1.0.
  2251.                          These include the option functions delta(), gamma(),
  2252.                          life(), option(), theta(), and vega().  The
  2253.                          commodity related functions are aswing(), csi(),
  2254.                          hpi(), and swing().  A future release of Parity will
  2255.                          provide equivalent support for these functions.
  2256.        
  2257.        Indicators        We have had trouble finding the correct formulas for
  2258.                          the following indicators:  corr(), di(), and ffi().
  2259.                          These indicators will be added as we figure out how
  2260.                          to calculate them.
  2261.                          
  2262.        
  2263.   MetaStock Functions which will never be supported.
  2264.        
  2265.        Function          Description
  2266.        fml()             This has no equivalent in Parity since the result of
  2267.                          a formula can be referred to directly using F1 to
  2268.                          F9.
  2269.        
  2270.        if()              if is a reserved word.  Equivalent functionality is
  2271.                          provided by: IF test THEN d1 ELSE d2.
  2272.        
  2273.        mod(d, v)         mod is a reserved word.  Equivalent functionality is
  2274.                          provided by: d mod v.
  2275.        
  2276.        ref(d, p)         Equivalent functionality is provided by d[-p] or
  2277.                          d[+p].
  2278.        
  2279.        sqr(d)            sqr is a reserved word.  Equivalent functionality is
  2280.                          provided by: SQRT(d).
  2281.        
  2282.        sub(a, b)         sub is a reserved word.  Equivalent functionality is
  2283.                          provided by: a - b.
  2284.        
  2285.        sum(d, p)         sum is a reserved word.  Equivalent functionality is
  2286.                          provided by: StatMovTot(d, p)
  2287.                          
  2288.   Trivial MetaStock Functions which are supported.
  2289.        
  2290.        For your convenience we do support the following MetaStock functions.
  2291.        The actual underlying Parity equivalent is shown for your edification.
  2292.        We cannot guarantee that these functions will be supported in future
  2293.        releases of Parity.
  2294.   
  2295.        Function          Description
  2296.        ADD(a, b)         a + b
  2297.        
  2298.        DIV(a, b)         a / b
  2299.        
  2300.        FRAC(a)           a mod 1
  2301.        
  2302.        HHV(d, p)         StatMovMax(d, p)
  2303.        
  2304.        INT(d)            d \ 1
  2305.        
  2306.        LLV(d, p)         StatMovMin(d, p)
  2307.        
  2308.        MID(d, p)         (StatMovMin(d, p) + StatMovMax(d, p))/2
  2309.        
  2310.        MP()              (H + L) / 2
  2311.        
  2312.        MUL(a, b)         a * b
  2313.        
  2314.        NEG(d)            -d
  2315.        
  2316.        PER(d)            (d - d[StartValid(d)])/ d[StartValid(d)]
  2317.        
  2318.        PREC(d, p)        ((d * 10^p) \ 1) / 10 ^ p
  2319.        
  2320.        PWR(a, b)         a ^ b
  2321.        
  2322. Procedures vs. Functions
  2323.        
  2324.        Parity includes several indicators which are defined as Procedures
  2325.        rather than Functions.  These indicators, which include BolBands() and
  2326.        Stoch() do not return an array of data values.  However, BolBands()
  2327.        and Stoch() do create named Global Variables which can be used in
  2328.        subsequent calculations.
  2329.        
  2330.        Parity also includes a special class of Chart Procedures which are
  2331.        used to create special chart types in a pane of a study.  Chart
  2332.        procedures are used in a study just like indicators but they do not
  2333.        return an array of data values.
  2334.        
  2335.        Indicator procedures and chart procedures cannot be used within any
  2336.        other function and the result of the procedure cannot be referred to
  2337.        using the F1 to F9 array variables.
  2338.        
  2339.        The following predefined indicators are Procedures rather than
  2340.        Functions.
  2341.        
  2342.             BolBands(p, deviations).  Calculates the Bollinger Bands for the
  2343.             closing price using p periods and deviations standard deviations.
  2344.             The result of the calculation are stored in the global variables
  2345.             topband, centerband, and bottomband which may be referenced in
  2346.             subsequent calculations.
  2347.        
  2348.             Stoch(%Kperiods, %Kslowing, %Dperiods, %Dmethod)  Calculates the
  2349.             Stochastic Oscillator for the price data.  The results of the
  2350.             calculation are stored in the global variables %KLine and %DLine
  2351.             which may be referenced in subsequent calculations.
  2352.             
  2353. Chart Procedures
  2354.        
  2355.        Parity includes the ability to display multiple types of price charts
  2356.        within the same Study/Chart.  Parity accomplishes this with its Chart
  2357.        Procedure functionality.  Chart Procedures are used in a Study almost
  2358.        exactly like Parity's predefined indicators.  However, instead of
  2359.        returning a data array which is plotted in a pane of the chart, chart
  2360.        procedures create an entirely different chart type in the specified
  2361.        pane.
  2362.        
  2363.        Like indicators, chart procedures can be added to a study by double
  2364.        clicking in the Formula Editor's list box when the Chart Procedure
  2365.        radio button is on.  Or you can manually type a chart procedure into a
  2366.        formula box.  Note that the color and width used for many of the Chart
  2367.        Procedures can be set with the Chart Preferences command on the
  2368.        Options Menu.
  2369.        
  2370.   Types of Chart Procedures
  2371.        
  2372.        ChartFirstSecurity(typechart)
  2373.        
  2374.        Creates a bar, line, or candlestick chart of the first security in the
  2375.        Group.  Use "B", "L", or "J" for the typechart parameter.  See
  2376.        Predefined Variables.
  2377.        
  2378.        ChartHorizLine(data), ChartVertLine(data, c1, c2)
  2379.        
  2380.        Draws vertical and horizontal lines on a chart based on the values of
  2381.        data.  No results are returned.  See Adding Lines to a Chart.
  2382.        
  2383.        DaysAtPrice(array, band)
  2384.        
  2385.        Plots a horizontal bar chart of the number of days array was within
  2386.        the price range defined by band.  DaysAtPrice() is usually used with
  2387.        price data such as C, but you can use it with any array variable such
  2388.        as F1-F9.  The band parameter sets the "granularity" of the price
  2389.        ranges which are used to total the occurrences of array.  For example
  2390.        a band of 1 will treat a closing price of 33, 33.5 and 33.75 as
  2391.        occurring in the same band while .25 would treat them as falling into
  2392.        separate bands.  The horizontal bar is plotted at the midrange of the
  2393.        band.  Each increment along the X axis equals 1 day where array's
  2394.        price was within the band.  By default Parity will plot DaysAtPrice in
  2395.        the Price Pane.
  2396.        
  2397.        DBarPointFigure(boxsize, reversals, $or%, reverseWhen, constantBox)
  2398.        
  2399.        Causes a modified point and figure chart which incorporates the
  2400.        duration or time period of a column to be displayed in its pane.  No
  2401.        results are returned.
  2402.        
  2403.        EquiVolumeChart()
  2404.        
  2405.        Creates the Equivolume chart popularized by Richard Arms.  The width
  2406.        of each box on the chart is proportional to the volume traded, while
  2407.        the top and bottom of the box corresponds to the High and Low prices
  2408.        for that day.  A future version of Parity will include Equivolume
  2409.        Candlestick charts.  If you plot more than 1500 days of data with
  2410.        EquiVolumeChart() you will hit Parity's limit of 8189 data array
  2411.        elements and receive an error message.
  2412.        
  2413.        VolumeAtPrice(array, band)
  2414.        
  2415.        Plots a horizontal bar chart of the total volume when array was within
  2416.        the price range defined by band, proportional to the total volume
  2417.        traded during the period of the chart.  Unlike DaysAtPrice(), the
  2418.        length of the horizontal lines is relative, not absolute.  Roughly
  2419.        speaking, a line twice as long had twice as much volume at that price.
  2420.        See DaysAtPrice() for more detail.
  2421.        
  2422.        XOPointFigure(boxsize, reversals, $or%, reverseWhen, constantBox)
  2423.        
  2424.        Causes a traditional point and figure chart to be displayed in its
  2425.        pane.  No results are returned.
  2426.        
  2427.        XVolumeYPrice()
  2428.        This procedure plots a line chart where the X axis is volume and the Y
  2429.        axis is the closing price.  The first day is indicated by an "S" on
  2430.        the chart, and the last day by an "E".  The direction of the lines is
  2431.        indicated by their color.  By default, the lines cycle through Red,
  2432.        Green, and Blue.  So the line for the first data point is Red, the
  2433.        second is Green, the third is Blue, the fourth is Red etc.  The
  2434.        overall effect is to create something akin to The Crocker Chartc.  The
  2435.        analysis of Crocker Chartsc is beyond the scope of this documentation.
  2436.        
  2437. Point and Figure Charts
  2438.        
  2439.        Point and Figure charts are used to plot price movement rather than
  2440.        price action over time like bar or candlestick charts.
  2441.        
  2442.        You create point and figure charts by typing one of Parity's two types
  2443.        of point and figure chart procedures in the formula box of the Formula
  2444.        Editor.  Point and figure charts can be plotted in a unique pane,
  2445.        which can be stacked or overlaid on another pane, or plotted in a pane
  2446.        with other indicators.
  2447.        
  2448.   Constructing Point and Figure Charts
  2449.        
  2450.        Traditional point and figure charts display price movement as a series
  2451.        of columns of X's and O's.  An X column indicates rising prices and
  2452.        the O column indicates falling prices.  By default Parity also colors
  2453.        the X columns blue and the O columns red to facilitate their
  2454.        interpretation.
  2455.        
  2456.        The two most important parameters in the construction of a point and
  2457.        figure chart are the box size and the reversal criterion.  The box
  2458.        size determines the minimum price movement necessary to add an X or O
  2459.        to a column.  The reversal criterion is usually expressed as x number
  2460.        of boxes and is used to determine if a new column of X's or O's should
  2461.        be started.  The procedure to create a chart in an English/BASIC
  2462.        dialect is:
  2463.        
  2464.           Get the high and low prices for today
  2465.           SELECT CASE current column
  2466.                CASE current column is X's
  2467.                     IF today's high is at least 1 box > than previous high
  2468.           THEN
  2469.                          Plot new X's.
  2470.                          Do not fill box if scale price is > today's high
  2471.                     ELSE IF today's low is x boxes below the X column high
  2472.           THEN
  2473.                          Move right one column
  2474.                          Enter O's beginning 1 box below the X column high
  2475.                          Do not fill box if scale price is < today's low
  2476.                     END IF
  2477.                CASE current column is O's
  2478.                     Do the reverse of the X case.
  2479.           END SELECT
  2480.        
  2481.        Traditional point and figure charts disregard time.  This makes it
  2482.        difficult to relate point and figure charts to standard price volume
  2483.        charts.  To alleviate this problem Parity incorporates a point and
  2484.        figure chart type, DBarPointFigure(), which changes the width of the X
  2485.        and O columns to reflect the passage of time.
  2486.        
  2487. The Point and Figure Procedures
  2488.        
  2489.        Parity has two chart procedures which can be used to create point and
  2490.        figure charts.
  2491.        
  2492.   XOPointFigure(boxsize, reversals, $or%, reverseWhen, constantBox)
  2493.        
  2494.        Plots a traditional point and figure chart of X and O columns.  If you
  2495.        have a color display, X's will be displayed in blue and O's in red.
  2496.        The procedure is entered as a formula in a Study.  How point and
  2497.        figure charts are displayed can be controlled in the same fashion as
  2498.        any other item plotted in a study.
  2499.        
  2500.   DBarPointFigure(boxsize, reversals, $or%, reverseWhen, constantBox)
  2501.        
  2502.        Plots a modified point and figure chart which incorporates time by
  2503.        varying the width of a column to match the entry and exit dates.  X
  2504.        columns are displayed as blue rectangles, O columns are displayed as
  2505.        red rectangles.
  2506.        
  2507.   Parameters
  2508.        
  2509.        Parity permits you to experiment with a number of varieties of the
  2510.        point and figure method by changing the parameters used with
  2511.        XOPointFigure() and DBarPointFigure.
  2512.        
  2513.           Parameter           Description
  2514.           
  2515.           boxsize             The box size of the chart can be expressed in
  2516.                               points or percentages, i.e. 1.0 could indicate
  2517.                               one point, or .05 could indicate 5% depending
  2518.                               on the setting of $or%
  2519.           
  2520.           reversals           Determines the number of boxes need to reverse
  2521.                               direction and start a new column.  Must be a
  2522.                               positive number.  Note that a boxsize of 1 and
  2523.                               reversals of 3 and boxsize of .5 and reversals
  2524.                               of 6 will create identical charts.
  2525.           
  2526.           $or%                Determines whether the value of boxsize is used
  2527.                               as an absolute dollar amount or a percentage of
  2528.                               the closing price.  $or% must be either "$" or
  2529.                               "%" including the quotes.
  2530.           
  2531.           reverseWhen         An important question for point and figure
  2532.                               charts is when to test for a reversal if the
  2533.                               high and low prices of a volatile trading day
  2534.                               could be used to continue a column or reverse
  2535.                               to a new column.
  2536.           
  2537.                               Setting reverseWhen to "A" causes Parity to
  2538.                               test for a reversal even after a column has
  2539.                               been continued.
  2540.           
  2541.                               Setting reverseWhen to "N" causes Parity to
  2542.                               only test for a reversal if the column has not
  2543.                               been continued.  This is the case shown in the
  2544.                               chart construction example above.
  2545.           
  2546.                               Setting reverseWhen to "B" causes Parity to
  2547.                               test for a reversal before it tests if the
  2548.                               column has been continued.
  2549.           
  2550.           constantBox         Parity can automatically vary the box size as a
  2551.                               function of closing price when $or% is set to
  2552.                               "%".  constantBox must be either "Y" for a
  2553.                               constant box size or "N" for a variable box
  2554.                               size based on boxsize * today's close.  If $or%
  2555.                               is set to "$" constantBox is ignored.
  2556.           
  2557.   Limitations
  2558.        
  2559.        An XOPointFigure() chart can contain a maximum of 8189 X and O
  2560.        elements.  This is a limitation for all data arrays in Parity.  An X
  2561.        or O element is created for every box movement.  If you use a very
  2562.        small box size relative to the volatility and price of the security it
  2563.        is possible to hit the 8189 element limit.  An example would be using
  2564.        a 0.5 box size on something like the Dow Jones Industrial Average.
  2565.        
  2566. Adding Lines to a Chart
  2567.        
  2568.        Parity includes two procedures which can be used to automatically plot
  2569.        vertical or horizontal lines on a chart.  ChartVertLine() is
  2570.        particularly useful for indicating buy/sell criteria while
  2571.        ChartHorizLine() is useful to graphically illustrate threshold values
  2572.        for the formulas and indicators you plot.
  2573.        
  2574.        To use these procedures simply type them into a formula box in the
  2575.        Formula Editor.
  2576.        
  2577.        ChartVertLine(array, type, color1, color2)
  2578.        
  2579.        Causes vertical lines to be plotted the full height of the chart.
  2580.        ChartVertLine requires 1, 2 or 4 parameters as explained below.
  2581.        Generally, you will want to set the Pane To Plot In to the value of a
  2582.        pane which contains data.  This doesn't affect how ChartVertLine()
  2583.        works but otherwise you will have an empty pane in your chart.
  2584.        
  2585.        ChartVertLine(array) -- One Parameter Case.
  2586.        
  2587.           array               Holds a data array which can be a predefined
  2588.                               variable, F1 to F9, the result of an indicator,
  2589.                               or an expression combining any of these.
  2590.                               ChartVertLine(array) tests for array <> array[-
  2591.                               1] and plots a vertical line whenever it is
  2592.                               True.  In other words ChartVertLine will plot a
  2593.                               vertical line whenever today's array value is
  2594.                               not equal to yesterdays array value.  For
  2595.                               example:
  2596.           
  2597.                                    ChartVertLine(C > MOV(C, 50, "S")
  2598.           
  2599.                               Will plot a vertical line when the closing
  2600.                               price crosses above or below the 50 day simple
  2601.                               moving average.
  2602.           
  2603.        ChartVertLine(array, type) -- Two Parameter Case
  2604.        
  2605.           array               Holds a data array as above.  Or array can
  2606.                               contain an array of dates.  The type parameter
  2607.                               determines how array will be evaluated.
  2608.           
  2609.                               If you want array to be a list of dates you
  2610.                               must express the dates as follows:
  2611.           
  2612.                                    ChartVertLine({"07/01/91", "09/15/91",
  2613.                               "10/20/91"}, "dates")
  2614.           
  2615.                               This will plot a vertical line at each date
  2616.                               contained in array if that date exists in the
  2617.                               chart.  If the date doesn't exist no line will
  2618.                               be plotted.  Dates must be enclosed in quotes
  2619.                               and can be expressed as "MM/DD/YY", "YYMMDD",
  2620.                               or "DD-MMM-YY" type formats.  To plot a singe
  2621.                               date use ChartVertLine({"07/01/91"}, "dates")
  2622.                               or ChartVertLine("07/01/91","dates")
  2623.           
  2624.           type                Must be set to either "dates" to plot an array
  2625.                               of dates, or "values" to plot a data array as
  2626.                               in the one parameter case.
  2627.           
  2628.        ChartVertLine(array, type, color1, color2) -- Four Parameter Case
  2629.        
  2630.           array               As above
  2631.           
  2632.           type                As above
  2633.           
  2634.           color1              The name of a color, enclosed in quotes.  Valid
  2635.                               names are shown in the select color list in the
  2636.                               Color Editor.  Examples include "Blue",
  2637.                               "Black", "Red", "Green", "Yellow", "Cyan",
  2638.                               "Magenta".  The first vertical line will be
  2639.                               drawn in color1, the second in color2, the
  2640.                               third in color1, etc.
  2641.           
  2642.           color2              As above.
  2643.           
  2644.        ChartHorizLine(data)
  2645.        
  2646.        Plots horizontal lines at the Y axis values held in data, in the Pane
  2647.        To Plot In assigned in the Pane Layout Editor.  The color of the line
  2648.        is set using the Color Editor.
  2649.        
  2650.        By plotting ChartHorizLine in the same pane as a formula, indicator,
  2651.        or price chart it is possible to set one or more visual "thresholds"
  2652.        which you can use to judge whether the formula or indicator is
  2653.        signaling a buy or sell condition.
  2654.        
  2655.        ChartHorizLine(data) takes a single parameter, data, which can be
  2656.        either a scalar or array value.  For example to plot 4 horizontal
  2657.        lines in a pane use:
  2658.        
  2659.             ChartHorizLine({100, 50, 0, -50, -100})
  2660.        
  2661.        To plot a single horizontal line you can use either:
  2662.        
  2663.             ChartHorizLine({0})
  2664.        Or
  2665.             ChartHorizLine(0)
  2666.        
  2667.        The values in data can appear in any order.
  2668.  
  2669. Part 6      Formulas, Operators & Functions
  2670.        
  2671.        Parity provides a full complement of powerful mathematical functions
  2672.        and operators which can be used to create very complex user defined
  2673.        formulas.
  2674.        
  2675. Formulas
  2676.        
  2677.        Parity permits you to create extremely sophisticated formulas using
  2678.        the Formula Editor.
  2679.        
  2680.        With Parity you can create formulas using:
  2681.        
  2682.           Arithmetic Operators     +, -, *, /, ^, Mod, \
  2683.           
  2684.           Comparison Operators     =, <>, <, >, <=, >=
  2685.           
  2686.           Logical Operators   AND, OR, NOT, XOR, EQV, IMP
  2687.           
  2688.           Trigonometric Functions  Cos(), Sin(), Tan(), ACos(), ASin(),
  2689.                               ATn(), ATan2()
  2690.           
  2691.           Exponential Functions    Exp(), Exp10(), Log(), Log10(), Sqr(),
  2692.                               Sqrt()
  2693.           
  2694.           Rounding Functions  Round(), Ceil(), Floor(), Abs(), Sgn(), Bool()
  2695.           
  2696.           Array Related Functions  Sum(), Product(), RunTot(), Min(), Max(),
  2697.                               IF test THEN data1 ELSE data2
  2698.           
  2699.           Statistical Functions    StatNorm(), StatPercent(), StatRegress(),
  2700.                               StatMovTot(), StatMovMin(), StatMovMax()
  2701.           
  2702.           Technical Indicators     Predefined technical indicators for stock
  2703.                               and commodity charting, i.e. AD(), ADXR(),
  2704.                               MOV(), TRIX(), TSF() etc..
  2705.           
  2706.           Other Formulas      F1 to F9 when previously defined
  2707.           
  2708.           Custom Formulas     Not Supported in Version 1.0
  2709.           
  2710.        
  2711.   Limitations of Formulas in Parity
  2712.        
  2713.        Version 1.2 of Parity includes several important limitations on the
  2714.        formulas you create:
  2715.        
  2716.        1  A formula cannot contain more than 512 characters.
  2717.        2  You cannot assign the result of a formula to a variable.  By
  2718.           default, formulas created using the Formula Editor will assign the
  2719.           result of a formula to its corresponding F1 to F9 variable, which
  2720.           can be used in subsequent calculations.  You cannot use = as an
  2721.           assignment operator within a formula.  The following will cause an
  2722.           error when you chart a study.
  2723.             x = H - L
  2724.           The Custom Functions feature, which will be implemented in a future
  2725.           version of Parity, will permit you to assign the result of a
  2726.           formula to a temporary variable.
  2727.        3  Parity calculates the result of a formula "all at once" and does
  2728.           not support FOR or WHILE loops.  This can create a problem where
  2729.           you might want to use "yesterdays" value of the formula in the
  2730.           formula.  For example the predefined Volume
  2731.           Accumulation/Distribution indicator, AD(), is defined as:
  2732.             ((Close - Low) - (High - Close) / (High - Low) ) * Volume + "the
  2733.                value of yesterdays calculation"
  2734.           In Version 1.2 of Parity there is no way to reference "the value of
  2735.           yesterdays calculation" before all the elements of the array are
  2736.           calculated.  This feature will be implemented in the Custom
  2737.           Function feature in the future.
  2738.           Note that it is easy to reference the previous value of an array
  2739.           once it has been calculated using the [-x] array notation, you
  2740.           simply can't do it while its being calculated.  This is equivalent
  2741.           to MetaStock's ref( data array, period) function but is much more
  2742.           powerful and direct.
  2743.        4  Parity does not perform any error checking on user defined formulas
  2744.           before it executes them.  If you attempt to plot a formula with an
  2745.           error in it Parity will issue a cryptic error message and appear to
  2746.           hang.  To resume the program simply hit the up arrow key and close
  2747.           the error message.
  2748.        
  2749.   Examples of Valid Formulas
  2750.        
  2751.             AD()
  2752.             MOV(C, 20, "S")
  2753.             Stoch(5, 3, 3, "E")
  2754.             (H - L) / C
  2755.             ROC( RSI(14) , 10, "%" )
  2756.             (MOV(C,10, "E") > MOV(C, 40, "E") AND RSI(14) <= 70) * 2 - 1
  2757.             TSF(C, 21)[-1] <= TSF(C,21) AND TSF(C,21) >= TSF (C,21)[+1]
  2758.             C > 30
  2759.   
  2760.   Examples of Invalid Formulas
  2761.        
  2762.             x = H- L
  2763.             Stoch(5,3,3,"E") / C
  2764.             Any formula that results in division by 0.
  2765.             
  2766. Arrays versus Scalars
  2767.        
  2768.        Scalars contain a single value, such as 2.7 or 5.  Arrays contain
  2769.        multiple values, each element of which is addressed by an index.  Most
  2770.        of Parity's operators work equally well on arrays and scalars and the
  2771.        two can be mixed together in computations.  An array can contain a
  2772.        maximum of 8189 elements.
  2773.        
  2774.   Referencing Arrays
  2775.        
  2776.        There are several ways to refer to arrays and to their elements as
  2777.        shown below.
  2778.        
  2779.           V       The whole array        Where V is {2, 4, 6, 8, 10}
  2780.           
  2781.           V[x]    Element x of array V   V[4] would be {8}
  2782.           
  2783.           V[x:y]  Elements x to y of V   V[2:4] would be {4, 6, 8}
  2784.           
  2785.           V[-x]   V with elements shifted ahead by x units.  The valid range
  2786.           is also adjusted to match the shifted elements        V[-1] would
  2787.           be {?, 2, 4, 6, 8, 10}
  2788.           
  2789.           V[+x]   V with elements shifted back x units.  Elements shifted
  2790.           before x are discarded.        V[+1] would be {4, 6, 8, 10}
  2791.        
  2792.        The size of an array is the total number of elements it contains.  In
  2793.        the example above V's size is 5 element.  Arrays also have valid
  2794.        ranges and they do not have to be defined starting with index 1.  In
  2795.        our example the valid range of V[-1] is [2:6].  Index [1] of this
  2796.        array is undefined.
  2797.        
  2798.   Array Calculations
  2799.        
  2800.        All of Parity's operators and most of its predefined functions and
  2801.        indicators work on arrays.  The careful use of array shifting can
  2802.        permit you to create very powerful formulas using Parity.  For example
  2803.        to calculate the percent change of today's closing price versus two
  2804.        days ago you could use the formula:
  2805.        
  2806.           ( (C - C[-2]) / C[-2] ) * 100
  2807.        
  2808.        Or, to calculate the difference between a 14 day simple moving average
  2809.        and the closing price:
  2810.        
  2811.           C - MOV(C, 14, "S")
  2812.        
  2813.        Generally Parity is able to automatically compensate for the changes
  2814.        in size and valid range that occur in array calculations.  However it
  2815.        is conceivable that you might create a formula which tries to perform
  2816.        an operation on two arrays that don't have overlapping valid ranges
  2817.        and have different sizes.  In that case Parity will give you an error
  2818.        message when you try to execute the formula.
  2819.        
  2820. Predefined Variables
  2821.        
  2822.        Whenever Parity loads price data for a security it creates a number of
  2823.        predefined array variables that can be used in your formulas.  These
  2824.        variables include:
  2825.        
  2826.           H              Array of High Prices
  2827.           L              Array of Low Prices
  2828.           C              Array of Closing Prices
  2829.           V              Array of Trading Volume
  2830.        
  2831.        If the data file which is loaded includes open and open interest data
  2832.        Parity will also create these additional variables:
  2833.        
  2834.           O              Array of Opening Prices
  2835.           OI             Array of Open Interest
  2836.        
  2837.        Each element of these predefined variables contains data from the
  2838.        corresponding record in the data range that was loaded.  The first
  2839.        element is always the oldest record and the last element is the most
  2840.        recent record loaded.
  2841.        
  2842.   Predefined Variables for the First Security in a Group
  2843.        
  2844.        Parity also stores the price data for the first security in a group in
  2845.        a special set of predefined variables.  This lets you create formulas
  2846.        that perform spread or relative strength calculations.  These special
  2847.        variables include:
  2848.        
  2849.           FH             Array of High Prices of First Security in a Group
  2850.           FL             Array of Low Prices of First Security in a Group
  2851.           FC             Array of Closing Prices of First Security in a Group
  2852.           FV             Array of Trading Volume of First Security in a Group
  2853.           FO             Array of Opening Prices of First Security in a Group
  2854.           FOI            Array of Open Interest of First Security in a Group
  2855.        
  2856.        If the date range of the first security in a group is different from
  2857.        subsequent securities in a group, the use of these special variables
  2858.        will be misleading at best.
  2859.        
  2860.        The ChartFirstSecurity(type of chart) chart procedure can be used to
  2861.        plot a line, bar, or candlestick chart of the first security in any
  2862.        pane of a chart.
  2863.        
  2864.        If you Load a Security before you select a current group these Fx
  2865.        variables will be identical to the predefined variables for that
  2866.        security.  However, if the Fx variables are already defined they will
  2867.        not be overwritten, except when you select a new group.  This prevents
  2868.        "Undefined Variable" errors and gives you maximum flexibility in
  2869.        designing your studies.
  2870.        
  2871.        The Fx variables are extremely useful for charting spreads and
  2872.        relative strength comparisions.  Typically the first security in a
  2873.        group would be an index like the S+P 500 or the leading company in an
  2874.        industry.  You could then use a formula like
  2875.        
  2876.              C - FC
  2877.        
  2878.        to plot a spread or
  2879.        
  2880.             (C-C[1])/(FC - FC[1])
  2881.        
  2882.         to plot relative strength.
  2883.        
  2884.   Importing User Defined Variables
  2885.        
  2886.        Parity gives you the unique ability to import user defined variables
  2887.        using the Import Other Formats command.  These user defined variables
  2888.        will persist for the duration of your session with Parity and can be
  2889.        used just like predefined variables.  Note that Parity provides no
  2890.        error or range checking for user defined variables.  There is a
  2891.        special syntax which can make user defined variables more useful to
  2892.        you.  Let say you imported a variable called NYSEADVANCE which has 800
  2893.        data elements.  The data you are charting includes 101 data elements.
  2894.        Assuming the date of the last element of NYSEADVANCE is the same as
  2895.        the last day of your price data you could use the following command to
  2896.        include NYSEADVANCE in a formula correctly:
  2897.        
  2898.           NYSEADVANCE[EndValid(NYSEADVANCE) - 100 : EndValid(NYSEADVANCE)]
  2899.        
  2900.        To actually chart NYSEADVANCE you might also need to adjust its valid
  2901.        range by appending
  2902.        
  2903.           [ + (EndValid(NYSEADVANCE) - 100) ]
  2904.        
  2905.        To the formula above.    Obviously user defined variables are a
  2906.        powerful AND complex feature.  You will need to experiment to become
  2907.        familiar with this capability.  Please see the sections on Arrays
  2908.        versus Scalars, and Array Related Functions for more information on
  2909.        the use of the [ ] array operator and the StartValid and EndValid
  2910.        functions.
  2911.        
  2912. Operators, Parenthesis and Mathematical Precedence
  2913.        
  2914.        Formulas in Parity follow the normal conventions for the use of
  2915.        parenthesis and precedence to control the order in which mathematical
  2916.        operations are performed.  Parity also supports the normal
  2917.        mathematical operators available in most BASIC dialects including (in
  2918.        order of precedence):
  2919.        
  2920.           (  )           Parentheses
  2921.           [  ]           Array Brackets
  2922.           ^              Exponentiation
  2923.           - (unary minus)     Unary Minus
  2924.           * /            Multiplication and Division
  2925.           \              Truncated Division
  2926.           Mod            Modulus
  2927.           + -            Addition and Subtraction
  2928.           = <> > < >= <= Comparison
  2929.           Not            Logical Negation
  2930.           And            Logical And
  2931.           Or             Logical Or
  2932.           Xor            Logical Exclusive Or
  2933.           Eqv            Logical Equivalence
  2934.           Imp            Logical Implication
  2935.        
  2936.        With some rather complicated exceptions these operators can be used
  2937.        equally well with Scalar or Array values.  The Logical Operators
  2938.        consider a 0 value to be False and any non zero value to be True.
  2939.        Using a Logical Operator on an array will return an array of ones and
  2940.        zeros.
  2941.        
  2942. Arithmetic Operators
  2943.        
  2944.        Parity permits you to use all of the standard arithmetic operators in
  2945.        your formulas as shown below.
  2946.        
  2947.           A + B               Add B to A
  2948.           
  2949.           A - B               Subtract B from A
  2950.           
  2951.           A * B               Multiply A and B
  2952.           
  2953.           A / B               Divide A by B
  2954.           
  2955.           A ^ B               Compute AB
  2956.           
  2957.           A Mod B             Return the integer remainder of A / B
  2958.           
  2959.           A \ B               Truncated Division.  Divide A by B and discard
  2960.                               digits to the right of the decimal place.
  2961.           
  2962.           - A                 Negate A.  This is a unary operator
  2963.           
  2964. Comparison Operators
  2965.        
  2966.        The Comparison Operators compare two values which can be either an
  2967.        array or a scalar.  The comparison operators return 1 if the
  2968.        comparison is true or 0 if it is false.  Using a comparison operator
  2969.        with an array will return an array of 1's and 0's for each element in
  2970.        the array.
  2971.        
  2972.           A < B               If A is less than B the result is 1, and 0
  2973.                               otherwise.
  2974.           
  2975.           A <= B              If A is less than or equal to B the result is
  2976.                               1, and 0 otherwise.
  2977.           
  2978.           A <> B              If A is not equal to B the result is 1, and 0
  2979.                               otherwise.
  2980.           
  2981.           A = B               If A is equal to B the result is 1, and 0
  2982.                               otherwise.
  2983.           
  2984.           A > B               If A is greater than B the result is 1, and 0
  2985.                               otherwise.
  2986.           
  2987.           A >= B              If A is greater than or equal to B the result
  2988.                               is 1, and 0 otherwise.
  2989.           
  2990. Logical Operators
  2991.        
  2992.        Logical Operators work on true and false values.  Parity considers any
  2993.        non-zero value to be true and 0 to be false.  Logical Operators can be
  2994.        combined with comparison operators and other values to form a logical
  2995.        statement.  Using Logical Operators with arrays will return an array
  2996.        of 1's and 0's.
  2997.        
  2998.           A AND B             If A and B are both non-zero the result is 1.
  2999.                               Otherwise, the result is 0.
  3000.           
  3001.           A OR B              If A or B is non-zero the result is 1.
  3002.                               Otherwise, the result is 0.
  3003.           
  3004.           A XOR B             If A is non-zero and B is 0, or A is 0 and B is
  3005.                               non-zero, then the result is 1.  Otherwise, the
  3006.                               result is 0.
  3007.           
  3008.           NOT A               If A is non-zero, the result is 0.  If A is 0,
  3009.                               the result is 1
  3010.           
  3011.           A EQV B             If A and B are both non-zero, or A and B are
  3012.                               both 0, then the result is 1.  Otherwise, the
  3013.                               result is 0.
  3014.           
  3015.           A IMP B             If A is 0 or B is non-zero, the result is 1.
  3016.                               Otherwise, the result is 0.
  3017.           
  3018. Trigonometric Functions
  3019.        
  3020.        Parity supports the standard trigonometric and inverse trigonometric
  3021.        functions.  Angle measurements are in radians.
  3022.        
  3023.        Degree measurements are converted to radians by multiplying by the
  3024.        factor pi/180.  The value of Pi can be obtained using ACos(-1).
  3025.        
  3026.        Trigonometric functions will operate on either scalar or array values.
  3027.        
  3028.           Cos(data)           Computes the cosine of a value given in
  3029.                               radians.
  3030.           
  3031.           Sin(data)           Computes the sine of a value given in radians.
  3032.           
  3033.           Tan(data)           Computes the tangent of a value given in
  3034.                               radians.
  3035.           
  3036.           ACos(data)          Computes the arccosine of a value given in
  3037.                               radians.
  3038.           
  3039.           ASin(data)          Computes the arcsine of a value given in
  3040.                               radians.
  3041.           
  3042.           ATn(data)           Computes the arctangent of a value given in
  3043.                               radians.
  3044.           
  3045.           ATan2(Xdata, Ydata) Computes the tangent of a line from the origin
  3046.                               to a point.
  3047.           
  3048. Exponential Functions
  3049.        
  3050.        Parity includes a set of common exponential functions:
  3051.        
  3052.           Exp(data)           Computes ex
  3053.           
  3054.           Exp10(data)         Computes 10x
  3055.           
  3056.           Log(data)           Computes ln(x)
  3057.           
  3058.           Log10(data)         Computes log10(x)
  3059.           
  3060.           Sqr(data)           Computes x2
  3061.           
  3062.           Sqrt(data)          Computes the square root of a value.
  3063.           
  3064.        The logarithm of a number for a base other than e or 10 is computed
  3065.        with the following formula:
  3066.        
  3067.           Logbx = Log(x) / Log(b)
  3068.           
  3069.        The value of the constant e is calculated with the equation below:
  3070.        
  3071.           e = Exp(1)
  3072.           
  3073. Rounding Functions
  3074.        
  3075.        Rounding functions are used to adjust scalar or array data in a number
  3076.        of ways.
  3077.        
  3078.           Round(data)         Returns the nearest integer to a value
  3079.           
  3080.           Ceil(data)          Returns the smallest integral number >= the
  3081.                               value.
  3082.           
  3083.           Floor(data)         Returns the largest integral number <= the
  3084.                               value.
  3085.           
  3086.           Abs(data)           Returns the absolute value of a number.
  3087.           
  3088.           Sgn(data)           Returns the signum function of a number, i.e. 1
  3089.                               for 6 and -1 for -6.
  3090.           
  3091.           Bool(data)          Converts a number to a Boolean. Either 1 for a
  3092.                               non- zero value or 0.
  3093.           
  3094. Array Related Functions
  3095.        
  3096.        The Array Related Functions may operate on scalar parameters, though
  3097.        generally they are only meaningful for array values.  See the Arrays
  3098.        versus Scalars section for a more general discussion of arrays.
  3099.        
  3100.           StartValid(array)   Returns a scalar which is the index number of
  3101.                               the first element of the array.
  3102.           
  3103.           EndValid(array)     Returns a scalar which is the index number of
  3104.                               the last element of the array.
  3105.           
  3106.           RunTot(array)       Creates an array containing a running total of
  3107.                               the input array.
  3108.           
  3109.           Sum(array)          Returns the sum of all the elements in an
  3110.                               array.
  3111.           
  3112.           Product(array)      Returns the product of all the elements in an
  3113.                               array.
  3114.           
  3115.           Min(array)          Returns the smallest value in an array.
  3116.           
  3117.           Max(array)          Returns the largest value in an array.
  3118.           
  3119.           IF test THEN data1 ELSE data2 Returns data1 if test is true (non-
  3120.                               zero) or data2 if test is false (0).  If test
  3121.                               is an array this evaluation is done element by
  3122.                               element and the corresponding element in data1
  3123.                               or data2 is returned.  Arrays and scalars can
  3124.                               be mixed.
  3125.           
  3126. Statistical Functions
  3127.        
  3128.        Parity provides you with a number of statistical functions which you
  3129.        can use in the formulas you define.
  3130.        
  3131.           StatNorm(data, min, max) Normalizes an array to a specified range.
  3132.                               The smallest element in the array will be
  3133.                               mapped to min and the largest will be mapped to
  3134.                               max with all intermediate values linearly
  3135.                               scaled.
  3136.           
  3137.           StatPercent(data)   Computes the sum of all the elements in data
  3138.                               and returns an array containing data divided by
  3139.                               the sum.  Equivalent to data / Sum(data).
  3140.           
  3141.           StatRegress(data)   Computes a best fit least squares regression
  3142.                               line for data.  The result is an array filled
  3143.                               with values representing the Y values of the
  3144.                               regression line.
  3145.           
  3146.   Time Series Functions
  3147.        
  3148.        The following functions perform an operation, such as computing an
  3149.        average, involving an element of an array and the preceding N elements
  3150.        where N is determined by the parameter lengths.  Since lengths can be
  3151.        either a scalar or an array of the same size as data, it is possible
  3152.        for undefined values to occur in the middle of an array.  For example
  3153.        if element 4 of array lengths is 15.  This would mean that the fourth
  3154.        element was a function of the preceding 15 elements.  In this case the
  3155.        fourth element of the result, and all preceding elements, would be
  3156.        undefined.
  3157.        
  3158.           StatMovAvg(data, lengths)     Determines the moving average of an
  3159.                               array.  The ith element in the result will be
  3160.                               the average of the ith element and the
  3161.                               preceding N-1 elements, where N is the ith
  3162.                               element of lengths.  If lengths is a scalar, N
  3163.                               is always equal to lengths.
  3164.           
  3165.           StatMovMax(data, lengths)     Determines the moving maximum of an
  3166.                               array.
  3167.           
  3168.           StatMovMin(data, lengths)     Determines the moving minimum of an
  3169.                               array.
  3170.           
  3171.           StatMovTot(data, lengths)     Determines the moving total of an
  3172.                               array.
  3173.  
  3174. Part 7         File Formats Supported
  3175.        
  3176.        Parity directly supports 5 and 7 field MetaStock (and most CompuTrac)
  3177.        data files, 7 field ChartPro/MegaTech data files, and a variety of
  3178.        Comma Separated ASCII file formats.  You can also import data from
  3179.        Excel spreadsheets (3.0 or 2.1 formats but not 4.0), Lotus 123 WKS
  3180.        spreadsheets (but not the WRK, WK1 or WK3 formats), and a variety of
  3181.        tab and comma delimited formats (see Import Other Formats for more
  3182.        details).  The Parity Plus version of the program includes a very
  3183.        flexible Data Conversion utility that can convert to and from all of
  3184.        the above formats.
  3185.        
  3186.        Which format you should use to store your data will depend largely on
  3187.        how you acquire, maintain, and use your data files.  For example, the
  3188.        MetaStock format is widely supported by most dedicated data vendors
  3189.        and many software packages however it is bulky and very difficult to
  3190.        use with a program that doesn't support it.  The ChartPro format is
  3191.        not widely supported but it is concise, quick loading and easy to
  3192.        program for.  The Comma Separated format can be maintained with any
  3193.        text editor and most spreadsheets can import and export it without any
  3194.        trouble.
  3195.        
  3196. The MetaStock/CompuTrac Format
  3197.        
  3198.        The MetaStock/CompuTrac format dates from the late 1970's and is
  3199.        widely supported by most data vendors.  Its prevalence and the fact
  3200.        that it incorporates information on the name, symbol, period, and date
  3201.        range are its primary advantages.  However the MetaStock/CompuTrac
  3202.        format also has a number of disadvantages.  The files use the
  3203.        antiquated Microsoft Binary Format to store numbers and the data must
  3204.        be converted to IEEE floating point format.  This makes MetaStock
  3205.        files slower to load.  You can only have 255 MetaStock data files in a
  3206.        single directory.  For historical reasons the MetaStock format
  3207.        requires a second F*.DOP file.  Although this file is only about 65
  3208.        bytes in actual size most disk drive formats can only allocate space
  3209.        to a file in 4096 byte chunks.  Consequently, 255 data files take up
  3210.        about 1 MB of extra disk space for no reason.
  3211.        
  3212.        Parity supports 5 and 7 field MetaStock data files.  The program does
  3213.        not support MetaStock composite securities which are ignored.  The
  3214.        MetaStock file format is a subset of the original CompuTrac file
  3215.        format.  Most standard 5 and 7 field CompuTrac files should work with
  3216.        Parity.  The 6 field CompuTrac format is not supported.
  3217.        
  3218.        A detailed specification of the MetaStock file format is beyond the
  3219.        scope of this documentation and the full specification for all the
  3220.        variations of the CompuTrac format is even more complicated.  Very
  3221.        briefly the format requires a file called MASTER which contains the
  3222.        information on the security's name and symbol etc.  The actual price
  3223.        data is stored in files named F*.DAT.  These F*.DAT files will be
  3224.        numbered from 1 to 255.  The file format only permits a maximum of 255
  3225.        data files in a single directory.  The file format also calls for a
  3226.        corresponding F*.DOP file for each F*.DAT file.  Parity does not
  3227.        require the F*.DOP files but other programs using this file format
  3228.        may.
  3229.        
  3230. ChartPro File Format
  3231.        
  3232.        The ChartPro format was created by the developer of the ChartPro and
  3233.        MegaTech charting programs.  Although this file format isn't widely
  3234.        supported by dedicated data vendors, there are a number of shareware
  3235.        and quasi commercial programs available which can create and update
  3236.        these files from daily quotes downloaded from general information
  3237.        services like Prodigy, GEnie, and Dow Jones News/Retrieval.  The most
  3238.        popular of these programs appear to be PML, StockWatch 6.0, Pro$tock,
  3239.        and PDL.  The author's of all of these programs offer support on the
  3240.        Money Talk BBS of the Prodigy service.
  3241.        
  3242.        For users that are interested in developing programs to create or
  3243.        maintain price data files themselves the ChartPro/MegaTech file format
  3244.        is a good choice.  Although the current ChartPro format doesn't
  3245.        include as much information about the underlying security as the
  3246.        MetaStock format it is much simpler and ChartPro files are processed
  3247.        more quickly by Parity.
  3248.        
  3249.        ChartPro format files consist of daily records that are each 26 bytes
  3250.        long.  The first two bytes are an integer value representing the date.
  3251.        The next 24 bytes are 6 four-byte single precision IEEE floating point
  3252.        fields for the open, high, low, close, volume and open interest in
  3253.        that order.  The first 2 records or 52 bytes are ignored by Parity for
  3254.        compatibility with future versions of MegaTech.  The date numbering of
  3255.        ChartPro files is somewhat unusual.  ChartPro assigns a value of 1 to
  3256.        January 1, 1983.  Add 1 for each subsequent day including weekends and
  3257.        leap years.  For periods prior to 1983 use negative numbers
  3258.        subtracting 1 for each day of the year.  In order to be recognized by
  3259.        Parity, ChartPro format files must end with the .PRO extension.
  3260.        Generally the first 8 letters of the file name are the security's
  3261.        symbol.
  3262.        
  3263. Comma Separated ASCII Files
  3264.        
  3265.        Parity directly supports a variety of different types of comma
  3266.        separated or delimited ASCII text files.  The advantages of this
  3267.        format are that is can be imported or exported by almost every
  3268.        spreadsheet and database program on the market and it is easily
  3269.        maintained using any text editor.  The primary disadvantage of this
  3270.        format is that text files are a fairly bulky way of storing numeric
  3271.        information.
  3272.        
  3273.        Parity supports comma delimited files in the following formats:
  3274.        
  3275.        date,close
  3276.        date,close,volume
  3277.        date,high,low,close
  3278.        date,high,low,close,volume
  3279.        date,open,high,low,close,volume
  3280.        date,open,high,low,close,volume,open interest
  3281.        
  3282.        Parity expects dates to be formatted as MM/DD/YY (leading zeros are
  3283.        optional) or YYMMDD.  The dates must not be enclosed in quotes.  For
  3284.        example 5/21/92 will be correctly imported while "5/21/92" will cause
  3285.        an error.  The price data must be in integer or decimal format.  For
  3286.        example 35 or 35.5 will work but 35 1/2 will not.
  3287.        
  3288.        Each line of the text file represents a single date or record and each
  3289.        line must end with a carriage return or carriage return and line feed.
  3290.        The fields must be in the format and order shown above, and each field
  3291.        is separated by a comma.  Leading spaces are ignored.  The file must
  3292.        not contain any headers or extraneous text.
  3293.        
  3294.        Parity automatically detects the number of fields in the file by
  3295.        counting the number of commas in the first line of the file.  If the
  3296.        first line of the file is longer than 70 bytes or contains the
  3297.        incorrect number of characters Parity will be unable to load the file.
  3298.        Parity will automatically create the appropriate high, low, and volume
  3299.        data arrays for files with less than 5 fields.  These arrays will be
  3300.        filled with zeros.  Similarly, a 6 field file will cause Parity to
  3301.        create an openinterest data array filled with zeros.  If Parity
  3302.        doesn't recognize the data in a field as a number it will set that
  3303.        data element to zero.
  3304.        
  3305.        Parity permits comma separated ASCII files to have any name or
  3306.        extension.  We suggest you use a standard convention when you name
  3307.        your files.
  3308.        
  3309.        Because Parity can only load 8100 data records and ASCII files have no
  3310.        set record length, Parity will not load ASCII files that are larger
  3311.        than 250 KB.
  3312.        
  3313.        You can use Parity Plus' Data Conversion command to convert a number
  3314.        of other ASCII formats to standard comma delimited ASCII files or any
  3315.        of Parity's other supported file types.
  3316.  
  3317. Part 8         Odds and Ends
  3318.        
  3319.        The odds and ends section includes information on printing, some known
  3320.        problems with Parity and optimizing the program for speed.
  3321.        
  3322. Printing Charts
  3323.        
  3324.        There are three ways you can print a chart.
  3325.        
  3326.        1  Use File Print to print the a chart if it is the current window.  A
  3327.           window is current when the title bar of the window is blue.  This
  3328.           will print the chart as it is displayed.  If the chart's window is
  3329.           small then it will print a smaller chart than if the window is
  3330.           large.  A chart that has been maximized may not fit within the
  3331.           margins of your printer.  File Print provides the least control
  3332.           over how the chart is printed.
  3333.        
  3334.        2  Use the Print Tool.  When you select the Print Tool from the Tool
  3335.           Bar a dialog box will pop up asking if you would like to print the
  3336.           chart "As Displayed", i.e., the way File Print does, or "Full
  3337.           Size."
  3338.        
  3339.           Full Size is the default and it will print your chart to fit the
  3340.           size of the page.  To print a chart just click anywhere within the
  3341.           chart while the Print Tool is active.  Parity also gives you the
  3342.           option of including or excluding the title bar of the chart window
  3343.           as the header for the print out.  You would probably choose not to
  3344.           print the title bar as the header if you had selected the Chart
  3345.           Titles at Top format from the Options Editor.
  3346.        
  3347.        3  Check the "Print Each Chart" option in the Select a Group dialog.
  3348.           This prints a chart each time it is created.  The chart will be
  3349.           printed according to the same settings as the Print Tool.
  3350.        
  3351.        Use File Printer Setup or the Printer Setup button on the Printer Tool
  3352.        dialog to select the device to print to and adjust the orientation of
  3353.        the page.
  3354.        
  3355.        Printing Caveats
  3356.  
  3357.        Windows prints slowly.  Graphics print very slowly.  Unfortunately
  3358.        there is nothing we can do to improve Window's printing speeds.
  3359.        However, Windows 3.1 prints much faster than Windows 3.0.  A product
  3360.        called SuperPrint from Zenographics claims to accelerate graphics
  3361.        printing from Windows but we have never used it.
  3362.        
  3363.        How charts print depends on the printer driver you use.  The Hewlett
  3364.        Packard LaserJet II driver prints everything in black and inexplicably
  3365.        prints some High, Low Close bars as a dashed rather than a solid line.
  3366.        Postscript printers try to show colors with shading and the results
  3367.        are usually less than satisfactory.  The Epson printer driver is
  3368.        exceptional.  Printing is fast and the printed graph is very accurate.
  3369.        
  3370.        If you have a Laser Printer you may run into problems with inadequate
  3371.        memory to print full page charts.  We are unable to print charts full
  3372.        page using a LaserJet II with only 512 KB.  With 1.5 MB, the LaserJet
  3373.        II prints fine.  This is a limitation of the printer, not Parity.
  3374.        
  3375.        If you are using a high resolution printer you may find that
  3376.        candlestick charts print the candles too thinly.  You can use the
  3377.        Chart Preferences command in the Options menu to increase the
  3378.        thickness of the candlesticks.
  3379.        
  3380. Windows 3.0 System Resources
  3381.        
  3382.        The following discussion of System Resources refers specifically to
  3383.        Windows 3.0.  Windows 3.1 usually doubles or triples the System
  3384.        Resources that are available.  We strongly recommend that you upgrade
  3385.        to Windows 3.1.
  3386.        
  3387.        System Resources or Program Resources refers to a 64K byte segment of
  3388.        memory where Windows maintains the USER and GDI heaps which include
  3389.        information on all the Windows applications that are currently
  3390.        running.  Regardless of the amount of memory you have installed,
  3391.        Windows still includes this 64K constraint on the total System
  3392.        Resources that are available to ALL the Windows applications that are
  3393.        running.
  3394.        
  3395.        Every window, icon, menu, bit map, and chart etc. consumes some
  3396.        percentage of these System Resources.  Selecting the Help About
  3397.        command from the Program Manager will tell you what percentage of
  3398.        System Resources is available at any given time.  Note that running
  3399.        the Program Manager or the Norton Desktop Utilities often consume as
  3400.        much as 40% of total System Resources.  Deleting unused icons and
  3401.        program groups will free up these resources.
  3402.        
  3403.        Because of the complexity of some of its dialog boxes Parity is also a
  3404.        resource hog.  With no charts displayed, but using the Create/Modify
  3405.        Studies dialog, Parity consumes 30% of the System Resources.  Each
  3406.        chart Parity displays typically requires an additional 1.5-2% of these
  3407.        System Resources.
  3408.        
  3409.        Generally, you encounter a problem with System Resources when a large
  3410.        number of charts are displayed and you then open the Create/Modify
  3411.        Studies dialog box.  You may also have a problem if you try to have
  3412.        multiple Windows applications open at one time.  Unfortunately,
  3413.        Windows doesn't provide any particular error message for no more
  3414.        resources.  You will simply be unable to open a dialog box or create a
  3415.        chart.  The more you try the worse it gets since partially created
  3416.        charts and dialog boxes will continue to take up more and more memory.
  3417.        We suggest you save all your studies, groups, batches and clusters and
  3418.        restart Parity.
  3419.        
  3420.        On occasion, System Resources will be so low that Windows, and
  3421.        therefore Parity, will start to crash.  If this happens you may need
  3422.        to do a CTRL-ALT-F2, which will wipe all of Parity's charts and
  3423.        variables from memory.  If you do this you will lose any unsaved
  3424.        studies, groups and clusters and you will need to restart Parity.
  3425.        
  3426. System Requirements and Execution Speed
  3427.        
  3428.   Minimum System Requirements
  3429.        
  3430.        Parity requires Windows 3.x set in VGA or higher display mode, running
  3431.        on an 80286/80386/80486 IBM compatible computer with at least 2 MB of
  3432.        memory and 1 MB of free disk space.  Parity will perform best on a
  3433.        80486 DX  or a 33 MHz 80386 DX computer equipped with a math
  3434.        coprocessor and 8 MB of memory.  Parity takes full advantage of high
  3435.        resolution displays and 17 or 20 inch monitors.  Parity is compatible
  3436.        with OS/2 2.0 when it is run as a Windows application
  3437.        
  3438.   Maximizing Execution Speed
  3439.        
  3440.        Depending on your perspective Parity is either fast or very slow.  For
  3441.        a DOS program Parity is very slow.  Its execution speed pales in
  3442.        comparison to similar programs like MetaStock, ChartPro, or CompuTrac.
  3443.        However, relative to other graphics intensive Windows programs such as
  3444.        Corel Drawtm, Ventura Publishertm, or Publishers Paintbrushtm, Parity
  3445.        compares quite favorably.
  3446.        
  3447.        While every effort has been made to optimize Parity's execution speed
  3448.        there are inevitably two factors that make it (and every other Windows
  3449.        application) slow compared to their DOS equivalents.  The first is the
  3450.        processing overhead required by Windows' multitasking operating
  3451.        system.  Secondly, Parity is graphically processor intensive.  This
  3452.        also consumes significant CPU cycles.
  3453.        
  3454.        Finally, Parity performs calculations on large data arrays.  Each time
  3455.        you create a chart is equivalent to recalculating a large spreadsheet
  3456.        filled with formulas.
  3457.        
  3458.        What to do?
  3459.        
  3460.        The first thing is that Parity is not intended to run on 80286 or 16
  3461.        MHz 80386 computers.  If that is  your hardware configuration nothing
  3462.        we suggest is likely to make Parity perform adequately.  If you do
  3463.        have adequate hardware and would like Parity to perform faster here
  3464.        are a few suggestions in order of their importance.
  3465.        
  3466.        1  Upgrade to Windows 3.1 if you are using Windows 3.0.  Windows 3.1
  3467.           runs Parity noticeably faster and provides faster printing and
  3468.           greater System Resources.
  3469.        
  3470.        2  Install a Math Coprocessor.  Unlike most programs Parity makes full
  3471.           use of a Math Coprocessor when it calculates the result of a
  3472.           formula or loads a data file.  A math coprocessor will increase the
  3473.           speed of these operations , which can involve tens of thousands of
  3474.           floating point calculations, 3-5 fold.  Best of all, math
  3475.           coprocessors are cheap and easy to install.
  3476.        
  3477.        3  Make sure you have at least 4 MB of available memory on your
  3478.           computer, i.e. memory not devoted to disk caches etc.  Studies have
  3479.           shown that 8 MB is the optimal memory configuration for Windows 3.x
  3480.           from a speed standpoint.
  3481.        
  3482.        4  If screen redraws are a problem buy a new graphics card with an
  3483.           accelerator or coprocessor chip optimized for Windows.  These cards
  3484.           cost $300 to $500 and have display resolutions up to 1280x1024
  3485.           pixels.
  3486.        
  3487.        5  Upgrade your motherboard.  This is technically more challenging but
  3488.           an excellent AMI Baby Voyager 80486 motherboard can be purchased by
  3489.           Mail Order for about $1100 dollars.  Based on our own experiences,
  3490.           we do not advise you to buy off-brand motherboards.  We do not
  3491.           recommend 80386 SX or 80486 SX computers.
  3492.        
  3493.        6  The best enhancement we ever made to our computers was to go to 17"
  3494.           flat screen 1024x768 non-interlaced monitors.  This won't enhance
  3495.           the speed of Parity at all but we guarantee you will find a whole
  3496.           new pleasure in running any Windows program.
  3497.        
  3498.        7  Parity is relatively insensitive to your hard disk speed but, if
  3499.           you don't have a disk cache installed, we strongly recommend that
  3500.           you install the SmartDrive cache that comes with Windows 3.x and
  3501.           DOS 5.0 or buy Super PC-Kwik 4.13 from MultiSoft.
  3502.        
  3503.        Additional Factors
  3504.        
  3505.        The XOPointFigure() and DBarPointFigure() procedures and the SAR() and
  3506.        ZIG() functions have not been optimized for speed in the 1.2 Version
  3507.        of Parity.  They will be optimized in a future release.
  3508.        
  3509. Problems and Solutions
  3510.        
  3511.        Although Parity is as bug free as possible, there are a few things
  3512.        that may cause problems.  In particular, Parity performs no error
  3513.        checking on the formulas in a study before it attempts to chart a
  3514.        study.  This causes two problems if you make an error in a formula.
  3515.        
  3516.   The Hour Glass Cursor
  3517.        
  3518.        If a study has an invalid formula, Parity gives an error message when
  3519.        it attempts to chart the study.  In most cases, Parity will not have
  3520.        reset the Hour Glass Cursor for the mouse.  When the Hour Glass Cursor
  3521.        is set, all commands and mouse clicks are disabled.  To reset the
  3522.        cursor hit the up arrow key on your keyboard.
  3523.        
  3524.   Incomplete Charts and System Resources
  3525.        
  3526.        When Parity encounters an error in a study, it has already begun
  3527.        constructing a chart, but is stopped before the chart can be
  3528.        displayed.  It is not possible to close this chart and free up the
  3529.        System Resources it consumes.  Since each chart only consumes 1.5-2%
  3530.        of the System Resources this isn't a problem in and of itself.
  3531.        However, if you have created a large number of partial undisplayed
  3532.        charts, you may find your self running out of resources.  The only
  3533.        solution is to exit Parity (and possibly Windows) and restart.
  3534.        Remember to save any studies, groups, clusters and batches you may
  3535.        have created or modified.
  3536.        
  3537.   Other Problems
  3538.        
  3539.        If you attempt to display a cluster created for a higher resolution
  3540.        display the effects will be unpredictable.  In many cases the Tool Bar
  3541.        will be locked onto a new screen position.  This can also happen if
  3542.        you move a chart partially off the "desktop" and then use the scroll
  3543.        bars to view it and the perform a Window Cascade or Tile command.  In
  3544.        either case you should simply recreate the tool bar using the commands
  3545.        on the Options Menu.
  3546.        
  3547.        Also, note that a maximized chart is restored to its previous size
  3548.        when you open a dialog box or display another chart.  If the Tool Bar
  3549.        is hidden behind a maximized chart, use the Window Menu to select the
  3550.        "TBar" window.
  3551.  
  3552. Appendix
  3553.        
  3554. Data Vendors
  3555.        
  3556.        Version 1.2 of Parity does not include any utilities for collecting
  3557.        price data or automatically updating data files.  If you are upgrading
  3558.        to Parity from another technical analysis program you should continue
  3559.        to use whatever data collection and file maintenance utilities you are
  3560.        comfortable with.  If your price data is not in the
  3561.        MetaStock/CompuTrac, ChartPro/MegaTech, or comma delimited ASCII
  3562.        formats Parity supports please contact us.  If you are able to provide
  3563.        sufficient information on the file format you are currently using we
  3564.        may choose to include file compatibility with your data format in a
  3565.        future version of Parity.
  3566.        
  3567.        If you do not own any utilities for collecting and maintaining price
  3568.        data you have several alternatives.  You can manually maintain price
  3569.        data files in Excel, Lotus 123 WKS, comma separated value (CSV) or tab
  3570.        separated value files and use Parity's Import Other Formats command to
  3571.        chart the data in these files.  However, you will not be able to
  3572.        include these files in a Group and using Parity will generally be more
  3573.        cumbersome than if your data is in one of the supported formats.
  3574.        
  3575.        A number of third party utilities exist which can create or maintain
  3576.        price data files in MetaStock or ChartPro formats.  One of the best
  3577.        general purpose tools is the Prodigy MetaStock Loader (PML).  PML is a
  3578.        shareware program which can convert ASCII text files into MetaStock
  3579.        data files.  PML will also update and maintain your existing data
  3580.        files from data downloaded from on-line services like CompuServe,
  3581.        Genie, Prodigy, and Dow Jones News/Retrieval.  The latest version of
  3582.        PML can be downloaded from the FlexSoft BBS at (510) 829-2293.  The
  3583.        cost of registering the software is $30.  ParTech Software Systems will
  3584.        also provide PML on a diskette for a $5 shipping and handling fee.  We
  3585.        cannot provide any support for using PML.
  3586.        
  3587.        Most of the Price Data Vendors listed below also offer software which
  3588.        can be used to access their data service and download price data into
  3589.        MetaStock data files.  Each vendor's service is different and we
  3590.        suggest you contact them directly for information on the capabilities
  3591.        and current pricing of there products.
  3592.        
  3593.   General Information Services
  3594.        
  3595.        CompuServe, Inc.
  3596.        P.O. Box 20212
  3597.        5000 Arlington Centre Blvd.
  3598.        Columbus, OH 43220
  3599.        (800) 848-8199
  3600.        (614) 457-8650
  3601.        
  3602.        GEnie
  3603.        401 North Washington Street
  3604.        Rockville, MD 20850
  3605.        (800) 638-9636
  3606.        Current quotes only.
  3607.        
  3608.        Prodigy Service Company
  3609.        P.O. Box 791
  3610.        White Plains, NY  10601
  3611.        (800) 284-5933
  3612.        Current quotes only.
  3613.        
  3614.        Dow Jones News/Retrieval
  3615.        P.O. Box 300
  3616.        Princeton, NJ  08543
  3617.        (609) 452-1511
  3618.        
  3619.        
  3620.        
  3621.   Price Data Vendors
  3622.        
  3623.        Commodity Systems, Inc. (CSI)
  3624.        200 W. Palmetto Park Road
  3625.        Boca Raton, FL  33432
  3626.        (800) 327-0715
  3627.        (407) 392-8663
  3628.        Commodity and stock data.  Relatively expensive but comprehensive and
  3629.        high quality.
  3630.        
  3631.        Genesis Financial Data Services
  3632.        P.O. Box 49578
  3633.        Colorado Springs, CO  80949
  3634.        (719) 260-6111
  3635.        
  3636.        Historical Data Services
  3637.        5054 main Street, # 730
  3638.        Kansas City, MO  64112
  3639.        (800) 677-7369
  3640.        Inexpensive stock data with free trial.  MetaStock or ASCII formats.
  3641.        
  3642.        Stock Data Corp.
  3643.        905 Bywater Road
  3644.        Annapolis, MD  21401
  3645.        (301) 280-5533
  3646.        Only Stock Data.  Weekly diskette or daily updating for the entire
  3647.        stock market.
  3648.        
  3649.        Technical Tools
  3650.        334 State Street, Suite 201
  3651.        Los Altos, CA  94022
  3652.        (800) 231-8005
  3653.        (415) 948-6124
  3654.        Commodity and stock data.
  3655.        
  3656.        Tick Data, Inc.
  3657.        720 Kipling Street, Suite 115
  3658.        Lakewood, CO  80215
  3659.        (800) 822-8425
  3660.        (303) 232-3701
  3661.        Mostly commodity data.  Data Base includes tick data for every trade.
  3662.        
  3663.        Warner Computer Systems, Inc.
  3664.        17-01 Pollitt Drive
  3665.        Fair Lawn, NJ  07410
  3666.        (800) 336-5376
  3667.        (201) 797-4633
  3668.        No software for updating files
  3669.        
  3670.        Worden Brothers
  3671.        4905 Pine Cone Drive, # 10-12
  3672.        Durham, NC  27707
  3673.        (800) 776-4940
  3674.        Relatively inexpensive but won't directly update files.  Use PML.
  3675.        
  3676. Other Resources
  3677.        
  3678.        An excellent source of information on technical analysis is the
  3679.        magazine, Technical Analysis of Stocks & Commodities.  TASC can be
  3680.        difficult to find on a newstand but you can get a sample copy by
  3681.        calling 1-(800) 832-4642.
  3682.        
  3683.        The Traders Press offers a comprehensive catalog of books on the Stock
  3684.        Market and Technical Analysis.  You can reach them at 1-(800) 927-8222
  3685.        or at 1-(803) 298-0222.
  3686.        
  3687.        The Farpoint BBS offers a free source of historical stock data.  Call
  3688.        1-(312) 274-6128 to log on.  Farpoint gives you 120 minutes of free
  3689.        time daily.  They have historical data files on hundreds of stocks and
  3690.        you can use PML to convert Farpoint's ASCII data files to the
  3691.        MetaStock format.
  3692.        
  3693.        The Market Technicians Association BBS is an excellent source of
  3694.        advanced technical analysis information and discussion.  Log on at 1-
  3695.        (914) 478-7311.  Other good on-line sources for information and
  3696.        discussion on investing include the INVFORUM on CompuServe and Money
  3697.        Talk on Prodigy.
  3698.        
  3699.