You are on page 1of 245

ProTA

User Manual
For Mac OS X
Version 3.0

BeeSoft
2007, BeeSoft

Contents
Legal Getting Started Quotes Database Universal Text Importer (UTI) Dial Data Charts Indicators Line Studies Portfolios Portfolio Columns Custom Indicators Trading Systems Database Scanning Gold Language Preferences 3 4 14 29 42 49 74 129 136 147 164 168 189 194 239

Legal
License Agreement and Disclaimer
Read the following before using this software. If you do not agree to the terms and conditions in this agreement, promptly return the software to the original place of purchase for a refund. By using this software you agree to the following terms and conditions: BeeSoft retains title to and ownership of all the products contained herein. You may make archival copies for personal backup purposes only. You may not rent or lease the program. You may not re-sell or transfer your rights without the express written permission of BeeSoft.

BeeSoft warranties that the enclosed programs will perform generally in compliance with the included documentation but BeeSoft does not warrant that the program and manuals are free from all programming bugs, errors, or omissions. The user will assume the entire risk of using the programs. Any liability will be limited exclusively to the replacement of the product or a refund of the original purchase price. In no event will BeeSoft be liable to you for damages, including any loss of profits, lost revenues, lost savings, lost data, or any other incidental or consequential damages arising out of the use of the program. Even though BeeSoft has tested the software and reviewed the documentation, BeeSoft makes no warranty or representation, either expressed or implied, with respect to software, its quality, performance, merchantability, or fitness for a particular purpose. As a result, this software is sold "asis," and you, the purchaser, are assuming the entire risk as to the quality and performance. The products contained in this package are proprietary products of BeeSoft and are protected by international copyright law. All rights reserved. ProTA User Manual Information in this document is subject to change without notice and does not represent a commitment on the part of BeeSoft.

Trademarks
ProTA and ProTA Gold are trademarks of BeeSoft. Macintosh, Finder, Safari are trademarks of Apple Computer, Inc. Microsoft, Excel, Word are trademarks of Microsoft Corporation. Quicken is a trademark of Intuit, Inc. All other products and logos mentioned in this documentation are trademarks of their respective owners.

Getting Started
Welcome
Thank you for selecting ProTA / ProTA Gold for Mac OS X. ProTA (pronounced Pro Tee A) is a market charting and technical analysis program written exclusively for the Macintosh family of computers. ProTA was designed from the ground up to take full advantage of the elegant Macintosh interface. A combination of modern programming techniques, OS X compliant interface design, and close attention to our customers feedback has resulted in software that truly represents the state-of-the-art in Macintosh-based investment software. ProTA balances "powerful features" and "ease-of-use" in a way that both beginners and seasoned traders will appreciate. In fact, ProTA is so easy to use, you may be tempted to skip this manual altogether. We recommend, however, that you set aside time to review the entire manual. You'll be much better prepared to command ProTA's features, make better trades, and improve your profitability. At a minimum, new users should read the complete Getting Started chapter. If you are upgrading from a previous version of ProTA, a separate document Transitioning from ProTA Classic highlights the major changes and new features in ProTA for OS X. Tip. You can access these manuals from within ProTA by clicking the Help menu in the menubar.

About This Manual


This ProTA User Manual is a combined reference for both ProTA and ProTA Gold software. Throughout the manual, the term ProTA refers to either software, though ProTA users should note that Custom Indicators, Trading Systems, Database Scanning and the Gold Language are features only present in the ProTA Gold version of the software. This manual assumes some familiarity with the overall Macintosh interface as well as a basic understanding of the markets and technical analysis. While the ProTA User's Manual attempts to explain all features in full detail, neither ProTA nor this manual is intended to be a complete tutorial for market technical analysis. ProTA is an acronym for Professional Technical Analysis. Several of ProTA Golds pro features, Custom Indicators, Trading Systems and Database Scanning, may be beyond the immediate reach of the budding technical analyst. If you are new to technical analysis software such as ProTA Gold, we recommend learning the basics of the software before moving on to these advanced techniques.

Enjoy!

System Requirements
To use ProTA, you'll need the following equipment and software: Mac OS X version 10.3 or higher. 100MB of hard drive space for the installation plus associated data. A G4, G5 or Intel processor, 1Ghz or higher. A display with minimum resolution width of 1280 pixels.

Installing ProTA
1. Download the latest version of ProTA or ProTA Gold from www.beesoft.net. 2. The software package is provided as a disk image (dmg) file. If you are using Apples Safari web browser, the disk image is automatically mounted after it has been downloaded. If you are not using Safari, or the disk image fails to mount, simply double-click on the downloaded dmg file to mount it. 3. Double-click the ReadMe document for the latest release information. Drag the ProTA icon on the left onto the Application folder on the right. This will copy the ProTA application from the disk image to the Applications folder on your hard drive.

4. Open your Applications folder, then double-click the ProTA / ProTA Gold icon to launch the program. Tip. When you are done installing from the disk image, you can safely eject the disk image. Click the small white icon in the middle of the windows title bar and drag it to the Trash.

ProTA Welcome and Registration Window


When an unregistered ProTA program is launched, you are greeted with the Welcome window:

Free Trial Mode


If you have not purchased a registration code, click the Trial Mode button to use the program in Free Trial Mode. Free Trial Mode: Installs a 2 year historical database for the 30 Dow stocks, plus AAPL (Apple Computer) and SPX (S&P 500 Index). Is identical to the registered version with one exception: your database is always limited to tracking the 30 Dow stocks plus AAPL and SPX. Otherwise, all features are fully functional for your evaluation.

Registering
Visit www.beesoft.net to purchase a registration code. Click the Register button.

Enter the name and serial number exactly as it was provided to you, then click the Register button in the lower right. Keep your registration information in a safe and private place! You may need it again for future installations and upgrades.

Starter Database
Once registered, you have the option of Upgrading an old ProTA Classic database, or installing a small Starter Database.

Upgrade. If you are a previous owner of ProTA or ProTA Gold Classic (Mac OS 9), you can upgrade most of the files from the older program for use in ProTA for OS X. Please see the separate document Transitioning from ProTA Classic for step-by-step upgrading instructions.

Starter Database. If you are new to ProTA or you do not wish to convert any old ProTA Classic files, click the Starter Database button to install a 2 year historical database for the 30 Dow stocks, plus AAPL (Apple Computer) and SPX (S&P 500 Index). This will give you some data to immediately start working with during your initial explorations with the program. Close. The Upgrade and Starter Database are optional. Click Close to dismiss this window and enter the program as-is. Tip. You can always get back to this window by choosing ProTA Welcome and Registration from the ProTA / ProTA Gold menu in the menubar.

ProTA Files
The entire ProTA installation consists of 3 items: 1. ProTA application. The application can reside anywhere, though your Applications folder is probably the best location. 2. com.beesoft.prota.plist file. This is the Preferences file, located at: ~/Library/Preferences/com.beesoft.prota.plist 3. ProTA folder. Contains all of your data files and saved work and is located at: ~/Library/Application Support/ProTA The ~ in the above file paths represents your OS X Home folder. The path to your Home folder is <Your Startup Disk>/Users. Important. ProTA places your data files in specific locations within the ProTA folder structure. It is important that you do not rename or relocate any of the files or folders residing in the ProTA folder. All file maintenance can be easily administered from within the program. Tip. Your ProTA folder can potentially consume many megabytes of hard disk space as your database grows. You can relocate the entire ProTA folder to another (larger) hard drive by moving the entire folder, then making an alias of the new folder and placing the alias at the default location (~/Library/Application Support) in place of the original ProTA folder. (The alias file must be named ProTA, just like the original folder.)

Uninstalling ProTA
To completely remove ProTA from your hard drive, simply drag the above 3 items to the Trash.

Backing Up Your Work


On a periodic basis, it is a good idea to make a backup copy of the ProTA related files that reside on your hard drive. To backup your ProTA work, drag the preferences file and ProTA folder (listed as items 2 and 3 above) to your backup medium.

ProTA Workspace
The ProTA workspace was designed to provide fast and intuitive access to all of ProTAs features. This section covers the basic elements of the ProTA workspace and workflow.

Window Arrangement
As with most Mac OS X applications, you are free to move and arrange ProTA windows as desired. The program initially defaults to a window arrangement aimed at maximum productivity:

1. File Browser. A persistent floating tool window that provides access to and administrative duties for all of the files in your ProTA database. 2. Inspector. A persistent floating tool window that provides feedback and dynamic editing for the selected element within any chart. 3. Work Area. The remaining screen space is reserved for working with ProTAs nonfloating windows and documents such as Chart Suites and Portfolios. The File Browser and Inspector windows are unique in that they are the only floating windows in the program and they are intended to remain open at all times in a relatively fixed location. Youll work with a wide variety of documents and window types in the Work Area. The arrangement of such windows is unrestricted, but following is a suggested arrangement to keep your work area well organized: Flush Left: Chart Suites, Portfolios, UTI Settings Database.

Flush Upper-Right: TickerPicker, Function Library, Dial Data, UTI Queue, Trading System Results, Holidays, Mappings, Notes. Flush Lower-Right: Quote windows, Custom Indicators, Trading Systems, Database Scans. Centered. Preferences, UTI Import windows, Audit, Welcome. This is merely a recommendation. Youll find the program is very flexible with customization opportunities in every nook and cranny. Remembering Window Placement Many ProTA windows such as the TickerPicker and Function Library have a single instance and their placement is automatically recalled from session to session. On the other hand, document windows, such as Chart Suites and Custom Indicators, will have many saved instances. To specify a default size and location for new document windows, place the window as desired then choose Save Window As Default from the Window menu. Smaller Monitors The minimum supported screen width is 1280 pixels. In a pinch, you can make ProTA serviceable with smaller screens. Here are a few tips: To save screen space, you can keep the two floating windows hidden until they are needed. Use F to hide/show the File Browser and I to hide/show the Inspector window. By default, ProTA is configured to ensure your work area windows do not zoom, resize, or otherwise move underneath one of the floating tool windows. On a small screen, you will probably want to allow windows to consume the entire screen. See page 245 for a Preferences setting that allows ProTA window placement anywhere on the screen. When working with Chart Suites, keep the Content listing and Toolbar hidden, then use B and Shift- B respectively to show/hide each. See page 49.

File Browser
The File Browser is used to access and administer your saved work. It is recommended this window remain open at all times for maximum productivity and minimum mouseclicking.

When you save any ProTA document, it shows up in the File Browser. Files can be saved at the root level for each file type, or within sub-folders you create. Sub-folders are sorted to the bottom of the listing. Accessing Documents Click an icon at the top to display one of the categories of ProTA document. Click the TickerPicker icon at the right to access your ticker and quotes database (see page 14). Double-click any item in the listing to open the document. Double-click a folder to open and view the contents of the folder. When viewing the contents of a sub-folder, use the popup menu or the up arrow button to navigate back up to the root or enclosing folder.

Administering Documents Click the + button in the lower left to create a new document window for the selected type. For example, if the Portfolios icon is selected at the top, pressing the + button will create a new, default Portfolio window. Click the - button to permanently delete the selected files. If a folder is part of the selection, the folder and all of its contents are deleted. See page 15 for help in making a multi-row selection in ProTA windows. Click the gear popup button for a menu of addition options.

Inspector
The Inspector displays the customizable settings for the selected object in a chart. It is recommended this window remain open at all times for maximum productivity and minimum mouse-clicking. Click any item in a chart to view and edit its parameters and display style. Your edits are reflected immediately in the associated chart.

The above example is for a ZigZag Indicator Plot. The content of the Inspector varies depending on the chart object that is selected. However, the Toolbar at the top always provides the following features: Hilite. Click to highlight the selected item in the chart. This is particularly useful when there is more than one instance of same object in a chart, for example you may have added several Trendlines to a chart. By clicking the Hilite button, you can see which Trendline is currently displayed in the Inspector. Delete. To remove the selected item from the chart. Settings. A database of user-defined settings is maintained for each type of chart object. The following example is for Zig Zag Indicator Plots:

Show Inspector Window After Adding New Zig Zag Plot. Select this item to add or remove the checkmark at the left. When checked, the Inspector window will open (if hidden) any time you add a plot of type Zig Zag. Generally, this item is always checked. Default Settings for a New Zig Zag Plot. Use the pop out menu to select any of the settings you have saved for this plot type. In this example, 20% Thick Gray Line is a

settings that was previously saved and has been selected as the default to be used for all new Zig Zag plots. Save Current Settings. Once youve configured a Zig Zag to a state that you might like re-use again in the future, choose this item to give it a name and save the state. Delete a Saved Settings. To permanently delete one of previously saved settings. Apply Settings. Previously saved settings are listed here. Choose any item to apply it to the currently selected chart object. Factory Defaults applies the original default settings as originally shipped with the program. Note. The Charts and Indicators chapters cover each specific Inspector window in detail.

Workflow 1-2-3
Items in bold are references to chapters that follow: 1. ProTA maintains a Quotes Database of prices and other market information locally on your hard drive. In order to chart or otherwise analyze a security, the first step is always to create a quote file in your local ProTA database. There are several ways to add new quote files to your database, either manually or in large automated batches. See page 17. 2. Each evening (or in the case of Dial Data, throughout the trading day), you will update your quote files with additional data from todays trading session. ProTA includes tools for automated downloading directly into your local database (Dial Data) or for rd importing data that you have otherwise acquired from a 3 -party web site, CD ROM, email, ftp, spreadsheet program, or export from another software (Universal Text Importer). You'll need to choose a vendor or web site as your data source. Options range from free sites where you'll do the downloading/importing to fee-based solutions where a single click in ProTA can update a database of over 10000 stocks, funds, futures, options, indexes from multiple countries. Visit www.beesoft.net for some data vendor suggestions. 3. Once quote files have been created and the database is updated, its time to dig into ProTA's analytical toolbox: Charts, Indicators, Portfolio tracking and ranking, Trading Systems and optimizations, Database Scanning. Since the data is stored locally within your ProTA database, access to quotes/charts/analysis is extremely fast and highly customizable as compared to web-based charting sites.

Good luck with your investments!

Quotes Database
Overview
Quote files are the source documents ProTA uses as the basis for all charting, portfolio, scanning, system testing, and data displays. You cannot view a Chart Suite, add to a Portfolio, etc. unless the desired ticker has been added your ProTA quotes database. A separate ProTA quote file is maintained on your hard drive for each security you track. Each quote file contains the basic source information for the security including ticker symbol, name, type, decimal display, and up to 135 years of daily pricing data. The primary interface to your quotes database is the TickerPicker window. The TickerPicker window allows you to create, delete, edit and otherwise access your quotes database. Note. It is important you do not rename or relocate any of the files or folders residing in the ProTA folder. All file maintenance can be easily administered from within the program. Tip. To use pricing data from your ProTA quotes database in other applications such as a spreadsheet program, you can export to a text file or Copy/Paste from any ProTA quote file window.

TickerPicker
The TickerPicker is the primary interface to your quotes database. It serves as a simple summary listing of every quote file in your database as well as providing the tools to view, edit, add and delete quote files. If the File Browser is not open, choose File Browser from the Tools menu. Click the TickerPicker icon at the top of the window.

Tip. To select an item in the list, type its ticker symbol.

Selecting Rows in ProTA Windows:


To select a single row, click the row to highlight it. To select multiple contiguous rows, click the first row in the group, then Shift-click on the last row in the group. To select multiple non-contiguous rows, click the first row, then Command-click on additional rows. To select all rows, choose Select All from the Edit menu.

Accessing Files
Click Chart to create a new Chart Suite document. The contents of the suite will match the setting from the TickerPickers Display menu, and the Suites initial selection will match the selected item in the TickerPicker. Click Quotes to open the selected quote file. By default, you can also double-click any item in the list to open its quote file. Note. The double-click behavior can be defined in Preferences. See page 244. Tip. A fast path to open any quote file is to type the ticker symbol followed by the Enter key. To create a new Chart Suite, type the Return key instead. To quickly open the Apple Computer quote file, type A A P L Enter.

Quote File Administration


Click the + button to create a new quote file. Click the button to permanently delete the selected quote file(s). Click the gear popup button to choose additional options:

Audit. Opens the Quote File Auditor to identify missing, invalid or unusual data in the selected quote file. See page 24. Edit Specifications. Edit the ticker symbol, security type, name, or decimals settings. New Portfolio From Selection. Creates a new Portfolio document using the selected ticker symbol(s). See page 136. Dial Data. Opens the Dial Data window, prepared to update the selected quote file. See page 42. Add Special Market Data Files. Creates quote files for the various general market/exchange statistics such as NYSE Advances-Declines and New Highs New Lows. ProTA uses these special quote files to compute the General Market indicators. See page 27. Rebuild TickerPicker. In exceptional cases, the TickerPicker summary listing may not accurately reflect the actual quote files that reside in your database. You can rebuild the TickerPicker based upon a complete scan of the source quote files stored on your hard drive.

Customizing the TickerPicker


You can re-order the columns by dragging them left or right. You can also resize the window to a smaller width if you do not wish to see all of the columns. As you resize width, the window will snap at each columns width. The following is an example of a smaller TickerPicker which has had its Type column moved to the right and the width reduced to the minimum:

Display. Chose to list the entire database or limit the listing by security type.

Quote Files
Each quote file contains the basic source information for the security including ticker symbol, name, type, decimal display, and up to 135 years of daily pricing data (1904 2039). Use the TickerPicker to open a quote file see page 14. The most common approach is to double-click an item in the TickerPicker or to type the ticker symbol followed by the Enter key.

Click the + button to add a new data row. Click the button to delete the selected data row(s). Double-click any cell to edit the value. Edit Specs. Edit the ticker symbol, security type, name, or decimals settings. Split. Adjust the historical data for the effect of a Split (Stocks), Return of Capital Distribution (Mutual Funds) or Continuous Contract Rollover (Futures). See page 21. Audit. Opens the Quote File Auditor to highlight missing, invalid or unusual data in the selected quote file. See page 24. Tip. You can specify which columns to display for each security type in the Preferences window see page 243.

Creating New Quote Files


There are two primary approaches to create new quote files in your database: Adding a Single File and Adding a Batch of Files.

Adding a Single File

From the File menu, choose New Ticker (or in the TickerPicker, press the + button).

Ticker. Enter the ticker symbol. ProTA will automatically convert all letters to uppercase. The ticker symbol must be 17 characters or less. You should use the same ticker symbol your data vendor uses. Most vendors consistently use the standard SIPC symbols for Stocks and Mutual Funds. However, each vendor tends to use a unique set of symbols for Indices, Futures, and Options. Your data vendor should be able to supply you with their list of Indices, Futures, and Options symbols. Type. Choose the type of security. Name. Enter the full security name. The security name must be 63 characters or less. Decimal display. Choose the decimal format for display in the quote file window. This setting will also affect the decimal format of prices displayed in any charts using this quote file. Note. Choose Default to use the global settings specified in the Preferences window. See page 243.

Adding a Batch of Files


You can add a list of new quote files to your ProTA database by importing a text file. In a spreadsheet or text processing application, create a document consisting of one line per new quote file, each line formatted as follows: Ticker Symbol, Type Code (optional), Security Name (optional) Ticker Symbol. ProTA will automatically convert all letters to uppercase. The ticker symbol must be 17 characters or less, else it will be truncated. Type Code (optional). S = Stock, M = Mutual Fund, I = Index, F = Futures, O = Option, B = Misc, G = (General) Market Data. Note. The Type Code is optional. When omitted, the importer will assume it is a Mutual Fund if the ticker symbol is 5 characters ending with an X. In all other cases, it assumes Stock. Security Name (optional). The security name must be 63 characters or less, else it will be truncated. If this field is omitted, ProTA uses the ticker symbol. The fields can be separated by tabs or commas. When you save a document in a spreadsheet program as Text, the columns are automatically separated by tabs. An example file using all three fields:

AAPL, S, Apple Computer, FMAGX, M, Fidelity Magellan S 1296, F, Soybeans An example using just one field (the importer will assume these are all Stocks): AAPL MSFT IBM Save the document as a text file. Tip. If you are using Apples TextEdit application, you can make a plain text document by choosing Make Plain Text from the Format menu. Then save the document. Tip. If you are using Microsoft Excel, you can place the three fields in columns A through C, then choose Save As. In the Save As window, use the Format popup menu to select either Text (Tab delimited) or CSV (Comma delimited). From the File menu, choose Open. Select the Text file from the Open dialog box. Tip. An easier way to open text documents in ProTA: In the Finder, drag the document's icon onto the ProTA icon in the Dock. ProTA will present you with a Universal Text Importer document window. The Universal Text Importer is covered in greater detail in its own chapter. See page 29. Review the window. If you are importing a long list of new tickers, youll probably want the New Symbols popup menu set to Auto Create. Then click Start Import.

You can similarly use the Universal Text Importer to conveniently create new quote files as they are needed, when you import pricing data. Please see the Universal Text Importer chapter for more complete instructions regarding text imports.

Manually Adding and Editing Data to a Quote File


ProTA quote files can be updated via manual data entry in a manner similar to that of a spreadsheet. Open the quote file (via the TickerPicker, see page 14). Click the + button in the lower left. On the new row. enter the date. Use the tab key to advance to the next cell right. Enter the remaining quote values for the row. Press Enter or Return. The new quote record is immediately sorted in the window, by date. Unlike a spreadsheet document, ProTA saves changes to your quote files as soon as they are entered.

Editing Data

Any cell in a ProTA quote file can be edited in a manner similar to that of a spreadsheet. Double-click the mouse in any cell, then type, backspace, or otherwise edit the value in the cell in the same manner as any Macintosh edit field.

Deleting Data
Highlight the row(s) to be deleted. See page 15 for selecting multiple rows in a list. Click the - button in the lower left.

Editing File Specifications


Click Edit Specs in the Toolbar.

Edit the Ticker, Type, Name or Decimal display.

Updating Quote Files via Copy/Paste


Data from a spreadsheet program or text data in a comma or tab delimited format can be pasted directly into a ProTA quote file window. Open the source document in a spreadsheet program or text processor. Select and Copy all of the data. Switch to ProTA. Open the destination quote file. From the Edit menu, select Paste.

ProTA follows several simple rules when Pasting data from the clipboard: Lines of text that do not begin with a valid date are skipped. Control characters and line feed characters that sometimes reside in PC-compatible source files are safely ignored. Invalid quote field values will be converted to zeros. For example, any price field that contains alpha-characters. The columns displayed in the destination quote file window must match up with the fields in the source file. When an incoming row has the same date as an existing row, the incoming row replaces the old row. All rows are automatically sorted in the quote file, by date.

Updating Quote Files via Import


You can update individual quote files or update a group of quote files via import from a text file. Both processes are handled by ProTA's Universal Text Importer, which is covered in full detail in its own chapter. See page 29. The Universal Text Importer automatically recognizes most of the common text formats. Virtually any source that provides delimited ASCII text data can be supported. This section briefly discusses the two importing methods, with reference to more complete instruction in the chapter, Universal Text Importer. From the File menu, choose Open. Select the source text file from the Open dialog box. Tip. An easier way to open documents in ProTA: In the Finder, drag the document's icon onto the ProTA icon in the Dock. You will be presented with the Universal Text Importer document window. Choose a pre-defined Settings file, or manually configure the settings in the window to match the format of the source text file. Tip. When importing a text file that contains no ticker symbol field, be sure the set the Errors and New Symbols popup menus to Show Alert. This will allow the UTI to prompt you for the destination quote file. Select Start Import.

Updating Quote Files with Dial Data


ProTA includes a comprehensive set of features for fully automated database updating via Dial Data. While an importing process is used with other data vendors, Dial Data updates your quote files database automatically via internet connection. From the Tools menu, select Dial Data.

See the Dial Data chapter for complete instructions.

Adjust a Quote File for a Split/Distribution/Rollover


Open the quote file (via the TickerPicker, see page 14).

Stock Split

A company will split its stock (usually 2-for-1) to decrease the price and improve liquidity. A stock split will create a large gap in the pricing and volume data in your quote file. The most common method of compensating for a stock split is to adjust all of the data prior to the split. Click Split in the Toolbar.

Adjustment Type. Choose Stock Split. Adjustment Date. Enter the date of the split. All data prior to this date will be adjusted. Tip. ProTA scans the quote file and automatically fills in the adjustment date. Usually, there is no need to change this field. Adjustment Amount. Use the popup at the right or manually enter the ratio of the stock split. For a 1-for-5 reverse split, enter 0.2 (1 divided by 5). All price values prior to the adjustment date are divided by the adjustment amount. All volume figures prior to the adjustment date are multiplied by the adjustment amount.

Return of Capital Distribution


Frequently, a mutual fund will pay a distribution which affects subsequent pricing of the fund. The most common method of compensating for distributions is to adjust all of the data prior to the distribution. Click Distribution in the Toolbar.

Adjustment Type. Choose Return of Capital Distribution. Adjustment Date. Enter the date of the distribution. All data prior to this date will be adjusted. Adjustment Amount. Enter the amount of the distribution.

All price values prior to the adjustment date are adjusted by the ratio of the distribution amount to the Closing value on the date of the distribution. For example, a fund priced at $12.00 on 8/6/96 pays a $1.00 distribution and falls to $10.95 on 8/7/96. Enter 8/7/96 as the adjustment date and 1.00 as the adjustment amount. ProTA will reduce all price values prior to 8/7/96 by 8.333% (1.00/12.00). Tip. If you use Dial Data, ProTA will automatically adjust your database for mutual fund distributions as the data is downloaded. See the Dial Data chapter for more information.

Continuous Contract Rollover


You can maintain a long-term commodity futures history in a ProTA quote file. When a contract expires and you begin to track the next forward month, there is often a gap in pricing data. (The forward contracts often trade at a premium to the front month.) One of the more common methods of compensating for the gap is to adjust all of the data prior to the rollover. Click Rollover in the Toolbar.

Adjustment Type. Choose Continuous Contract Rollover. Adjustment Date. Enter the date you've begun tracking the next forward month. All data prior to this date is adjusted. Adjustment Amount. Enter the amount of the premium/discount between contracts.

All price values prior to the adjustment date are increased by the adjustment amount. For example, a June contract settled at 400.00 on 8/6/96, the expiration date. The next forward contract, July, settled at 403.00 on 8/6/96, a 3.00 premium to the prior contract. You will begin tracking the July contract on 8/7/96. Enter 8/7/96 as the adjustment date and 3.00 as the adjustment amount. ProTA increases all price values prior to 8/7/96 by 3.00. Tip. After many rollovers, the historical price data in the continuous contract quote file becomes grossly adjusted from the original, traded values. Only use this adjustment method when continuity in the day-to-day data is more important than the absolute historical price levels.

Auditing a Quote File


You can instruct ProTA to review a quote file for any obvious errors in the data. From the Quotes menu, choose Audit. (Or click the Audit button in any quote file window.)

Choose a ticker symbol and type. Click Settings to configure the audit parameters.

Missing Dates. Check this box to report valid trading dates that are missing from the quote file. Invalid Dates. Check this box to report any dates in the quote that are holiday or weekend dates. Note: ProTA uses the specified Holidays file in the review for Missing and Invalid Dates. See page 38 to administer Holidays files. Zero Values. Check this box to list any cells displayed in the quote file window that are zeros. Unusual Values. Check this box to list any cells displayed in the quote file window that are more than XX percent from the average value of nearby cells. XX is determined by the Sensitivity popup: High 70%, Normal 55%, Low 25%. Tip. You can also audit a batch of securities using the Audit column of a Portfolio window. See page 156.

Quote File Text Notes


The ProTA quotes database also maintains an associated text entry for each ticker in the database. Use this space to store news clippings, announcements, brokerage recommendations, split /price adjustment information or notes about your trading ideas for the security. From the Quotes menu, choose Notes.

Enter a ticker symbol and type to view and edit the associated notes entry. The Notes window can be administered like a basic text processor. The content of the Notes window is automatically saved when you close the window.

Batch Processing Multiple Quote Files


The Batch Processing tools allow you to perform operations for a set of quote files. From the Quotes menu, choose Batch Processing. Use the Action popup menu to choose one of the Batch Processing tools. Use the Edit button at the right to choose which securities to process.

TickerPicker. To select individual tickers from your TickerPicker listing. Security Type. To select all tickers based on type. Portfolio. To select all tickers listed in a specified Portfolio. The remainder of the this chapter covers the specific settings for each of the four Batch Processing actions:

Edit Quote File Specs

Change Security Type To. Check this box to change all of the specified quote files to the specified type. Change Decimal Display To. Check this box to alter the decimal places displayed for each of the specified securities.

Adjust Quote Records

Date Range. Specify the beginning and editing dates (inclusive) to adjust within each quote file. Select a wide range of dates such as 1/1/1960 12/31/2019 to adjust all records within each quote file. Field(s). Choose the Field to adjust. Select OHLC to adjust four fields: Open, High, Low and Close. Adjustment. Choose the operation and an amount for the adjustments.

Delete Quote Records

Date Range. Specify the beginning and editing dates (inclusive) to delete within each quote file. Select a wide range of dates such as 1/1/1960 12/31/2019 to delete all records within each quote file.

Export Quote Records

The Export tool will create a text file that can be opened in a word processing or spreadsheet program. Delimiter. Chose the character that will separate each field. Date Range. Specify the beginning and editing dates (inclusive) to export from each quote file. Select a wide range of dates such as 1/1/1960 12/31/2019 to export all records in each quote file. Fields. Click the Edit button at the right to specify the export fields.

Special Market Data Quote Files


ProTA's General Market indicators (Advance-Decline Line, Put/Call Ratio, etc.) require specially formatted quote files of type Market Data. Instead of the normal Open, High, Low, Close, etc., fields, these files contain a number of special fields with data for an entire exchange. For example the "NYSE H/L" file consists of two data fields that contain the number of issues reaching a New 52 Week High or Low each day.

The standard market data files are as follows (using the New York Stock Exchange (NYSE) as an example): NYSE A/D. Advancing, Declining, Unchanged, and Total issues. NYSE VOL. Volume of shares closing Up, Down and Total Volume. NYSE H/L. Number of issues reaching a new 52 week High or Low. Another unique file is used to plot ProTA's Put/Call Ratio indicator. PUT/CALL. Put Volume, Call Volume, Put Open Interest, Call Open Interest for options trades on the S&P 100 Index.

Installing the Special Market Data Files


If youll be using ProTAs General Market indicators, youll first need to install the special Market Data files into your ProTA quotes database. In the TickerPicker window, click the gear popup button to choose Add Special Market Data Files. See page 27.

Updating the Special Market Data Files


If you use BeeSoft DailyQuotes or Dial Data to update your database, the special Market Data files are automatically updated. For other data vendors, you'll need to check with your provider for the appropriate symbols, then update the special Market Data files manually.

Universal Text Importer (UTI)


Overview
ProTA's Universal Text Importer (UTI) automatically detects, parses, and imports a wide variety of data formats. Virtually any comma, tab or space delimited text file is supported. The importing process involves four steps: Download, capture, or otherwise create a Text file containing the data to import. Open the Text document for import. Review the settings in ProTA's Universal Text Importer window. Make changes as necessary, then run the import. After the import, review the UTI Results Log window.

This chapter covers the procedure to import a text data file. For specific information about the various data sources and general formats that work well with ProTA, please see the BeeSoft web site at www.beesoft.net.

Opening a Text Document for Import


Once you have downloaded, captured, or otherwise created and saved a Text file, the first step to import the data to your ProTA database is to open the Text document. From the File menu, choose Open. Select the file from the standard Macintosh Open File window.

Tip. Another method is to simply drag the Text document's icon onto the ProTA icon in the Dock. Tip. You can also import a large number of text documents at once by dragging their icons into the UTI Queue window. See page 37.

UTI Document Window


Before the importing process begins, ProTA normally displays the Universal Text Importer Document window, which allows you to review and edit the settings for the import procedure.

The content of the text file is displayed in a scrollable text pane. Settings. Use this popup menu to choose a Settings file. Upon selecting a Settings file, all of the widgets below will change to reflect the selected settings file. Settings files are created in the Settings Database window. See page 32. Below the Settings popup menu are the widgets that specify and control the importing logic. All of the various options are described in the Settings Database section on page 32. Use the Toolbar at the top to access UTI related windows and to start the import: Start Import. Once you have reviewed and edited the various settings, click Start Import to begin the importing process. UTI Queue. Click to see the UTI Queue window, which lists completed and pending import files. See page 37. Settings Database. Displays the Settings Database window. See page 32. Holidays. Opens the Holidays windows to add, edit or review Holidays files. See page 38. Mappings. Opens the Mappings windows to add, edit or review ticker Mapping files. See page 39.

UTI Document Progress Window


If the importing process takes more than second or two, ProTA displays a progress window.

If the settings for Errors and New Tickers was set to Log, the import will proceed uninterrupted. Any errors will be noted in the UTI Results Log upon completion of the import. If the settings for Errors and New Tickers was set to Show Alert, progress can be halted in the following cases: The source text file has no field indicating the ticker symbol. The UTI will prompt you with the following:

The UTI encounters a ticker symbol in the source Text file that is not in your ProTA database. You will be alerted with the option to create a new quote file:

An erroneous line in the source file that does not match up with the Fields described in the UTI window (e.g. if a field should be a Date, but the UTI encounters letters or a malformed date):

UTI Results Log Window


Once the importing process is complete, ProTA displays a report summarizing the results of the import.

Click Log File to see a cumulative results log for all recent UTI sessions.

UTI Settings Database


The UTI provides a lot of flexibility for your importing needs. As a consequence, there are a lot of options to configure for any given import. The Settings Database is provided to help manage all of the options. Create a custom Settings file for each text file format you will frequently import. Choose a Default Settings file for your most common text file format. All new imports initialize with your chosen Default settings.

Note. If you do not specify a Default Settings file, ProTA will initialize each new import with its own defaults. Once you have settled in with a primary data service, it is highly recommended you create a Settings file for the text format to use as a Default. In any UTI Document or Queue window, click Settings Database:

Settings File Administration


New. Create a new Settings file in the list at the left. Duplicate. Create a copy of the highlighted Settings file. Set Default. Makes the highlighted Settings file the default for all new imports. The default Settings file shows a checkmark to the left of the name. Delete. Deletes the highlighted Settings file(s). Tip. To rename a Settings file, double click the name in the list, type the new name, then press Enter. Show Holidays. Opens the Holidays windows to add, edit or review Holidays files. See page 38. Show Mappings. Opens the Mappings windows to add, edit or review ticker Mapping files. See page 39.

Configuring the Settings for a Selected Settings File


Highlight any Settings file in the list to view or edit the options displayed to the right of the list.

Parsing

Automated Guess. When checked, the UTI will scan each source text file and make a "best guess" regarding the delimiter and the content of each field. Most of the time the UTI's best guess will be correct, but its still a good idea to review each UTI Document window to ensure the best guess agrees with the underlying format of the source file. When Automated Guess is checked, the Delim and Col A L popup menus are disabled here. Tip. Automated Guess is a good choice for random, individual imports. However, if you will be importing a batch of files with the same, known format, it is best to manually specify the delimiter and columns to avoid any possible errors that might arise with the best guess algorithm. When Automated Guess is unchecked, you must specify the delimiter and the contents of each column (field). Delim. The UTI Supports Tab, Comma and Space delimited text files. The Space delimited option treats contiguous spaces as a single field separator. Col A L. Specify the content of each field in the text file from left to right such that Col A is the first field at the left, followed by Col B, etc. Ignore. If the source text file includes any extra fields that has no destination into your database, choose Ignore. Symbol. ProTA will automatically convert all letters to uppercase. The ticker symbol must be 17 characters or less, else it will be truncated. Type. S = Stock, M = Mutual Fund, I = Index, F = Futures, O = Option, B = Misc, G = (General) Market Data. This field only has a use to the UTI when a new quote file needs to be created in your ProTA database. Name. The security name must be 63 characters or less, else it will be truncated. Date. ProTA accepts dates in the most common text formats: 5/28/99, 990528, 05/28/1999, 28-May-1999 and many more. Note. International users can specify whether the day precedes the month such as 28/5/99 or 992805 in the Dates & Numbers section below. See page 37..

Open, High, Low, Close, Volume, OpenInt. ProTA accepts any floating point values. Note. International users can specify whether the decimal and thousands markers in the Dates & Numbers section below. See page 37..

Processing

Errors. Choose Log to for an uninterrupted importing process. Choose Show Alert to pause the import and report each error line in an alert window. See page 31 for examples. Tip. If you are importing files that do not include a ticker symbol field, be sure to set the Errors and New Symbols popup menus to Show Alert. This allows the UTI to pause and ask for the ticker symbol. New Symbols. This controls the UTIs action when a line of text is encountered with a ticker symbol that does not exist in your database. Skip. Ignores the line. Show Alert. Pauses the import to show an alert window allowing you to create a new quote file or to skip over the line. Auto Create. Creates a new quote file in your database for the new ticker symbol. If the text file includes a Type and/or Name field (see above), they will be used when creating the new quote file. Existing Dates. Determines how the UTI will handle data lines that already exist in your database. For example, your AAPL quote file already contains a data line for 11/28/06, but you are importing a text file that also contains a line of data for AAPL 11/28/06. Choose Skip to leave your database as-is. Choose Replace to import the new text data overwriting any older values. Replace Existing Security Names. If the source text file includes a Name field, you can check this box and the UTI will overwrite any existing security names in your database with the new names in the text file. Tip. This feature impacts the speed of text imports, so it is normally left unchecked unless you know for certain the text file has newer security names that should replace the existing names in your database.

Skip Specified Lines. Some text data files include a header line, or extra text inserted by the data provider. You can instruct the UTI to skip lines using a number of criteria.

Use the checkboxes, to skip lines based on specified length parameters. Press the Add button to create a new text-based skip criteria. For example, Skip if line Contains the string All rights reserved. Click on the left column cell to choose the characteristic: Begins with, Ends with, Contains, Equals. Double-click on the right column cell to edit the text, then type Enter. Filter Weekends. Check this box to ensure Saturday or Sunday dates are skipped. Filter Holidays. Check this box to ensure the specified Holiday dates are skipped. See page 38for administering Holidays.

Adjustments

Adjust Fields. Check this box to mathematically adjust any of the numerical fields prior to importing them to your database. For example, the source text file might include Volume data in raw shares but your existing database has Volumes as 100 share blocks (divided by 100). Click Show List to review and edit the settings.

Map Tickers. Check this box to convert ticker symbols in the source text file to different ticker symbols in your database. See page 39 for more about Mapping files.

Dates & Numbers

January 15 is. The important distinction is whether the day precedes the month or not. For USA-based dates, choose 1/15. If the text file contains dates with month preceding day, choose 15/1. Numbers. The important distinction is the decimal marker and to a lesser extent the thousands marker. Choose the option that best matches the price values in the source text file. Note. The Dates & Numbers settings here in the UTI are not the same as the Dates & Numbers settings in the ProTA Preferences window (see page 241). The settings in the application Preferences window control how ProTA displays dates and numbers to you in its windows, whereas the settings here in the UTI are used to help describe the dates and numbers that will be encountered when importing a text data file. This distinction is mostly important in European markets where it is more common to display/view your data in one format, yet receive data files from a vendor with dates/numbers in another format.

th

UTI Queue Window


In addition to importing one file at a time (see Opening a Text Document for Import on page 29), the UTI supports batch importing hundreds or thousands of files via the UTI Queue window. From the Tools menu, choose Universal Text Importer.

The queue is particularly useful when importing large batches of downloaded historical data files or perhaps files from a data CD-ROM, both available from many online data vendors. Note. Before queuing a batch of files, be sure to specify an appropriate Default Settings file which will be assigned to each queued file. See page 33.

Select files in the OS X Finder and drag them into the list to queue them for import. The listing is sorted such that the first files to be queued are at the bottom of the list. Importing takes place from the bottom of the list to the top. The file currently in progress is displayed with an arrow to the left of its Filename. Click Show Details in the Toolbar to view the UTI Document or Progress window for this file. Double-click any other file in the list. If the files Status is Pending (not yet imported), youll see its UTI Document window (see page 30) where you can review and edit its import settings. If the Status is Completed, youll see the UTI Results Log for this file (see page 32). And if the files Status is in-progress, youll see the UTI Document Progress window (see page 31). To remove items from the list, highlight the rows, then choose Delete from the Edit menu. (The text files will not be deleted from your hard drive; they are simply removed from the Queue listing.)

Pause Before Each File. When checked, the Queue will pause at each file awaiting the Start Import command in the Toolbar. Uncheck this for fully automated processing of the entire queue. Hide Completed Items. When checked, Completed files are removed from the listing. Settings Database. Displays the Settings Database window. See page 32. Log File. Displays a cumulative results log for all recent UTI sessions. Note. The Queue of files is cleared when you quit the program.

Holidays
You can maintain a database of exchange holidays. Dates listed in a Holidays file can be used by ProTA in the following areas: Universal Text Importer (see page 29). The UTI can be configured to filter out Holiday dates during an import procedure. Dial Data (see page 42). The automated sessions feature can be set to skip Holiday dates. Quote file audits (see page 24). The audits for missing trade dates and invalid trade dates can refer to a Holidays file.

From the Tools menu, choose Holidays.

New, Duplicate and Delete at the left refer to the administration of Holiday files in the table at the left. New and Delete at the right refer to the administration of individual dates in the table at the right. Select a file in the left table to view its contents in the right table. Double click any cell to edit the text, then type Enter. To delete multiple rows, see Selecting Rows in ProTA Windows on page 15.

Tip. You can Paste comma or tab delimited text into the right table. Tip. Towards the end of each year, BeeSoft posts an updated NYSE Holidays listing at www.beesoft.net

Mappings
A mapping file is used to "map" a ticker symbol from an importable text file to the appropriate ticker symbol in your database. For example, your data vendor may use symbol "DJ 30" for the Dow Jones Industrial Average, but you use symbol "IND" in your ProTA database. A mapping file can translate the "DJ 30" to "IND" automatically during the import process. Note. It is strongly recommended that you set up your ProTA quote file database using the same ticker symbols that your primary data vendor uses. As such, mapping files should never be necessary. When mappings are necessary, they should be the exception rather than the rule. From any UTI Document or Settings Database window, click Mappings in the Toolbar.

New, Duplicate and Delete at the left refer to the administration of Mapping files in the table at the left. New and Delete at the right refer to the administration of individual mapping entries in the table at the right. Select a file in the left table to view its contents in the right table. Double click any cell to edit the ticker, then type Enter. Click the popup arrow to edit the Type cell. To delete multiple rows, see Selecting Rows in ProTA Windows on page 15.

Tip. You can Paste comma or tab delimited text into the right table.

UTI Pragmas
A pragma is a directive to the UTI providing instructions regarding the data that will follow. If your source text files include accurate pragmas, you can be 100% assured the UTI will import the file properly without having to review/preview any settings. Five pragmas are supported: Settings: Can be the name of any Setting file in your Settings Database. Delim: Specify the delimiter used in the file. Can be Tab, Comma, or Space. Fields: Specify the order of the fields used in the file. Dates: USA or Intl. Numbers: USA, EUROPE, FRANCE, SWISS. Pragma lines must be located at the beginning of a text file. The format of a pragma line is: <Pragma Name> Description An example of all 5 pragmas:

<Settings> Yahoo Spreadsheet <Delim> Comma <Fields> Date Open High Low Close Volume <Dates> USA <Numbers> USA 28-May-99,26.9688,27.2812,26.625,27.25,7333000 27-May-99,27.2188,27.5312,26.50,27,12573100 26-May-99,26.3438,27.5156,25.9375,27.2812,20084600 25-May-99,27.4219,27.4219,26.0312,26.0938,16188000 Note. Normally you would not provide all 5 pragmas in the same file. Either provide a Settings pragma or provide the remaining 4 pragmas.

Dial Data
Overview
Dial Data tracks just about every traded instrument in the United States as well as over a dozen foreign exchanges. U.S. histories are available back to 1972 (1963 for commodities). Dial Data provides flat-rate monthly pricing plans permitting unlimited, 24 hours a day access. ProTA includes a fully automated interface to Dial Data. Updating your database via Dial Data is a four step process: Create new, empty quote files in your database, as necessary. Configure the pre-logon Dial Data window. Connect to Dial Data. Once Dial Data has updated your database, review the summary report window.

To use Dial Data with ProTA, you'll need the following: An internet connection. A Dial Data account number and password. Your Dial Data account number must be prefixed with the letters "BS".

For specific information about Dial Datas offerings, pricing, setting up an account, etc., please visit their web site at www.trackdata.com.

Configuring Your Dial Data Account


Once you obtain a "BS" prefixed account number from Track Data, enter the account information into the Dial Data window. From the Tools menu, choose Dial Data. Press the Account button.

User ID. Enter your Dial Data User ID (account number). Password. Enter your password. Domain. Enter Dial Datas server. If they did not provide you with a server address, use dd.trackdata.com. Convert Stock Volumes to Hundred Blocks. Dial Data reports Stock Volume information in raw share values. Check this box to convert the raw Volume figures to 100 share blocks (divide by 100) before importing to your database. Adjust Back Data for MF Distributions. If checked, ProTA will automatically adjust your historical data for the effect of mutual fund distributions as the data is downloaded. The adjustment method ProTA uses is identical to the manual adjustment method described on page 22. Tip. ProTA keeps a log of all mutual fund distributions in a file named Dial Data Mutual Fund Distributions Log which is located as follows: ~/Library/Application Support/ProTA/Logs. The format of the log is as follows: Download Date 11/15/06 Ticker RYCXX Distr. Date 11/15/06 Distr. Amt. 0.03800

* An asterisk means ProTA has automatically adjusted the back data for this distribution. Tip. For easy reference, ProTA also places the distribution amount in the Open Interest field of the mutual fund quote file.

Configuring a Dial Data Session


Before connecting, configure the Dial Data window to request the appropriate quotes from Dial Data. From the Tools menu, choose Dial Data.

Start Date. Enter the earliest date to collect data. End Date. Enter the latest date to collect date. Note. ProTA will compare the End Date to the last date in each quote file. If the End Date is greater than the last date in the quote file, ProTA will request the missing data from Dial Data. If the quote file is empty, ProTA will request data from the Start Date through the End Date. Recollect Recent Dates. Choose the number of data points to recollect from Dial Data (data that already exists in your database). Tip. Track Data will correct errors in its database over time, often within several days. If you Recollect 2-3 days in each sessions, you will automatically pick up any corrections Dial Data has made over the past 2-3 days. Tip. Volume and Open Interest for commodity futures is not reported as "final" until the following day. If you are updating Futures quote files, this item should be set to at least 1 or 2 to ensure the previous day's Volume and Open Interest data is re-collected. Note. ProTA does not request data for expired futures contracts unless the quote file is empty. Entire Database. Choose this button to scan every quote file in your database for updating requirements. Individual Ticker. Choose this button to scan the specified quote file for updating requirements.

Selected Portfolio. Choose this button to scan the quote files listed in the specified Portfolio file for updating requirements.

Note. In order for a quote file to properly update via Dial Data, you must use the appropriate Dial Data ticker symbol. Stocks Mutual Funds Indices Futures Options Bonds Market Data Standard SIPC symbols Standard SIPC symbols Special Dial Data symbols Special Dial Data symbols Special Dial Data symbols Special Dial Data symbols ProTA's standard symbols (NYSE A/D, NYSE VOL, etc.)

Listings of the special Dial Data symbols are included at the Dial Data web site www.trackdata.com. Tip. Once you have configured the Dial Data window to a preferred, default setting choose Save Window As Default from the Window menu.

Running a Dial Data Session


Click the Connect button in the Dial Data window. The Dial Data session is fully automated and is divided into four stages: Stage 1: Stage 2: Stage 3: Stage 4: Contacting Dial Data. Requesting Data. Downloading Data. Importing data.

Before attempting a connection, ProTA scans your database for updating requirements, based on the settings you've provided in the initial Dial Data window. The Dial Data Session window reports the number of quote files that require updating.

Stage 1: Contacting Dial Data


ProTA attempts to connect with Dial Data based on your Account Settings.

Stage 2: Requesting Data

ProTA requests the appropriate data. The Dial Data session window reports the number of requests that have been made.

Stage 3: Downloading Data

Dial Data sends the appropriate data. The Dial Data session window reports the number of lines (records) that have been downloaded.

Stage 4: Importing Data

ProTA imports the downloaded data into your database. The Dial Data Session window reports the number of lines (records) that have been imported. Note. Normally, Dial Data can provide final, adjusted values by 5:00 PM Eastern. Connections prior to 5:00 PM Eastern will result in data that is not final for the day. In general, the later the Dial Data session, the more likely you are to receive final, adjusted data. Tip. If you've updated earlier in the day, you may wish to run a Recollect Recent Dates session (see page 44) later that night. This will help to ensure that your database consists of the final, adjusted values for the day.

Reviewing the Dial Data Session Report


Once the Dial Data session is complete, ProTA displays a report summarizing the results of the session.

Report text. The summary report details the session settings and the results of stages 1 4. When errors are reported, they stand out in the report because they are prefixed with an asterisk, such as: * Failed to login with your UserID and password. When an error is reported, check the appropriate hardware or software settings, then connect again. Occasionally, your network connection may slow or break and the Dial Data session will "time out" after a period of inactivity. In this case, ProTA imports any data that was received prior to the "time out", but you will need to re-connect to fully update your database. Log File. Choose this button to show a cumulative log of all recent Dial Data Session Reports.

Running Automated Dial Data Sessions


You can instruct ProTA to run Dial Data sessions automatically in the background. From the Tools menu, choose Dial Data. Click the Schedules button.

Days. Choose the days of the week to enable automated sessions. Skip Holidays. Choose a Holidays file. ProTA will not run automated sessions on Holiday dates. See page 38. After Markets Close. Enable this option to run a single, end-of-day automated session. The format for the time of day is 7:10 PM. During Market Hours. Enable this option to run periodic update sessions throughout the trading day. Dial Data updates most U.S. stocks throughout the trading day on a 15-minute delay basis. Note. In order for the Automated Sessions to execute at the appropriate time, you must leave your computer on, and you must leave your ProTA application running. Tip. Consider scheduling an After Markets Close session at least several hours after the markets have closed. If you've already updated earlier in the day, you may wish to Recollect Recent Date (see page 44) via a late-night automated session to ensure that your database consists of the final adjusted values for the day.

Charts
Overview
A chart is a graphical representation of the data in a ProTA quote file, combined with technical indicators and line studies. Charts are the primary focus of study for the technical analyst. Strictly speaking, a technical analyst believes the price action and current price level of a security reflect all known historical information about the security as well as a consensus of expectations about where the security's price is headed into the future. By studying price action with visual pattern recognition, technical calculations (indicators), and other computational methods, the technician attempts to identify tendencies for future price action, including trends, consolidations, and overbought/oversold conditions (reversal of trends.) ProTA includes a robust set of charting tools for professional-level technical analysis with unprecedented ease of use.

Chart Suites
A Chart Suite is a collection of charts stored in a single document. Each ProTA chart suite is capable of holding an unlimited number of charts. The simplest suites may contain just a single chart, while others can potentially store customized charts for every security in your database. A chart suite window is divided into 3 primary sections:

1. A Toolbar runs along the top of the window and provides fast access to the most common charting features. 2. The Content listing at the left lists each chart contained in the suite, by ticker symbol. 3. The balance of the window consists of the Chart View(s).

1. Toolbar
The chart suite Toolbar provides fast access to the most common charting operations.

Tool Mode. Controls the chart cursor tool mode. Once you have selected one of the three modes, you can use the tool by pressing the mouse down in a chart body and dragging the mouse. + Crosshairs tool. Used to obtain a readout of the date and price values for all plots at the current mouse location. See page 66. / Line Studies tool. When clicked, this segment provides a popup menu to select a Line drawing mode, such as a Trendline. Click once to switch to Line drawing mode, click a second time to see the popup menu of Line Studies to choose from. See page 63. A Text tool. Used to add notes and/or symbols to a chart. See page 64. Prev/Next. Advances the current chart view to the next/previous ticker in the Content listing. Zoom Level. Increases/Decreases the zoom level and horizontal spacing between data points in the chart/x-axis. For finer control over the spacing and other x-axis traits, see page 58. Indicators. Click to choose an Indicator to add to the current chart. Each chart can contain an unlimited number of indicators. Templates. Click to apply or save a Template for the current chart. See page 68. Layout. Click to manage the layout of multiple chart views within the window (see page 69) and also to toggle the Synchronization modes for the charts in the suite (see page 52). Content. Hides/Shows the Content listing on the left side of the suite window. See below. Inspector. Hides/Shows the Inspector window. See page 12. Tip. The Toolbar can be displayed in 3 modes: Icons and Text, Icons Only, and Hidden. Click the chicklet in the upper right of the windows title bar to cycle between the 3 modes.

2. Content Listing
A chart suite can contain an unlimited number of charts. The individual charts are listed, by ticker symbol, in the Content listing at the left of any chart suite window. Click any item in the list to swap out the current chart view with a view of the clicked item. Tip. You can also type a ticker symbol to swap in a new chart view. Click the gear button below to administer the Content listing.

The Content listing has four modes: All. The suites Content matches the contents of your entire TickerPicker database. When you add, remove, rename or edit your quote file database in any way, the chart suites Content is automatically refreshed to match the TickerPicker. Security Type. Similar to All, except the suites Content will always match the contents of the TickerPicker for a given security type. Portfolio. The suites Content mirrors that of the selected Portfolio file. If you add or remove items from the selected Portfolio, the chart suites Content is automatically refreshed to match the Portfolio. Tip. Click the Portfolios name below the gear widget to show the associated Portfolio window. Custom. Manage the Content listing manually, with no dependency or relationship to any other ProTA file. Use the Add and Remove commands in the popup menu to administer the list.

3. Chart Views
A suite will usually display a single chart view representing one of the items from the Content listing. On the other hand, for comparative analysis, up to 25 chart views can be arranged in a Layout. See page 69.

Tip. Once you have configured the Content listing visibility, the Toolbar size and the overall window size to a preferred default, choose Save Window Size As Default from the Window menu.

Chart Suite Synchronization Modes


Most chart suites will contain more than a single item in the Content listing. The chart suites synchronization modes determine whether there is any relationship between the various charts as they are viewed. The two synchronization modes are administered in the Charts menu in the menubar (they are also listed in the Layout buttons popup menu): Sync Contents and Sync Time Scales. When a sync mode is enabled (on), youll see a checkmark next to its name in the menu.

To toggle a sync modes enabled/disabled state (on/off), select it in the menu.

Sync Contents
Enabled. When Sync Contents is enabled, all chart views are computed and rendered with identical settings. This mode provides the ability to view all of the charts in the suite with the same analyses. What to expect when Sync Content is enabled: As you select various charts in the Content listing, each new chart coming into view is initialized with the settings from the previous chart. If the chart suite has multiple chart views displayed in a Layout, each view is synchronized with the same settings. When you add, edit or remove an Indicator, change colors, resize a pane, apply a Template, etc., each chart view is synchronized with the same edits. Tip. Another way to think about the Sync Contents enabled mode is as a Template mode. Each chart view has the same Template applied to it. In fact, this is exactly how ProTA internally administers the Synced Contents - by maintaining a single

Template within the suite which is applied to each chart view. (See page 68 for more about Templates.) Disabled. When Sync Contents is disabled, all chart views in the suite operate independently with no relation to one another. This mode treats a suite as a collection of individual charts, each with their own unique analyses. What to expect when Sync Content is disabled: As you select various charts in the Content listing, each new chart coming into view is initialized with the same settings from the last time you viewed/edited it. If the chart has not yet been viewed in this suite, it is initialized with default settings as specified in the Preferences window. If the chart suite has multiple chart views displayed in a Layout, each view is treated as an individual entity allowing you to view one chart as Bars and another as Candlesticks for example. When you add, edit or remove an Indicator, change colors, resize a pane, apply a Template, only the selected chart is edited. Other charts are unaffected.

Note. Line Studies and Text annotations are almost always chart-specific. For example, Trendlines drawn at specific highs or lows for ticker AAA are not going to be valid/desirable when you switch to ticker BBB. As such, Line Studies and Texts are not normally included in the content synchronization. This allows you to retain unique Trendlines on each chart, even when Sync Content is enabled.

Sync Time Scales


Enabled. When Sync Time Scales is enabled, all chart views are scrolled, zoomed and otherwise formatted so the time scales are synchronized. This mode provides the ability to view all of the charts in the suite with the same time frame. What to expect when Sync Time Scales is enabled: As you select various charts in the Content listing, each new chart coming into view is initialized with the x-axis settings from the previous chart. If the chart suite has multiple chart views displayed in a Layout, each view is synchronized with the same time scale. When you adjust the scrollbar, zoom in/out, etc., each chart view is dynamically synced with the same x-axis settings.

Disabled. When Sync Time Scales is disabled, all chart views in the suite scroll independently with no relation to each others time scale. What to expect when Sync Time Scales is disabled: As you select various charts in the Content listing, each new chart coming into view is initialized with the same x-axis settings from the last time you viewed/edited it. If the chart has not yet been viewed in this suite, the time scale is initialized with default settings. If the chart suite has multiple chart views displayed in a Layout, each view retains its own time scale allowing you to view one chart as Daily and another as Weekly for example.

When you scroll, zoom or otherwise adjust a charts time scale, only the selected chart is edited. Other charts time scales are unaffected.

Creating a New Chart Suite


There are several methods to create a new Chart Suite document, each with a unique result.

New Chart Suite


Choose New Chart Suite from the File menu ( N). Creates a new, unsaved chart suite. The default content is determined by the settings in the Preferences window. See page 239. Tip. The fastest route to a new chart for any security is N then type its ticker symbol.

TickerPicker
Click the Chart button in the TickerPicker window. Creates a new, unsaved chart suite. Defaults are determined by the settings in the Preferences window, though in this case, the Content listing is initialized to match that of the TickerPicker.

Portfolio Suite
Click the Chart Suite button in a Portfolio window. Opens the associated Portfolio Suite. If the Portfolios suite has never been viewed/saved before, a new, unsaved Portfolio Suite is created. If you have previously saved this Portfolios suite, the saved Portfolio Suite document is opened. See page 145.

System Test Results


Click the Chart button in a System Test Results window. Creates a new, unsaved chart suite window displaying the Trading System for the highlighted row. See page 178.

Administering Chart Suites


Chart Suites are administered in ProTAs File Browser window.

If the File Browser is not open, choose File Browser from the Tools menu. Click the Charts icon at the top of the window.

To create a new chart suite, press the + button at the bottom-left. (This is identical to the New Chart Suite command described in the previous section.) To open an existing chart suite, double-click the item in the list.

Note. Portfolio Suites are not listed in the File Browser. To open a saved Portfolio Suite, click the Chart Suite button in the Portfolios window. See page 145. See page 10 for more details about the File Browser window.

Saving a Chart Suite


Choose Save or Save As from the File menu.

Save As. Enter a name for the document. To choose/replace an existing filename, click the popup widget at the right. Where. Click this popup menu to choose a folder location for the file.

The first item represents the currently selected folder. Choose Show Charts Database to show the File Browser for Chart Suites. Among other things, you can create new sub-folders in the File Browser. To choose a save location other than the currently selected folder, choose one of the folders listed at the bottom. The first item listed below Choose Save Location is always the root folder for the document type in this case Charts. Below that, any sub-folders that you have created are listed.

Anatomy of a Chart
The following chart elements are referred to in the sections that follow:

Note: Editing an item in an individual chart only affects that particular element in that particular chart window. To set overall preferences for all new chart windows, you can assign a global Template. See page 240. To set preferences for new individual chart elements, you can assign a default Setting in the Inspector window. See page 12.

Tip. Right-click (Control-click) on any object to see a contextual menu of commands relevant to the clicked item.

Editing Chart Body Colors & Main Heading


The format of the Main Heading and the colors of a chart's main structural elements are configured in the Chart Body Inspector. Click the mouse in the charts Main Heading.

Main Heading Display. Check the boxes desired to specify the format of the Main Heading, including any user-specified custom text. Exclude Padded Dates. Refers to the Date Range that will be displayed. Check this box to exclude from the range the padded dates that are added when you specify a Date Padding in the Time (X) Axis Inspector. See page 58. Background. Click the color box to set the color for the chart's background. Gridlines. Click the color box to set the color for the chart's horizontal and vertical gridlines. Axes. Click the color box to set the color for the chart's Time (X) Axis, and Price (Y) Axes. Text. Click the color box to set the color for the text in the charts headings and axes.

Note. For all color chicklets other than the Background color chicklet, ProTA maintains a dual color set. One set of colors is maintained for Black/Darker Background chart and the other for White/Lighter Background chart. Your choice of Background color determines which of the two color sets are used for all of the other color chicklets in the chart. For example, you might specify Black Text when the chart has a White Background, but also specify White Text when the chart has a Black Background. The dual-color system allows you to switch between Black Background charts and White Background charts more easily.

Adjusting a Charts Date Range and Time (X) Axis Settings


The Time (X) Axis of a chart is located along the bottom of the window. Some of the configurable properties of the Time (X) Axis include: The range, periodicity, and optional padding of dates displayed in the chart. The spacing between ticks on the axis. The style of axis display. The frequency of vertical gridlines.

Adjusting Time (X) Axis Settings via Inspector


All of the chart's Time (X) Axis settings can be administered in its Inspector window. Click the mouse on the Time (X) Axis.

Spacing. Choose the amount of spacing between tick marks. Padding. Enter the number of tick marks to pad at the end of the chart. A number greater than zero will leave space at the end of the chart for the extension of trendlines into the future. Periodicity. Choose the periodicity of data to calculate and display. ProTA assumes each quote file contains Daily data. Daily. ProTA displays the data "as-is" from the security's quote file. Calendar. Similar to Daily, but weekends, holidays and any other dates are inserted such that every calendar date is shown in the X-Axis. For Calendar dates not present in the quote file, ProTA simply repeats the previous days price/volume values. Weekly, Monthly, Quarterly, Yearly. ProTA compresses a period of data from the security's quote file into one tick mark.

The Open is the Open for the first trading day of the period. The High is the highest High for the period. The Low is the lowest Low for the period. The Close is the Close for the last trading day of the period. The Volume is the average of Volume for the period. The Open Interest is the average of Open Interest for the period. The Date is the last day of the period, even if it is weekend or holiday date. Weekly data always uses a Friday date.

Note. The chart data is compressed for purposes of chart display only. The actual data in the ProTA quote file is not affected. When you switch to a periodicity other than Daily, all indicators in the chart are re-calculated based on the new periodicity. For example, a 26 period Moving Average Plot is a 26 day moving average when viewing a Daily chart, but recalculates as a 26 week moving average when switched to a Weekly view. Point & Figure. Unlike every other Indicator and Plot, Point and Figure charting is unique in that the Time (X) Axis is computed based upon reversal dates. Check this box to enable P&F charting. See page 106 for more about P&F charting. Date Range. Choose the range of dates to display in the chart. If Auto-fit is chosen, ProTA adjusts the tick mark spacing as necessary to best fit the specified date range. Style. Choose between the two date styles: Jan Feb Mar:

01/31

02/28

03/31:

Vertical Gridlines. Choose the frequency of vertical gridlines in the chart. (The color of gridlines is set in the Chart Body Inspector. See page 57.)

Scrolling the Date Range Displayed in a Chart


Drag the chicklet in the scrollbar for dynamic live scrolling. Click the arrows to scroll one day at a time. Click in the scroll alley to scroll one virtual page at a time.

Adjusting the Zoom Level of a Chart


To zoom the chart display up or down one level, click the Zoom In or Zoom Out buttons in the Toolbar.

Adjusting the Periodicity of the Time (X) Axis


Click the Periodicity Menu (located to the right or left of the Time (X) Axis) to choose between Daily, Weekly, Monthly, Quarterly, Yearly, or Calendar periodicity.

Adjusting a Price (Y) Axis


Each Price (Y) Axis is an individually configurable object that controls the vertical scaling of plotted items within the Pane. To adjust the scaling, location, or display options for any Price (Y) Axis: Click the mouse on a Price (Y) Axis.

Price Range. Choose the range between minimum and maximum value. Auto. Sets the range based on the minimum and maximum values for all plots displayed in the Pane. When the chart is scrolled, zoomed, etc., the scaling automatically adjusts to the appropriate minimum and maximum values. Auto (entire file). Similar to Auto, but the minimum and maximum is set based on values for the entire range of dates in the security's quote file. When the chart is scrolled, zoomed, etc., the scaling remains constant. Manual. A specific, fixed range. When the chart is scrolled, zoomed, etc., the scaling remains constant based on the values you've entered. Decimals. Choose the decimal format for Y-values. Location. A Price (Y) Axis can be located on either side of the Pane, or Hidden from view. Horizontal Gridlines. Choose the frequency of horizontal gridlines in the Pane. (The color of gridlines is set in the Chart Body Inspector. See page 57.) Logarithmic Scale. Check this box to use logarithmic scaling. With logarithmic scaling, the vertical chart space between the price levels of 10 and 20 (a 100% increase) is the same as the spacing between 20 and 40 (a 100% increase). Logarithmic scaling is most useful when viewing long-term charts. 20 years ago, a one-day 50 point move in the Dow Jones Industrial Average represented a huge market move. Today it is commonplace. Logarithmic scaling displays price movements such that a 10% rally 20 years ago (at lower price levels) covers the same vertical chart space as a 10% rally today (at higher price levels.)

Administering Price Plots & Indicators


The Indicators menu includes over 50 built-in price plots and indicators as well as all of the Custom Indicators and Trading Systems youve developed. Each is fully configurable in terms of color, line style, and computational parameters. This section covers the general logistics of administering plots in a chart. The next chapter, Indicators, describes each of the price plots and indicators in detail.

Adding a Price Plot or Indicator


Each chart can contain an unlimited number of Price Plots and Indicators. From the Indicators menu, choose the price plot or indicator to add.

Price-based plots are overlaid onto the price-based Y-Axis if one exists. All other plots are added to a new pane/new y-axis at the bottom of the chart. Note. Selections from the Indicators menu always result in the addition of a new plot; existing plots of the same type are not replaced. This allows you to, for example, add one Moving Average set to a Period 12, then add another Moving Average set to a Period 50.

Selecting and Editing a Price Plot or Indicator


You can re-configure the color, line style, or computational parameters of any plotted item in a chart window. Move the mouse over the price plot or indicator. The cursor changes to a pointing finger. Click the mouse on the plot. The Indicators specifications are shown in the Inspector window. As edits are made in the Inspector, the chart is redrawn to reflect the new specifications.

Note. When there is more than one plotted item under the mouse and none are already selected, a mouse click will display a popup menu allowing to you choose which plotted items should be selected. Tip. To clear the selection/Inspector window, type the esc key on the keyboard. Tip. Use the TAB key on the keyboard to cycle the selection/Inspector window through all of the editable items in the chart.

Moving a Price Plot or Indicator


You can move any plotted item to another location within the chart: Move the mouse over the price plot or indicator. The cursor changes to a pointing finger.

Click and hold the mouse on the plot. When the mouse is held down on a plotted item, the plot is highlighted. Drag the mouse. As the drag begins, the cursor changes to the hand cursor and the plots original Pane and Y-Axis are shaded. Drag the mouse to another Pane (destination Pane) within the chart window. The Pane and Y-Axis of the destination is now shaded. Drag the mouse to the extreme left or right of the chart to specify a specific Y-Axis as the destination. Tip. To move the plot into a brand new Pane, drag the mouse to the Main Heading or to the Time (X) Axis.

Release the mouse to move the plot.

If the original source Pane is left empty after the move, the source Pane is deleted from the chart. All remaining Panes are proportionally resized to fill the vertical chart space. Note. To move a copy of the plot, hold down the option key when pressing the mouse button on the plot. Note. To move a copy of the plot to a different chart, use Copy/Paste from the Edit menu.

Removing a Price Plot or Indicator


You can remove any plotted item from a chart window. Move the mouse over the price plot or indicator. The cursor changes to a pointing finger. Click the mouse on the plot. The Indicators specifications are shown in the Inspector window. Click Delete in the Inspector window (or choose Delete from the Edit menu). Tip. Another way to remove a plot is to click on the plot, then drag the mouse outside the bounds of the window. Release the mouse to remove the plot. If there are no plots left in the Pane, the Pane is also deleted from the chart. All remaining Panes are proportionally resized to fill the vertical chart space.

Exporting Price Plot or Indicator Data


You can export the data values related to any price plot or indicator via Copy/Paste. Click the mouse on the plot. The Indicators specifications are shown in the Inspector window. Choose Copy from the Edit menu. Then Paste the data into a spreadsheet or text application.

Administering Line Studies


ProTA includes six varieties of Line Study. You add and position Line Studies graphically with the mouse, much like drawing with a "smart" pencil. This section covers the general logistics of administering Line Studies in a chart. A separate chapter, Line Studies, describes each in detail.

Adding a Line Study


Click the Line Study button in the Toolbar. Click once to switch to Line drawing mode, click a second time to see the popup menu of Line Studies to choose from. The cursor will change to the line drawing cursor. Each Line Study has a unique drawing method, but generally, the drawing procedure begins by pressing and holding the mouse down in the chart area. While dragging the mouse, the Pane Heading displays information about the line study including the Date and Price (Y) Value associated with the mouse's position. Some Line Studies require multiple mouse clicks to define the anchor points that define the study. See the chapter, Line Studies, for details.

Note. Each Line Study resides in a single Pane in the chart. When there are multiple Price (Y) Axes in the Pane, the Line Study is scaled based on the first Price (Y) Scale that was used in the Pane.

Selecting, Editing and Removing a Line Study


The steps for selecting, editing and removing a Line Study are similar to those for Indicators. See the Administering Price Plots and Indicators section immediately above.

Moving a Line Study


You can move any line study to a new position within its Pane. Move the mouse over the line study. The cursor changes to a pointing finger. Click the mouse on the line study. Drag the mouse to the new location for the line study. As the mouse is moved, the Pane Heading displays information about the line study's new position. Release the mouse to move the line study to its new position.

Note. With a Cycle Lines, Fibonacci Retracements, or Trendline line study, you can drag either of the two anchor points in addition to moving the entire line. See page 129. Note. To move a copy of the Line Study, hold down the option key when pressing the mouse button on the line. This is particularly useful to create a second Trendline parallel to the original.

Administering Text Items


You can annotate text, symbols or a linked combination of both to any chart.

Adding a Text Item


Click the Text Item button in the Toolbar. The cursor changes to the text insertion cursor. Click the mouse at the location in the chart to annotate the text/symbol. While the mouse is held down, the Pane Heading displays the Date and Price (Y) Value of the mouse position. Release the mouse to add the text/symbol.

Text. Check this box to provide text with an optional frame. Enter the text, then adjust the slider below to adjust the size. Click the popup widget at the right for enclosure options.

Text. Check this box to provide a custom color, otherwise defaults to Black for White charts and White for Black charts. Back. Check this box to provide a backdrop color for the text. Frame. Check this box to provide a frame color for the text. Arrow. Check this box to show an arrow with the text. Choose an arrow direction with the popup menu and a color. Use the slider to adjust the arrows size. Bind to Date/Price. Check this box to anchor the text/symbol to the Date and Price (Y) Value in the Pane. When the chart is scrolled, zoomed, etc., the text/symbol will move with it. If this box is unchecked, the text/symbol is anchored to window coordinates. Scrolling the chart will not move the text/symbol.

Tip. When the text box is highlighted in the Inspector window, you can choose Special Characters from the Edit menu to display the standard OS X Character Palette. Click Insert to add any symbol.

Editing a Text Item


Move the mouse over the text/symbol. The cursor changes to a pointing finger. Click the mouse on the text/symbol. Edit the Text Item in the Inspector window as described above.

Moving a Text Item


Move the mouse over the text/symbol. The cursor changes to a pointing finger. Click the mouse on the text/symbol. The Text Item is highlighted indicating it is selected. With the mouse button still down, drag the mouse to the new location for the text/symbol. As the mouse is moved, the Pane Heading displays information about the text/symbol's new position. Release the mouse to move the Text Item to its new position.

Note. To move a duplicate copy of a text/symbol, hold down the option key on the keyboard when initially clicking the text/symbol.

Removing a Text Item


Move the mouse over the Text Item. The cursor changes to a pointing finger. Click the mouse on the Text Item. The Text Items specifications are shown in the Inspector window. Click Delete in the Inspector window (or choose Delete from the Edit menu).

Using the Crosshairs Cursor


The Crosshairs tool provides a read-out of the Price (Y) Values for all plots at the location of the mouse. Press the Crosshairs tool button in the Toolbar to change the mouse cursor to the Crosshairs cursor. (The Crosshairs mode is the normal default state, so usually this step is not required.) Position the mouse in the chart such that it is not over any plotted objects. The cursor will be an arrow. Press the mouse. While the mouse button is held down, each Pane Heading displays the Date and Price (Y) Values for each plot in the chart. Each Price (Y) Axis displays the value for the current vertical position of the mouse. While dragging the mouse, press the option, command, or control key for a slight variation on the crosshairs display.

Administering Panes
Charts can contain an unlimited number of Panes. Panes are automatically added as needed to accommodate new indicator plots (see page 61).

Formatting a Pane Heading


Click the mouse on any Pane Heading.

Alignment. Choose the horizontal alignment of the text in the Pane Heading. Display. Choose the content of the Pane Heading. The standard heading displays a color-coded legend for each plot in the Pane. If you choose a custom text option, you can enter the custom text in the edit field below the menu.

Resizing a Pane
When there are multiple Panes in a chart, you can adjust the vertical size of any Pane by dragging the Pane Divider or by accessing the Pane Zoom/Hide Menu. Adjusting a Pane Divider Position the mouse over a Pane Divider. The cursor changes to the sizing arrows. Press the mouse then drag up or down. Release the mouse to re-size the Pane.

Zooming a Pane to Full Chart Height From the Pane Zoom/Hide Menu in the appropriate Pane, choose Maximize. To shrink the Pane back to its original size, choose Unhide All from the Pane Zoom/Hide Menu.

Hiding a Pane From the Pane Zoom/Hide Menu in the appropriate Pane, choose Hide. To revert the Pane back to its original size, choose Unhide All from the Pane Zoom/Hide Menu.

Moving a Pane
When there are multiple Panes in a chart, you can alter the vertical ordering of the Panes by dragging any one of the Pane Headings to a new location. Move the mouse over the Pane Heading of the Pane to re-position. The cursor changes to a pointing finger. Click and hold the mouse down. As you being the drag, the cursor changes to the hand cursor and the Pane (source Pane) is highlighted. Drag the mouse over another Pane (destination Pane.) The destination Pane is highlighted. Release the mouse to move the source Pane to the new location.

Removing a Pane
Chart Panes are automatically deleted when the last plot in the Pane is deleted or is dragged to another Pane (see page 61). It is also possible to delete a Pane along with all of its contents: Move the mouse over the Pane Heading of the Pane to remove. The cursor changes to a pointing finger. Click and hold the mouse down. Drag the mouse out of the bounds of the chart window. The cursor changes to show the disappearing poof. Release the mouse to remove the Pane and all of its contents.

Note. You call remove all Panes, effectively clearing the chart, by choosing Clear Chart from the Chart menu.

Chart Templates
Templates provide a quick and easy method of fully customizing any chart with just one mouse click. A Template is the overall "look" of a chart. The settings stored in a Template can include every attribute of the chart except the base security assigned to the chart. For example, you can manually customize a chart to display a Bars plot with Volume and MACD plotted in two Panes below, set the color of the Volume plot to orange, and change the style of the MACD plot to a histogram. If you save this overall "look" as a Template, you can later apply all of the customized settings to any other chart with just one mouse click.

Saving a Template
Once you have configured the overall "look" of a chart, you can then save that state to a Template file. Click the Templates icon in the Toolbar and choose Save Current Chart Settings as a Template.

Time Axis Settings. Check this box to include the settings for the Time (X) Axis in the Template. These settings include the date range, zoom level, periodicity, and vertical gridline settings. Lines/Texts. Check this box to include all of the Line Studies and Text Items in the current chart in the Template Tip. Lines/Texts are almost always relevant only to the specific chart/ticker symbol they were originally added to, and therefore are not generally a good fit for Templates. As such, this box is normally left unchecked.

Applying a Template
When you apply a Template, the content of the current chart is replaced with the settings saved in the Template. The panes, plots, colors, formatting, etc. from the Template are applied to the chart's base security. Click the Templates icon in the Toolbar and choose a Template to apply to the chart.

Tip. You can assign a default Template to be used for all new charts in Preferences. See page 240. Note. When a Template is applied to a Chart Suite in Sync Content mode (see page 52), the Templates settings become the new settings for all chart views in the suite, including the Time Axis Settings and Lines/Texts if those boxes were checked when the Template was saved.

Administering Templates
Templates can be organized and administered via ProTAs File Browser window. If the File Browser is not open, choose File Browser from the Tools menu. Click the Charts icon at the top of the window. Then click the Templates button at the right.

See page 10 for more details about the File Browser window.

Layouts
A suite will usually display a single chart view representing one of the items from the Content listing. On the other hand, for comparative analysis, up to 25 chart views can be displayed at once in a Layout. Click the Layout button in the Toolbar. Choose from any of the Layout options in the popup menu.

The various options represent how the chart views will be placed into a grid-like display. The first number represents the number of charts displayed horizontally, the second vertically. The 1/1x2, 1/2x1, 2/1x2, and 2/2x1 options provide a hybrid arrangement where the first number represents chart views that will consume the entire vertical or horizontal window spacing and trailing pair of numbers represents a layout for the remaining chart view area of the window. Zoom to 1x1. Use this command to temporarily toggle the currently selected chart view to full window size. Choose this command a second time to toggle the chart suite back to its original Layout. This option is only available when the suites Layout displays more than a single chart view. Note. The ordering of chart views in a Layout generally flows from left to right, then top to bottom, similar to reading text on a page. So when you switch to a Layout that requires more chart views than are currently displayed, new charts are appended at the bottom/right. Conversely, if you switch from a 1x4 to a 1x2, the 2 charts views at the bottom are removed.

Currently Selected Chart


When more than one chart view is displayed, a red arrow is shown in the Main Heading of the currently selected chart. The currently selected chart is also highlighted in the Content listing at the left. All commands are routed to the currently selected chart. If you add an Indicator, apply a Template, choose Next/Prev, the action affects the currently selected chart. To change the currently selected chart, click the mouse anywhere in any of the chart views.

Tip. In a multi-chart Layout, you can cycle through the charts in the Content list sequentially using the Return and \ keys on the keyboard. To cycle through the charts one page at a time, use the page up and page down keys.

Displaying Charts in Random Access Order


Normally, the charts in a multi-chart layout will be sequential relative to the Content listing at the left. In the previous graphic, VZ, WMT and XOM are displayed in the Layout and you can see those 3 tickers in the same order at the bottom of the Content listing. You can also choose to display a randomly accessed set of tickers in the chart views. In the above 1x3 example, you can display charts for IBM, PG, and MSFT as follows: Click the mouse on the top chart view to make it currently selected chart. The red arrow will display in its Main Heading. Then click on IBM in the Content listing. Click the middle chart view to select it, then click PG in the Content listing. Click the lower chart view, then click MSFT.

Printing Charts
You can print a single chart or multiple charts in a variety of page layout formats. Configure the chart(s) to be printed. From the File menu, choose Page Setup.

Configure the standard OS X Page Setup sheet. Charts are most commonly printed in landscape Orientation as shown above. You can also choose Save As Default from the Settings popup menu. To print the currently selected chart, from the File menu, choose Print Chart.

Configure the standard OS X Print sheet. To print more than one chart per page, click Copies & Pages and switch to the Layout settings. You can also choose Save As from the Presets popup menu to save the current Print sheets settings for future re-use. Click the PDF button for various PDF options, including saving the output as a PDF file. Click Preview to review the output before sending it to the printer.

To print all of the charts in the Suite, from the File menu, choose Print Chart Suite. See the section above to configure the Print sheet.

Note. You can choose whether to render printed charts exactly as seen on screen vs. resizing to fit the printing page in Preferences. See page 240.

Chart Suite Keyboard Shortcuts


Selecting and Cycling Charts
Type a ticker symbol. Swap out the currently selected chart view for a new item from the Content listing. Return and / keys. Cycle the visible chart(s) to reveal next/previous item in the Content listing. pageup and pagedown. Cycle the visible chart(s) through the Content listing one page at a time. A page is equal to the number of chart views in the current Layout. home and end. Cycle the visible chart(s) to the top or bottom of the Content listing. Shift-Up Arrow and Shift-Down Arrow. Re-order the chart views within the Layout. Option-Tab. Advance the currently selected chart view (red arrow) to the next chart view.

Commands for the Selected Chart


Up Arrow and Down Arrow. Zoom In/Zoom Out. Option-Up Arrow and Option-Down Arrow. Cycle through the Periodicities. Left Arrow and Right Arrow. Scroll Left/Right one page. Shift-Left Arrow and Shift-Right Arrow. Scroll Left/Right one day. Tab and Shift-Tab. Advance to next/previous selected item in the Inspector window. esc. Clear the selected item in the Inspector window. Enter. Show quote file. Option-Return and Option-\ keys. Advance to the next/previous item in the Content listing.

Window Commands
Cmd-R. Toggle Sync Content mode. Shift-Cmd-R. Toggle Sync Time Scales mode. Cmd-B. Toggle visibility of Content listing. Cmd-I. Toggle visibility of Inspector window.

Indicators
Overview
An indicator is a technical calculation based on the data fields of a quote file. Technical analysts use indicators to help identify tendencies for future price action including trends, consolidations, and overbought/oversold conditions (reversal of trends). A library of 50 indicators and price plots are built-into ProTA's Indicators menu. Each is fully customizable in terms of color, line style, and computational parameters. This chapter provides a brief description of each price plot and indicator. While this chapter represents a good starting point, you will gain a much better understanding of the indicators by reading the published literature. BeeSofts web site at www.beesoft.net rd provides some suggested 3 party references. Note. See Adding a Price Plot or Indicator, page 61, for the generalized instructions for adding an indicator to a chart window. Note. All of the built-in indicators discussed in this chapter are also available for use in the Gold Language which can be used to write Custom Indicators, Trading Systems and Database Scanning criteria. See the separate chapters for each of these topics.

Accumulation/Distribution (Chaikens)
Marc Chaiken's Accumulation/Distribution (AD) is a volume-based momentum indicator that attempts to measure the flow of Volume into or out of a security. Accumulation is said to occur when the security Closes above its midpoint for the day. The closer the security Closes to its High, the stronger the evidence of accumulation. Conversely, the closer the security Closes to its Low, the stronger the evidence of distribution. The AD indicator is a cumulative summation of the security's Volume, modified to reflect the implied accumulation or distribution: Modified Volume = Volume x [(Close - Low) - (High - Close)] / (High - Low) Normalized Volume = Modified Volume / Period AD = Previous AD + Normalized Volume Accumulation/Distribution is normally plotted in its own Pane and is commonly used as a confirmation/divergence indicator. The shape of the AD plot will loosely match the shape of the security's price plot. The basic approach is to identify periods when the AD line indicates accumulation (a rising AD line, or a new high in the AD line), while the price of the security is still moving lower, or is consolidating below recent highs. This indicates buying

pressure preceding a potential price rally, a buying opportunity. Distribution (a declining AD line, or a new low in the AD line), while the price of the security is still moving higher, or is consolidating above recent lows indicates selling pressure preceding a potential price correction, a selling opportunity.

Period. Enter the time period to use when calculating the High, Low and Volume. Chaiken's original formula uses a 1 day period. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Advance Decline Line (General Market)


The Advance Decline Line compares the number of advancing issues to the number of declining issues on an exchange. This is sometimes referred to as Market Breadth. A = Advancing Issues, the number of stocks that Closed higher. D = Declining Issues, the number of stocks that Closed lower. U = Unchanged Issues, the number of stocks that Closed unchanged. ProTA will plot three variations of the Advancing/Declining Issues comparison: A-D. Plots the number of Advancing Issues minus the number of Declining Issues. When plotted as a cumulative summation, this is commonly referred to as the "Advance-Decline Line." (A-D)/U. Divides the net A-D issues by the number of Unchanged Issues. This has a normalizing affect over time. (E.G. 30 years ago, there were far fewer issues listed. Dividing by a relative value such as Unchanged Issues makes the indicator values of 30 years ago comparable to current values.) (A-D)/(A+D). Divides the net A-D issues by the total of Advancing and Declining Issues. This has a normalizing affect over time (see above.) All three indicators are best viewed as a cumulative summation, plotted in their own Pane. The Advance Decline Line is commonly viewed as a confirmation/divergence indicator when compared to the price plots of the overall market averages. See

Accumulation/Distribution, page 74 for interpretation of a confirmation/divergence indicator . Note. This plot requires that you maintain an "A/D" formatted Market Data file in your database. See page 27.

Ticker. Choose the prefix of the Ticker Symbol quote file to access for the computations. Enter "NYSE" to use the "NYSE A/D" quote file. Period. Enter the period to average A, D and U. Normally 1. Calculation. Choose the calculation method. Cumulative Summation. Check this box to plot a running total of the raw values. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Average True Range


Average True Range (ATR) is a volatility measure developed by J. Welles Wilder. ATR is calculated as an average of modified Daily ranges. Each day's True Range is defined as the greatest of: Today's High - Today's Low Absolute Value of (Today's High - Previous Close) Absolute Value of (Today's Low - Previous Close) ATR = Simple Moving Average of True Ranges ATR is normally plotted in its own Pane. As a volatility measure, ATR increases when the range of price swings are increasing, and decreases when price variability slows. Often, volatility increases at market tops and decreases as a price correction ends.

Period. Enter the period for Simple Moving Average calculation. Wilder suggests 14. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Bars
Bars are the most common of the Price Plots.

The Highest point of the Bar represents the High for the period. The Lowest point represents the Low. The horizontal tick mark on the right represents the Close. Optionally, the horizontal tick mark on the left can be added, representing the Open.

Primary. Choose the main color for the Bars. Secondary. Optionally, you can choose to paint Bars a secondary color under specified conditions: Not Used. Do not use a secondary color. Up Closes. If a Bar's Close is greater than previous Bar's Close. Down Closes. If a Bar's Close is less than previous Bar's Close. Unchanged Closes. If a Bar's Close equals previous Bar's Close. Outside Bars. If a Bar's High is greater than previous Bar's High and the Bar's Low is less than previous Bar's Low. Inside Bars. If a Bar's High is less than previous Bar's High and the Bar's Low is greater than previous Bar's Low. Gap Creating Bars. If a Bar's Low is greater than previous Bar's High or a Bar's High is less than previous Bar's Low. Key Reversal Bars. If a Bar's High is greater than previous Bar's High but the Close is less than the previous Bars Low. Or if a Bar's Low is less than previous Bar's Low but the Close is higher than the previous Bars High. Open Tick Marks. Check this box to add the Open tick mark to each Bar. Unique Tick Mark Color. Check this box to use the specified color for the tick marks.

Bear Power
Bull Power and Bear Power are two components of Dr. Alexander Elder's Elder Ray analysis. Both are oscillators that attempt to measure the raw power of bulls and bears versus the consensus. Bull Power = High - Exponential Moving Average of Closes Bear Power = Low - Exponential Moving Average of Closes

A quote from Dr. Elder's book Trading for a Living: "Bull Power is normally positive. It rises when bulls become stronger and falls when they stumble. Bear Power is normally negative. It deepens when bears grow stronger and rises when they become weaker." Bull Power and Bear Power are normally plotted in their own Panes, but a plot of both Bull and Bear Power in a single Pane can be illuminating. The complete Elder Ray analysis is a price plot with an overlaid exponential moving average, the Bull and Bear Power plotted in two Panes below.

Period. Enter the period for the Exponential Moving Average calculation. Elder recommends 13.

Binary Wave
The Trading Systems youve developed or acquired can be plotted in a chart just like an indicator. See the Trading Systems and Gold Language chapters for the creation and administration of Trading Systems.

A Binary Wave is simply a line plot with a value of: 1 when the Trading System is Long -1 when the Trading System is Short 0 when the Trading System is Flat See also Equity Line (page 91) and Trading System (page 117).

Parameters. If the Trading System includes Parameters, you can edit the values for those parameters. Line Style. See page 126 for a description of Line Style options.

Bollinger Bands
John Bollinger's Bollinger Bands attempt to define the upper and lower boundaries of a security's normal trading range. Bollinger Bands are normally overlaid on a Price Plot. Bands (lines) are plotted above and below a moving average line. The distance from the moving average is determined by a standard deviation calculation (see page 115). Upper Band = Moving Average + Standard Deviations LowerBand = Moving Average - Standard Deviations Band Width = Upper Band - LowerBand The Band Width is a measure of volatility. During periods of price consolidation, the Band Width tightens. When a new price trend begins, the Bands widen. Potential tops and bottoms are highlighted when the security Closes above the Upper Band or below the Lower Band, then subsequently Closes within the Bands. Optionally, you can plot %B. %B is an oscillator that measures the location of the Close in relation to the trading range defined by the Bollinger Bands. %B is usually plotted/moved into its own Pane. %B = (Close - Lower Band) / Band Width

MA Period. Enter the number of periods to use in the Moving Average and Standard Deviation calculations. Bollinger recommends 20. Band Deviations. Enter the number of Standard Deviations to shift the Bands from the Moving Average. Bollinger recommends 2. Display. Choose the line(s) to plot. Bands. Plots the Upper and Lower Bands. Bands with MA. Plots the Upper and Lower Bands and the Moving Average line. %B. Plots the %B oscillator. Basis. Choose the security's price field to use in the calculation. Closes are normally used. MA Type. Choose the Moving Average method (see page 99). X Shift. Enter the number of ticks on the Time (X) Axis to shift the entire plot forward (positive number) or backward (negative number) in time. Y Shift. Enter the number of points or percentage to shift the entire plot up (positive number) or down (negative number) on the Price (Y) Axis. This setting will shift both the Upper and Lower Band in the same direction.

Bollinger Put Volume Indicator (General Market)


The Bollinger Put Volume Indicator was developed by John Bollinger to highlight excessive bearish sentiment. The indicator compares current OEX (S&P 100) Put Volume to its recent average. P = Volume of OEX (S&P 100) Put options Bollinger Put Volume Indicator = P / Moving Average of P The Bollinger Put Volume Indicator is normally plotted in its own Pane and is commonly viewed as a contrary indicator: Excessive bearish speculation (a high indicator reading), especially following a decline, implies a pending market bottom.

Note. This plot requires that you maintain a special "PUT/CALL" Market Data file in your database. See page 27.

Period. Enter the time period for the Moving Average calculation. Bollinger recommends 10. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Bull Power
Bull Power and Bear Power are two components of Dr. Alexander Elder's Elder Ray analysis. Both are oscillators that attempt to measure the raw power of bulls and bears versus the consensus. Bull Power = High - Exponential Moving Average of Closes Bear Power = Low - Exponential Moving Average of Closes For more information, see Bear Power on page 78.

Period. Enter the period for the Exponential Moving Average calculation. Elder recommends 13.

Candlesticks
Japanese Candlestick charting dates back to the 1600's. Like Bars, Candlesticks are a Price Plot. However, Candlesticks reveal more information about the Open, High, Low, Close relationship than Bars do.

The highest point of the shadow represents the High. The lowest point of the shadow represents the Low. The top and bottom of the candle body represent the Open and Close. A light-colored candle body (often White or Green) indicates the Close was higher than the Open. A dark body (often Black or Red) indicates the Close was lower than the Open. Note. By their nature, Candlesticks require Open data. If you plot Candlesticks for a security with no (or only partially complete) Open data, ProTA substitutes the prior Close for the Open when necessary. Keep in mind this is a "work-around" solution which does not necessarily generate the appropriate patterns that Open data would. Steve Nison has written a wonderful reference for Candlestick charting, Japanese Candlestick Charting Techniques. Following is a brief description of the patterns ProTA will recognize. Big Candle. An unusually long body with a wide range between high and low. Dark Cloud Cover. A long white candle followed by a black candle. The black candle opens above the white candle's high and closes well into the white candle's body. Doji. The open is the same as the close. Doji Star. A Doji that gaps above or below the previous candle. Engulfing Line (Bullish). A small black body followed by a large white body. The white body completely extends above and below the black body. Engulfing Line (Bearish). A small white body followed by a large black body. The black body completely extends above and below the white body. Evening Doji Star. A large white body followed by a Doji that gaps above or below the previous candle. A third black candle closes well into the white body.

Evening Star. A large white body followed by a small body (either color) that gaps above or below the previous candle. A third black candle closes well into the first candle's body. Gravestone Doji. The open is the same as the close and are equal to the low. Hammer (Bullish). A small body (either color) near the high with a long lower shadow and a short or no upper shadow. Hammer (Bearish). A small black body near the low with a long upper shadow and a short or no lower shadow. Harami (Bullish). A large black body is followed by a small white body. The black body completely extends above and below the white body. Harami (Bearish). A large white body is followed by a small black body. The white body completely extends above and below the black body. Harami Cross (Bullish). A large black body followed by a Doji that lies within the black body. Harami Cross (Bearish). A large white body followed by a Doji that lies within the white body. Morning Doji Star. A large black body followed by a Doji that gaps above or below the previous candle. A third white candle closes well into the black body. Morning Star. A large black body followed by a small body (either color) that gaps above or below the previous candle. A third white candle closes well into the first candle's body. Piercing Line. A black candle followed by a white candle. The white candle opens lower than the black candle's low, but closes more than half way into the black body. Separating Lines. Two candles of opposite color with the same open. Three White Soldiers. Three white candles each with higher closes and short upper shadows. Three Black Crows. Three black candles each with lower closes and short lower shadows. Window. A candle that gaps above or below the previous candle. Note. Many Candlestick patterns are subjectively defined. (Long, Big, Small). ProTA has built-in rules for each pattern, based largely on my own personal experiences. Keep in mind that one trader's "small body" might look a little hefty to another.

Up. Choose a color for the Body of Up Candles. Down. Choose a color for the Body of Down Candles. Unique Shadow. If checked, you can choose a color for the Shadow of each Candle. Pattern. Choose a Candlestick pattern to highlight. ProTA draws a shaded box around all Candlesticks that comprise the specified pattern.

Chaikin Oscillator
The Chaikin Oscillator is based on Marc Chaiken's Accumulation/Distribution (AD) indicator (see page 74.) It is calculated as the difference between a 3 period exponential moving average (EMA) of AD and a 10 period EMA of AD. Chaikin Oscillator = 3 Period EMA of AD - 10 Period EMA of AD The Chaikin Oscillator is normally plotted in its own Pane. A simple approach is to buy when the oscillator moves above the zero line and sell when it moves below zero. The author recommends using the oscillator for divergence analysis, especially at new highs or lows in the security's price. If the security makes a new high or low that is not confirmed by the Chaikin Oscillator, a potential reversal is pending. This is especially reliable when direction of the potential reversal agrees with the direction of the longer term trend.

Long Period. Enter the period for the longer EMA. Normally 10. Short Period. Enter the period for the shorter EMA. Normally 3. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Closes
Closes is a simple line plot of the Closing values in the quote file.

Line Style. See page 126 for a description of Line Style options.

Commodity Channel Index


The Commodity Channel Index (CCI) is an oscillator that relates the Typical Price of a security to the mean Typical Price over a period of time. Typical Price = (High + Low + Close) / 3 TP MA = Simple Moving Average of Typical Prices Mean Deviation = Sum of [ABS(Typical Price - TP MA)]/ Period CCI = (Typical Price - TP MA) / (0.015 x Mean Deviation) The CCI usually falls within a range of +/-100. Values beyond that range often flag overbought/oversold conditions. A trading approach is to go long at the +100 level, then cover during the retracement back down to +100; conversely go short at the -100 level, then cover during the retracement back up to -100.

Period. Enter the period for Simple Moving Average and Mean Deviation calculations. Commonly 14. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Custom Indicator
ProTA Gold treats the Custom Indicators youve developed or acquired in a manner consistent with its built-in indicators. The Inspector for a Custom Indicator looks very much like that for the built-in indicators. Following is an example for a Custom Indicator named My First Indicator which has two Parameters, shortPeriod and longPeriod:

Custom Indicators can customize up to 5 Parameters. See the Custom Indicator and Gold Language chapters for the creation and administration of Custom Indicators.

Data Line
Data Lines are simple line plots based on price fields in the quote file. Optionally, you can shift the plot forward or backward in time, and up or down on the Price (Y) Scale. You can plot any of the price fields in the quote file (Open, High, Low, Close) or choose one of the weighted calculations: Median Price = (High + Low) / 2 Typical Price (HLC) = (High + Low + Close) / 3 Typical Price (OHLC) = (Open + High + Low + Close) / 4 Weighted Close = [High + Low + (Close x 2)] / 4

Data Lines are considered a Price Plot and are commonly used as a substitute for, or as an overlay to the common Bars or Candlestick plots.

Line Basis. Choose the price field or the weighted calculation to plot. Line Style. See page 126 for a description of Line Style options. X Shift. Enter the number of ticks on the Time (X) Axis to shift the plot forward (positive number) or backward (negative number) in time. Y Shift. Enter the number of points or percentage to shift the plot up (positive number) or down (negative number) on the Price (Y) Axis.

Detrended Price Oscillator


The Detrended Price Oscillator (DPO) is an oscillator that attempts to eliminate the trend in prices, highlighting the overbought/oversold cycles in the price action. X = (Period / 2) + 1 Shifted MA = Simple Moving Average of Closes shifted back X periods DPO = Close - Shifted MA

Period. Enter the period for Simple Moving Average and X Shift calculations. Normally set to approximate the short-term peak-trough cycle in the security's price action. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Directional Movement
Directional Movement is actually a complete trading system that was developed by J. Welles Wilder. ProTA includes all five indicators in the Directional Movement System: +DI, -DI, DX, ADX, and ADXR. Briefly: +DI, -DI. +DI represents the sum of adjusted increasing price movement over a period of time. -DI represents the sum of adjusted decreasing price movement over a period of time. +DI and -DI are normally plotted together in their own Pane. A buy signal is generated when +DI moves above -DI, a sell signal is given when +DI moves below -DI. DX, ADX, ADXR. DX is a rating (0 - 100) of the absolute directional movement of a security's price over the specified time period. If a security moves up in price a number of days, then down in price, ending basically unchanged, the DX will give a low reading. If the security consistently moves up (or down) in price, the DX will be higher. DX can be volatile, so a smoothing average is applied, resulting in the ADX indicator. ADXR is a special averaging of ADX. ADX and/or ADXR are normally plotted in a separate Pane. Low readings of ADX or ADXR indicate low directional movement, a consolidating or choppy market. High ADX or ADXR readings indicate high directional movement, a trending market. The calculation of the Directional Movement indicators is too complex for these pages. See Wilder's New Concepts in Technical Trading Systems.

Check the boxes of the indicators to plot. Wilder recommends a period of 14 for the +DI, DI, DX ranges and also a period of 14 for the ADX and ADXR smoothing calculations.

Ease of Movement
Ease of Movement (EMV) was developed by Dick Arms in conjunction with his Equivolume charting method. EMV reduces each period's Price and Volume to a single value that represents the ease at which prices are moving upward or downward. Midpoint = (High + Low) / 2 Midpoint Move = Today's Midpoint - Previous Midpoint Box Ratio = (Volume / 100) / (High - Low) EMV = Midpoint Move / Box Ratio The "raw" EMV calculation is quite volatile. ProTA smoothes the raw EMV with a moving average. EMV is normally plotted in its own Pane. A trading approach is to buy when EMV crosses above the zero line, indicating ease of upward price movement. Sell when EMV crosses below the zero line, indicating ease of downward price movement.

Period. Enter the period for the smoothing moving average. Common values are: ST=14, IT=26, LT=255. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Equity Line
The Trading Systems youve developed or acquired can be plotted in a chart just like an indicator. See the Trading Systems and Gold Language chapters for the creation and administration of Trading Systems.

The Equity Line is a powerful tool for assessing the performance of a Trading System. It is presented as a line plot representing the day-to-day equity balance of the Trading System. The day-to-day equity balance is simply the starting equity balance plus or minus the cumulative profit or loss the Trading System has generated. Ideally, the Equity Line should slope upward, steadily. Large spikes can indicate a Trading System that is inconsistent and risky. The validity of a Trading System that generates large profits concentrated in just a single trade or in a very short time span is doubtful. See also Binary wave (page 79) and Trading System (page 117). There are two tabs to configure for an Equity Line plot. Click a tab to configure that section.

Parameters & Display tab. If the Trading System includes Parameters, you can edit the values for those parameters in this tab. Line Style. See page 126 for a description of Line Style options.

Accounting tab. Use this tab to specify the accounting rules to be followed in the day-today equity calculation. Please see page 174 for a description of the various accounting options.

Exchange Up-Down Volume (General Market)


Up-Down Volume compares the volume of advancing issues to the volume of declining issues on an exchange. U = Up Volume, the volume of stocks that Closed higher. D = Down Volume, the volume of stocks that Closed lower. T = Total Volume, the volume of all stocks on the exchange. ProTA will plot three variations of the Up-Down Volume comparison: U-D. Plots the Up Volume minus the Down Volume, providing a plot similar to the Advance-Decline Line (see page 75), but based on Volume. (U-D)/T. Divides the net U-D Volume by the Total Volume. This has a normalizing affect over time. (E.G. 30 years ago, there was much lower overall exchange Volume. Dividing by a relative value such as Total Volume makes the indicator values of 30 years ago comparable to current values.) (U-D)/(U+D). Divides the net U-D Volume by the total of Up and Down Volume. This has a normalizing affect over time (see above.) Each is best viewed as a cumulative summation, plotted in its own Pane. Up-Down Volume is most commonly viewed as a confirmation/divergence indicator when compared to the price plot of the overall market averages. See Accumulation/Distribution, page 74 for interpretation of a confirmation/divergence indicator . Note. This plot requires that you maintain a special "VOL" formatted Market Data file in your database. See page 27.

Ticker. Choose the prefix of the Ticker Symbol quote file to access for the computations. Enter "NYSE" to use the "NYSE VOL" quote file. Period. Enter the period to average U, D and T. Normally 1. Calculation. Choose the calculation method. Cumulative Summation. Check this box to plot a running total of the raw values.

Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Force Index
The Force Index combines price changes and Volume into a single value that attempts to represent the magnitude of the force driving a rally or decline. Force Index = Volume x (Today's Close - Yesterday's Close) The "raw" Force Index is quite volatile and is usually smoothed with a moving average calculation. The Force Index is normally plotted in its own Pane. When the smoothed Force Index crosses the zero line, it indicates a change in trend and can be used as a buy/sell signal. You can also plot the cumulative summation of the Force Index and interpret it much the same as the Accumulation/Distribution indicator (see page 74.)

Period. Enter the period for the smoothing moving average. Elder recommends 2 or 13. Cumulative Summation. Check this box to plot a running total of the Force Index values. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Linear Regression Forecast


Linear Regression Forecast (LRF) is based on the statistical "least squares" regression line. A statistical regression line ("line of best fit") minimizes the distance between the data points and the line. ProTA's LRF calculates a "line of best fit" at each date, then plots the Price (Y) Value of that line at the specified point in time.

The LRF plot is similar in display and interpretation to a moving average. It is usually overlaid on a Price Plot.

Lookback Period. Enter the number of data points to use when calculating the "lines of best fit." This value is similar to the period for a moving average. Lookforward Period. Enter the number of periods to look forward on the "line of best fit" when determining the Price (Y) Value to plot. Enter a 2 to plot the value forecasted by the "line of best fit" 2 days into the future. Enter a zero to forecast the current day's price . Zero is the most common setting and is sometimes referred to as an "End Point Moving Average." Basis. Choose the price field to use as the basis for the calculation (usually Closes.) X Shift. Enter the number of ticks on the Time (X) Axis to shift the entire plot forward (positive number) or backward (negative number) in time. Y Shift. Enter the number of points or percentage to shift the entire plot up (positive number) or down (negative number) on the Price (Y) Axis. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

MACD
Moving Average Convergence/Divergence (MACD) is a price oscillator based on the difference between two moving averages. ProTA's MACD tool allows you to plot a number of variations on the MA oscillator theme. ShortMA = Moving Average of prices based on Short Period LongMA = Moving Average of prices based on Long Period MACD Oscillator = ShortMA - LongMA MACD Signal Line = Moving Average of the MACD MACD Histogram MACD Oscillator - MACD Signal Line

A trading rule for MACD is to sell when the MACD moves below the MACD Signal Line. Buy when the MACD moves above the MACD Signal Line. Another approach is to sell when the MACD Histogram makes a peak well above the zero line, then begins to reverse. Buy when the MACD Histogram makes a low well below the zero line, then begins to reverse.

Long Period. Enter the period for the LongMA. Normally 26. Short Period. Enter the period for the ShortMA. Normally 12. Signal Line Period. Enter the period for the MACD Signal Line. Normally 9. Basis. Choose the price field as the basis for the calculation, usually Closes. MA Type. Choose the Moving Average method, usually Exponential (see page 99). Lines. Choose the lines to display. MACD Oscillator. Plots the MACD Oscillator MACD Lines. Plots the MACD Oscillator and the MACD Signal Line. MACD Histogram. Plots the MACD Histogram.

Market Facilitation Index


The Market Facilitation Index was originally published in Bill Williams Trading Chaos. It is a technique that combines price action and volume to categorize each trading day into one of four types. The value of the WMFI plot is simply: (High - Low) / Volume Each day is categorized based on the relationship between todays and yesterdays Volume and WMFI values: Green Days: Increase in both Volume and WMFI.

Fade Days: Decrease in both Volume and WMFI. Fake Days: Decrease in Volume, increase in WMFI. Squat Days: Increase in Volume, decrease in WMFI. Williams interprets each category differently. Perhaps the most interesting are the Squat Days which indicate increased trading activity with little ability to move prices. Multiple successive Squat Days can often point out a short term reversal in trend. A complete description of WMFI is beyond the scope of this manual. Please see Trading Chaos for a complete description.

Choose colors for each of the WMFI categories.

McClellan Oscillator (General Market)


The McClellan Oscillator measures expanding or contracting market breadth based on the number of advancing and declining issues on an exchange. The McClellan Oscillator compares a shorter exponential moving average (EMA) of breadth to a longer EMA of breadth. A = Advancing Issues, the number of stocks that Closed higher. D = Declining Issues, the number of stocks that Closed lower. McClellan Oscillator = (Shorter EMA of (A - D)) - (Longer EMA of (A - D)) You can plot the raw McClellan Oscillator or a cumulative running total of the McClellan Oscillator, referred to as the Summation Index. Each is best viewed in its own Pane, and is commonly viewed as a confirmation/divergence indicator when compared to the price plot of the overall market averages. See Accumulation/Distribution, page 74 for interpretation of a confirmation/divergence indicator . Note. This plot requires that you maintain an "A/D" formatted Market Data file in your database. See page 27.

Ticker. Choose the prefix of the Ticker Symbol quote file to access for the computations. Enter "NYSE" to use the "NYSE A/D" quote file. Short Period. Enter the period for the shorter EMA. Normally 19. Long Period. Enter the period for the longer EMA. Normally 39. Summation Index. Check this box to plot a running total of the McClellan Oscillator. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Money Flow Index


The Money Flow Index (MFI) is an oscillator that attempts to quantify the strength of money flowing into and out of a security. The MFI calculation is similar to that of the popular Relative Strength Index (see page 113) except MFI also gives consideration to Volume. Average Price = (High + Low) / 2 Money Flow = Volume x Average Price Positive Money Flow occurs when Today's Average Price is greater than the Prior Average Price. Negative Money Flow occurs when Today's Average Price is less than the Prior Average Price. U = Sum of Positive Money Flow over the specified time period D = Sum of Negative Money Flow over the specified time period MFI = 100 - [100 / (1 + (U / D))] MFI oscillates between 0 and 100, and is normally plotted in its own Pane. The most common use of MFI is as a divergence indicator. When the security's price trends higher and the MFI trends lower, a top may form. When the security's price trends lower and the

MFI trends higher, a bottom may form. Another approach is to look for market tops or bottoms when the MFI reaches extreme values close to 0 or 100, then retraces.

Period. Enter the time period for the MFI calculation. Common values are 9, 14 and 25. OB/OS Lines. Check this box to add overbought/oversold lines. See page 128. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Moving Averages
A Moving Average is a calculation of the security's average price over a period of time. The average is recalculated for each data point in time, and therefore "moves" up and down as the price of the security moves up and down. Moving Averages are sometimes referred to as "smoothing moving averages" because they react slower to price movements than the underlying security, and can filter out shorter term price swings. ProTA includes three Moving Average calculation methods: Simple. A simple, or arithmetic, moving average is a true average of price values. A Simple Moving Average (SMA) is calculated as the sum of values over a period of time, divided by the number of values in the period. A 9 day moving average of Closes is calculated by adding the last 9 Closing values, then dividing the total by 9. This process is repeated each day. Exponential. An Exponential Moving Average (EMA) is calculated in cumulative succession, applying a percentage of the current price value to the previous EMA. The initial EMA value is calculated using a Simple Moving Average. Subsequent EMA values are computed as: Percentage = 2 / (EMA Period + 1) EMA = (Today's Price x Percentage) + (Previous EMA x (1 - Percentage))

For example, to calculate a 9 day EMA of Closes, begin with the 9th day in the quote file and calculate a Simple Moving Average of the Closes. Then each subsequent day, calculate the new EMA value as follows: Percentage = 2 / (9 + 1) = .20 EMA = (Today's Close x .20) + (Previous EMA x .80) An Exponential Moving Average places more weight on recent data than does a Simple Moving Average. Weighted. A Weighted Moving Average (WMA) places the most weight on recent data. A Weighted Moving Average is calculated by averaging price values after applying a weighting to each value. The weighting for each value is determined by the number of days in the WMA period. For example to calculate a 4 day WMA of Closes: Day 1 2 3 4 Total Weight 1 2 3 4 10 Close 10 12 14 16 n/a Weighted Close 10 24 42 64 140

WMA = 140 / 10 = 14 This process is repeated each day. All three Moving Average methods are applied and interpreted in the same manner. The Moving Average plot is usually overlaid onto the underlying Price Plot. A trading method is to go long when the security Closes above its Moving Average, then cover (and optionally go short) when the security Closes below its Moving Average. The trend of a security can be determined by reference to the slope of the Moving Average. If the Moving Average is increasing, the trend is up. If the Moving Average is decreasing, the trend is down.

Period. Enter the period for Moving Average calculation. Common values are 5, 9, 21, 50, 200. Type. Choose the Moving Average method.

Basis. Choose the price field to use as the basis for the calculation, usually Closes. X Shift. Enter the number of ticks on the Time (X) Axis to shift the entire plot forward (positive number) or backward (negative number) in time. Y Shift. Enter the number of points or percentage to shift the entire plot up (positive number) or down (negative number) on the Price (Y) Axis. Tip. You can create the traditional Envelopes plot by plotting two Moving Averages, one Y Shifted up by several percent and another Y Shifted down by several percent.

Negative Volume Index


The Negative Volume Index (NVI) is initially set to 100, then changes value only when Volume is declining. If Today's Volume is lower than Volume X Periods ago: NVI = NVI x [1 + (Today's Close - Close X Periods ago) / Close X Periods ago] NVI is normally plotted in its own Pane. Since declining prices usually accompany declining Volume, the NVI will tend to trend downward. One interpretation of NVI is based on the assumption that price action on lower Volume days is driven by market professionals (lower volume indicates the "uninformed public" is absent.) Therefore, relative changes in the NVI reflect the direction of the "smart money."

Period. Enter the time period for the Volume and Closes comparison. Normally 1. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Net New Highs-Lows (General Market)


Net New Highs-Lows compares the number of issues on an exchange setting a new 52 week high to the number of issues setting a 52 week low. Net New Highs-Lows = Number of issues setting 52 week high - Number of issues setting 52 week low Net New Highs-Lows is normally plotted in its own Pane. Readings above zero indicate a bullish tone to the market, readings below zero are bearish. When plotted as a cumulative summation, the Net New Highs-Lows plot is commonly viewed as confirmation/divergence indicator when compared to the price plot of the overall market averages. See Accumulation/Distribution, page 74 for interpretation of a confirmation/divergence indicator . Note. This plot requires that you maintain an "H/L" formatted Market Data file in your database. See page 27.

Ticker. Choose the prefix of the Ticker Symbol quote file to access for the computations. Enter "NYSE" to use the "NYSE H/L" quote file. Period. Enter the period to average H and L before subtracting. Normally 1. Cumulative Summation. Check this box to plot a running total of the raw values. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

On Balance Volume
On Balance Volume (OBV) attempts to show the volume flow into or out of a security. OBV is a cumulative summation of Volume:

If Today's Close is greater than Previous Close: OBV = OBV + Volume If Today's Close is less than Previous Close: OBV = OBV - Volume OBV is normally plotted in its own Pane, and can be interpreted in much the same way as the Accumulation/Distribution indicator (see page 74.)

Period. Enter the period for the Closes comparison and Volume summation. Normally 1. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Open Interest
Open Interest is a simple line plot of the Open Interest field values in the security's quote file. Open Interest represents the number of open contracts for commodity futures or options. An increase in both prices and Open Interest can be interpreted as positive confirmation: new buyers are entering the market, pushing prices higher. Conversely, an increase in prices with declining Open Interest can imply a reduction in liquidity and can lead to a reversal in the trend.

Line Style. See page 126 for a description of Line Style options.

Parabolic SAR
The Parabolic Stop and Reverse (SAR) indicator is a trend following trading system developed by J. Welles Wilder. The SAR system is either long or short the market at all times. Each day, a new stop-loss level is calculated for the trade. If the market breaks through the stop-loss level, the system stops out and reverses (e.g. if the system was long, it covers and goes short). The stop-loss level begins some distance from the current price action, then increases or decreases at an exponential rate, giving the indicator a parabolic shape. Parabolic SAR is normally overlaid onto a Price Plot. ProTA plots the SAR stop loss level for each day. When the SAR is below the price plot, the system is long, when the SAR is above the price plot, the system is short. The Parabolic SAR calculation is too complex for these pages. See Wilder's New Concepts in Technical Trading Systems.

Initial. Enter the initial Acceleration Factor (AF) to use in the SAR calculation at the beginning of each trade. Normally .02.

Step. Enter the amount to increase the AF each time the trade makes a new high (if long) or low (if short.) Normally .02. Maximum. Enter the maximum AF. Once the SAR calculation has stepped up to this AF, the AF remains constant until the trade reverses. Normally .2. Line Style. See page 126 for a description of Line Style options. Parabolics is normally plotted as a series of dots or markers.

Performance
The Performance indicator displays the price performance of the base security from a specified Basis Date in the past. Performance is measured by the change in raw points or by the percentage change. Performance (Pts) = Today's Close - Basis Date's Close Performance (%) = Performance (Pts) / Basis Date's Close Performance is normally plotted in its own Pane. A reading of zero indicates the security's price is the same as the Close on the Basis Date. A reading of +50 indicates the security has increased by 50 (Pts or %.) A reading of -50 indicates the security has decreased in value by 50 (Pts or %.)

Basis Date. Enter the comparison date for the Performance calculation. ProTA will use the first date in the security's quote file that is greater than or equal to the specified date. Tip. Enter a date such as 1/1/50 to use the first date in the quote file. Change in. Choose the type of Performance to display. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Point & Figure


Point & Figure (P&F) charting plots the rising and falling price trends of a security while filtering out minor reversals and completely ignoring the element of time. P&F charts mark rallies with a rising column of Xs and declines with a falling column of Os. As prices rally, a new X is drawn when a new Box (price) level is reached. We stay with the same column of Xs until a price reversal occurs. Typically, three Boxes are defined as the reversal criteria. If the price reverses three Boxes from the highest X Box, we move one column to the right and begin plotting Os to track the price movement downward.

The ABK chart above uses a Box Size of 1 (1 point) and a Reversal of 3 Boxes (3 points). While ABK rallied from 75 to 82 (see A), there might have been minor reversals along the way, but they were all less than 3 Boxes in size. After weeks of rallying up to 82, ABK fell 3 Boxes from that high, thus we moved to the right and began tracking the pullback with Os (see B). The price declined to the 77 Box, then the price rallied 3 Boxes, so we again moved to the right and began tracking the upswing using Xs again (see C). The interpretation of P&F charts largely centers on support and resistance levels which are indicated by the termination levels of the columns of Xs or Os. When several columns terminate and reverse at the same price level, that price level will likely provide support or resistance in the future. A piercing of that level can be seen as a breakout, confirming a continuation of the trend. Most general-scope TA books provide a quality overview at P&F charting. Point & Figure Charts are Unique P&F charts are somewhat unique as their Time (X) Axis is computed based upon reversal dates. The dates on the time axis represent the date each trend began. When using the Crosshairs tool, the Pane Heading readout displays the value of the top-most and bottommost box for each trend. If you add a Volume related plot, ProTA calculates and uses an average Volume for each trend column

In most other respects, the P&F chart can be treated as any other. You can overlay indicators, trendlines, text annotations, etc. To invoke a Point & Figure plot, click the Time (X) Axis, then check the Point & Figure box in the Time (X) Axis Inspector.

The bottom portion of the Inspector relates specifically to Point & Figure plots. P&F Box Size. Choose the scaling size all prices are rounded down to the nearest Box level. Fixed. A user-specified Box Size. Auto. ProTA will calculate a Box Size based upon recent prices. Variable. Based on Dorseys P&F methodology. When prices are less than $20, a Box Size of 0.50 is used. When prices are between $20 and $100, a Box Size of 1.00 is used. For prices above $100, a Box Size of 2.00 is used. P&F Reversal. Define the quantity of price retracement that will be ignored in trends. Boxes. Number of boxes the securitys price must retrace for a reversal of trend. Percentage. Percent price retracement required for a reversal of trend. Examine. Choose Closes to determine local highs and lows based only on the security's Closes field. Choose Highs & Lows to examine the High and Low fields. When you enable Point & Figure, all Price Plots (Bars, Candles, Closes) become Point & Figure plots. To edit the display style of a Point & Figure plot, click on the Point & Figure plot.

Choose colors for the columns of X and O.

Positive Volume Index


The Positive Volume Index (PVI) is initially set to 100, then changes value only when Volume is increasing. If Today's Volume is higher than Volume X Periods ago: PVI = PVI x [1 + (Today's Close - Close X Periods ago) / Close X Periods ago] PVI is normally plotted in its own Pane. Since rising prices usually accompany rising Volume, the PVI will tend to trend upward. One interpretation of PVI is based on the assumption that price action on higher Volume days is driven largely by the "uninformed public" (rising volume indicates the public has entered the market). Therefore, relative changes in the PVI reflect the movement of "naive money."

Period. Enter the time period for the Volume and Closes comparison. Normally 1. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Price Overlay
Comparison Overlays: Price Overlay adds the price plot of another security to the current chart. You can choose to add a Bars or Line plot, and can (optionally) adjust the overlaid price plot such that the Closing price for the overlay security is equal to the Closing price of the base security as of a specified date. This can aid in viewing relative performance of the two securities from the specified date, forward in time. Price Overlays are commonly added both in separate Panes, or as overlays to an existing Pane. By default, a new Price Overlay plot is added with its own Price (Y) Axis. To merge the Price Overlay plot into an existing price scale, drag the Price Overlay plot onto the Price (Y) Axis of the base security (see page 61.)

Ticker, Type. Enter the Ticker Symbol and Type of security to overlay. Normalization. You can adjust the overlaid price data such that the Closing price for the overlay security is equal to the Closing price of the base security as of a specified date. See page 128. Bars. Choose this button to add a Bars plot. Line. Choose this button to add a Line plot. The settings at the bottom are used to configure the display options and are identical to the options for Bars (see page 77) and Data Lines (see page 88).

Price Volume Trend


Price Volume Trend (PVT) attempts to show the volume flow into or out of a security. PVT is a cumulative summation of Volume, adjusted by the magnitude of the security's price change:

PVT = PVT + Volume x (Today's Close - Previous Close) / Previous Close) PVT is normally plotted in its own Pane, and can be interpreted in much the same way as the Accumulation/Distribution indicator (see page 74.)

Period. Enter the period for the Closes comparison and Volume summation. Normally 1. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Put/Call Ratio (General Market)


The Put/Call Ratio compares the Volume of Put and Call options traded on the OEX (S&P 100 Index.) P = Volume of OEX Put options C = Volume of OEX Call options Put/Call Ratio = P / C The Put/Call Ratio is normally plotted in its own Pane. The ratio attempts to measure the level of speculation into the bearish versus bullish outlooks for the overall stock market. This indicator is commonly viewed as a contrary indicator: Excessive bearish speculation (a high P/C Ratio) following a decline in prices implies a pending market bottom. Excessive bullish speculation (a low P/C Ratio) following a price rally implies a pending market top. Note. This plot requires that you maintain a special "PUT/CALL" Market Data file in your database. See page 27.

Period. Enter the time period to average P and C before dividing. Normally 1. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Rate of Change
The Rate of Change (ROC) indicator compares the Closing price of the security to the Closing Price a number of periods ago. The indicator's value represents the percentage change in the security over the specified time period. For example a 12 day ROC is calculated as: ROC = (Today's Close - Close 12 Day's Ago) / Close 12 Day's Ago ROC is normally plotted in its own Pane. A reading of zero indicates the security's price is the same as x days ago. A reading of +20 indicates the security has increased by 20%. A reading of -20 indicates the security has decreased by 20%. As a security moves from a bearish trend to a bullish trend, the ROC will cross from negative to positive. As a bullish trend accelerates, the ROC will move higher. Relatively high ROC values, followed by a retracement can indicate exhaustion of the bull move. (The opposite applies for bearish trends.)

Period. Enter the comparison time period for the ROC calculation. Common values are: ST=12, IT=26, LT=255. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Relative Performance
Relative Performance compares the price performance of the base security to that of another security in your database. Relative Performance = Base Security Price / Compare Security Price Relative Performance is normally plotted in its own Pane. A reading of 100 indicates the Base Security Price = Compare Security Price. An increasing Relative Performance line indicates the base security is outperforming the comparison security. A decreasing Relative Performance line indicates the base security is under-performing the comparison security. You can (optionally) normalize the Relative Performance plot such that the Relative Performance is adjusted to equal 100 as of a specified date. This can aid in viewing relative performance of the two securities from the specified date, forward in time.

Ticker, Type. Enter the Ticker Symbol and Type of security to compare with. Normalization. You can adjust the comparison data such that the Relative Performance reading equals 100 as of a specified date. See page 128. Line Basis. Choose the price field as the basis for the comparisons (usually Closes.) Line Style. See page 126 for a description of Line Style options.

Relative Strength Index


The Relative Strength Index (RSI) is an oscillator that attempts to measure the internal strength of a security by analysis of recent price changes. U = Average Up price change over the specified time period D = Average Down price change over the specified time period RSI = 100 - [100 / (1 + (U / D))] RSI is normally plotted in its own Pane. RSI oscillates between 0 and 100, and normally tops out above 70 and bottoms below 30. The most common use of RSI is as an overbought/oversold indicator. When RSI moves above 70 then begins to retrace, the rally in the underlying security may be over. When RSI moves below 30 then begins to move up, this is an early indication of a market bottom. RSI is more completely interpreted by its author, J. Wells Wilder, in New Concepts in Technical Trading Systems.

Period. Enter the time period for the RSI calculation. Common values are 9, 14 and 25. OB/OS Lines. Check this box to add overbought/oversold lines. See page 128. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Spread
A Spread represents the raw price difference between the base security and another security in your database. Spread = Base Security Price - Compare Security Price The Spread is normally plotted in its own Pane. A reading of zero indicates the Base Security Price = Compare Security Price. An increasing Spread indicates the base security is outperforming the comparison security. A decreasing Spread indicates the base security is under-performing the comparison security. You can (optionally) normalize the Spread such that the Spread is adjusted to zero as of a specified date. This can aid in viewing relative performance of the two securities from the specified date, forward in time.

Ticker, Type. Enter the Ticker Symbol and Type of security to compare with. Normalization. You can adjust the comparison data such that the Spread equals zero as of a specified date. See page 128. Line Basis. Choose the price field as the basis for the comparisons (usually Closes.) Line Style. See page 126 for a description of Line Style options.

Standard Deviations
Standard Deviations is a statistical measure of volatility. It quantifies the mean deviation each data point falls from the average of the data points: N = Number of data points Avg = Sum of data values / N Sum of squared diffs = (Data point value - Avg) 2

Standard Deviation = Square root of (Sum of squared diffs / (N - 1)) Standard Deviations is normally plotted in its own Pane. As a volatility measure, Standard Deviations increases when the range of price swings are increasing, and decreases when price variability slows. Often, volatility increases at market tops and decreases as a price correction ends.

Period. Enter the period for calculation. Common values are: 12, 26, 255. Deviations. Enter a multiplier. The "raw" standard deviation calculation is multiplied by this value. Normally 1. Basis. Choose the price field as the basis for the calculation (usually Closes.) Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Stochastics
Stochastics is an indicator popularized by George Lane that compares the current Close to the range of prices over a specified period of time. "Raw" Stochastics values are very volatile and are usually smoothed with a moving average calculation. The first component of Stochastics is %K. %K = (Today's Close - Lowest Low over X Periods) / (Highest High over X Periods Lowest Low over X Periods) %K represents the percentile the current Close ranks within the recent trading range. A reading of 0 indicates the current Close is at the bottom of the recent trading range. A reading of 100 indicates the current Close is the high of the recent trading range. Since the "raw" %K values tend to swing very rapidly from one extreme to the other, smoothing is usually applied. The smoothing method is a simple moving average of the "raw" %K values. The second component of Stochastics is %D. %D = Simple Moving Average of %K. %D is a smoother, less volatile version of %K. Stochastics is usually plotted (both %K and %D) in its own Pane. A trading method is to sell when Stochastics reach overbought territory (greater than 80), then retrace back. Buy

when Stochastics reach oversold territory (less than 20), then retrace back. A more aggressive approach is to trade when the %K line crosses the %D line.

%K Period. Enter the time period for the "raw" %K calculation. Common values are 5, 14, 25. %K Slowing. Enter the period for the %K smoothing moving average, usually 3. %D Period. Enter the period for the %D smoothing moving average, usually 3 or 5. MA Type. Use the popup menu to choose the moving average method for the %D smoothing. Lines. Choose the lines to display. %K. Plots the %K line (after smoothing.) %K and %D. Plots the %K and %D lines. Oscillator (%K - %D). Plots the difference between %K and %D. OB/OS Lines. Check this box to add overbought/oversold lines. See page 128.

Trading System
The Trading Systems youve developed or acquired can be plotted in a chart just like an indicator. This provides a simple, yet very powerful method of viewing a Trading Systems activity and performance in a graphical format. See the Trading Systems and Gold Language chapters for the creation and administration of Trading Systems. Trading System plots are generally overlaid directly on top of an existing Bars plot. The Inspector for a Trading System plot is similar to those for the built-in indicators with the addition of several powerful display options. See also Binary Wave (page 79) and Equity Line (page 91).

There are four tabs to configure for a Trading System plot. Click a tab to configure that section.

Parameters tab. If the Trading System includes Parameters, you can edit the values for those parameters in this tab. If the Trading System contains no Parameter Variables, this tab is empty.

Markers tab. Markers can be plotted at the entry and exit points for each trade taken by the Trading System. Markers. Check this box to display the selected marker at each trade entry and exit point. The markers are plotted at the exact entry or exit price. Use the popup widget at the right to choose the type of Marker. Arrows. Check this box to display arrows at each trade entry and exit point. The popup menu allows you to specify where the arrowheads for each trade should be located. Text. Check this box to display the specified text at each relevant trade point. Checking the P&L box will also display the profit or loss at each exit point (P&L is displayed in points, not currency). You can specify color for Long vs. Short trades and also optionally add a rectangular backing and frame around the text.

Tracing tab. Tracings can be added using a unique color for Long and Short trades. Entry to Exit Line. Check this box to plot a line that connects each trades entry date and price to the corresponding exit date and price. Closes Line. Check this box to plot a line that traces the Closes when the Trading System is Long or Short. Paint Bars. Check this box to paint a Bars plot with unique colors based on whether the Trading System is Long or Short.

Shading tab. Background shading can be added with a unique color for Long and Short trades. None. No shading. Hi-Low Channel. Shades a rectangular area enclosing the highest and lowest prices encountered during each trade. Open Position Box. Shades a rectangular area enclosing the entry and exit prices for each trade. Pane. Shades a rectangular area enclosing the entire Pane for each trade. Frame Shaded Area. Check this box to draw a solid frame around each of the shaded areas.

TRIN (Arms Index) (General Market)


TRIN (short for TRader's INdex, also know as the Arms Index) was developed by Dick Arms to combine market breadth information with market Volume information to produce a single value. A = Advancing Issues, the number of stocks that Closed higher. D = Declining Issues, the number of stocks that Closed lower. UV = Up Volume, the volume of stocks that Closed higher. DV = Down Volume, the volume of stocks that Closed lower. TRIN = (A / D) / (UV / DV) Note. The original TRIN calculation places overbought conditions at the bottom of the Pane. This is contrary to every other oscillator indicator. ProTA includes an option to invert the plot such that overbought conditions appear normally, at the top of the Pane. TRIN measures the power of the volume associated with advancing issues when compared with decliners. TRIN is normally plotted in its own Pane, and is used as both an overbought/oversold indicator as well as a confirmation/divergence indicator when compared to the price plot of the overall market averages. Note. This plot requires that you maintain special "A/D" and "VOL" formatted Market Data files in your database. See page 27.

Ticker. Choose the prefix of the Ticker Symbol quote file to access for the computations. Enter "NYSE" to use the "NYSE A/D" and "NYSE VOL" quote files. Period. Enter the time period to average A, D, UV and DV. Normally 1 for TRIN. To plot the indicator commonly referred to as "Open TRIN", enter a value greater than 1, usually 10. Invert Plot. Check this box to flip the plot upside down (the numerator and denominator are swapped in the calculation.) Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

TRIX
TRIX is a price oscillator developed by Jack Huston, publisher of Technical Analysis of Stocks and Commodities magazine. TRIX displays the one period percentage change of a triple-smoothed exponential moving average (EMA) of the security's Closes. TripleEMA = The EMA of the EMA of the EMA of Closes. TRIX = (Today's TripleEMA - Prior TripleEMA) / Prior TripleEMA TRIX is normally plotted in its own Pane. The three levels of smoothing filter out volatile short term swings in the security's price movement. The trend of a security has changed when TRIX moves across the zero line. Another approach is to plot TRIX with a 9 period moving average of TRIX. Buy when TRIX crosses above its moving average. Sell when TRIX moves below its moving average.

Period. Enter the time period for the EMA calculations. Common values are: ST=12, IT=26, LT=255. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Volatility (Chaikin's)
Marc Chaikin's Volatility calculation measures price volatility as an expansion of the daily High - Low range: Avg Range = Exponential Moving Average of (High - Low) Volatility = Rate of Change (Avg Range) (See page 111 for an explanation of the Rate of Change indicator.)

Volatility is normally plotted in its own Pane. Volatility increases when the range of daily price swings are increasing, and decreases when price variability slows. Often, volatility increases at market tops and decreases as a price correction ends.

EMA Period. Enter the period for the Exponential Moving Average calculation. Chaikin recommends 10. ROC Period. Enter the period for the Rate of Change calculation. Chaikin recommends 10. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Volume
Volume is simple plot of the Volume field values in the security's quote file. Volume represents the number of shares or contracts traded during the period. For Stocks, Volume is often reported in 100 share blocks (check with your data vendor.) Volume, reviewed in conjunction with a price plot, is one of the most basic forms of technical analysis. Volume provides insight into the intensity level of the price action. A marked increase in Volume after a prolonged decline in prices can indicate a reversal of trend. A decrease in Volume after a price rally often signals a short term top.

Line Style. See page 126 for a description of Line Style options.

Williams' Accumulation/Distribution
Larry Williams' Accumulation/Distribution (AD) is a price momentum indicator that attempts to measure the "true" movement of prices during a trend. AD is a cumulative summation of modified daily price changes as follows: True Range of Highs (TRH) = The greater of Previous Close or Today's High True Range of Lows (TRL) = The lesser of Previous Close or Today's Low Modified Change = Today's Close - TRL, if Today's Close is greater than Yesterday's Close Today's Close - TRH, if Today's Close is less than Yesterday's Close 0, if Today's Close is equal to Yesterday's Close AD = Previous AD + Modified Change Williams' AD is normally plotted in its own Pane. The shape of the AD plot closely follows the shape of the security's price plot. Divergences can be noted by comparing new highs/lows in the AD plot versus new highs/lows in the security's price plot. Distribution of the security (a potential top) is indicated when the AD plot makes a new local high, but the security does not. Accumulation of the security (a potential bottom) is indicated when the AD plot makes a new local low, but the security does not.

Line Style. See page 126 for a description of Line Style options. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Williams' %R
Larry Williams' %R (% Range) is a simple price oscillator that relates the current Close to the range of prices over a specified period. %R is nearly identical to the "raw" %K component of Stochastics. Note. Williams' formula for %R places overbought conditions at the bottom of the Pane. This is contrary to every other oscillator indicator. ProTA's %R calculation modifies Williams' original and is inverted such that overbought conditions appear normally, at the top of the Pane. %R = (Today's Close - Lowest Low over X Periods) / (Highest High over X Periods Lowest Low over X Periods) %R is normally plotted in its own Pane. See Stochastics for interpretations.

Period. Enter the time period for the range calculations. Common values are: 12, 26, 255. OB/OS Lines. Check this box to add overbought/oversold lines. See page 128. Lines. You can plot the indicator, a moving average of the indicator, or the difference between the two. See page 127.

Zig Zag
Zig Zag completely filters out (ignores) price moves that are less than a specified percentage or number of points. The Zig Zag indicator connects the major sequential highs and lows in the security's price action. A major high is set when the security makes a local high that is followed by a correction of at least X (Pts or %), before another new high is set. A major low is set when the security makes a local low that is followed by a rally of at least X (Pts or %), before another new low is set. Zig Zag is normally overlaid onto a price plot and is used to highlight the major rallies and corrections in the security's price movement.

Reversal Amount. Enter the threshold to define "major" highs or lows. The impact of this value will vary with each security, but a general guideline for major market moves is a 10% to 20% threshold. Examine. Choose Closes to determine local highs and lows based only on the security's Closes field. Choose Highs & Lows to examine the High and Low fields. Line Style. See page 126 for a description of Line Style options.

Features Common to Several Indicator Inspectors

Following are the options common to several of the Indicator Inspectors.

Color Chicklet and Line Styles Popup


Just about every plotted element can be customized in terms of color and line style.

Click the Color Chicklet to choose a new color.

Choose a ColorPicker interface by selecting an icon at the top of the window. Store your favorite colors in the re-sizable tray at the bottom. To add a favorite color, drag from the color bar at the top to a square in the tray. To select one of your favorites, click the square. To choose a color that exists anywhere on your screen, click the magnifying glass, then click anywhere on the screen.

Click the Line Style popup to choose a new line style.

You can toggle on/off three categories of display for any line: Line Thickness refers to the normal line plot of the indicator values. Drop Lines draw a vertical line from the indicator value down to zero. Also referred to as a Histogram. Adornments are small markers drawn at each indicator value.

Lines Menu
Many Indicators include a Lines menu in the lower section of the Inspector.

The Lines menu allows you to choose an alternate to the normal indicator line:

Indicator. To plot the indicator as defined by the settings in the Inspector, without any further adjustment. This is the normal setting. Indicator with MA Line. To plot the indicator line as well as a smoothed moving average of the indicator line. Choose the smoothed moving average method and period below the Display menu. Oscillator (Indicator - MA). To draw a line plot of the difference between the indicator and a smoothed moving average of the indicator. Choose the smoothed moving average method and period below the Display menu.

OB/OS Lines Checkbox


A number of indicators are constructed such that they oscillate between 0 and 100. Generally, readings near 100 indicate overbought conditions, readings near 0 indicate oversold conditions.

You can check the OB/OS Lines checkbox to add two horizontal lines in the Pane, indicating the overbought/oversold thresholds. For example, enter 20 to plot the overbought/oversold lines at the 20 and 80 level.

Normalization Menu
ProTA's Comparison Overlay plots involve comparisons to other securities: Price Overlay, Relative Performance and Spreads. Each dialog box includes a Normalization menu.

Normalization adjusts the data of the overlaid security (the security being compared to) such that the Closing price of the overlaid security equals the Closing price of the base security. This can be useful when comparing the performance of two securities as of a specified date, forward in time. None. To use data from the overlaid security's quote file "as-is," unadjusted. Arithmetic. To add a constant value to each price value in the overlaid security's quote file. Constant = Close of Base Security as of Specified Date - Close of Overlaid Security as of Specified Date Ratio. To multiply each price value in the overlaid security's quote file by a constant value. Constant = Close of Base Security as of Specified Date / Close of Overlaid Security as of Specified Date

Line Studies
Overview
A line study is a line or series of lines displayed in a chart Pane. Technical analysts use line studies to visually indicate trends, support and resistance levels or key dates in the chart. Line studies are defined by "anchor points" in the Pane. Each anchor point is defined as a Date and/or a Price level. To add a line study, use the mouse to draw in the chart window, defining the anchor point(s) for the study. As you draw the study, the Pane Heading displays helpful information about the anchor points. Once a study has been added to a chart, it is redrawn appropriately as the chart is scrolled, zoomed, etc. Once a Line Study has been added to a chart, you can adjust it by clicking and dragging the entire line or by clicking and dragging one of its anchor points. You can also edit the lines parameters in the floating Inspector window. This chapter provides a brief description of each line study. See Adding a Line Study, page 63, for the generalized instructions for adding a line study to a chart.

Cycle Lines
Cycle Lines are equally spaced vertical lines, extending endlessly forward and backward in time. Use Cycle Lines to highlight dates in the chart, every x days. Cycle Lines require two anchor points to define the study. From the Line Studies menu or tool item, choose Cycle Lines. Press the mouse in the appropriate Pane. While the mouse is held down, the first vertical Cycle Line is drawn and the Pane Heading displays the Basis Start Date. Position the first Cycle Line appropriately, then release the mouse. With the mouse button up, move the mouse left or right to define the cycle period. As you move the mouse, Cycle Lines are drawn and the Pane Heading displays the anchor date and Period of the Cycle Lines. Position the mouse appropriately, then click the mouse.

Security prices often oscillate up and down within the primary trend in a cyclical fashion. Cycle Lines are used to help identify and highlight a cyclical pattern in the data. Draw the study such that each cycle line coincides as closely as possible with a recent peak or trough in the data. Tip. If you configure the chart to display a number of blank dates padded at the end of the data (see page 58), the Cycle Lines study can point out the next anticipated cycle date.

Fibonacci Retracements
Fibonacci Retracements are a series of horizontal lines based on the Fibonacci ratio, that highlight potential support and resistance levels. Fibonacci Retracements require two anchor points to define the study. From the Line Studies menu or tool item, choose Fibonacci Retracements. Press the mouse in the appropriate Pane. While the mouse is held down, the first horizontal line is drawn and the Pane Heading displays the Basis Price 1. Position the first line at a local peak, then release the mouse. With the mouse button up, move the mouse up or down to define the second Basis Price 2. As you move the mouse, Fibonacci Retracement lines are drawn and the Pane Heading displays the basis prices. Position the mouse at a local trough, then click the mouse.

By default, Fibonacci Retracements draw two heavy horizontal lines at the two Basis Prices, and a series of lighter horizontal lines representing the Fibonacci support and resistance levels. The Fibonacci levels are calculated as: P1 = Basis Price 1 P2 = Basis Price 2 Range = P1 - P2 Retracement levels: 1. P2 + (.382 x Range) 2. P2 + (.500 x Range) 3. P2 + (.618 x Range)

Extension levels: 1. P2 + (1.382 x Range) 2. P2 + (1.618 x Range) 3. P1 - (1.382 x Range) 3. P1 - (1.618 x Range)

Leonardo Fibonacci was a mathematician of the Middle Ages, best known for the Fibonacci series: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, etc. Successive numbers are generated by adding the previous two. Unique to this series is the number of interrelationships between the numbers of the series. Each number is approximately 1.618 times the previous, and is approximately .618 times the following number. These ratios show up frequently in nature, art, and aesthetic design. Often a security will rally or decline by a certain amount (the Range), then retrace the move back to one of the Fibonacci levels before reversing and continuing the major trend. Fibonacci Retracements can be used to point out potential reversal levels.

Horizontal Line
A Horizontal Line is a simple line, extending endlessly forward and backward in time. A Horizontal Line requires one anchor point to define the study. From the Line Studies menu or tool item, choose Horizontal Line. Press the mouse in the appropriate Pane. While the mouse is held down, the Horizontal Line is drawn and the Pane Heading displays the Price Level for the Line. Position the line appropriately, then release the mouse.

Use Horizontal Lines to mark significant peaks and troughs in the data. Previous tops and bottoms often provide support or resistance in the future. You can also use Horizontal Lines to mark the entry or exit price levels of your trades.

Linear Regression
A Linear Regression line is calculated using the statistical "least squares regression" method. A statistical regression line ("line of best fit") minimizes the distance between the data points and the line. The Linear Regression study draws a "line of best fit" between two anchor points. From the Line Studies menu or tool item, choose Linear Regression. Press the mouse in the appropriate Pane. While the mouse is held down, the Basis Start Date for the Linear Regression study is highlighted and the Pane Heading displays the date. Position the mouse at the date that begins the trend, then release the mouse. With the mouse button up, move the mouse left or right to define the Basis End Date for the Linear Regression study. As you move the mouse, the end date is highlighted, the Linear Regression line is drawn and the Pane Heading displays the range of selected dates. Position the mouse appropriately, then click the mouse.

Extend Line. When checked, the Linear Regression line extends endlessly into the past and future. When unchecked, the line is limited to the distance between the two anchor points. The Linear Regression line is often viewed as the equilibrium point within the trend. Moves above the line can indicate overbought conditions, while moves below can indicate oversold conditions. Significant deviations from the line can signal a change in trend. Tip. If you configure the chart to display a number of blank dates padded at the end of the data (see page 58), the Linear Regression line will extend into the future.

Trendline
A Trendline is the most common line study. A Trendline is a sloped line defined by two anchor points in the Pane. From the Line Studies menu or tool item, choose Trendline. Press the mouse in the appropriate Pane. While the mouse is held down, the date and price for the first Trendline anchor point are displayed in the Pane Heading. Position the mouse appropriately, then release the mouse. With the mouse button up, move the mouse to set the second anchor point. As you move the mouse, the Trendline is drawn and the Pane Heading displays: Date of anchor point 1 Price of anchor point 1 Date of anchor point 2 Price of anchor point 2 Time period between the two anchor points Price difference between the two anchor points Percentage price difference between the two anchor points Slope of the line Angle of the line in degrees Position the mouse appropriately, then click the mouse.

Click Snap Anchor Points in the Toolbar to shift the Trendline anchor points to exactly match the securitys Highs, Lows or Closes for the selected anchor Dates. Extend Line. When checked, the Linear Regression line extends endlessly into the past and future. When unchecked, the line is limited to the distance between the two anchor points. The application and interpretation of Trendlines is too expansive to cover in these pages. Briefly: A rising Trendline is normally drawn such that the anchor points connect two local bottoms in the rally. A falling Trendline is normally drawn such that the anchor points connect two local tops in the decline. The trend will continue until the Trendline is broken.

Tip. If you configure the chart to display a number of blank dates padded at the end of the data (see page 58), the Trendline can extend into the future. Tip. To create a new Trendline parallel to an existing Trendline, Option-Click on any exiting Trendline, then drag the copy to the new location.

Vertical Line
A Vertical Line is a simple line, extending from the top to the bottom of the Pane. A Vertical Line requires one anchor point to define the study. From the Line Studies menu or tool item, choose Vertical Line. Press the mouse in the appropriate Pane. While the mouse is held down, the Vertical Line is drawn and the Pane Heading displays the Basis Date for the Line. Position the line appropriately, then release the mouse.

Use Vertical Lines to mark significant dates such as the entry or exit dates of your trades or the dates of notable market events.

Portfolios
Overview

ProTA Portfolios are two dimensional tables of information, very much like a spreadsheet. Each row in the table is an individual security and each column displays a userconfigurable piece of information about the security. When you add/edit a security or add/edit a column display, the cells are automatically recalculated. The first, left-most column in a Portfolio Sheet is always titled Ticker and contains the ticker symbol of each security. At its most basic level, a one column Portfolio is simply a list of ticker symbols from your ProTA database . A Portfolio can include every item in your database or just a sub-set. You can add up to 64 columns, each displaying unique information about the security including file attributes, pricing information, trade information, and technical analysis calculations. There are hundreds of column configurations to choose from, all automatically calculated. Portfolios As a Simple Listing of Tickers Portfolios can also be thought of as sub-listings of tickers from your master TickerPicker database. You might create a set of Portfolios for each sector: Oil stocks, Tech stocks, Drug stocks, etc. Another set of Portfolios can list components of the various Indices: Dow 30, S&P 100, S&P 500, etc. Yet another set of Portfolios can hold various watch lists: CNBC Recommendations, Forbes Hot List, etc. Any time you think might need to refer back to a specific listing of tickers, Portfolios are the best place to save such a listing. Many features in ProTA allow you to specify a Portfolio to determine which tickers should be used. For example, when you run a Database Scan (see page 189), you may not want to scan every item in your database. Instead, you can choose a saved Portfolio. The scan will only review the tickers listed in the selected Portfolio. Other features that make use of

Portfolio ticker lists include Batch System Testing, Batch Exporting, Editing, Deleting Quote records, Dial Data sessions, and Chart Suite Content listings. Additional Uses of the Portfolio Window Sort Portfolios to perform technical screenings and rankings of your database. Highlight moving average crossovers, volume breakouts, price range breakouts, performance, etc. Enter real or paper trades and let the Portfolio calculate a wide variety of trade performance values such as P&L or Return on Investment. Review performance or recent pricing data for all securities in your database. View file statistics for your entire database to ensure all quote files are up to date. Save your favorite Portfolio Views, then apply them to any list of securities via popup menu. View the suite of charts (Portfolio Suite) associated with each Portfolio.

Administering Portfolios
The creation and organization of Portfolios is administered in ProTAs File Browser window. If the File Browser is not open, choose File Browser from the Tools menu. Click the Portfolios icon at the top of the window.

To create a new Portfolio, press the + button at the bottom-left. To open an existing Portfolio, double-click the item in the list.

See page 10 for more details about the File Browser window.

See page 55 for an example of ProTAs Save As window.

Portfolio Window

The Rows section of the Toolbar provides 3 commands related to the listing of tickers in the Portfolio: To add securities to the Portfolio, press the + button. To remove securities, first highlight rows with the mouse, then press the button. (See page 15 for help selecting multiple rows in a ProTA window.) To edit or examine the trade information and user data for a row, click the magnifying glass button.

The Columns section of the Toolbar provides 4 commands to administer up to 64 total columns per Portfolio: To add a column to the Portfolio, press the + button. New columns are added to the right side of the Portfolio. To remove a column press the button, then select the name of the column from the popup menu. To edit or examine the specifications for any column, click the magnifying glass button and choose the desired column name from the popup menu. To remove all columns and replace them with another complete set of columns, use the Views icon. See the Views sections that follow.

Click the Format button to edit the numerical formatting and other general options for the Portfolio. Click Chart Suite to view the associated Portfolio Suite of charts associated with this Portfolio.

Tip. Type q on the keyboard to see the quote file for the selected row. Type c to open the Portfolio Chart Suite for this portfolio.

Adding Rows to a Portfolio


Each row in a Portfolio represents one security. You can add the same security more than once if desired. Click the + button in the Rows section of the Toolbar.

Add tickers individually or in batch via selection in the TickerPicker, by Security Type or by copying a listing from another saved Portfolio.

New tickers are inserted into the Portfolio in conformance with the current sort order. The Portfolio window will attempt to resize itself to snugly fit the new rows.

Adding Rows via Paste


If you already have a listing of tickers in a spreadsheet, text document, or any other source that has a Copy command, you can Copy the ticker list and then choose Paste from the Edit menu to add the tickers to the Portfolio. Note. The tickers in a Portfolio must exist in your overall ProTA quotes database (TickerPicker). If you try to Paste in ticker symbol ZYXW, but that ticker is not in your TickerPicker database, the ticker will not be added to the Portfolio.

Removing Rows from a Portfolio


You can remove a single row or a group of rows. Select the row(s) to remove (see Selecting Rows in ProTA Windows on page 15.), then click the button in the Rows section of the Toolbar.

Note. Removing rows does not delete anything from your overall ProTA database, it merely removes the item from this particular Portfolio listing.

Adding a Column to a Portfolio


There are hundreds of column configurations to choose from. Up to 64 can be displayed in a single portfolio window. This section covers the logistics of adding a column. The next chapter, Portfolio Columns, describes each of the column configurations/calculations. The first, left-most column is always the Ticker column. You can add or locate columns anywhere to the right of the Ticker column. Click the + button in the Columns section of the Toolbar.

Use the Column Types list at the left to select the type of column to add. A brief description is provided at the right. The options on the right allow you to customize the specific attributes of each column type. See the next chapter, Portfolio Columns, for complete details regarding each column type. The Portfolio window will attempt to resize itself to snugly fit the new column widths.

Editing a Column in a Portfolio


You can edit the parameters of a Portfolio column, or change the column type altogether. Click the magnifying glass button in the Columns section of the Toolbar. Select a column name from the popup menu.

See the section Adding a Column to a Portfolio directly above for an example of the editing sheet. See the chapter Portfolio Columns for complete details regarding each column type. If the Portfolio is sorted by the edited column, the list is automatically re-sorted when the column parameters or type are changed. Note: The left-most column is always the Ticker column. It cannot be edited or removed.

Removing a Column from a Portfolio


Individual columns in a portfolio sheet can be deleted one at a time. Click the button in the Columns section of the Toolbar. Select a column name from the popup menu.

Note: The left-most column is always the Ticker column. It cannot be edited or removed.

Moving and Sizing a Column in a Portfolio


The left-right ordering and width of any column can be adjusted by dragging the mouse. To move a column left or right, click on the column heading and drag it to a new location. The columns will shift around as you drag the mouse left and right. Release the mouse to drop the column into its new location. To resize a columns width, move the cursor to the dividing line between any two column headings. The cursor will change to the sizing arrows. Click and drag the mouse left or right to resize the column.

The Portfolio window will attempt to resize itself to snugly fit the new column widths.

Sorting a Portfolio
You can sort a Portfolio by any column in ascending or descending order. Click any column heading to make it the primary sort key. Click the column heading a second time to reverse the sort order.

Note: ProTA uses a stable-sort algorithm. When you change sort columns, if there are any duplicate cells in the new column, those equivalent rows will remain sorted in the order from the previous sort column. For example, you might want to sort a Portfolio by security type (stocks, funds) and then within those groupings, have it sorted by ticker symbol. First click the Ticker column to sort by ticker, then click the security Type column.

Editing the General Format of a Portfolio


The general attributes of a portfolio sheet include the numerical formatting and the display of Total/Averages at the bottom of the list. Click the Format button in the Toolbar.

Decimals. Choose the number of decimal places for each type of value that might be displayed in a cell. Negative Values. If Parentheses is checked, -123.45 will be displayed as (123.45). Check Display Red to render the cell text in a red color when negative. Totals and Averages Row. Check these to include row(s) at the bottom of the listing totaling or averaging each column. Note. Depending upon the nature of the column type, the Total or Average cell may be left blank. For example, it does not make sense to compute a Total for a %Change column. Custom Data Field Names. Each row in a Portfolio can be assigned trade data as well as up to 8 user-defined fields of data. You can use the 8 edit fields here to specify a name for each of the 8 user-defined fields. See the section Adding or Editing Trade and User Data below. Tip. If you do not plan to use custom user-data fields, click the Hide Custom Fields button to make the Format sheet smaller and more manageable.

Adding or Editing Trade and User Data


Each row in a Portfolio can contain detailed purchase, sales and generic user-data for the security. Click the mouse to highlight a single row. Click the magnifying glass button in the Rows section of the Toolbar. You can also double-click the mouse on the row.

All fields are optional, but certain Portfolio columns require data in some of the fields. For example, ProTA cannot calculate a value for the Days Owned column (see page 159) unless a valid Purchase Date is entered. Shares. The number of shares or contracts purchased. For short sales, enter a negative number. Multiplier. Use 1 for stock and mutual fund positions. For futures and options trades, the multiplier should be set to the dollar equivalent of a one-point move in a one contract position. For example, a one point move in an S&P 500 futures contract provides a $500 P&L; enter 500 for the multiplier. A one point move in a Bond futures contract provides a $1000 P&L; enter 1000 for the multiplier. Comment. Enter a text comment, limited to 255 characters. Date. The date you entered and exited the trade. Price per Share. The price at which the purchase and sale was filled. Commission. The dollar commission paid to enter and exit the trade. For round-turn commission structures, you may wish to enter the full round-turn commission on the purchase side for inclusion in open-trade cost basis and P&L calculations. Other Fees. Any other exchange or brokerage fees incurred at purchase and sale. User Values. Up to 8 user-values can be provided for each row in the Portfolio. The first 6 items are treated as numerical values; the last 2 are alpha-numeric text fields. You can change the names from Untitled to a more meaningful label using the Format button in the Portfolios toolbar. See the section Editing the General Format of a Portfolio.

Note: The trade information and user-data entered into a row is not automatically displayed in the Portfolio. You must add columns to the Portfolio that display this information (see page 140), or switch to a View that displays it (see page 144.)

Portfolio Views
A View is a description of a Portfolios columns and formatting. Views provide a handy way to quickly switch between various sets of columns. For example, you might save a View composed of several columns that compute Year to Date Performance, another View with columns that show various 52 Week Range Analysis, etc. When you switch Views, the columns displayed, sort order, and general formatting of the Portfolio change to reflect the new View. The list of ticker symbols included in the Portfolio and any trade data you may have entered does not change. You can also assign a View to initialize all new Portfolio documents see page 241.

Saving a View
Once you have added and configured columns, set the sort order, adjusted widths, etc, you can then save that state to a View file. Click the Views icon in the Toolbar and choose Save Current View As.

Applying a View
Once youve saved a View, it can be applied to any Portfolio. Click the Views icon in the Toolbar and choose a View to apply to the Portfolio.

The column structure changes to the new View, all of the cells in each column are recalculated, and the rows are re-sorted based on the new sort keys.

Administering Views
Views can be organized and administered via ProTAs File Browser window. If the File Browser is not open, choose File Browser from the Tools menu. Click the Portfolios icon at the top of the window. Then click the Views button at the right.

See page 10 for more details about the File Browser window.

Portfolio Suites
A Portfolio Suite is a special Chart Suite that is tied directly to a Portfolio document. Every Portfolio has a single Portfolio Suite associated with it. You can access a Portfolio's Suite with the Chart Suite button in the upper right of every Portfolio window. The Content listing for a Portfolio Suites is always kept automatically in sync with its associated Portfolio. As such, you cannot add or remove or edit the Portfolio Suites Content list in any way. As rows are added or removed from the Portfolio, the Portfolio Suite is automatically refreshed to stay in sync at all times. Any work you save in the Portfolio Suite will be recalled the next time you access the Portfolio Suite.

Exporting Data From a Portfolio


You can export tab-delimited text data from a Portfolio via Copy/Paste. Highlight the rows to be copied. (See page 15 for help selecting multiple rows.) Right-click (or Control-click) the mouse then choose one of the Copy commands.

Copy. Copies all columns/cells for the selected Rows. Copy Ticker List Only. Copies only the Ticker column for the selected Rows. Copy With Header Footer. Copies all columns/cell for the selected Rows and also includes the column headings at the top and the Total and Averages Rows at the bottom if applicable. Paste the data into a spreadsheet program, etc.

Portfolio Columns
Overview
The previous chapter covered the general administration of a Portfolio. This chapter covers the wide variety of customizable columns you can add to your Portfolios.

Adding or Editing a Column


See page 140 for Adding a Column to a Portfolio. A general overview of the sheet for adding/editing a portfolio column is as follows:

Use the Column Types list at the left to select the general type of column to add. A brief description is provided in the upper right of the sheet. Use the Heading section to specify the title to use for the column in the Portfolio. You can type in any text or use the popup button at the right to choose from several suggested titles. The options in the lower right of the sheet differ based upon the Column Type selected. This section allows you to customize and set parameters where applicable. In this example, you can choose to display the Security Name in all uppercase characters. The balance of this chapter is divided into sub-sections for each Column Type.

Rank
Displays the sorted ranking order in the list.

Reverse Order. Check this box to number the rows in reverse order.

Security Type
Displays the security's type classification.

Choose Name or Code to display the full name or an abbreviated code. Name Stock Mutual Fund Index Futures Option Misc Data File Code S M I F O B D

Security Name
Displays the Name field from the quote file.

All Uppercase. Check this box to display the security name in all uppercase letters.

File Dates
Displays Date or Records information from the quote file.

Display. Choose the type of information to display. First Date. Displays the first (oldest) date in the quote file. Last Date. Displays the last (most recent) date in the quote file. Record Count. Displays the number of quote records in the quote file.

Quote
Displays the specified quote field value for the specified date.

Field. Choose the field to reference in the quote file. Date. Choose the date to reference in the quote file. Latest. The most recent date in the quote file. One Day Prior. The 2nd-to-last record in the quote file. One Week Prior. Seven calendar days prior to the last date in the quote file. If the target date is not found, the first date in the file prior to the target date is used. One Month Prior. One month prior to the last date in the quote file. If the target date is not found, the first date in the file prior to the target date is used. One Year Prior. One year prior to the last date in the quote file. If the target date is not found, the first date in the file prior to the target date is used. End of Last Month. Last day of the previous month (based on today's date). If the target date is not found, the first date in the file prior to the target date is used. First of This Month. First day of the current month (based on today's date). If the target date is not found, the first date in the file subsequent to the target date is used. End of Last Year. Last day of the previous year (based on today's date). If the target date is not found, the first date in the file prior to the target date is used. First of This Year. First day of the current year (based on today's date). If the target date is not found, the first date in the file subsequent to the target date is used. First Date in File. The earliest date in the quote file. Purchase Date. The Date Purchased field for the row. See page 143. Specified Date. The date entered to the right of the menu.

Change
Displays the change or percentage change of a quote field over a specified time period.

Field. Choose the field to reference in the quote file. Price Change. Choose this button to calculate the increase or decrease in price. Change = Latest Price - Compare to Price % Change. Choose this button to calculate the percentage increase or decrease in price. % Change = (Latest Price - Compare to Price) / Compare to Price Period. Choose the time period for the change calculation. The time period always ends with the most recent date in the quote. Use this popup menu to specify the begin date for the change calculation. One Day. Compare to the 2nd-to-last record in the quote file. One Week. Compare to seven calendar days prior to the last date in the quote file. If the target date is not found, the first date in the file prior to the target date is used. One Month. Compare to one month prior to the last date in the quote file. If the target date is not found, the first date in the file prior to the target date is used. Three Months. Compare to three months prior to the last date in the quote file. If the target date is not found, the first date in the file prior to the target date is used. Six Months. Compare to six months prior to the last date in the quote file. If the target date is not found, the first date in the file prior to the target date is used. One Year. Compare to one year prior to the last date in the quote file. If the target date is not found, the first date in the file prior to the target date used. Week to Date. Compare to last Friday (based on today's date). If Friday wasn't a trading day, the previous trade date is used. Month to Date. Compare to the last day of the previous month (based on today's date). If that wasn't a trading day, the first date in the file prior to the target date is used.

Year to Date. Compare to the last day of the previous year (based on today's date). If that wasn't a trading day, the first date in the file prior to the target date is used All Dates in File. Compare to the earliest date in the quote file. Since Purchase. Compare to the date specified in the Date Purchased field of the row. See page 143. Since Specified Date. Compare to the date entered to the right of the menu.

Range
Displays a calculated value related to the range of price values for the specified time period.

Display. Choose the type of information to display. Range. Range = Highest Price for the period - Lowest Price for the period. High of Range. Highest Price for the period. Low of Range. Lowest Price for the period. % From Range High. Percentage the Latest Close falls below the Highest Price for the period. % From Range High = (Latest Close - High of Range) / High of Range % From Range Low. Percentage the Latest Close falls above the Lowest Price for the period. % From Range Low = (Low of Range - Latest Close) / Low of Range New High/Low Flag. Indicates whether a new High/Low is set for the period by the most recent data in the quote file. New High. If the latest data in the quote file represents the High of Range, ProTA displays a 1. New Low. If the latest data in the quote file represents the Low of Range, ProTA displays a -1.

Within Range. In all other cases, ProTA displays a 0. Period. Choose the time period for the range calculation. The time period always ends with the most recent date in the quote. Use this popup menu to specify the begin date for the range calculation. One Day. The 2nd-to-last record in the quote file. One Week. Seven calendar days prior to the last date in the quote file. If the target date is not found, the first date in the file prior to the target date is used. One Month. One month prior to the last date in the quote file. If the target date is not found, the first date in the file prior to the target date is used. Three Months. Three months prior to the last date in the quote file. If the target date is not found, the first date in the file prior to the target date is used. Six Months. Six months prior to the last date in the quote file. If the target date is not found, the first date in the file prior to the target date is used. One Year. One year prior to the last date in the quote file. If the target date is not found, the first date in the file prior to the target date used. Week to Date. Last Friday (based on today's date). If Friday wasn't a trading day, the previous trade date is used. Month to Date. Last day of the previous month (based on today's date). If that wasn't a trading day, the first date in the file prior to the target date is used. Year to Date. Last day of the previous year (based on today's date). If that wasn't a trading day, the first date in the file prior to the target date is used. Note. For all range options listed above, if the target date falls before the first date in the quote file, ProTA will use the first date in the quote file. All Dates in File. First date in the quote file. Since Purchase. The date specified in the Date Purchased field of the row. See page 143. If the target date is not found, the first date in the file subsequent to the target date is used. Since Specified Date. The date entered to the right of the menu. If the target date is not found, the first date in the file subsequent to the target date is used.

Moving Average Analysis


Displays a calculated moving average or comparative value for the specified time period, using the latest data in the quote file.

Period. Enter the period for the moving average. The period always ends with the most recent date in the quote file. MA Type. Choose the moving average calculation method. See page 99. Display. Choose the type of information to display. Moving Average. Displays the calculated moving average for the latest date in the quote file. Pts from MA. Displays the difference between the calculated moving average value and the latest close in the quote file. Pts from MA = Moving Average - Latest Close % from MA. Displays the percentage difference between the calculated moving average value and the latest close in the quote file. % from MA = (Moving Average - Latest Close) / Moving Average Above/Below Flag. Indicates whether the latest close is above or below the moving average. Above MA. If the Latest Close is higher than the Moving Average, ProTA displays a 1. Below MA. If the Latest Close is lower than the Moving Average, ProTA displays a -1. Equal to MA. If the Latest Close is equal to the Moving Average, ProTA displays a 0. Crossover Flag. Indicates a crossing of the moving average line, based on the latest and prior closing values. Crossed Above MA. If the Prior Close was lower than the Prior Moving Average and the Latest Close is higher than the Latest Moving Average, ProTA displays a 1. Crossed Below MA. If the Prior Close was higher than the Prior Moving Average and the Latest Close is lower than the Latest Moving Average, ProTA displays a 1. No Crossover. In all other cases, ProTA displays a 0.

Volume Analysis
Displays the latest Volume figure as a percentage of average daily volume.

Period. Enter the period to calculate the average daily volume. A simple average is used. Volume Comparison = Latest Volume / Average Daily Volume

Candlestick Pattern
Displays the candlestick pattern for the most recent data. See page 83 for candlestick patterns recognized by ProTA.

There are no parameters for the Candlestick Pattern column. If no pattern is recognized, ProTA displays None.

Audit
Displays the number of missing or invalid dates in the quote file.

Display. Choose the type of audit information to display. Number of Invalid Dates. Displays the number of dates in the quote file that are weekend or holiday dates. Number of Missing Dates Displays the number of valid trading dates that are missing from the quote file. Holidays. The determination of valid/invalid trading dates is made in part by reference to a Holidays file. See page 38 to administer Holidays files.

Trade Data
Displays trade information that has been entered into the row. See page 143.

Display. Choose the type of trade information to display. Number of Shares/Contracts Multiplier

Comment Purchase Date Purchase Price Purchase Commission Purchase Fees Sales Date Sales Price Sales Commission Sales Fees Total Commissions and Fees User Values 1- 8 All display values are obtained from the information that has been entered into the row. See page 143.

Cost Basis
Displays the calculated cost basis to open the trade position. Values are calculated and displayed only when trade purchase data has been entered for the row. See page 143.

Display. You can limit the display to a particular trade status. All Trades. To display (and total) cost bases for all rows with trade data. Open Trades. To display (and total) cost bases for all rows with purchase trade data, but no sales data. Closed Trades. To display (and total) cost bases for all rows that have both purchase and sales trade data. Include Purchase Commission and Fees. Check this box to include the purchase commission and fees in the cost basis calculation (increases the cost basis). Extended Total. Choose this button to display the extended dollar amount. Dollar Cost Basis = (Purchase Price x # Shares x Multiplier) + Purchase Commission & Fees Per Share. Choose this button to display the extended dollar amount divided by the number of shares or contracts.

Per Share Cost Basis = Dollar Cost Basis / (# Shares x Multiplier)

Sales Value
Displays the liquidation value of a position. If a trade is closed, displays the Sales Proceeds generated upon exiting the trade. If a trade is open, displays the current Sales Values of the position, based on the latest closing price in the quote file.

Values are calculated and displayed only when trade purchase data has been entered for the row. See page 143.

Display. You can limit the display to a particular trade status. All Trades. To display (and total) sales values for all rows with trade data. Open Trades. To display (and total) current sales values for all rows with purchase trade data, but no sales data. Closed Trades. To display (and total) sales proceeds for all rows that have both purchase and sales trade data. Include Sale Commission and Fees. Check this box to include the sales commission and fees in the sales value calculation (reduces the sales value). Extended Total. Choose this button to display the extended dollar amount. Dollar Sales Value = (Sales Price x # Shares x Multiplier) - Sales Commission & Fees Cost Basis Per Share. Choose this button to display the extended dollar amount divided by the number of shares or contracts. Per Share Sales Value = Dollar Sales Value / (# Shares x Multiplier)

Days Owned
Displays the number of days the trade has been (was) open. If a trade is closed, displays the number of days the trade was open. If a trade is open, displays the number of days since the purchase date, through today.

Values are calculated and displayed only when trade purchase data has been entered for the row. See page 143.

Display. You can limit the display to a particular trade status. All Trades. To display (and average) days owned for all rows with trade data. Open Trades. To display (and average) days owned for all rows with purchase trade data, but no sales data. Closed Trades. To display (and average) days owned for all rows that have both purchase and sales trade data. Exclude Weekend and Holiday Dates. Check this box to only count weekdays and nonHoliday dates in the days owned calculation. Holidays. The determination of excluded dates can make reference to a Holidays file. See page 38 to administer Holidays files.

P&L
Displays the profit or loss of a trade position. If a trade is closed, displays the actual P&L generated from the trade. If a trade is open, displays the current P&L of the position, based on the latest closing price in the quote file.

Values are calculated and displayed only when trade purchase data has been entered for the row. See page 143.

Display. You can limit the display to a particular trade status. All Trades. To display (and total) P&L for all rows with trade data. Open Trades. To display (and total) current P&L for all rows with purchase trade data, but no sales data. Closed Trades. To display (and total) P&L for all rows that have both purchase and sales trade data. Period. Choose the period to calculate the P&L. (See page 151 for a description of the options available in this menu.) Choose Since Purchase to calculate P&L for the entire trade period. Include Sale Commission and Fees. Check this box to include the purchase and sales commission and fees in the P&L calculation (increases the cost basis and reduces the sales value). Extended Total. Choose this button to display the extended dollar amount. Dollar P&L = Sales Value - Cost Basis Per Share. Choose this button to display the extended dollar amount divided by the number of shares or contracts. Per Share P&L = Dollar P&L / (# Shares x Multiplier)

ROI
Displays the percentage return on investment of a trade position. If a trade is closed, displays the actual ROI generated from the trade. If a trade is open, displays the current ROI of the position, based on the latest closing price in the quote file.

Values are calculated and displayed only when trade purchase data has been entered for the row. See page 143. ROI = (Sales Value - Cost Basis) / Cost Basis

Annualized ROI = ROI x 365 / Days Owned

Display. You can limit the display to a particular trade status. All Trades. To display (and total) ROI for all rows with trade data. Open Trades. To display (and total) current ROI for all rows with purchase trade data, but no sales data. Closed Trades. To display (and total) ROI for all rows that have both purchase and sales trade data.

Period. Choose the period to calculate the ROI. (See page 151 for a description of the options available in this menu.) Choose Since Purchase to calculate ROI for the entire trade period. Include Sale Commission and Fees. Check this box to include the purchase and sales commission and fees in the ROI calculation (increases the cost basis and reduces the sales value). Annualized ROI. Check this box to display the one-year equivalent percentage return for the trade (see above.)

Custom Indicator
Displays the calculated value for the specified Custom Indicator. Custom Indicators can be virtually any mathematical calculation. As such, this column type provides the greatest computational flexibility in your Portfolio.

Indicator. Choose a Custom Indicator. See the Custom Indicator chapter for the creation and administration of Custom Indicators. Date. Choose a date to evaluate the Custom Indicator. See the explanation for the Quote column on page 150 for an explanation of the date options in this menu.

Trading System
Displays the trade status of the specified Trading System.

Trading System. Choose a Trading System. See the Trading Systems chapter for the creation and administration of Trading Systems. Date. Choose a date to display the Trading System status. See the explanation for the Quote column on page 150 for an explanation of the date options in this menu. Trade Taken: Displays Enter Long, Exit Long, Enter Short, or Exit Short if the Trading System made a trade on the specified date. If no trade was taken, the cell is left blank. Position: Displays Long or Short or Flat based on the status of the Trading System on the specified date.

Database Scan
Displays Hit if the specified criteria is true (non-zero) on the specified date, otherwise the cell is left blank.

Criteria. Choose a Custom Indicator criteria. See the Custom Indicator chapter for the creation and administration of Custom Indicators. Date. Choose a date to evaluate the Custom Indicator criteria. See the explanation for the Quote column on page 150 for an explanation of the date options in this menu.

Custom Indicators
Overview
ProTA includes a large library of built-in indicators which represent some of the most widely followed analytical techniques in the industry (see the Indicators chapter). But the field of technical analysis is constantly evolving. New analytical methods are published every month in new books, trade magazines, or even by TA software users such as yourself. When you discover new indicators or come up with your own new ideas, you can implement them by writing a Custom Indicator. Custom Indicators are constructed using the Gold Language. A simple, one-line example is: MA( 21, Simple, RSI(14) ); {Computes a 21 day Simple Moving Average of the 14 day Relative Strength Index indicator.} If you are familiar with writing formulas in spreadsheets, the above example will look familiar to you. You can probably start writing Custom Indicators right away. If this looks confusing, dont worry. The Gold Language chapter covers the language in great detail and there are a number of commented sample formulas available on the BeeSoft web site at www.beesoft.net.

Custom Indicators 1-2-3


1. Define a Custom Indicator formula using the Gold Language. See Creating a Custom Indicator. 2. Create or Open any chart suite window. See pages 54. 3. From the Indicators menu, choose Custom Indicators and select the desired Custom Indicator from the pop-out menu. Adding a Custom Indicator to a chart is virtually identical to adding one of ProTAs built-in Indicators. See page 61.

Administering Custom Indicators


The creation and organization of Custom Indicators is administered in ProTA Golds File Browser window. If the File Browser is not open, choose File Browser from the Tools menu. Click the Indicators icon at the top of the window.

To create a new Custom Indicator, press the + button at the bottom-left. To open an existing Custom Indicator, double-click the item in the list.

See page 10 for more details about the File Browser window. See page 55 for an example of ProTAs Save As window.

Custom Indicator Window

Function Library. Press this button to bring up the Function Library window. The Function Library is an in-program reference for the Gold Language. You can find functions in the Function Library, copy them to the clipboard, then paste them right into the Custom Indicator formula. See page 202. Syntax Status. As you type formulas, ProTA Gold will dynamically check for syntax errors and report them at the bottom of the window. See page 199. Tip. Once you have positioned and sized a window to a preferred default, choose Save Window Size As Default from the Window menu.

Password Protection
To protect your proprietary formulas, you can add password protection to any Custom Indicator or Trading System file. From the File menu, choose Password Protection.

When a password is set, a user without the password can still make use of the file as a chart plot, system test, etc., but in order to view this window (and see the formula), the password must be provided.

Note. Passwords are case-insensitive. PrivaTE is identical to private. Dont forget the password or the formula will become a secret to you too!

Uses for Custom Indicators


Custom Indicators can be used throughout the ProTA Gold software: Chart Plots. Just like the built-in Indicators discussed in the Indicators chapter, you can plot a Custom Indicator in any new or existing chart. From the Add Indicator menu item, choose Custom Indicators and select the desired Custom Indicator from the pop-out menu. See page 61 and 87 for additional help. Portfolio Columns. For a spreadsheet-style display of Custom Indicator values, add a column of type Custom Indicator to any Portfolio. See page 140 for general instructions about adding a column to a Portfolio Sheet and page 161 for specifics about the Custom Indicator column option.

Custom Indicators, Database Scanning or Trading Systems within Trading Systems. The Gold Language allows you to refer to any previously written Custom Indicator within any formula. The syntax to refer to a Custom Indicator named My First System is: FN(My First Indicator) By using FN(Custom Indicator Name) in your Trading System formulas, Database Scanning criteria, or even in other Custom Indicators, you can save a lot of typing and make your formulas more readable. For example, look at all the typing that went into defining the extremely simple My First Indicator Custom Indicator two pages back. If you later want to write a Database Scanning criteria that scans for My First Indicator greater than zero, you dont have to re-type the entire formula for the Database Scan criteria. Simply refer to the Custom Indicator using FN: FN(My First Indicator) > 0; See the Gold Language chapter for more information.

Adding or Sharing Custom Indicators


Its easy to add Custom Indicators youve acquired from another ProTA Gold user or to share your own Custom Indicators with other members of the ProTA Gold community. ProTA Gold stores your Custom Indicators in a folder named Custom Indicators located at ~/Library/Application Support/ProTA. (The ~ is your home folder located in the Users folder.) To add Custom Indicator files youve acquired from a third party, simply drag the files (or a folder of files) into the Custom Indicators folder. The next time you refresh the File Browser window, they will be listed. To share Custom Indicator files with other ProTA Gold users, locate the files (or folders) within your Custom Indicators folder, duplicate them, then provide the duplicate files to your fellow ProTA Gold users.

Tip. BeeSoft provides an online ProTA Gold User Exchange Forum at its web site. Please visit www.beesoft.net for details.

Trading Systems
Overview
One of the most powerful features in ProTA Gold, Trading Systems, allows you to determine the historical profitability of your trading strategies. A Trading System is a user-defined set of rules that specify when you should buy or sell a security. Every aspect of a Trading System is fully customizable: rules for triggering a trade entry or exit, stop levels, trade execution methods, and even the accounting method used to track day-to-day equity balances. You can use Trading Systems to: Determine how much money would have been made had you followed a specific trading strategy. Graphically examine Trading System activity in any chart with buy/sell arrows, shadings, painted Bars, equity lines. Create tabular rankings and reports for dozens of trade statistics. Optimize the parameters within your trading rules to find the most profitable systems. Compare and rank the results of multiple systems to determine which is working best for a given security.

The buy and sell rules for a Trading System are constructed using the Gold Language. A simple example of an Enter Long rule is: CrossesAbove(Close, MA(21)); {Generates a BUY signal when the securitys closing price crosses above the 21 day moving average line.} If you are familiar with writing formulas in spreadsheets, the above example will look familiar to you. You can probably start writing Trading Systems right away. If this looks confusing, dont worry. The Gold Language chapter covers the language in great detail and there are a number of commented sample Trading Systems available on the BeeSoft web site at www.beesoft.net.

Trading Systems 1-2-3


1. Define a Trading System: Entry and exit rules, stops, and/or trade execution rules. See Creating a Trading System. 2. Set scope and accounting rules then run a system test. See Running a System Test. 3. Review the results of the test: dozens of trade statistics, sortable tables, trade-bytrade listings, charts of trading activity and day-to-day profitability analyses. See Reviewing a Trading System Report.

Administering Trading Systems


The creation and organization of Trading Systems is administered in ProTA Golds File Browser window. If the File Browser is not open, choose File Browser from the Tools menu. Click the Tests icon at the top of the window.

To create a new Trading System, press the + button at the bottom-left. To open an existing Trading System, double-click the item in the list.

See page 10 for more details about the File Browser window. See page 55 for an example of ProTAs Save As window.

Trading System Window

Function Library. Press this button to bring up the Function Library window. The Function Library is an in-program reference for the Gold Language. You can find functions in the Function Library, copy them to the clipboard, then paste them right into the Trading System formulas. See page 202. Run Test. Once you have defined all of the rules for your Trading System, press this button to begin a System Test based on this Trading System. See page 173. Syntax Status. As you type your trading rules, ProTA Gold will dynamically check for syntax errors and report them at the bottom of the window. See page 199.

Seven Categories Define a Trading System


This section describes the elements that specify a Trading System. Please see the section Technical Reference for System Tests on page 185 for more complete information about how ProTA Gold uses these settings to evaluate a Trading System when running a System Test. A Trading System is composed of four trading Rules and three Execution specifications. Click any category name to view and edit the specifications: Rules: Enter Long, Exit Long, Enter Short, Exit Short. This is where you specify the rules for taking trades using the Gold Language. For each of the four categories, first use the popup menu to choose how the trading rule will be specified.

Custom Formula. Choose this option to specify the trade triggering rule using the Gold Language. When evaluating a Trading System, ProTA Gold will trigger a trade when the formula youve entered evaluates to TRUE or a non-zero value. For example, if the Enter Long rule is: CrossesAbove(RSI(14), 20); ProTA Gold will trigger a buy signal when the 14 period Relative Strength Index crosses above 20 from a level below 20. See the Gold Language chapter and the Technical Reference for System Tests section for details. Same As, Opposite of Choose one of these options when possible to avoid having to type the same Custom Formula more than once. Perhaps your Trading System enters a Short trade as soon as it exits a Long trade (also known as a Stop and Reverse System). Instead of typing the exact same formula for both Exit Long and Enter Short, you can set the Enter Short rule to Same as Close Long Rule (and the Exit Short rule to Same as Enter Long Rule).

Not Used. Choose this option if the Trading System should never trigger a trade of the corresponding category. For example, if you are writing a Trading System that does not take Short trades, you should set the Enter Short and Exit Short rules to Not Used. Note. The Enter Long rule is normally a Custom Formula. The other categories can be set to one of the other options. Tip. When possible, use the Same As, Opposite of settings. System Tests run appreciably faster with these settings as opposed to Trading Systems with four Custom Formulas. Execution: Entry and Exit. Specify when trades should be filled.

Choose an Order Type: Market on Close. Fills the trade at the Closing price. Market on Open. Fills the trade at the next days Opening price.

Limit. Similar to a brokers Limit order. In the case of a buying trade, a Limit price is set a specified distance below todays Close. The trade is not executed until the security moves down to the Limit price. For selling trades, the Limit price is set above todays Close. Stop. The opposite of a Limit order. For buying trades, the Stop price is set above todays Close. For selling trades, below.

Note. The vast majority of Trading Systems use Market on Close or Market on Open executions. These can most closely mimic real-world trading for the typical end-of-day trader. Stops. Specify special stop rules to exit both long and short trades even before your Exit Long or Exit Short rules are triggered. When a stop is hit, the trade is exited immediately at the stop price, regardless of the other Execution settings. All Stops can be specified in Points or Percent. Percentage-based Stops are calculated using a percentage of the trade entry price.

Loss Stop. Exits an open trade if the losses from the trade exceed the specified amount. Profit Stop. Exits an open trade if the profits from the trade exceed the specified amount. Trailing Stop. Exits an open trade if a specified amount of the trades maximum profit is lost. For example: A 2 point trailing stop triggered after 10 points of profit. If the trade ever reaches a profit of 10 points, it will then set a loss stop exactly 2 points below the maximum profit the trade has achieved. The 2 point trailing stop is constantly updated as the trade makes larger and larger profits. Once the trade pulls back 2 points from its best profit, the stop is hit. Inactivity Stop. Exits an open trade if the securitys High-Low trading range is restricted to the specified range over the specified time period. Max Trade Len. Exits an open trade if the length of the trade exceeds the specified time period.

Password Protection
To protect your proprietary trading ideas, add a password. From the File menu, choose Password Protection. See page 166 for more details.

Tip. Once you have configured a window with a preferred default settings, choose Save Window As Default from the Window menu.

System Tests
If you already have a Trading System window open, click the Run Test button to begin a new System Test. Otherwise, you can create and administer System Tests in the File Browser: If the File Browser is not open, choose File Browser from the Tools menu. Click the Tests icon at the top of the window, then click the Tests radio button at the right.

To create a new System Test, press the + button at the bottom-left. To open an existing System Test, double-click the item in the list.

See page 10 for more details about the File Browser window.

Specifying a System Test

The name of the Trading System to be tested is shown in the System popup menu. Use the System popup menu to choose a Trading System to test. Click Show to open the Trading System window for the selected System. Once the window has been configured, click Run Test begin the test.

There are four types of System Test runs available in the Test Type popup menu:

Single Run
A Single Run applies the selected Trading System to a single security from your database. By definition, one test will run. There are three tabs to configure for a Single Run. Click the mouse on any tab to configure that section. Scope tab. Use the Scope tab to select the security to test.

Enter the ticker symbol and security type via popup menu. Specify the range of dates to test, inclusive. The default range is set widely to encompass all data within the quote file.

Accounting tab. Use the Accounting tab to specify trade size, commissions and other bookkeeping related specifications.

The Accounting tab is the same for all four run types. Trade Size. Specify the size of each trade to be taken by the Trading System. Fixed Number of Shares. Trades the same quantity of shares or contracts in every trade, regardless of the current share price or the current cumulative P&L.

Fixed Dollar Amount. Risks the same dollar amount per trade, regardless of cumulative P&L or share price. For each trade entry, ProTA Gold determines how many shares to purchase by dividing the Fixed Dollar Amount less any slippage and commissions incurred to enter the trade, by the securitys price at trade entry. Fractional shares are allowed. Percent of Equity. Risks the specified percentage of the current equity balance per trade. For each trade entry, ProTA Gold determines how many shares to purchase by first multiplying the specified percentage by the current equity balance to obtain a dollar figure for the trade. That dollar figure is reduced by any slippage and commissions incurred to enter the trade and is then divided by the securitys price at trade entry. Fractional shares are allowed. You can also specify an Idle Interest rate. On days when the Trading System is out of the market, interest is earned on the current equity balance. Note. Percent of Equity accounting can skew the underlying results of the test. If the Trading System made large profits early in the test, the returns for the latter part of the test will be much more heavily weighted in the final P&L total since larger and larger trade sizes will be used as the test progresses. On the other hand, if the Trading System made large losses early in the test, the returns for the latter part of the test will receive a smaller weighting in the final P&L total since smaller and smaller trade sizes will be used as the test progresses. Tip. The most common Trade Size is 1 Fixed Share. This setting will provide P&L values in the resulting system test reports that are in raw points which are often easiest to interpret. Commissions. Specify the commission fees the Trading System will pay for each entry and exit. Percent commissions are computed based on the trade entry or exit price. Commissions are deducted from the day-to-day equity balance the day they are incurred. If Round Turn commissions are indicated, the specified commission amount is applied at trade entry (with no commission at trade exit). Slippage. Specify the slippage the Trading System will incur when filling all orders. Percent slippage is computed based on the trade entry or exit price. In the resulting test reports, slippage is reported as a separate cost, much like commissions. Note. Slippage occurs when there is a difference between the price at which the Trading System triggers an order and the price at which the Trading System would actually get filled on the floor of the exchange. Due to the bid/ask spread and other timing factors, all Trading Systems incur some slippage when applied in the real world. If you do not specify a slippage factor, you should keep in mind that the results reported by ProTA Gold are probably somewhat more positive that those that would have been achieved had you actually filled all of the orders through a broker. Parameters tab. If the selected Trading System includes Parameters, you can adjust those parameters in this tab. If the selected Trading System has no Parameter Variables, this tab is blank.

Optimize Run
An Optimize Run applies the selected Trading System to a single security using an array of varying Parameter values. The resulting report ranks all of the test results, allowing you to highlight the most profitable parameter values for the Trading System. There are three tabs to configure for an Optimize Run. The Scope and Accounting tabs are identical to the those described above for a Single Run. Parameter tab. Use the Parameter tab to specify the combination of parameters to test.

In this example, ProTA Gold will run 66 separate tests using all combination of Parameter values 10-15 inclusive for the Parameter shortPeriod and 21-31 inclusive for the Parameter longPeriod. That is 6 values for shortPeriod times 11 values for longPeriod equals a total of 66 combinations to test. Note. If the selected Trading System has no Parameters, the Parameters tab will be blank. Tip. Although ProTA Gold allows you test up to 20000 Parameter combinations in an Optimize run, performance may begin to suffer well below that quantity. Each individual test generates of a very large repository of data to be stored in RAM or on your hard drive. Large runs can consume hundreds of megabytes of disk space Try to limit the number of combinations to approximately 1000.

Batch Tickers Run


A Batch Tickers Run applies the selected Trading System to a group of securities in your database. The resulting report ranks all of the test results in a concise summary table and also provides access to detailed trade statistics for every test in the run. There are three tabs to configure for a Batch Tickers Run. The Accounting and Parameters tabs are identical to the those described above for a Single Run. Scope tab. Use the Scope tab to specify a batch of securities to test.

Click Edit at the right to specify which securities to test.

Batch Systems Run


A Batch Systems Run applies a group of Trading Systems to a single security in your database. The resulting report ranks all of the test results in a concise summary table and also provides access to detailed trade statistics for every test in the run. There are two tabs to configure for a Batch Systems Run. The Accounting tab is described on page 174. Scope tab. Use the Scope tab to specify the security and the batch of Trading Systems to test.

Add. Use this popup menu to add Trading Systems one at a time. Add Folder. Use this popup menu to add an entire folder of Trading Systems to the test batch. Remove. Highlight an item in the list and click Remove to remove it from the test batch.

Tip. Once you have configured a window with a preferred default settings, choose Save Window As Default from the Window menu.

Running a System Test


Click Run Test in the System Test window to begin the test.

As the System Test proceeds, progress is displayed along with an updated summary of the Last, Best, Worst and Average test in the run. If the run does not appear to be going the way you envisioned it, you can Cancel at any time. Tip. The testing process is threaded and non-modal. This means you can run timeconsuming batch tests in the background while working with other areas of the program. You can also run several system tests at once. When the test has completed, the results are displayed in a System Test Results window.

System Test Results

A summary description of the System Test specification is provided in the upper-left of the window. The table of results ranks the individual tests based upon any of 17 user-configurable columns. Click a column heading to change the sort column and/or sort order. See the section Formatting the Results Table below to customize the columns displayed in the table. (For Single Runs, this table will only list one item.) Click a row in the table to see report details in the pane at the bottom. Use the popup menu to choose a report to display in the report pane at the bottom. See the section System Test Reports below for details about each report.

To export data out of this window, click the table of results or highlight text in the report pane, Copy and then Paste into a spreadsheet program, etc. Click New Test to create a new System Test based upon the same or similar specifications as this test. Click Update to re-execute the System Test with the latest data. If you originally ran the test yesterday and have since downloaded or imported another days worth of data into your quotes database, use the Update button to recalculate the entire System Test to include the newer data. Click Format to customize the sortable columns displayed in the results table. Click Chart to create a new Chart Suite window displaying the Trading System for the highlighted row.

Tip. To alter the default formatting of the charts generated from the Chart button, create and specify a Template in the Preferences window. See page 240.

Formatting the Results Table


Click the Format icon in a System Test Results window to customize the columns displayed in the results table:

Choose among the 17 system test statistics to be displayed in the results table. Each of these items are described in the Test Summary report section below. Tip. Once you have configured a window with a preferred default settings, choose Save Window As Default from the Window menu.

System Test Reports


There are ten reports available for any Trading System Run. Reports are selected by clicking on the popup menu in the System Test Results. You can also use the left and right arrow keys to cycle through the ten reports.

Test Summary:

Test Range. The actual range of dates included in the test. This range only includes dates that were eligible for trading. A Trading System that uses a 21 day moving average, for example, is not eligible to take a trade until at least 21 days from the beginning of the quote file. This is because it takes 21 days before the first moving average value can be computed. The number of ineligible dates is reported at the bottom of the Test Summary Net P&L. The final profit or loss realized by the trades taken in the test, net of commissions and slippage. This value does not include any idle interest that was earned. % Net P&L. 100 * Net P&L / Beginning Balance. The Beginning Balance is determined uniquely for each of the three trade size accounting options: Fixed Number of Shares: Number of Shares * Securitys Price When the Test Began Fixed Dollar Amount: Fixed Dollar Amount Percent of Equity: The specified Beginning Equity balance. Number of Trades. This is a count of all trades, including a trade that is still open at the conclusion of the test. Avg P&L/Trade. Net P&L / Number of Trades. % Winners. Number of Winning Trades / Number of Trades. A winning trade is a trade that has a P&L of zero or greater after considering commissions and slippage.

Total Days in Test. Number of days in the Test Range as defined above. This is not a calendar day count but rather a count of the bars (data points) within the Test Range period. % Days in Market. Number of Days Long or Short / Total Days in Test. Avg P&L/Day. Net P&L / Total Days in Test. Max Drawdown. The maximum peak to trough dip in the day-to-day equity of the trading system. A measure of risk. Reward/Risk Ratio. Net P&L / Max Drawdown. B&H P&L. P&L if the security was simply Bought & Held for the entire Test Range period. vs. B&H P&L. Net P&L B&H P&L. vs. B&H % P&L. % Net P&L - % B&H P&L. % B&H P&L is B&H P&L / Securitys Price When the Test Began. vs. B&H RR Ratio. Reward/Risk Ratio B&H Reward Risk Ratio. B&H Reward Risk Ratio is B&H P&L / B&H Max Drawdown. Current Position. The status of the Trading System at the conclusion of the test. Long, Short or Flat. Open Trade P&L. If the trade status at the conclusion of the test is Long or Short, displays the net P&L of the open trade. Trade Taken Today. If a trade was taken on the last day of the test, displays Enter Long, Exit Long, Enter Short, or Exit Short, otherwise displays No.

Trade Count Analysis:

Summarizes the number of trades by category. In the example above, there were 28 Long Trades, 11 of the Long Trades were Winners (39.29% of the Long Trades were Winners) and the other 17 Long Trades were Losers (60.71% of the Long Trades were Losers). There were 55 total trades. 22 were Winners and 33 were Losers.

Trade P&L Analysis:

Summarizes Net P&L totals by trade type. In the example above, the Net P&L for all Long Trades was 11.28. Long Trades that were Winners netted 30.94 (61.15% of the absolute value total of Winners and Losers).

Trade Avg Analysis:

Summarizes Average Trade Net P&L amounts by trade type. In the example above, the Average Net P&L per Long Trade was 0.40. The Average Net Profit per Winning Long Trade was 2.81. The Average Net Loss per Losing Long Trade was 1.16. The Win/Loss Ratio is calculated as Avg Win / (Avg Win + ABS(Avg Loss)).

Day Analysis:

Summarizes counts of trade days by type. Note. A day is considered Flat for any of the following conditions:

The Trading System is out of the market the entire day. The Trading System is out of the market all day, but makes a Market on Close entry at the end of the day. The Trading System closes out a previous trade Market on Open and remains out of the market the entire day.

Trade Size Analysis:

Various trade statistics categorized by trade type. Largest. Largest absolute value Net P&L amount by category. The worst single trade loss was 5.26. Average Duration. Average number of days a trade was open, by category. In this case, days are trading days (data points), not calendar days. Each Winning Trade averaged 29.41 days in duration. Longest Duration. The longest number of days a trade was open, by category. Again, days are trading days (data points), not calendar days. The longest Short Trade was 56 days long. Most Consecutive. The largest number of consecutive trades of each category type. This Trading System endured 7 Losing Trades in a row at one point.

Trade Equity Rollforward:

Provides a bookkeeping reconciliation of beginning to ending equity balances. Beginning Equity. The equity balance before the test began. This amount was specified in the Accounting tab of the Trading System Run Specifications window (see page 174). If the accounting specifications were Fixed Number of Shares or Fixed Dollar Amount , the Beginning Equity Balance will be zero.

Trades P&L. The profit or loss realized from all trades without any deductions for commissions and slippage. Commissions. Total commissions incurred during the test. Slippage. Total slippage incurred during the test. Interest. Total idle interest earned when the Trading System was Flat the market. Net P&L. Trades P&L net of Commissions and Slippage plus Interest earned. Ending Equity. The final equity balance at the conclusion of the test.

Risk Adjusted Performance:

Trading System performance compared to that of the nave Buy & Hold strategy. See the Trade Summary report for a description of the items in this report.

Trade List:

A trade-by-trade summary. The first trade taken by this Trading System was a Long trade that lost 1.35 points. The trade was closed because the Exit Long rule specified for this Trading System was evaluated as TRUE after 8 trading days of being long.

Run Recap:

Recaps specifications of the Trading System and the Scope and Accounting rules provided for this run.

Technical Reference for System Tests


This section provides a technical reference for the System Testing process.

Evaluation Logic
1. ProTA Gold first determines the number of data records that are required at the beginning of the securitys quote file before the first valid signal can be evaluated. For example, if the Trading System relies on a 50 day moving average, 50 dates are required before ProTA Gold can compute the first moving average value. It is impossible to get a buy or sell signal before the 50th day. In this case, ProTA Gold skips to the 50th date in the quote file. Another example: If the Trading System utilizes a 10 day moving average of a 50 period indicator such as MA(10, S, RSI(50)).

In this case it takes 50 dates to get the first RSI value, then 10 more dates to get the first average of the RSI. ProTA Gold would skip to the 60th date in the quote file. The number of records that are ineligible for trading (skipped) is reported in the Test Summary report. See page 180. 2. After advancing past the ineligible dates, ProTA Gold begins with the When Flat logic below. 3. When Flat: ProTA Gold evaluates the Enter Long and Enter Short rules day by day until either evaluates to a TRUE condition at which point a Buy or Sell order is triggered. If both Enter Long and Enter Short rules are triggered on the same day, the Enter Long rule takes precedence and the Enter Short trigger is ignored. 4. When Long: ProTA Gold evaluates the Trading Systems Stops, then the Exit Long criteria day by day until a Stop is hit or the Exit Long criteria evaluates to a TRUE condition. At that point a Sell order is triggered which will take the Trading System back to a Flat position. 5. When Short: ProTA Gold evaluates the Trading Systems Stops, then the Exit Short criteria day by day until a Stop is hit or the Exit Short criteria evaluates to a TRUE condition. At that point a Buy order is triggered which will take the Trading System back to a Flat position.

Special Rules for Stops


When Long or Short, ProTA Gold first checks for Stops. It checks for Stops in the same order they are listed in the Trading System window: Loss, Profit, Trailing, Inactivity, Max Length. If a Profit Stop and Loss Stop are both hit in a given day, ProTA Gold assumes the Loss Stop was encountered first. With end-of-day data, there is no way of knowing which intra-day stop would actually have been hit first. ProTA Gold takes a conservative stance and assumes the Loss Stop was hit before the Profit Stop. If no Stops are hit, ProTA Gold then looks at the Exit Long (or Exit Short) rule. If the Trading System includes Profit Stops, it is possible the system will stop out at the High price of the day. In real-world trading, it is nearly impossible to have a Stop order filled at the High of the day. To avoid being stopped out immediately on the first day of trade, Trailing Stops are not evaluated until the second day of a trade. A Trailing Stop is evaluated each day as follows: First the maximum profit of the trade is updated and compared to the trigger after amount. If it has been triggered, ProTA Gold then checks for a sufficient pullback from the High (or Low for Shorts) as defined in the Stops window. For Inactivity Stops, the trade entry date is included in the period of dates tested for restricted range trading. If a percentage range is specified, that percentage is applied to the price at which the trade was entered. If a Slippage amount is specified in the Accounting tab, that slippage quantity is applied to all trades, including trades that are exited due to a Stop.

Trading System Tips


Avoid over-optimizing your systems. While it might be possible to sort an Optimize Run of 10,000 combinations and find a near perfect set of parameters, you run the risk of curve-fitting the system to only perform well with that particular set of quotes data. Try to test the Trading System on a variety of securities covering a variety of market conditions (Bull, Bear, Choppy). It also helps to divide the test range into two or more sets. The results for each test period should be similar. Pay attention to the number of trades the system takes. If there are a large number of trades, be sure youve specified a realistic commission and slippage amount, else your real-world results will greatly differ those of the test. When testing Futures or Options which involve leverage and multipliers, the only accounting option that makes sense is Fixed Number of Shares. For example, Gold contracts have a multiplier of 100. A one point move in Gold provides $100 of P&L per contract. So for Gold futures, use 100 Fixed Shares to mimic the trading results of a single Gold contract. In this case, commissions and slippage should not be specified in percentage term; use points or dollars. Avoid using the ZigZag, PeakValue, and TroughValue functions in your Trading System definitions. These are calculated by ProTA Gold with 20-20 hindsight; an advantage you wont have when trading in real time. The same warning applies to the REF function when used with a positive Period parameter. When a positive Period is used, ProTA Gold is shifting values from the future back to today. It is important that your quote files are free of errors and omissions. A transposed digit or a zero value, especially in the Closes field, will produce unreliable trading results. The garbage in, garbage out rule applies here.

Other Uses for Trading Systems


In addition to Running a System Test, Trading Systems can be used elsewhere in the ProTA Gold software: Chart Plots. Just like the built-in Indicators discussed in the Indicators chapter, you can plot a Trading System in any new or existing chart. From the Add Indicator menu item, choose Trading Systems and select the desired Trading System from the popout menu. See page 61 and 117 for additional help. Portfolio Columns. For a spreadsheet-style display of Trading System status (Long, Short, etc.), add a column of type Trading System to any Portfolio. See page 140 for general instructions about adding a column to a Portfolio Sheet and page 162 for specifics about the Trading System column option. Custom Indicators, Database Scanning or Trading Systems within Trading Systems. The Gold Language allows you to refer to any previously written Trading System within any formula. The syntax to obtain the status of a Trading System named My Awesome System is: Position(My Awesome System) {Returns 1 if Long, -1 if Short, 0 if Flat}

TradeTaken("My Awesome System") {Returns 1 , 2, -1, -2, 0 for Enter Long, Exit Long, Enter Short, Exit Short, or No Trade, respectively} See the Gold Language chapter for more information.

Adding or Sharing Trading Systems


Its easy to add Trading Systems youve acquired from another ProTA Gold user or to share your own Trading Systems with other members of the ProTA Gold community. ProTA Gold stores your Trading Systems in a folder named Trading Systems located at ~/Library/Application Support/ProTA. (The ~ is your home folder located in the Users folder.) To add Trading System files youve acquired from a third party, simply drag the files (or a folder of files) into the Trading Systems folder. The next time you refresh the File Browser window, they will be listed. To share Trading System files with other ProTA Gold users, locate the files (or folders) within your Trading Systems folder, duplicate them, then provide the duplicate files to your fellow ProTA Gold users.

Tip. BeeSoft provides an online ProTA Gold User Exchange Forum at its web site. Please visit www.beesoft.net for details.

Database Scanning
Overview
ProTA Golds Database Scanning feature searches your database for securities that meet your own custom-tailored criteria. Instead of manually paging through hundreds or thousands of charts looking for patterns, crossovers, new highs/lows, etc., you can codify your criteria into a simple formula and let ProTA Gold find the matches for you. You can use Database Scanning to: Discover which securities have just generated a buy or sell signal. List all securities that have crossed their 200 day moving average on above average volume. Limit your database listing to only include securities that are up more than 50% since 1/1/2006. Find all stocks that are above their 21 day average, have an RSI above 60 and the Stochastics have just crossed above 80. List all securities that are currently Long or Short any of your Trading Systems.

This is just a small sampling of possible criteria. Since your criteria is specified with Custom Indicators and Trading Systems using the robust Gold Language, you are only limited by your imagination. The Gold Language chapter covers the formula language in great detail and there are a number of commented sample criteria available on the BeeSoft web site at www.beesoft.net.

Database Scanning 1-2-3


1. Define criteria using the Gold Language. See Creating Scan Criteria. 2. Create and customize the Database Scan. See Database Scan Window. 3. Run the scan and view the results. Items that meet your specified criteria (Hits) are placed in a new Portfolio listing from which you can sort, change views, create charts, or even run another Database Scan to further wean down the list. See Running a Database Scan.

Creating Scan Criteria


Before running a database scan, you will need to create and save a file that serves as the basis of the scan, also known as the criteria. The criteria determines if a security is a Hit or a Miss. There are two types of files that can serve as a scans criteria.

Custom Indicators
Custom Indicators are the most common scan criteria. Please see the Custom Indicators chapter for details about creating and saving Custom Indicators. This section is limited to issues specifically related to database scanning. A database scan based on a Custom Indicator will reveal all securities where the Custom Indicator evaluates to TRUE (or any non-zero value). Generally, youll write a formula using comparison operators such as: MovingAverage(21) > Close; Close > 50 AND Volume > 1000000; Tip. The Custom Indicators database includes a pre-made sub-folder named Criteria. When you write a Custom Indicator that evaluate to TRUE or FALSE, such as those above, save the file into this Criteria folder. Its a handy way of keeping the TRUE/FALSE Indicators separate from the numerical Indicators. Then, when it comes time to choose a criteria for a new database scan, you can navigate directly to the Criteria folder.

Trading Systems
A database scan can also query the state of any Trading System: IsLong, IsShort, IsFlat, TradeTaken, etc. Please see the Trading Systems chapter for details about creating and saving Trading Systems.

Administering Database Scans


The creation and organization of Database Scans is administered in ProTA Golds File Browser window. If the File Browser is not open, choose File Browser from the Tools menu. Click the Scans icon at the top of the window.

To create a new Scan, press the + button at the bottom-left. To open an existing Scan, double-click the item in the list.

See page 10 for more details about the File Browser window. See page 55 for an example of ProTAs Save As window.

Database Scan Window

Criteria. Two popup menus are used to specify the criteria for the scan. Use the small popup widget at the left to select the type of criteria, then use the large popup menu at the right to select the criteria file. There are 8 criteria types:

Choose Custom Indicator when the desired criteria is located in a saved Custom Indictor file. Then use the popup menu at the right to select the desired Custom Indicator file. The next 6 items are used to query the state of a Trading System. Use the popup menu at the right to select the desired Trading System to query. Choose Custom Formula to author a criteria directly in this window. This option is useful for one-time scans or for criteria that are too simple to warrant saving in a Custom Indicator file. For example, you may wish to simply find all stocks less than $10. Rather than creating and saving a criteria (see Creating Scan Criteria) then running the scan, you can simply enter the formula in this window: Close < 10;

Evaluate Dates. Specify a range of dates to evaluate each security for TRUE conditions (Hits). You can manually enter a range of dates or use the popup button at the right to choose a flexible setting:

Note. When you choose a date range that spans more than a single date, the scanner will consider each security a Hit if any of the specified dates evaluate to TRUE. Scan Securities. Click Edit at the right to specify which securities to test. Tip. Once you have configured a window with a preferred default settings, choose Save Window As Default from the Window menu.

Running a Database Scan


Click Run Scan to begin the scanning process.

As the scan proceeds, progress is displayed along with an updated summary of the Hits and Misses. If the scan does not appear to be going the way you envisioned it, you can Cancel at any time. Tip. The scanning process is threaded and non-modal. This means you can run timeconsuming scans in the background while working with other areas of the program. You can also run several scans at once. When the scan is completed, the final results are summarized at the bottom of the window, with 2 new clickable buttons:

Click Clear Results to remove the results and return the window back to its original state before the Run Scan button was pressed. Click Show Hits to create a new Portfolio window listing the Hit securities.

From here you can add columns, change Views, sort and rank, create charts, etc. See the Portfolios chapter for details.

Gold Language
Overview
ProTA Gold includes a powerful formula-building language called the Gold Language. The Gold Language is used to: Write formulas for Custom Indicators. (High + Low)/2 - MA(21); Define buy and sell signals in Trading Systems. Enter Long: CrossesAbove(Close, MA(21)); Exit Long: CrossesBelow(Close, MA(21)); Specify criteria for Database Scanning. RSI(14) > 60 AND Slope(Volume, 1) > 0; The same language is used in all three areas of the program. Once you become comfortable writing Custom Indicators for example, you are well on your way to mastering Trading Systems and Database Scanning. Tip. There are a number of example formulas and download-able files available at the BeeSoft web site. Please visit www.beesoft.net.

Structure of a Formula
The term formula refers interchangeably to a Custom Indicator formula, a buy or sell rule in a Trading System or a formula used as the criteria for a Database Scan. Formulas can include the following 3 types of instructions: Parameters (optional) Reference Variables (optional) Final Calculation (required) Many simple formulas consist entirely of a single line (Final Calculation line), while others can span dozens of lines of Parameters, Reference Variables and the Final Calculation. In all cases, each line of code should be terminated with a semi-colon. For example: Sum(Volume, 20)/20;

The next three sections discuss each part of the formula structure. In each section we will build up an example formula, My First Indicator. My First Indicator is a simple Oscillator that subtracts the 10 period moving average from the 21 period moving average. In this example, we like the moving average periods 10 and 21, but wed also like to have flexibility to adjust these values when plotting My First Indicator in a chart.

Parameters
Parameters allow you to assign a default numerical value to a defined name in the formula. A formula can contain an unlimited number of Parameters, but only the first 5 will be editable when plotting in a chart. Parameters are optional, but when they are used, they should come first in the formula. The syntax for a Parameter line is: ParameterName: FLOATING POINT CONSTANT; For My First Indicator, we might start off the first two lines of the formula as follows: shortPeriod: 10; longPeriod: 21; These two lines assign the specified values as defaults for each Parameter.

Reference Variables
Rather than aggregating your entire formula calculation into one long, single-line expression, you can use Reference Variables to break up the formula into several, more manageable and more readable sub-calculations. A formula can contain an unlimited number of Reference Variables. If used, Reference Variable lines should come after all of the Parameters. The syntax for a Reference Variable line is: ReferenceVariableName := ANY EXPRESSION; For My First Indicator, lets compute the two moving averages before going on to subtract them. Well use two Reference Variables: shortMA := MA(shortPeriod); longMA := MA(longPeriod); These Reference Variable lines assign the moving average values to the variables named shortMA and longMA. Notice how the MA functions use the Parameters shortPeriod and longPeriod. When this formula is evaluated, ProTA Gold substitutes shortPeriod and longPeriod with the values that are provided for the chart plot (see below).

Final Calculation
All formulas must contain the Final Calculation as the last line of the formula. Since Parameters and Reference Variables are optional, many simple formulas consist entirely of a single Final Calculation line. The Final Calculation line is the value that is actually returned by the formula: the value that is plotted for a Custom Indicator, the buy/sell rule that is evaluated in a Trading System, or the criteria that is examined when Database Scanning. The syntax for the Final Calculation line is: ANY EXPRESSION;

For My First Indicator, the Final Calculation would be : shortMA - longMA;

The entire My First Indicator looks like this: shortPeriod: 10; longPeriod: 21; shortMA := MA(shortPeriod); longMA := MA(longPeriod); shortMA - longMA;

Multiple Outputs
All formulas must contain the Final Calculation as the last line of the formula. The Final Calculation represents the output for the formula. For example, when plotted in a chart, the values of the Final Calculation are used to plot a line in the chart. In some cases, you may wish to plot several lines from a single Custom Indicator. For example, you can plot a Moving Average with 2 lines shifted above and below the MA line. This example will require 3 outputs. To plot multiple lines within a single indicator, simply prefix any Reference Variable with the # character. For example, this formula will plot two lines above and below a moving average line: MAPeriod: 21; ShiftPercent: 10; BaseLine := MA(MAPeriod); ShiftAmt := BaseLine * ShiftPercent / 100; #UBand := BaseLine + ShiftAmt; #LBand := BaseLine - ShiftAmt; #MALine := BaseLine;

Advantage of Using Parameters


Custom Indicators. If we did not use any Parameters (or Reference Variables), My First Indicator could be condensed into a single line formula: MA(10) - MA(21); The advantage of the longer version is primarily in the use of Parameters. The short version has 10 and 21 hard-coded into the formula. Every time you plot the short version of this formula, it will use 10 and 21 in the computation. If you later decide that 13 and 36 might be worth a look, you would have to re-write the formula using these values. But with the longer, Parameter version of the formula, you have the option of altering the 10 and 21 defaults in the Inspector window associated with the plotted indicator. Inspector window when plotting the shorter version (with no Parameters):

Inspector window when plotting the longer version (with Parameters):

See page 61 for plotting a Custom Indicator.

Trading Systems. Parameters are also important when defining buy/sell rules in Trading Systems. You cannot optimize Trading Systems that do not use Parameters. However, with Parameters included, you can test a range of parameter combinations looking for the best possible values. For example, if the Enter Long rule is: shortPeriod: 10; longPeriod: 21; shortMA := MA(shortPeriod); longMA := MA(longPeriod); CrossesAbove(shortMA, longMA); You can perform an Optimize Run to test hundreds or thousands of combinations of periods looking for best combination of values:

See page 176 for Optimize Runs.

Formula Re-Use. The Gold Language includes several functions that allow you to call into any other Custom Indicator or Trading System that you have already written and saved to disk. If those saved formulas include Parameters, you can pass in values to those formulas. For example, if we had already saved My First Indicator to disk, we could write a second formula that calls into My First Indicator as follows: FN(My First Indicator, 15, 30); In this case, our formula would evaluate My First Indicator by substituting 15 and 30 for the shortPeriod and longPeriod Parameters. See page 212 for more information about the CustInd or FN function used above.

Parameter and Variable Names


Parameter and Reference Variable names can be any series of letters and numbers you choose with the following exceptions: The name must be 25 letters or less. The first character must be a letter. A name cannot be the same as any reserved function name in the Gold Language. Names cannot be assigned a value more than once in the formula.

Whitespace is Ignored
Spaces, Tabs and Returns are ignored. You can add spaces, tabs and line breaks throughout your formula to improve readability. The only time spacing is required is for the logical operators AND and OR. Both of these keywords must be preceded and followed by a space character. The following two formulas are identical: Close>20 AND Close<40;

Close > 20 AND Close < 40;

Case is Insensitive
Lower and upper case letters are interchangeable. The following are evaluated identically: IF(Slope(Close, 1)>0, Volume, -Volume); If(SLOPE(CLOSE,1)>0, volume, -VOLUME);

Comments Placed Between { } are Ignored


You can add comments throughout your formulas by placing the comment text in between { } characters. All text, including line breaks, in between { } is ignored. myMin: 20; myMax: 40; {set minimum to 20} {set maximum to 40}

Close > myMin AND Close < myMax; {must fall between min and max}

Syntax Errors
ProTA Gold performs a syntax check of all formulas as they are edited and when they are saved. If there are any syntax errors, ProTA Gold displays a red light and displays a description of the error. Clicking the mouse on the red light or the error message will highlight the offending portion of the formula. A Custom Indicator with a syntax error highlighted:

ProTA Gold does a good job of finding syntax errors, but that does not mean a syntax-free formula will always work as you expect it to. The syntax check merely ensures that your formula does not break any of the formatting rules required by the Gold Language. It is still possible that your syntax-free formula is computing an RSI when you wanted a CCI simply because of a typographical error. Review and test your formulas carefully.

Use the Function Library to copy/paste functions to avoid typos. Use the FN (CustInd) function to avoid having to type the same formulas over and over.

Note. One type of error condition, a Circular File Reference is relatively time-consuming to detect, so ProTA Gold will only test for that error when you load or save the file. A Circular File Reference occurs when a formula refers externally to another file which in turn refers back to the original file. External references to other files only takes place with four Functions: FN (CustInd), ScanCriteria, Position, and TradeTaken. For example, if the Custom Indicator you are currently editing is named ABC, be sure not to use FN(XYZ) in it if indicator XYZ includes the statement FN(ABC).

Elements of the Language


There are over 130 elements in the Gold Language than can be used to construct a wide range of mathematical functions and logical analyses. The Gold Language elements can be divided into three major categories: Quote Field, Operators and Functions.

Quote Field elements


Quote Field elements permit access to the six data fields of the security. They can be accessed using either the long or short name: Long Name Open High Low Close Volume OpenInterest Close + 5; (H + L) / 2; Short Name O H L C V I {plots the Closing price shifted up 5 points} {plots the midpoint of the High-Low range}

Operators
Operators provide the basic math, comparison, and logic functions. Math Operators: + * / Addition Subtraction Multiplication Division

Comparison Operators: < <= > >= = <> Less than Less than or equal to Greater than Greater than or equal to Equals Not equals

Logical Operators: AND OR Logical AND (both conditions must be TRUE) Logical OR (either condition must be TRUE)

Note. AND and OR must be preceded and followed by a space character. Result of Operations: The result of Math operations is numerical. The result of Comparison and Logical operations is a Boolean: TRUE or FALSE. In ProTA Gold, TRUE is plotted as a value of 1, FALSE is plotted as a value of 0. When ProTA Gold needs to perform a Boolean operation but a numerical value is provided, all non-zero values are considered TRUE and all zero values are considered FALSE.

Functions
The power and depth of the Gold Language lies in its Function library. Functions perform a wide variety of mathematical operations including indicator math, pattern recognition, and price analyses. See the Functions Reference section for details on each Function.

Order of Operations
Formulas are generally evaluated top to bottom: 1. Parameter values are substituted into the formula. 2. Reference Variable lines are evaluated, first to last. 3. The Final Calculation line is evaluated. Each calculation is interpreted in the same manner as most computer languages/spreadsheets/formularies. The order of operations from first to last is as follows: Functions Expressions in parentheses Negative sign before values *, /

+, =, <, >, <=, >=, <> AND, OR

Within each category, evaluation is performed left to right.

Function Library
ProTA Gold includes a handy in-program reference to the Gold Language. From the Tools menu, choose Function Library.

Click any function name in the list to see information displayed at the bottom. See the following two sections for complete details about all functions, required vs. optional parameters, etc.. Short Function Name. Check this box to use the shorter name in the sample usage line as well as for copying to the clipboard (see below). Copy Function. Press this button to copy the highlighted function to the clipboard. You can then Paste it into any formula window. Tip. Double-click the mouse on any function in the list to immediately copy it to clipboard.

Function Summary
The Gold Language includes over 100 Functions which provide a wide variety of ready-touse mathematical and analytical calculations. The Function Reference in the next section lists each Function in alphabetical order with details about its syntax and purpose. This section provides a summary of Functions grouped by type. Long Name Short Name Page Ref

Built-in Indicators: Identical to the ProTA Gold built-in Indicators. AccumulationDistribution AdvanceDecline AverageTrueRange BearPower BollingerBands BullPower ChaikinOscillator CommodityChannelIndex DirectionalMovement EaseOfMovement ExchangeVolume ExternalReference ForceIndex LinearRegressionForecast MACD MarketFacilitationIndex McClellanOscillator MedianPrice MoneyFlowIndex MovingAverage NegativeVolumeIndex NetHighsLows OnBalanceVolume ParabolicSAR Performance PositiveVolumeIndex PriceVolumeTrend PutCallRatio PutVolumeIndicator RateOfChange RelativePerformance RelativeStrengthIndex Spread StandardDeviation Stochastics TRIN TRIX TypicalPrice Volatility AD AdvDecl ATR BearP BBands BullP ChaikinOsc CCI DM EOM ExchVol XREF Force LRF MACD WMFI McOsc MP MFI MA NVI NetHL OBV Parabolic Perf PVI PVT PutCall BPVI ROC RelPerf RSI Spread StDev Stoch TRIN TRIX TP Volatility 207 207 208 209 209 210 210 210 213 213 214 215 216 220 221 221 222 222 223 223 224 224 224 225 226 227 228 228 228 228 229 230 232 233 233 234 234 236 236

WeightedClose WilliamsAccumDist WilliamsPercentR ZigZag

WC WAD PercentR ZigZag

237 237 237 238

Date Related: Provides Day, Month Year values. DayOfMonth DayOfWeek Month Year DayOfMonth DayOfWeek Month Year 212 212 223 237

External Calls: Return values from other Custom Indicators, Trading Systems or Database Scan criteria. CustInd Position ScanCriteria TradeTaken Math: Perform basic math functions. AbsoluteValue ArcTangent Ceiling Change Cosine Cumulate Exponent Floor Fraction Integer Log Maximum Minimum Modulus Power Round RoundDown RoundUp Sine Slope SquareRoot Summation ABS ATAN Ceiling Change COS CUM EXP Floor FRAC INT LOG MAX MIN MOD Power Round RoundDown RoundUp SIN Slope SQRT SUM 207 208 210 210 211 211 215 216 216 219 220 221 222 222 227 230 230 230 231 231 232 233 FN Pos ScanFN Traded 212 227 231 234

Patterns: Candlestick and other basic pattern recognition. BigCandle DarkCloudCover Doji DojiStar EngulfingLine EveningDojiStar EveningStar Gap GapDown GapUp GravestoneDoji Hammer BigCandle DarkCloudCover Doji DojiStar EngulfingLine EveningDojiStar EveningStar Gap GapDown GapUp GravestoneDoji Hammer 209 212 213 213 214 214 214 216 217 217 217 217

Harami HaramiCross InsideDay KeyReversalDay MorningDojiStar MorningStar OutsideDay PiercingLine SeparatingLine ThreeBlackCrows ThreeWhiteSoldiers Window Special: Miscellaneous analytics. Alert BarsSince Cross CrossesAbove CrossesBelow Highest HighestBarsAgo If IsFalling IsRising Lowest LowestBarsAgo PeakBarsAgo PeakValue Previous Reference TroughBarsAgo TroughValue ValueWhen

Harami HaramiCross InsideDay KeyReversalDay MorningDojiStar MorningStar OutsideDay PiercingLine SeparatingLine ThreeBlackCrows ThreeWhiteSoldiers Window

217 218 219 220 223 223 225 226 231 233 234 237

Alert BarsSince Cross CrossAbove CrossBelow Highest HighestBarsAgo IF Falling Rising Lowest LowestBarsAgo PeakBarsAgo Peak PREV REF TroughBarsAgo Trough ValueWhen

208 208 211 211 211 218 218 219 219 219 220 221 225 226 227 229 235 235 236

Function Reference
Notes for this Function Reference section: The LongName is listed at the left margin, the ShortName at the right. A Function can be called with either. These are identical: MovingAverage(21); MA(21); Parameters in Italics are optional. For example: MovingAverage(Period, MAType, FieldType) You do not have to specify a MAType or a FieldType. If they are not provided, the Function defaults to the underlined values specified in each section. In this case, the

defaults are Simple and Close, so MA(21) would calculate a 21 period Simple moving average of the Closes. For all Functions that include an optional Array parameter, the default is Close. If you skip an optional parameter in the middle of a parameter list, you must include the comma. For example, the MovingAverage function has three parameters; the last two are optional. To specify the first and last parameter only: MA(21, , High) {The 2nd parameter isnt specified, so it defaults to Simple. Note the comma is still in place.}

INTEGER CONSTANT. Some Functions require an INTEGER CONSTANT as one of the parameters. An INTEGER CONSTANT is any number value without a decimal or fractional portion. 21 1 250

FLOATING POINT CONSTANT. Some Functions require a FLOATING POINT CONSTANT as one of the parameters. A FLOATING POINT CONSTANT is any numerical value. 21 1.65 -8.839 3987.467 0.0052

ARRAY. Some Functions require an ARRAY as one of the parameters. An ARRAY is any numerical value or mathematical expression. An ARRAY can be virtually any expression that can be specified using the Gold Language. 21 -8.839 109 + 3.67 Close High + 5 MA(21) - Close IF(Close>Open, Volume * 10, Volume * 8)

TYPE WORD. Some Functions require a TYPE WORD as one of the parameters. A TYPE WORD is one of a special set of keywords that are specified within each Function section below. MA(21, Exponential) {Exponential is a TYPE WORD that specifies the MAType} { UB is a TYPE WORD that specifies the Upper Band of the Bollinger Bands}

BBands(20, 2, UB)

AbsoluteValue
ABS (Array)

ABS

Returns the Absolute Value of the Array. Absolute Value is the number without its sign. ABS(-10.7) returns 10.7 ABS(10.7) returns 10.7

AccumulationDistribution
AD (Period)

AD

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Normally 1. Calculates the Accumulation/Distribution indicator. Identical to the built-in Accumulation/Distribution indicator on page 74. AD(1) is the standard Accumulation/Distribution indicator.

AdvanceDecline
AdvDecl (EXCHANGE PREFIX, Period, Type)

AdvDecl

EXCHANGE PREFIX: Text enclosed in quotation marks that specifies which A/D quote file to use for the calculation. Normally NYSE, NASD or AMEX for the NYSE A/D, NASD A/D, or AMEX A/D market data files. The indicated quote file must be present in your Market Data section. See page 27 for more information about the special Market Data files. Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Normally 1. Type: A TYPE WORD specifying the type of Advance-Decline calculation. AD: Advances - Declines ADU: (Advances - Declines) / Unchanged ADAD: (Advances - Declines) / (Advances + Declines) Calculates the Advance-Decline (General Market) indicator. Identical to the built-in Advance-Decline (General Market) indicator on page 75. AdvDecl(NYSE, 1) calculates Advancing issues minus Declining issues on the NYSE. AdvDecl(NYSE, 1, ADU) calculates (Advancing issues minus Declining issues) divided by Unchanged issues on the NYSE. CUM(AdvDecl(NYSE, 1)) is the standard NYSE Advance-Decline Line.

Alert
Alert (Array, Period)

Alert

Period: An INTEGER CONSTANT or ARRAY specifying the number of bars to extend the TRUE condition. Returns TRUE when Array is TRUE (non-zero) and also extends the TRUE results Period bars forward starting with today. Alert(Volume > 10000, 3) returns TRUE when the Volume is greater than 10000 and also TRUE for the following 2 bars even if the Volume is not greater than 10000 on the 2 subsequent days. Alert(C>10, 1) is identical to C>10.

ArcTangent
ATAN (Array1, Array2)

ATAN

Returns the ArcTangent of Array1/Array2 where Array1 and Array2 are presumably x, y coordinates. The values returned are in degrees from 0 to 359. 0 degrees is the right xaxis, 90 degrees is the upper y-axis, 180 degrees is the left x-axis, and 270 degrees is the lower y-axis. ATAN(1, 0) returns 0 ATAN(1, 1) returns 45

AverageTrueRange
ATR (Period)

ATR

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Calculates the Average True Range indicator. Identical to the built-in Average True Range indicator on page 76. ATR(14) is the 14 period Average True Range indicator.

BarsSince
BarsSince (Array)

BarsSince

Returns the number of Bars (time periods) since Array was TRUE. BarsSince(Close > MA(21)) returns the number of Bars since the Close was above its 21 day average.

BearPower
BearP (Period)

BearP

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Calculates the Bear Power indicator. Identical to the built-in Bear Power indicator on page 78. BearP(13) is the 13 period Bear Power indicator.

BigCandle
BigCandle (Type)

BigCandle

Type: A TYPE WORD specifying the type of candle patterns to identify. Any: Both Bullish and Bearish Big Candles Bull: Bullish Big Candles Bear: Bearish Big Candles Returns TRUE when a Big Candle formation is detected, otherwise FALSE. See page 83 for a description of Candlestick patterns. BigCandle(Bull) returns TRUE when a Bullish Big Candle is detected. BigCandle() returns TRUE when any Big Candle is detected.

BollingerBands
BBands (Period, Deviations, Type, Array)

BBands

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Deviations: A FLOATING POINT CONSTANT specifying the number of standard deviations for the bands. Type: A TYPE WORD specifying the type of Bollinger Band value to compute. %B or %: %B oscillator UB or UpperBand: Upper Band LB or LowerBand: Lower Band Calculates the specified component of the Bollinger Bands indicator. Identical to the builtin Bollinger Bands indicator on page 80. BBands(20, 1.95, UB, High) returns the upper band value of the 20 period, 1.95 deviations Bollinger Band indicator using the securitys High field as the basis of calculation. BBands(20, 1.95)) returns the %B value of the 20 period, 1.95 deviations Bollinger Band indicator using the securitys Close field as the basis of calculation.

BullPower
BullP (Period)

BullP

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Calculates the Bull Power indicator. Identical to the built-in Bull Power indicator on page 82. BullP(13) is the 13 period Bull Power indicator.

Ceiling
Ceiling (Array, Multiple)

Ceiling

Multiple: A FLOATING POINT CONSTANT specifying the rounding multiple. Returns the smallest multiple of Multiple that is greater than or equal to the Array value. Ceiling(Close, 0.25) returns the Close rounded up to the nearest quarter point.

ChaikinOscillator
ChaikinOsc (LongPeriod, ShortPeriod)

ChaikinOsc

LongPeriod, ShortPeriod: Two INTEGER CONSTANTS specifying the periods for the indicator calculation. Calculates the Chaikin Oscillator indicator. Identical to the built-in Chaikin Oscillator indicator on page 85. ChaikinOsc(10, 3) is the standard Chaikin Oscillator indicator.

Change
Change (Array, Period)

Change

Period: An INTEGER CONSTANT or ARRAY specifying the lookback period. Defaults to 1. Returns the change in Array compared to Periods ago. Change(C, 2) returns the Close minus the Closes 2 periods ago. Change(RSI(14)) returns the 1 period change in the 14 period RSI indicator.

CommodityChannelIndex
CCI (Period)

CCI

Period: An INTEGER CONSTANT specifying the period for the indicator calculation.

Calculates the Commodity Channel Index indicator. Identical to the built-in Commodity Channel Index indicator on page 87. CCI(14) is the 14 period Commodity Channel Index indicator.

Cosine
COS (Array)
Returns the Cosine of Array. The Array value(s) should be in degrees. COS(30) returns 0.866

COS

Cross
Cross (Array1, Array2)

Cross

Returns TRUE on days when Array1 has crossed above or below Array2, otherwise returns FALSE. Cross(Close, 20) is TRUE when the Close moves from above 20 to below 20 or when the Close moves from below 20 to above 20.

CrossesAbove
CrossAbove (Array1, Array2)

CrossAbove

Returns TRUE on days when Array1 has crossed above Array2, otherwise returns FALSE. CrossAbove(Close, 20) is TRUE when the Close moves from below 20 to above 20.

CrossesBelow
CrossBelow (Array1, Array2)

CrossBelow

Returns TRUE on days when Array1 has crossed below Array2, otherwise returns FALSE. CrossBelow(Close, 20) is TRUE when the Close moves from above 20 to below 20.

Cumulate
CUM (Array)

CUM

Calculates a cumulative summation of Array dating back to the beginning of the Array. CUM(Close) is a running total of all Closing values. CUM(1) returns the current Bar (data point) count . The first date in the quote file is 1, the second date is 2, etc.

CustInd

FN

FN (Custom Indicator Name, Param1, Param2, Param3, Param4, Param5)


Custom Indicator Name: Text enclosed in quotation marks that specifies the name of a previously created and saved Custom Indicator file. Param1-5: Optional values can be passed into the Custom Indicator to be used in place of the default Parameters. Returns an array of values as calculated by the specified Custom Indicator. FN(My Awesome Oscillator) returns the values calculated by My Awesome Oscillator. If the saved formula for My Awesome Oscillator is: period:27 MA(period) Then FN(My Awesome Oscillator) is identical to MA(27). FN(My Awesome Oscillator, 13) is identical to MA(13).

DarkCloudCover
DarkCloudCover ()

DarkCloudCover

Returns TRUE when a Dark Cloud Cover formation is detected, otherwise FALSE. See page 83 for a description of Candlestick patterns. DarkCloudCover () returns TRUE when a Dark Cloud Cover pattern is detected.

DayOfMonth
DayOfMonth ()
Returns the calendar day of month from the quote file.

DayOfMonth

When plotted in a chart, the value for March 9, 2006 would be 9.

DayOfWeek
DayOfWeek ()
Returns the day of week from the quote file. 1 = Monday 2 = Tuesday 3 = Wednesday 4 = Thursday 5 = Friday 6 = Saturday 7 = Sunday

DayOfWeek

When plotted in a chart, the value for Thursday, March 9, 2006 would be 4.

DirectionalMovement
DM (DXPeriod, ADXPeriod, ADXRPeriod, Type)

DM

DXPeriod, ADXPeriod, ADXRPeriod: 3 INTEGER CONSTANTS specifying the periods for the indicator calculation. Type: A TYPE WORD specifying the component of Directional Movement system to compute. ADX: ADX line MinusDI or -DI: -DI line PlusDI or +DI: +DI line DX: DX line ADXR: ADXR line Calculates the specified component of the Directional Movement system. Identical to the built-in Directional Movement indicator on page 90. DM(14, 14, 14, ADXR) returns the 14 period ADXR line. DM(14, 14, 14) returns the 14 period ADX line.

Doji
Doji ()

Doji

Returns TRUE when a Doji formation is detected, otherwise FALSE. See page 83 for a description of Candlestick patterns. Doji () returns TRUE when a Doji pattern is detected.

DojiStar
DojiStar ()

DojiStar

Returns TRUE when a Doji Star formation is detected, otherwise FALSE. See page 83 for a description of Candlestick patterns. DojiStar () returns TRUE when a Doji Star pattern is detected.

EaseOfMovement
EOM (Period)

EOM

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Calculates the Ease of Movement indicator. Identical to the built-in Ease of Movement indicator on page 91.

EOM(26) is the 26 period Ease of Movement indicator.

EngulfingLine
EngulfingLine (Type)

EngulfingLine

Type: A TYPE WORD specifying the type of candle patterns to identify. Any: Both Bullish and Bearish Engulfing Line candles Bull: Bullish Engulfing Line candles Bear: Bearish Engulfing Line candles Returns TRUE when an Engulfing Line formation is detected, otherwise FALSE. See page 83 for a description of Candlestick patterns. EngulfingLine(Bear) returns TRUE when a Bearish Engulfing Line pattern is detected. EngulfingLine () returns TRUE when any Engulfing Line pattern is detected.

EveningDojiStar
EveningDojiStar ()

EveningDojiStar

Returns TRUE when an Evening Doji Star formation is detected, otherwise FALSE. See page 83 for a description of Candlestick patterns. EveningDojiStar () returns TRUE when an Evening Doji Star pattern is detected.

EveningStar
EveningStar ()

EveningStar

Returns TRUE when an Evening Star formation is detected, otherwise FALSE. See page 83 for a description of Candlestick patterns. EveningStar () returns TRUE when an Evening Star pattern is detected.

ExchangeVolume
ExchVol (EXCHANGE PREFIX, Period, Type)

ExchangeVolume

EXCHANGE PREFIX: Text enclosed in quotation marks that specifies which VOL quote file to use for the calculation. Normally NYSE, NASD or AMEX for the NYSE VOL, NASD VOL, or AMEX VOL market data files. The indicated quote file must be present in your Market Data section. See page 27 for more information about the special Market Data files. Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Normally 1. Type: A TYPE WORD specifying the type of Exchange Volume calculation. UD: UpVol - DownVol

UDT: (UpVol - DownVol) / TotVol UDUD: (UpVol - DownVol) / (UpVol + DownVol) Calculates the Up-Down Volume (General Market) indicator. Identical to the built-in Exchange Up-Down Volume (General Market) indicator on page 93. ExchVol(NYSE, 1) calculates Up Volume minus Down Volume on the NYSE. ExchVol (NYSE, 1, UDT) calculates (Up Volume minus Down Volume) divided by Total Volume on the NYSE.

Exponent
EXP (Array)
Computes e raised to the power specified in Array. EXP(2) is e squared

EXP

ExternalReference

XREF

XREF (TICKER, SecurityType, FieldType, NormType, NormDate)


TICKER: Text enclosed in quotation marks that specifies a ticker symbol for a security in your quotes database. SecurityType: A TYPE WORD specifying the securitys type. S or Stock M or MutualFund I or Index F or Futures O or Option B or Bond D or MarketData FieldType: file. C O H L A TYPE WORD specifying the field to access in the specified securitys quote or or or or Close Open High Low

NormType: A TYPE WORD specifying the Normalization method. N or None A or Arithmetic R or Ratio NormDate: Text enclosed in quotation marks that specifies the date at which to Normalize the two securities. Defaults to 12/31/04. Returns the specified pricing data of another security. Identical to the built-in Price Plot (Comparison Overlay) indicator on page 109. XREF(AAPL, S) returns the Closing prices from the AAPL stock quote file. XREF(IBM, S, O) returns the Opening prices from the IBM stock quote file.

XREF(SPX, I, , R, 1/1/95) returns the Closing prices from the SPX index quote file after normalizing the SPX data to match on 1/1/95 using a ratio method.

Floor
Floor (Array, Multiple)

Floor

Multiple: A FLOATING POINT CONSTANT specifying the rounding multiple. Returns the largest multiple of Multiple that is less than or equal to the Array value. Floor(Close, 0.25) returns the Close rounded down to the nearest quarter point.

ForceIndex
Force (Period)

Force

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Calculates the Force Index indicator. Identical to the built- Force Index indicator on page 94. Force(2) is the 2 period Force Index indicator. CUM(Force(2)) is the Cumulative Summation line of the 2 period Force Index indicator.

Fraction
FRAC (Array)

FRAC

Eliminates the integer portion of the Array value(s) and returns only the fractional part. FRAC(10.563) returns 0.563 FRAC(21) returns 0

Gap
Gap ()

Gap

Returns TRUE when there is a price gap from the previous Bar, otherwise returns FALSE. Specifically, a Gap occurs if the Low is greater than the previous High or the High is lower than the previous Low. Gap () returns TRUE on any Gap day.

GapDown
GapDown ()

GapDown

Returns TRUE when there is a downward price gap from the previous Bar, otherwise returns FALSE. Specifically, a Gap Down occurs if the High is lower than the previous Low. GapDown () returns TRUE on any Gap Down day.

GapUp
GapUp ()

GapUp

Returns TRUE when there is an upward price gap from the previous Bar, otherwise returns FALSE. Specifically, a GapUp occurs if the Low is greater than the previous High. GapUp () returns TRUE on any Gap Up day.

GravestoneDoji
GravestoneDoji ()

GravestoneDoji

Returns TRUE when a Gravestone Doji formation is detected, otherwise FALSE. See page 83 for a description of Candlestick patterns. GravestoneDoji () returns TRUE when a Gravestone Doji pattern is detected.

Hammer
Hammer (Type)

Hammer

Type: A TYPE WORD specifying the type of candle patterns to identify. Any: Both Bullish and Bearish Hammer candles Bull: Bullish Hammer candles Bear: Bearish Hammer candles Returns TRUE when a Hammer formation is detected, otherwise FALSE. See page 83 for a description of Candlestick patterns. Hammer (Bear) returns TRUE when a Bearish Hammer pattern is detected. Hammer () returns TRUE when any Hammer pattern is detected.

Harami
Harami (Type)

Harami

Type: A TYPE WORD specifying the type of candle patterns to identify. Any: Both Bullish and Bearish Harami candles Bull: Bullish Harami candles Bear: Bearish Harami candles

Returns TRUE when a Harami formation is detected, otherwise FALSE. See page 83 for a description of Candlestick patterns. Harami (Bull) returns TRUE when a Bullish Harami pattern is detected. Harami () returns TRUE when any Harami pattern is detected.

HaramiCross
HaramiCross (Type)

HaramiCross

Type: A TYPE WORD specifying the type of candle patterns to identify. Any: Both Bullish and Bearish Harami Cross candles Bull: Bullish Harami Cross candles Bear: Bearish Harami Cross candles Returns TRUE when a Harami Cross formation is detected, otherwise FALSE. See page 83 for a description of Candlestick patterns. HaramiCross (Bull) returns TRUE when a Bullish Harami Cross pattern is detected. HaramiCross () returns TRUE when any Harami Cross pattern is detected.

Highest
Highest (Array, Period)

Highest

Returns the largest Array value over the specified preceding periods (including the current day). Period can be an INTEGER CONSTANT or ARRAY. Highest(Close, 5) returns the largest Closing price over the last 5 days, including the current day. Highest(Close, 2) returns the higher of the current or the previous days Close. Highest(Close, 1) always returns the current Close.

HighestBarsAgo
HighestBarsAgo (Array, Period)

HighestBarsAgo

Returns the number of Bars (time periods) ago the Array was at its largest value over the specified preceding periods (including the current day). Period can be an INTEGER CONSTANT or ARRAY. HighestBarsAgo(Close, 5) returns the number of periods ago the Close was at its highest level. The returned value would be in the range of 0-4, where zero indicates today. HighestBarsAgo (Close, 1) always returns 0.

IF
IF (Array, TrueArray, FalseArray)

IF

A conditional function that returns the value from TrueArray if Array is TRUE, otherwise returns the value from FalseArray. IF(5 > 10, High, Low) always returns the Low. IF(IsRising(Close), 10, -10) returns 10 on up days, -10 on down days.

InsideDay
InsideDay ()

InsideDay

Returns TRUE when the High-Low trading range is completely enclosed by the previous days High-Low trading range, otherwise returns FALSE. InsideDay () returns TRUE on any Inside Day.

Integer
INT (Array)

INT

Eliminates the fractional portion of the Array value(s) and returns only the integer part. INT(10.563) returns 10 INT(21) returns 21

IsFalling
IsFalling (Array, Period)

Falling

Period: An INTEGER CONSTANT or ARRAY specifying the lookback period for the indicator calculation. If omitted, defaults to 1. Returns TRUE if Array is less than it was periods ago, otherwise returns FALSE. IsFalling(Close, 5) returns TRUE if the Close is lower than 5 periods ago. IsFalling(Close) returns TRUE if the Close is lower than the previous period.

IsRising
IsRising (Array, Period)

Rising

Period: An INTEGER CONSTANT or ARRAY specifying the lookback period for the indicator calculation. If omitted, defaults to 1. Returns TRUE if Array is higher than it was periods ago, otherwise returns FALSE.

IsRising(Close, 5) returns TRUE if the Close is higher than 5 periods ago. IsRising (Close) returns TRUE if the Close is higher than the previous period.

KeyReversalDay
KeyReversalDay ()

KeyReversalDay

Returns TRUE when the High is greater than the previous High but the Close is lower than the previous Low OR the Low is lower than the previous Low but the Close is higher than the previous High, otherwise returns FALSE. KeyReversalDay () returns TRUE on any Key Reversal Day.

LinearRegressionForecast
LRF (LookBackPeriod, LookAheadPeriod, Array)

LRF

LookBackPeriod: INTEGER CONSTANT specifying the lookback period for the indicator calculation. LookAheadPeriod: INTEGER CONSTANT specifying the look ahead period for the indicator calculation. If omitted, defaults to 0. Calculates the Linear Regression Forecast indicator. Identical to the built-in Linear Regression Forecast indicator on page 94. LRF(26) returns the 26 period Linear Regression Forecast for the current date. LRF(26, 5, High) returns the 26 period Linear Regression Forecast for the High 5 days in the future.

Log
LOG (Array)
Calculates the natural logarithm of Array. LOG(10) returns 2.303

LOG

Lowest
Lowest (Array, Period)

Lowest

Returns the lowest Array value over the specified preceding periods (including the current day). Period can be an INTEGER CONSTANT or ARRAY. Lowest(Close, 5) returns the lowest Closing price over the last 5 days, including the current day. Lowest (Close, 2) returns the lower of the current or previous days Close. Lowest (Close, 1) always returns the current Close.

LowestBarsAgo
LowestBarsAgo (Array, Period)

LowestBarsAgo

Returns the number of Bars (time periods) ago the Array was at its lowest value over the specified preceding periods (including the current day). Period can be an INTEGER CONSTANT or ARRAY. LowestBarsAgo(Close, 5) returns the number of periods ago the Close was at its lowest level. The returned value would be in the range of 0-4, where zero indicates today. LowestBarsAgo (Close, 1) always returns 0.

MACD
MACD (LongPeriod, ShortPeriod, SignalPeriod, Type, Array)

MACD

LongPeriod, ShortPeriod, and SignalPeriod: 3 INTEGER CONSTANTS specifying the periods for the indicator calculation. Type: A TYPE WORD specifying which of the MACD lines to compute. Hist or Histogram Signal or MACDSignal MAOsc or MAOscillator Calculates the specified component of the MACD indicator. Identical to the built-in MACD indicator on page 95. MACD (26, 12, 9) returns the 26, 12, 9 MACD Histogram. MACD (26, 12, 9, Signal, High) returns the 26, 12, 9 MACD Signal line using the Highs as the basis of calculation.

MarketFacilitationIndex
WMFI ()

WMFI

Calculates the Market Facilitation Index indicator. Identical to the built-in Market Facilitation Index indicator on page 96. WMFI() returns the Market Facilitation Index.

Maximum
MAX (Array1, Array2)
Returns the larger of the two parameters. Same as: IF(Array2 > Array1, Array2, Array1)

MAX

MAX(Close, 20) returns either the Closing price or 20, whichever is greater. MAX(15, 20) always returns 20.

McClellanOscillator
McOsc (EXCHANGE PREFIX, ShortPeriod, LongPeriod)

McOsc

EXCHANGE PREFIX: Text enclosed in quotation marks that specifies which A/D quote file to use for the calculation. Normally NYSE, NASD or AMEX for the NYSE A/D, NASD A/D, or AMEX A/D market data files. The indicated quote file must be present in your Market Data section. See page 27 for more information about the special Market Data files. ShortPeriod, LongPeriod: 2 INTEGER CONSTANTS specifying the periods for the indicator calculation. If omitted, defaults to the standard 19 and 39. Calculates the McClellan Oscillator indicator. Identical to the built-in McClellan Oscillator indicator on page 97. McOsc(NYSE) calculates the standard McClellan Oscillator for the NYSE. McOsc(NYSE, 30, 60) calculates a modified McClellan using 30 and 60 period EMAs.

MedianPrice
MP ()
Calculates the MedianPrice indicator. Same as: (High + Low) / 2. MP() returns the Median Price.

MP

Minimum
MIN (Array1, Array2)
Returns the lower of the two parameters. Same as: IF(Array2 < Array1, Array2, Array1)

MIN

MIN(Close, 20) returns either the Closing price or 20, whichever is lower. MIN(15, 20) always returns 15.

Modulus
MOD (Array1, Array2)
Returns the remainder when Array1 is divided by Array2. MOD(10.7, 3) returns 1.7 MOD(9, 3) returns 0

MOD

MoneyFlowIndex
MFI (Period)

MFI

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Calculates the Money Flow Index indicator. Identical to the built-in Money Flow Index indicator on page 98. MFI(14) is the 14 period Money Flow Index indicator.

Month
Month ()
Returns the month based on the date from the quote file. When plotted in a chart, the value for March 9, 2006 would be 3.

Month

MorningDojiStar
MorningDojiStar ()

MorningDojiStar

Returns TRUE when a Morning Doji Star formation is detected, otherwise FALSE. See page 83 for a description of Candlestick patterns. MorningDojiStar () returns TRUE when a Morning Doji Star pattern is detected.

MorningStar
MorningStar ()

MorningStar

Returns TRUE when a Morning Star formation is detected, otherwise FALSE. See page 83 for a description of Candlestick patterns. MorningStar () returns TRUE when a Morning Star pattern is detected.

MovingAverage
MA (Period, Type, Array)

MA

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Type: A TYPE WORD specifying the type of average to compute. S or Simple E or Exponential W or Weighted Calculates the specified Moving Average indicator. Identical to the built-in Moving Average indicator on page 83. MA(21) is the 21 period Simple Moving Average of Closes.

MA (21, E) is the 21 period Exponential Moving Average of Closes. MA (21, E, RSI(14)) is the 21 period Exponential Moving Average of the 14 period Relative Strength Index.

NegativeVolumeIndex
NVI (Period)

NVI

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Normally 1. Calculates the Negative Volume Index indicator. Identical to the built-in Negative Volume Index indicator on page 101. NVI(1) is the standard Negative Volume Index indicator.

NetHighsLows
NetHL (EXCHANGE PREFIX, Period)

NetHL

EXCHANGE PREFIX: Text enclosed in quotation marks that specifies which H/L quote file to use for the calculation. Normally NYSE, NASD or AMEX for the NYSE H/L, NASD H/L, or AMEX H/L market data files. The indicated quote file must be present in your Market Data section. See page 27 for more information about the special Market Data files. Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Normally 1. Calculates the Net New Highs-Lows (General Market) indicator. Identical to the built-in Net New Highs-Lows (General Market ) indicator on page 102. NetHL(NYSE, 1) calculates net number of New Highs vs. New Lows on the NYSE. CUM(NetHL(NYSE, 1)) is a cumulative summation line of the net New Highs vs. New Lows on the NYSE.

OnBalanceVolume
OBV (Period)

OBV

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Normally 1. Calculates the On Balance Volume indicator. Identical to the built-in On Balance Volume indicator on page 102. OBV(1) is the standard On Balance Volume indicator.

OutsideDay
OutsideDay ()

OutsideDay

Returns TRUE when the High is greater than the previous High and the Low is lower than the previous Low, otherwise returns FALSE. OutsideDay () returns TRUE on any Outside Day.

ParabolicSAR
Parabolic (Initial, Step, MaxValue)

Parabolic

Initial, Step, MaxValue: 3 FLOATING POINT CONSTANTS specifying the parameters of the indicator calculation. Calculates the Parabolic SAR indicator. Identical to the built-in Parabolic SAR indicator on page 104. Parabolic(.02, .02, .2) returns the .02, .02, .2 Parabolic SAR indicator.

PeakBarsAgo

PeakBarsAgo

PeakBarsAgo (PeakNum, ReversalAmt, ReversalType, ExamineType)


PeakNum: An INTEGER CONSTANT specifying the number of Peaks ago to examine. ReversalAmt: A FLOATING POINT CONSTANT specifying the reversal criteria for a Peak. ReversalType: A TYPE WORD specifying the reversal criteria method for a Peak. % or Percent P or Pts ExamineType: A TYPE WORD specifying the field(s) to examine. HL or HighsLows C or Closes Returns the number of Bars (time periods) that have passed since a swing high (Peak) occurred, PeakNum peaks ago. Peaks are determined using the ZigZag indicator and, in fact, the last three parameters used here are the same as for ZigZag. See page 238. If the requested Peak never took place, zero is returned. PeakBarsAgo (1, 20) returns the number of Bars that have passed since the last Peak high occurred as defined by a 20% pullback from the Highs. PeakBarsAgo (2, 10, Pts, Closes) returns the number of Bars that have passed since the second to last Peak high occurred as defined by a 10 Point pullback looking at Closing values only.

PeakValue
Peak (PeakNum, ReversalAmt, ReversalType, ExamineType)

Peak

PeakNum: An INTEGER CONSTANT specifying the number of Peaks ago to examine. ReversalAmt: A FLOATING POINT CONSTANT specifying the reversal criteria for a Peak. ReversalType: A TYPE WORD specifying the reversal criteria method for a Peak. % or Percent P or Pts ExamineType: A TYPE WORD specifying the field(s) to examine. HL or HighsLows C or Closes Returns the swing high (Peak) value, PeakNum peaks ago. Peaks are determined using the ZigZag indicator and, in fact, the last three parameters used here are the same as for ZigZag. See page 238. If the requested Peak never took place, zero is returned. Peak (1, 20) returns the last swing high value as defined by a 20% pullback from the Highs. Peak (2, 10, Pts, Closes) returns the second to last swing high value as defined by a 10 Point pullback looking at Closing values only.

Performance
Perf (Date, Type, Array)

Perf

Date: Text enclosed in quotation marks the basis date for the Performance calculation. Type: A TYPE WORD specifying the reporting type for Performance. % or Percent P or Pts Calculates the Performance indicator. Identical to the built-in Performance indicator on page 105. Perf(1/1/2006) calculates the percentage gain or loss since 1/1/2006 based on the Closing prices.

PiercingLine
PiercingLine ()

PiercingLine

Returns TRUE when a Piercing Line formation is detected, otherwise FALSE. See page 83 for a description of Candlestick patterns. PiercingLine () returns TRUE when a Piercing Line pattern is detected.

Position

Pos

Pos (Trading System Name, Param1, Param2, Param3, Param4, Param5)


Trading System Name: Text enclosed in quotation marks that specifies the name of a previously created and saved Trading System file. Param1-5: Optional values can be passed into the Trading System to be used in place of the default Parameters. Returns the trading position held by the specified Trading System: Long: 1 Short: -1 Flat: 0 Pos(My Awesome Trading System) returns 1 when My Awesome Trading System is Long, -1 when Short and 0 when Flat. IF(Pos(My Awesome Trading System) = 1, Close, 0) plots the Closes only when My Awesome Trading System is Long.

PositiveVolumeIndex
PVI (Period)

PVI

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Normally 1. Calculates the Positive Volume Index indicator. Identical to the built-in Positive Volume Index indicator on page 108. PVI(1) is the standard Positive Volume Index indicator.

Power
Power (Array, Power)
Power: A FLOATING POINT CONSTANT specifying the exponent. Returns the Array value(s) raised to the Power power. Power(5, 2) returns 25.

Power

Previous
PREV ()

PREV

Returns the previous value of the current line of computation. For the first date in a data array, PREV() returns zero. PREV() + 1 returns a value of 1 on the first date, 2 on the second date, 3 on the third, etc..

Note. Unlike all of the other Gold Language functions, the PREV() function is implemented internally as a recursive call and can consume substantial computation resources. Depending upon the complexity of the overall formula and the size of the underlying data file, calculation times will grow exponentially. Use PREV() sparingly and only when you cannot find a way to write a formula without it.

PriceVolumeTrend
PVT (Period)

PVT

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Normally 1. Calculates the Price Volume Trend indicator. Identical to the built-in Price Volume Trend indicator on page 109. PVT(1) is the standard Price Volume Trend indicator.

PutCallRatio
PutCall (Period)

PutCall

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Normally 1. Calculates the Put/Call Ratio. Identical to the built-in Put/Call Ratio (General Market) indicator on page 110. This function requires the market data file PUT/CALL. See page 27 for more information about the special Market Data files. PutCall(1) is the standard Put/Call Ratio indicator.

PutVolumeIndicator
BPVI (Period)

BPVI

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Normally 10. Calculates the Bollinger Put Volume Indicator. Identical to the built-in Put Volume Indicator (General Market) indicator on page 81. This function requires the market data file PUT/CALL. See page 27 for more information about the special Market Data files. BPVI(10) is the standard Bollinger Put Volume Indicator.

RateOfChange
ROC (Period, Array)

ROC

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Calculates the Rate of Change indicator. Identical to the built-in Rate of Change indicator on page 111.

ROC(26) is the 26 period Rate of Change of the Closes. ROC(26, MA(13)) is the 26 period Rate of Change of the 13 period moving average line.

Reference
REF (Array, Period)

REF

Period: An INTEGER CONSTANT specifying the number of periods to look back or ahead. Negative numbers look backward and are the norm. References a previous or subsequent value in the Array. Negative Periods look back in time, positive Periods look ahead. REF(Close, -1) returns the previous Close. REF(MA(21), -10) returns the 21 period moving average value 10 periods ago. REF(Close, 0) returns the Close. Same as Close. REF(Close, 5) returns the Close 5 periods ahead.

RelativePerformance

RelPerf

RelPerf (TICKER, SecurityType, FieldType, NormType, NormDate)


TICKER: Text enclosed in quotation marks that specifies the ticker symbol of a security in your quotes database. SecurityType: A TYPE WORD specifying the securitys type. S or Stock M or MutualFund I or Index F or Futures O or Option B or Bond D or MarketData FieldType: file. C O H L A TYPE WORD specifying the field to access in the specified securitys quote or or or or Close Open High Low

NormType: A TYPE WORD specifying the Normalization method. N or None A or Arithmetic R or Ratio NormDate: Text enclosed in quotation marks that specifies the date at which to Normalize the two securities. Defaults to 12/31/04. Calculates the performance ratio when compared to another security. Identical to the builtin Relative Performance (Comparison Overlay) indicator on page 112.

RelPerf(AAPL, S) returns the Relative Performance vs. AAPL stock. RelPerf(IBM, S, H) returns the Relative Performance vs. IBM stock looking at Highs instead of Closes.

RelativeStrengthIndex
RSI (Period, Array)

RSI

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Calculates the Relative Strength Index indicator. Identical to the built-in Relative Strength Index indicator on page 113. RSI(14) is the 14 period Relative Strength Index. RSI (14, MA(9)) is the 14 period Relative Strength Index of the 9 period moving average line.

Round
Round (Array, DecPlaces)

Round

DecPlaces: An INTEGER CONSTANT specifying the number of decimal places. Rounds the Array value(s) up or down to the nearest number of decimal places. Round(654.321, 1) returns 654.3 Round(654.321, 0) returns 654 Round(654.321, -1) returns 650

RoundDown
RoundDown (Array, DecPlaces)

RoundDown

DecPlaces: An INTEGER CONSTANT specifying the number of decimal places. Rounds the Array value(s) down to the nearest number of decimal places. Round(456.789, 1) returns 456.7 Round(456.789, 0) returns 456 Round(456.789, -1) returns 450

RoundUp
RoundUp (Array, DecPlaces)

RoundUp

DecPlaces: An INTEGER CONSTANT specifying the number of decimal places.

Rounds the Array value(s) up to the nearest number of decimal places. Round(654.321, 1) returns 654.4 Round(654.321, 0) returns 655 Round(654.321, -1) returns 660

ScanCriteria

ScanFN

ScanFN (Custom Indicator Name, Param1, Param2, Param3, Param4, Param5)


Custom Indicator Name: Text enclosed in quotation marks that specifies the name of a previously created and saved Custom Indicator file. Param1-5: Optional values can be passed into the Custom Indicator to be used in place of the default Parameters. Returns TRUE when the specified Custom Indicator is TRUE (or non-zero), otherwise FALSE. IF(ScanFN(My Awesome Criteria), 10, 0) plots a value of 10 when (My Awesome Criteria is TRUE (or non-zero), otherwise 0. BarsSince(ScanFN(My Awesome Criteria)) returns the number of periods since My Awesome Criteria was TRUE (or non-zero).

SeparatingLine
SeparatingLine ()

SeparatingLine

Returns TRUE when a Separating Line formation is detected, otherwise FALSE. See page 83 for a description of Candlestick patterns. SeparatingLine () returns TRUE when a Separating Line pattern is detected.

Sine
SIN (Array)
Returns the Sine of Array. The Array value(s) should be in degrees. SIN(30) returns 0.50.

SIN

Slope
Slope (Array, Period)

Slope

Period: An INTEGER CONSTANT or ARRAY specifying the lookback period. Defaults to 1.

Returns the slope of a line connecting the current Array value to the Array value Periods ago. Slope(Close, 5) is the same as (Close - REF(Close, -5)) / 5 If the Close was 1 point lower 5 periods ago, Slope(Close, 5) returns 0.20

Spread

Spread

Spread (TICKER, SecurityType, FieldType, NormType, NormDate)


TICKER: Text enclosed in quotation marks that specifies the ticker symbol of a security in your quotes database. SecurityType: A TYPE WORD specifying the securitys type. S or Stock M or MutualFund I or Index F or Futures O or Option B or Bond D or MarketData FieldType: file. C O H L A TYPE WORD specifying the field to access in the specified securitys quote or or or or Close Open High Low

NormType: A TYPE WORD specifying the Normalization method. N or None A or Arithmetic R or Ratio NormDate: Text enclosed in quotation marks that specifies the date at which to Normalize the two securities. Defaults to 12/31/04. Calculates the price spread compared to another security. Identical to the built-in Spread (Comparison Overlay) indicator on page 114. Spread(AAPL, S) returns the price spread vs. AAPL stock. Spread(IBM, S, H) returns the price spread vs. IBM stock looking at Highs instead of Closes.

SquareRoot
SQRT (Array)
Returns the square root of the Array value(s). SQRT(64) returns 8.

SQRT

StandardDeviation
StDev (Period, Array)

StDev

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Calculates the Standard Deviations indicator. Identical to the built-in Standard Deviations indicator on page 115. StDev(26) is the 26 period Standard Deviations based on Closes. StDev(26, High) is the 26 period Standard Deviations of the Highs.

Stochastics
Stoch (KPeriod, KSlowingPeriod, DPeriod, Type)

Stochastics

KPeriod, KSlowingPeriod, DPeriod: 3 INTEGER CONSTANTS specifying the periods for the indicator calculation. Type: A TYPE WORD specifying which of the Stochastic lines to compute. %D or D %K or K Oscillator or Osc Calculates the specified component of the Stochastics indicator. Identical to the built-in Stochastics indicator on page 116. Stoch (14, 3, 5) returns the 14, 3, 5 %D line. Stoch (14, 3, 5, Osc) returns the difference between the 14, 3, 5 %K and %D lines.

Summation
SUM (Array, Period)

SUM

Period: An INTEGER CONSTANT or ARRAY specifying the range of periods. Returns the sum of all Array values over the preceding Periods, including the current period. SUM(Close, 3) sums up the current Close and the preceding two Closes. SUM(5, 3) always returns 15. SUM(ScanFN(My Awesome Criteria), 10) returns the number of days My Awesome Criteria was TRUE over the past 10 days, including the current day.

ThreeBlackCrows
ThreeBlackCrows ()

ThreeBlackCrows

Returns TRUE when a Three Black Crows formation is detected, otherwise FALSE. See page 83 for a description of Candlestick patterns.

ThreeBlackCrows () returns TRUE when a Three Black Crows pattern is detected.

ThreeWhiteSoldiers
ThreeWhiteSoldiers ()

ThreeWhiteSoldiers

Returns TRUE when a Three White Soldiers formation is detected, otherwise FALSE. See page 83 for a description of Candlestick patterns. ThreeWhiteSoldiers () returns TRUE when a Three White Soldiers pattern is detected.

TRIN
TRIN (EXCHANGE PREFIX, Period)

TRIN

EXCHANGE PREFIX: Text enclosed in quotation marks that specifies which A/D and VOL quote file to use for the calculation. Normally NYSE, NASD or AMEX for the NYSE A/D, NYSE VOL, NASD A/D, NASD VOL, or AMEX A/D, AMEX VOL market data files. The indicated quote files must be present in your Market Data section. See page 27 for more information about the special Market Data files. Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Normally 1. Calculates the TRIN (Arms Index) indicator. Identical to the built-TRIN (Arms Index) (General Market ) indicator on page 120. TRIN(NYSE, 1) calculates the standard TRIN for the NYSE.

TRIX
TRIX (Period, Array)

TRIX

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Calculates the TRIX indicator. Identical to the built-in TRIX indicator on page 121. TRIX(12) is the 12 period TRIX indicator based on Closes. Cross(TRIX(12), 0)) is TRUE when the 12 period TRIX crosses above or below the zero line.

TradeTaken

Traded

Traded (Trading System Name, Param1, Param2, Param3, Param4, Param5)


Trading System Name: Text enclosed in quotation marks that specifies the name of a previously created and saved Trading System file. Param1-5: Optional values can be passed into the Trading System to be used in place of the default Parameters.

Returns the trade taken that day by the specified Trading System: Enter Long: Exit Long: Enter Short: Exit Short: No Trades: 1 2 -1 -2 0

Traded(My Awesome Trading System) returns 1 when My Awesome Trading System opened a new Long position, 2 when it closes a Long position, etc.

TroughBarsAgo

TroughBarsAgo

TroughBarsAgo (TroughNum, ReversalAmt, ReversalType, ExamineType)


TroughNum: An INTEGER CONSTANT specifying the number of Troughs ago to examine. ReversalAmt: A FLOATING POINT CONSTANT specifying the reversal criteria for a Trough. ReversalType: A TYPE WORD specifying the reversal criteria method for a Trough. % or Percent P or Pts ExamineType: A TYPE WORD specifying the field(s) to examine. HL or HighsLows C or Closes Returns the number of Bars (times periods) that have passed since a swing low (Trough) occurred, TroughNum troughs ago. Troughs are determined using the ZigZag indicator and, in fact, the last three parameters used here are the same as for ZigZag. See page 238. If the requested Trough never took place, zero is returned. TroughBarsAgo (1, 20) returns the number of Bars that have passed since the last Trough low occurred as defined by a 20% rally from the Lows. TroughBarsAgo (2, 10, Pts, Closes) returns the number of Bars that have passed since the second to last Trough low occurred as defined by a 10 Point rally looking at Closing values only.

TroughValue

Trough

Trough (TroughNum, ReversalAmt, ReversalType, ExamineType)


TroughNum: An INTEGER CONSTANT specifying the number of Troughs ago to examine. ReversalAmt: A FLOATING POINT CONSTANT specifying the reversal criteria for a Trough. ReversalType: A TYPE WORD specifying the reversal criteria method for a Trough. % or Percent

P or Pts ExamineType: A TYPE WORD specifying the field(s) to examine. HL or HighsLows C or Closes Returns the swing low (Trough) value, TroughNum peaks ago. Trough are determined using the ZigZag indicator and, in fact, the last three parameters used here are the same as for ZigZag. See page 238. If the requested Trough never took place, zero is returned. Trough (1, 20) returns the last swing low value as defined by a 20% rally from the Lows. Trough (2, 10, Pts, Closes) returns the second to last swing low value as defined by a 10 Point rally looking at Closing values only.

TypicalPrice
TP ()
Calculates the Typical Price indicator. Same as: (High + Low + Close) / 3. TP() returns the Typical Price.

TP

ValueWhen

ValueWhen

ValueWhen (LookbackCount, ExpressionArray, OutputArray)


LookbackCount: An INTEGER CONSTANT specifying the number of occurrences ago to examine. Returns the value from OutputArray when ExpressionArray was last TRUE (non-zero), looking backwards in time for LookbackCount occurrences of ExpressionArray. ValueWhen(1, Volume > 10000, Close) returns the Closing price the last time Volume was greater than 10000.

Volatility
Volatility (EMAPeriod, ROCPeriod)

Volatility

EMAPeriod, ROCPeriod: 2 INTEGER CONSTANTS specifying the periods for the indicator calculation. Calculates the Volatility (Chaikins) indicator. Identical to the built-in Volatility (Chaikins) indicator on page 121. Volatility(10, 10) is the standard Volatility indicator.

WeightedClose
WC ()
Calculates the Weighted Close indicator. Same as: (High + Low + Close*2) / 4. WC() returns the Weighted Close.

WC

WilliamsAccumDist
WAD ()

WAD

Calculates the Williams Accumulation/Distribution indicator. Identical to the built-in Williams Accumulation/Distribution indicator on page 123. WAD() returns the Williams Accumulation/Distribution indicator.

WilliamsPercentR
PercentR (Period)

PercentR

Period: An INTEGER CONSTANT specifying the period for the indicator calculation. Calculates the Williams %R indicator. Identical to the built-in Williams %R indicator on page 124. PercentR(26) is the 26 period Williams %R indicator.

Window
Window (Type)

Window

Type: A TYPE WORD specifying the type of candle patterns to identify. Any: Both Bullish and Bearish Window candles Bull: Bullish Window candles Bear: Bearish Window candles Returns TRUE when a Window formation is detected, otherwise FALSE. See page 83 for a description of Candlestick patterns. Window (Bull) returns TRUE when a Bullish Window pattern is detected. Window () returns TRUE when any Window pattern is detected.

Year
Year ()
Returns the 4-digit year based on the date from the quote file.

Year

When plotted in a chart, the reading for March 9, 2006 would be 2006.

ZigZag
ZigZag (ReversalAmt, ReversalType, ExamineType)

ZigZag

ReversalAmt: A FLOATING POINT CONSTANT specifying the threshold for a reversal. ReversalType: A TYPE WORD specifying the measurement method for a reversal. % or Percent P or Pts ExamineType: A TYPE WORD specifying the field(s) to examine. HL or HighsLows C or Closes Calculates the Zig Zag indicator. Identical to the built-in Zig Zag indicator on page 125. ZigZag(20) plots the Zig Zag indicator for 20% or larger retracements.

Preferences
Overview
To view and edit global preferences, choose Preferences from the ProTA menu. Click an icon in the Toolbar to switch Preference panes.

Suites

The first 5 items below affect the settings for all new Chart Suite documents. They do not affect the settings in any existing documents. Sync Chart Content. New Chart Suite documents will be created with Sync Content mode enabled. See page 52. Sync Chart Time Scales. New Chart Suite documents will be created with Sync Time Scales mode enabled. See page 52. Show Content List. New Chart Suite documents will be created with the Content list displayed to the left of the chart view(s). See page 51. Content. Choose the listing of tickers to include in new Chart Suite documents. See page 51. Layout. Choose the Layout option for new Chart Suite documents. See page 69.

The remaining items affect all Chart Suites, both new and existing. Content Padding. Choose the size of the padding area that buffers chart views and the Content listing in Chart Suite windows. To see the visual effect for each option, switch between the three modes while a Chart Suite window is open in the background. Type Selecting in Content List Requires Return Key. You can switch to any ticker in a Suites Content list simply by typing the ticker. When this option is checked, you must type the ticker, then Enter before the Suite will make the switch. If this option is unchecked, the Suite will attempt to switch charts immediately as you type characters on the keyboard. Tip. If you are using a slower computer or if you are working with extremely complicated charts, this feature should be enabled to avoid excessive swapping of charts. Printing. Choose Render to Printed Page Size to print the chart using its current settings at the full size of the printed page. This option is a bit like resizing the window such that the charts rectangle matches the size of the printed page. Choose Use Screen Image to reproduce the chart views image as seen in the window onto the printed page. Sometimes referred to as WYSIWYG (What You See Is What You Get). Always Print White Background. ProTAs on-screen charts can use any background color including black. To preserve ink or toner, youll probably want to print those chart with a white background. B&W. Colors look good on screen, but not always on the printed page. This is especially true for B&W/Grayscale laser printers. Check this box to convert all chart elements to black when printing. See page 72 for more Printing options.

Templates

Choose a Template to apply to all new charts. The selected Template will be used to initialize all new chart views of the corresponding security type. Test Results. This Template applies to charts created from a System Test Results window. See page 178. Note. These Template settings only apply to newly created charts. They do not affect the settings in any existing chart view. See page 68.

Portfolios

Choose a View to apply to all new Portfolios. The selected View will be used to initialize all new Portfolios. Note. This View setting only applies to newly created Portfolios. It does not affect any existing Portfolios. See page 144.

Dates

Specify how Dates should be displayed in ProTA windows. These settings affect both new and existing windows/documents. Any open windows will refresh as you make changes. January 15 is. The important distinction is whether the day precedes the month or not. For USA-based dates, choose 1/15.
th

Zero Padding. Adds a leading zero to the month and day if they would otherwise be a single digit. 1/2/05 would be displayed as 01/02/05 if enabled. Four digit years. 1/2/05 would be displayed as 1/2/2005 if enabled. Lead with year. Displays the year to the left of the month/day. 1/2/2005 would be displayed as 2005/1/2 if enabled. Separator. 1/2/2005 or 1-2-2005. Note. This setting is not the same as the Universal Text Importers Date setting (see page 37). The settings here control how ProTA displays dates to you in its windows, whereas the settings in the UTI are used to help describe the dates that will be encountered when importing a text data file. This distinction is mostly important in European markets where it is more common to display/view your data in one numerical format, yet receive data files from a vendor with numbers in another format.

Numbers

Specify how Numbers should be displayed in ProTA windows. These settings affect both new and existing windows/documents. Any open windows will refresh as you make changes. Format. Choose a decimal and thousands marker to match your locales number formatting. Currency. Choose a character (or short string) and the placement. Note. This setting is not the same as the Universal Text Importers Number setting (see page 37). The settings here control how ProTA displays numbers to you in its windows, whereas the settings in the UTI are used to help describe the numbers that will be encountered when importing a text data file. This distinction is mostly important in European markets where it is more common to display/view data in one numerical format, yet receive data files from a vendor with numbers in another format.

Quotes

Specify display settings for Quotes throughout the program. These settings affect both new and existing windows/documents. Any open windows will refresh as you make changes. Decimals. Choose a default decimal places for each security type. Note. The Decimal defaults can be overridden in each individual Quote file. See page 20. Columns. Chose the columns to be display in the quotes window for each security type. OHLCVI corresponds to Open High Low Close Volume OpenInterest. Mixed Lists. This setting refers to tables or lists that could include a mixture of security types, such as a Portfolio window.

General

When opening more than 5 documents. This setting affect two categories of documents in a slightly unique way: Text files for import. If you drag greater than the specified number of text files onto the ProTA icon in the Dock, the UTI will either automatically add them to UTI Queue or show you an alert.

Multiple files selected in the ProTA File Browser. If you select to open greater than the specified number of items in the File Browser window, you will be shown an alert.

Double Click in the TickerPicker opens. Choose Quote File or New Chart. Tip. If you hold down the Option key while double-clicking, it will open the opposite type of window. If the double-click setting is Quote File, then an Option-Double-Click will open a New Chart. Close TickerPicker after selection is made. If checked, the TickerPicker window will automatically close after opening the selected Quote File or New Chart. Uncheck this box to leave the TickerPicker window open until you explicitly close it yourself.

Skip Preview Window for BeeSoft DailyQuotes documents. Subscribers to BeeSoft DailyQuotes simply drag and drop an emailed file onto ProTA each night to update their database. Check this box to directly import the DailyQuotes file(s). Allow Windows Under Floating Windows. Normally, the two floating windows (File Browser and Inspector) are permanently open at the right side of your screen, while documents consume the space to the left. By default, ProTA prevents your document windows from sizing and moving under the floating windows. If your computer has a smaller monitor, you can check this box to allow document windows to be sized and positioned under the floaters. This makes it easier to use document windows at full screen size, then toggle the File Browser and Inspector windows open/off as needed. See page 10.

You might also like