Meta Stock Pro Manual
Meta Stock Pro Manual
Professional
For Windows 98 and higher
User's Manual
Version 8.0
Getting Started............................................................................................... 1
Welcome ....................................................................................................................................1
What You Need to Run MetaStock Pro .....................................................................................2
Two Quick Steps for Getting Up to Speed Fast.........................................................................2
Installing MetaStock Pro............................................................................................................3
Running MetaStock Pro.............................................................................................................3
Getting Help...............................................................................................................................4
Chart Concepts............................................................................................ 63
Managing Your Charting .........................................................................................................63
Opening, Closing and Saving (General) ..................................................................................64
Special Controls in the New, Open, and Save Dialogs ............................................................70
Searching for Securities with the Find Command ...................................................................74
Deleting Chart and Layout Files ..............................................................................................75
Welcome
When you need to make an investment decision, the last thing you want
is to have your computer get in the way. Technology should help you
reach a decision, not hinder you.
Which is why MetaStock Professional is based on visual investing.
Visual investing lets your eyes operate the software, freeing your mind to
concentrate on more important matters--like your trades.
Visual investing is made possible through object orientation. Simply put,
“object orientation” means that the commands for objects are contained
within the objects themselves. Rather than having to search a maze of
menus and toolbars, you access commands directly from the objects.
To use MetaStock Professional, you only need to know two commands:
• Right-click on everything. The object will display a menu of its
commands.
• Drag and drop everything. The on-screen animation of line studies
and the fluid manner in which you can move indicators, prices, and
inner windows greatly simplify the interface while helping you see
investment opportunities.
By mastering these two commands, you will be positioned to make better
trades using MetaStock Professional’s extensive collection of analysis
tools.
Thank you for using MetaStock Professional.
Minimum Configuration
• Microsoft Windows 98 (or higher)
• Pentium 166 MHz
• 32 megabytes of RAM
• 50 megabytes of free hard disk space
Recommended Configuration
• Microsoft Windows 98 (or higher)
• Pentium 233 MHz (or faster)
• 128 megabytes of RAM
• 50 megabytes of free hard disk space for installation. An additional
200 megabytes (or more) for real-time data.
• A real-time data feed compatible with MetaStock Pro (e.g., DBC
Signal, etc.)
Detailed information about your computer system is available from the
About MetaStock command in the Help menu (see page 541).
User's Manual
The first place to check when you have a question about the operation of
MetaStock Pro is in the user's manual (or help system). The manual can
be a great help if you run into a snag. We have tried to provide every
answer you will need to operate your software in the pages of your
manual. For immediate answers to most of your questions, please consult
the manual.
Quickstart Tutorials
Some help topics have a Quickstart Tutorial associated with them. Click
the Quickstart button to start the tutorial for that help topic.
Quickstart Button
To open one, you can either click it with the mouse, highlight it and press
ENTER, or choose the number (with the File menu displayed) that
corresponds to the one you want to open.
An expanded list of your most recently opened items is available in the
Open dialog by choosing the History shortcut (see page 67).
You can also create a list of favorite charts, Smart Charts, layouts, and
folders which is accessed in the Open dialog by choosing the Favorites
shortcut (see page 67).
Undo, Redo
Choose Undo and Redo from the Edit menu or toolbar. Use the Undo
command to cancel the most recent command or action completed. The
Undo button
Undo command is useful if you've deleted something by accident or if you
don't like the results of your last action. Choose the Undo command to
return to the condition prior to your last action.
If nothing is available to "undo," the command is disabled.
Use the Redo command to cancel the results of the most recent Undo
command. The Redo command restores the command or action you
undid.
If nothing is available to "redo," the command is disabled.
When using the Paste Special dialog, be sure to look at the helpful
messages at the bottom of the dialog. These instructions will guide you
through the process of creating the link.
If you right click on an indicator in MetaStock Pro that has been paste
linked from another application (i.e., Excel, Lotus 123, etc.), two options
appear in the shortcut menu—Update Link and Open Link.
(Note that Excel 7.0 and earlier can only handle a Paste Link of about
1,000 records. Excel 97 doesn't have this limitation).
The link has now been created. If changes are made to the indicator in
MetaStock Pro (e.g., different number of time periods, etc.) the changes
Delete
Choose the Delete command from the Edit menu to delete the selected
object. For example, if you want to delete a moving average, select the
moving average, and choose Delete. The Delete command is also
available from an object's shortcut menu.
If you have the "Confirm Deletion of Objects" option enabled in the
Applications Properties dialog (see page 32), a dialog will appear after
you choose Delete prompting you to confirm the deletion.
See page 157 for more information on deleting price plots. See page 173
for more information on deleting indicators. See page 214 for more
information on deleting line studies.
To delete an object from a chart
1. Right-click on the desired object (i.e., line study, indicator, or price
plot).
2. Choose Delete from the object's shortcut menu.
System Menus
The upper-left corner of every window contains a square box called the
system box. The application window, the chart windows, and even the
charts' inner windows have a system box. Click the system box to display
System box the window's system menu.
Windowing Commands
The Tile, Cascade, and Arrange Icons commands in the Windows menu
are common to most Windows applications. The Stack and Column
commands are unique to MetaStock Pro.
The Cascade command arranges the open chart windows alphabetically in
Cascade button an overlapping formation so that only the title bars of all but the front chart
are visible.
The Column command arranges the open chart windows alphabetically
Column button from left to right in vertical columns alphabetically so that all are
completely visible on the screen.
The Stack command arranges the open chart windows alphabetically so
Stack button that the charts are stacked on top of each other and are fully visible.
Arranging them in a stacked formation allows you to easily compare charts
across their date axes.
The Tile command arranges the open chart windows alphabetically from
Tile button left to right and top to bottom so that all are completely visible on the
screen.
The Arrange Icons command arranges all chart icons at the bottom of
MetaStock Pro's workspace.
To switch between charts using the Window menu, click on the desired
name. You can also switch by simply clicking directly on the desired
chart in the MetaStock Pro workspace. The selected chart has a unique
heading background color.
For more information see page 103.
Help
The Help menu provides three different ways to access MetaStock Pro’s
help system. For more information on using the help system, see page 29.
Using Dialogs
After you choose a command, a dialog often appears. A dialog is used to
select options pertaining to the command or feature. If an option in a
dialog is dimmed, this means the option is not available.
Some dialogs provide various sets of options. These sets of options are
divided into tabbed pages. For example, the System Testing Options
dialog has two tabs: Testing and Reporting. Click on the tab to display
the page's options.
The System Testing Options dialog is a good example of the various
controls within a dialog.
Displaying/Removing Toolbars
You can control which toolbars appear by choosing Toolbars from the
View menu.
You can control the color, size, and ScreenTip display with the
checkboxes at the bottom of the Toolbars dialog.
You can also right-click on any toolbar and check/uncheck the desired
toolbars from the shortcut menu.
Note that you can choose to have separately displayed toolbars for each
of the groups of line studies (i.e., Trendline, Gann, and Text). Or you
can just choose the Line Studies toolbar. The Line Studies toolbar
contains rotator arrows that allow you to rotate between the three groups
of line studies.
Some people like to remove the toolbars to provide more space for charts.
You can also right click on any toolbar and choose Custom from the
shortcut menu to display the Custom toolbar.
To change the path, icon, or screen tip for an existing shortcut, select the
item, then choose Edit.
To change the order in which the icons are displayed, use the arrows
displayed to the right of the shortcut list.
Click the Browse button to navigate to the item you are adding. This can
be a chart, layout, template, document, application, URL, etc. If you
choose a document, the application used to edit that type of document will
start when you click on that shortcut. If you know the path to the item you
are adding, you may simply type the path in the box (ie. c:\program
files\equis\metastock\charts\colorful.mwt). After you have selected the
item or typed the path, click Next. The Select An Icon dialog will appear.
Select an icon for this button. Choose an icon to represent this item
on the toolbar. The first selection is the icon windows uses for this file.
Enter the screen tip for this button. Type a label for this button
that will appear when you hold the mouse pointer over it.
Chart Toolbar
The chart toolbar appears at the bottom right corner of a chart. You can
turn all chart toolbars on and off from the Application Properties dialog
(see page 31). You can remove an individual chart's chart toolbar by
right-clicking on the chart toolbar and choosing Remove Toolbar from
the shortcut menu.
Note that the Show All Chart Toolbars box in the Application
Note: If you select a heavier line weight, the Style will always appear
as a solid line.
2. Click and drag the toolbar to the desired location. If you want the
toolbar docked on the screen’s edge, drag the toolbar until the mouse
appears over the edge. The drag box will change shape to indicate
that it can be docked.
3. To return a floating toolbar to its docked location, simply double-
click on the title bar of the floating toolbar’s window.
As you move through menu commands, the status bar gives you a more
detailed explanation of the highlighted command. When the mouse is
positioned over a tool on the toolbar, a brief explanation of the tool is
provided.
MetaStock Professional The Workplace • 27
The status bar is also very helpful when selecting and modifying objects
on a chart, such as indicators, price plots, and line studies. If you have
numerous objects on a chart, the status bar is helpful in telling you which
one the mouse is currently positioned over. This can be very helpful,
especially when the objects are grouped close together.
As you move the mouse around on a chart, the x-axis (i.e., date/time) and
y-axis values at the mouse location are continuously updated. This can be
useful for such tasks as drawing support/resistance lines (see page 444) to
help you locate an exact price level, drawing trendlines (see page 529) to
help locate more precise date and price coordinates, etc.
You can use the Data Window for more detailed information on price
values at the mouse pointer location (see page 160).
Find
The Find page is used to search for every occurrence of a word or phrase
within MetaStock Pro's help topics. This search is more extensive yet less
selective than using the Index page. For example, suppose you want to
find every occurrence of the word "resistance" within the help topics. If
you type the word "resistance" in the edit box, every help topic containing
the word "resistance" will appear in the list. Double-click the desired help
topic to view.
Quickstart Tutorials
The Quickstart Tutorials are a quick and easy way to get up to speed with
MetaStock Pro. These interactive videos are fun and informative for both
Quickstart button the beginner and the experienced MetaStock user. To run the Quickstart
Tutorials, choose Quickstart Tutorials from the Help menu, or watch for
the Quickstart button when viewing MetaStock help topics.
Enable Real-time. Check this box if you want intraday data to flow
into MetaStock Pro from your real-time data vendor. Note that real-time
data will only flow into MetaStock Pro if your vendor's software is
properly installed and running (see your Getting Started manual for real-
time vendor information).
Enable Live Bars. Check this box if you want the current bar to reflect
the incoming real-time tick prices. If this is left unchecked, a bar will not
appear until the end of the specified intraday interval (i.e., 1-minute, 5-
minute, etc).
Recalculate Expert Live. Check this box if you would like the
experts that are attached to your intraday charts to recalculate and update
with each new tick. If left unchecked, experts will only recalculate at the
completion of each bar. A mathematically complex expert can be
demanding on your system's resources, particularly with actively traded
securities. If your system is struggling to keep up, you may want to leave
this box unchecked.
Update Commentary on. Choose when to update the expert
commentary attached to a chart—with each tick, at the completion of
each bar, or with the Refresh button only.
Maximum number of records in intraday charts. Enter the
number of bars (or ticks) that a chart can display (between 200 and
65,500). If the number of bars exceeds this number, the oldest bars will
Allow e-mail alerts. Check this box to enable e-mail notifications for
Expert Advisor alerts (see page 430). This feature requires a MAPI
compatible e-mail program, such as Microsoft Exchange, Microsoft
Outlook, Eudora, etc. If you do not have a MAPI compatible e-mail
program installed on your computer, this box will be disabled.
To. Enter the e-mail address to notify when an Expert Advisor alert is
triggered (see page 430). To notify multiple e-mail addresses, create a
Address Book button mailing list in your e-mail program, then enter the mailing list in this box.
The address book from your MAPI compatible e-mail program will be
displayed when you click the Address Book button.
Allow pager alerts. Check this box to enable pager notification when
an Expert Advisor alert is triggered. You may only use a pager that can
receive data transfers. If you do not have a modem installed in your
computer, this box will be disabled.
Country code. If a country code is required to make a call from your
computer to your pager, enter the country code in this box.
Area code. Enter the area code for your pager.
Phone number. Enter the phone number for your pager.
Connect using. Select a modem from the list. Click the Configure
button to re-configure the selected modem.
Pager ID. Enter your pager ID in this box. Your pager ID is assigned to
you by your pager service provider.
What is Data?
Before you can look at a chart, you must have data. A chart is simply a
graphical representation of price data. Price data can include Open,
High, Low, Close, Volume, and Open Interest information for a specific
time period. MetaStock Pro can use price data that is stored on your local
hard drive, or stored remotely on a computer at your data vendor.
Data that is stored remotely at your data vendor is called online data.
Online data is accessed through MetaStock Pro's DataOnDemand™
technology. You simply choose a symbol from the online data vendor
shortcut, or if you already have a chart open, just type the symbol. The
data flows instantly to your chart from your data vendor, usually through
the Internet.
Data that is stored on your hard drive is called local data. To view local
data, you must first create a security file, then collect the data through
real-time collection with MetaStock Professional or end-of-day collection
with The DownLoader.
DataOnDemand™
Online data is end-of-day or intraday data that is stored on a remote
computer. You access online data through MetaStock Pro's
DataOnDemand technology by simply choosing the symbol from the
Open dialog, or by typing the symbol if you already have a chart
displayed. MetaStock Pro then requests data for that security from your
data vendor. The data is temporarily held in your computer's memory
while you have the chart displayed. Online data can be stored in an
online cache folder, much like a web browser saves web pages, for quick
retrieval. See your Getting Started manual for online cache information
specific to your data vendor.
The New Security dialog also appears if you begin typing the name or
ticker symbol of a security that does not already exist. As you type, the
Choose a Security dialog appears (see page 84). If the active chart
contains local data, and the security or ticker symbol is not found within
the Choose a Security dialog, the New Security dialog will appear,
allowing you to create a new security. After specifying the parameters in
the New Security dialog, click the OK button. If the periodicity is set for
intraday and MetaStock Pro is in real-time mode, the chart for the new
security will open and begin to collect data.
Folder. Type (or use the Browse button to select) the folder that will
contain the new security file. See page 50 for information on creating
new folders.
Name. Type the name of the security. If you use the Symbol Database
(see page 46), the name and symbol will automatically be filled in.
Symbol. Type the ticker symbol for the security. Click the Look-up
button for help with ticker symbols.
First Date. This field is disabled when you choose Intraday as the
Periodicity.
Periodicity. Choose Intraday to maintain intraday price data (e.g., tick,
5-minute, hourly, etc.).
Units. Choose the unit format in which you would like the price data to
be displayed. For example, if you choose "1/8," the portion of the price
to the right of the decimal will be displayed in eighths. Only the
numerator is shown; the denominator is dropped (e.g., 25 3/8 is displayed
as 25 ^3). If you choose "decimal" (the default), the portion of the price
Type. Use the Type drop list to choose the type of security to list (i.e.,
stocks, futures, etc.).
Group. Use the Group drop-list to control which securities are listed in
the dialog. The contents of the drop-list are dependent on your selection
in the Type box.
If you are searching for a specific security and you're not sure which
exchange grouping the security belongs to, you should select the "All"
group to list all securities.
You can also choose from several specialized groups (i.e., S&P 100
stocks, NYSE stocks, etc.). The group called "optionable stocks" lists all
stocks on which options are traded.
Search. Use this box to search the list for the specified name or symbol.
Select All. Click this button to quickly select all securities listed.
Deselect All. Click this button to quickly deselect all securities.
New Symbol. Click this button to add a new symbol to the database.
Note that you can restrict the list and select individual securities by
typing specific names or symbols in the Search box. Simply
separate them with a semi-colon (e.g. MSFT;IBM;AAPL;NSCP).
You can also separate the names or symbols with a comma to find
everything beginning with a certain letter (e.g. A,B,C will show
every security beginning with an A, a B, and a C).
4. Click the Select All button to quickly select all securities generated
by the search. To select a continuous group of securities, click on
the first item, then hold down the SHIFT key as you click on the last
item. All items between the first and last items will be selected. To
select multiple individual securities, hold down the CTRL key as
you click on each one.
5. Click the OK button. The New Security dialog will appear with the
text "(MULTIPLE)" in the Name, Symbol, and Units fields. The
Start and End times will be blank.
6. Verify that the remaining attributes in the New Security dialog are
set correctly.
Specific contracts. Choose this box to create all contracts for the
selected futures between the specified start month and end month. If you
only need to create the contracts for one month, then specify the same
month for the start and end months.
Continuous contracts (Reuters DataLink only). Choose this box
to create a continuous contract for all the selected futures contracts. A
continuous contract is a special contract that automatically rolls to the
next contract when the current contract expires, thereby making it
"continuous."
Type. Choose the type of continuous contract. Note that the "time-
weighted average" returns an average of the nearby contract and the
contract with a delivery month closest to 90 days into the future.
Cash prices (DBC only). Choose this box to create cash/spot symbols
for all the selected futures.
Use the Other page to control the future contract volume option.
Real-time Configuration
The Real-time Configuration dialog is used to configure various
functions of the data, files, data vendor, and servers. Note that many of
Data Options
The Data Options page is used to adjust settings for data retrieved from
the Equis Data Server.
Last bar lag time (minutes). This adjusts the lag time for the last bar
of the day for all intraday securities. Normally, the last bar for the day
terminates exactly at the specified end trade time (see page 43). If a lag
time is in effect, the last bar will include any “late trades” beyond the
ending trade time. For example, if a 5-minute security has an ending
trade time at 16:00, the last bar will normally end at 16:00. If a 3-minute
lag time is in effect, the last bar will still be time stamped with 16:00, but
it will also contain any ticks that arrived through 16:03.
If the lag time goes beyond the start time for the next trading session, the
last bar will be terminated at the start time of the next session.
Any change to this setting takes effect immediately and does not require
restarting the Equis Data Server.
Generate bars for intervals with no trades. If this box is checked,
"flat" bars will be displayed for time intervals during which there are no
trades. The last closing price will be used to generate these bars.
Charts
A "chart" is a graphical representation of a security in a single window.
A chart can contain price plots, indicators, line studies, text, etc. in one or
multiple inner windows. You can create a chart by choosing New Chart
from the File menu. To save a chart, choose Save As from the File menu,
then provide a unique file name using the *.mwc extension.
For more information on charts, see page 77.
Smart Charts
A “Smart Chart” is a chart that is saved with the security name. You do
not need to provide a file name. The changes are saved automatically
when you close the Smart Chart. To open a Smart Chart, choose Open
from the File menu. The first time you open a Smart Chart, a special
template is used, called DEFAULT.MWT (see page 102), to display the
price information.
Layouts
A "layout" is a graphical representation of one or multiple securities in
one or multiple windows. A layout can contain price plots, line studies,
text, etc.
With a layout, you can group charts of the same or different securities
into one manageable unit. For example, perhaps you'd like to see charts
of all of your computer stocks on the screen not just today, but every
day. You could load them all, display them as you'd like, and then save
them in a layout for later use using an *.mwl extension. Or maybe you
always like to display Corn and Wheat charts with a 14-day Stochastic,
9-day RSI, and 10-day moving average. Again, use a layout.
For more information on layouts, see page 89.
New Chart
The New dialog is used to create a new chart. Choose New from the File
menu, then choose Chart.
History. Choose the History shortcut from the Shortcut Bar to select
from the list of securities you have most recently accessed. You can
adjust the size of the history by choosing Limit History Items from the
Tools menu.
Local Data. Choose the Local Data shortcut from the Shortcut Bar to
open an existing Smart Chart located on a local disk drive. The local data
folder from which you last viewed a security is displayed.
Favorites. Choose the Favorites shortcut from the Shortcut Bar to
choose from your list of pre-defined favorite securities, charts, and
layouts. To add an item to Favorites, choose Add to Favorites from the
Tools menu.
<Online Data Vendor>. If you are using an online data vendor, you
may select from a list of securities available from your vendor by
choosing this shortcut from the Shortcut Bar.
Look in. Use the drop-list to select the folder that contains the desired
Smart Chart, chart, or layout. Traverse the folders until the desired folder
is listed.
Security / Symbol / File Name. The chart or layout you select from
the underlying list appears in this box. This is the chart or layout that
will be opened. You can select multiple charts or layouts to open by
holding down the SHIFT or CTRL key as you make your selections. See
page 68 for information on filtering securities in the Open dialog.
Files of type. Choose the type of files (i.e., Smart Charts, charts, or
layouts) you want to display in the list. The last folder you opened that
type of file from will be displayed.
Save Command
The Save command is used to save charts and layouts. When you open a
chart or layout, MetaStock Pro copies it from your disk to the screen.
Changes made to charts are temporarily stored in memory until you save
them to the disk.
Choose Save from the File menu. If the selected chart or layout is
unnamed, the Save As dialog will appear, prompting you to provide a
name. We recommend that you use the Save command when you are in
the middle of making extensive changes so that you avoid losing your
work due to power outages or other unplanned events.
For more information on saving charts, see page 81. For more
information on saving layouts, see page 95.
Save Dialog
The Save dialog is used to save a chart, layout, or template to a file name
that you provide. Choose Save As from the File menu. If you attempt to
close a chart or layout that you have made changes to, MetaStock Pro
will automatically ask you if you want to save the chart.
For information on saving a chart as an Internet HTML file, see page 228.
Shortcut Bar
History. The History shortcut provides quick access to the items you
have recently opened. You can limit the number of items in your history
list by choosing Limit History Items from the Tools menu after choosing
History from the Shortcut Bar. To delete all items from your History,
choose Clear History Items from the Tools menu after choosing History
from the Shortcut Bar.
Local Data. Choose Local Data from the Shortcut Bar to display the
last folder you opened a local chart from.
Favorites. Choose Favorites from the Shortcut Bar to display your list
of favorite items. To add an item to your favorites, choose Add to
Favorites from the Tools menu or right-click on the item and choose Add
to Favorites from the shortcut menu. To organize your favorite items into
folders, choose the Create in button from the Add Favorites dialog when
adding an item to favorites, or choose Create new folder from the
shortcut menu when right-clicking on an item in your favorites folder.
<Online Data Vendor>. The current online data vendor is listed on
the Shortcut Bar for quick access to online data. Click this shortcut, then
choose from the list of folders and securities. The list of securities that is
displayed when you first select the online vendor shortcut includes all
securities available from that vendor. Choose a folder to filter this list.
When using the Change Security commands, the folder you opened the
original security from will be used to scan the securities. For example, if
you open IBM from the S&P 100 folder, using the Next Security button
on the Chart Toolbar will scan through the securities in the S&P 100
Tools Menu
Select All. Choose this option to select all securities currently displayed
in the dialog.
Add to Favorites. Choose this option to add the selected item(s) to
your Favorites folder.
Symbol Database. Choose this option to display the Symbol Database
for the current online vendor. From this dialog, you can edit or delete
existing symbols, or add new symbols.
New Symbol. Choose this option to add a symbol to the Symbol
Database.
New Local Security. Choose this option to display the New Security
dialog from which you can create a new local security file.
Find Local Security. Choose this option to display the Find dialog.
This dialog is used to search your disk for specified securities. See page
74 for more information on using the Find command.
Clear History. Choose this option to remove all items from your
History. This option is available only when you choose History from the
Shortcut Bar.
Limit History Items. Choose this option to change the number of
items listed in your history. This option is available only when you
choose History from the Shortcut Bar.
Clear Favorites. Choose this option to remove all items from your
favorites. This option is available only when you choose Favorites from
the Shortcut Bar.
Properties. Choose this to display detailed information about the
selected item. If an online security is selected, the Edit Symbol dialog
appears, allowing you to change the properties of the selected security in
the Symbol Database. Some of the information in the Properties dialog
can be viewed by choosing the Details view from the Views drop-list at
the top of the dialog.
Options Menu
View By Symbol. Choose to view the securities by ticker symbol.
View By Name. Choose to view the securities by name.
Load Options. Choose this option to specify the amount of data to
load and display when a chart is created (see page 80).
Open with template. Choose this option to select a template to apply
to the security. For more information on applying templates, see page 98.
Name. Enter the name of the security to find. Use the drop-list to select
from previously entered names. Use the wildcard character *, to find any
character. For example, M* will find all securities beginning with the
letter "M" and ME* will find all securities beginning with the letters
"ME". Leave the box blank to find all securities in the specified drive
and folder.
Symbol. Enter the symbol of the security to find. Use the drop-list to
select from previously entered symbols. See the information about using
wildcard characters in the Name section above.
Look in. Enter (or use the Browse button to select) the folder to search.
Include subfolders. Check this box if you want the search to include
subfolders for the folder specified in the Look in box.
Find Now. Click this button to start the search.
Stop. Click this button to stop a search in progress. If you stop before
the search is complete, no securities will be listed.
New Search. Click this button to clear the current search and specify a
new one.
Open. Click this button to open a chart of the selected security.
Options. Choose this button to display the Load Options dialog, where
you can control the amount of data to display in the chart (see page 80).
What is a Chart?
A chart is the focal point of much of what you do in MetaStock Pro. A
chart is a graphical representation of security prices along with any
accompanying indicators and line studies. In MetaStock Pro, a chart is
contained within a single window. The window is divided into one or
more inner windows where the prices and indicators are plotted.
If you chose Smart Charts, you can also apply a template to each of
the charts (if desired) by choosing Open with Template from the
Options menu.
3. From the Look in box or Shortcut Bar, select the folder where the
charts you want to display are located.
4. Select multiple charts by holding down the CTRL key as you click the
mouse.
5. Click the Open button.
The periods displayed in the "Last __ time periods" box defaults to the
last number entered. Also note that the dates displayed in the First Date
and Last Date boxes correspond to first and last dates available in the
data file.
To specify the date range when loading
1. Choose New (or Open) from the File menu.
2. Choose Load Options from the Options menu.
3. Select the Prompt for dates when chart is opened button.
4. Click the OK button.
5. Select the security (or chart) you want to load. The Date Range
dialog will appear prompting you for the range of data to load.
Saving Charts
When you open a chart, MetaStock Pro copies it from your disk to the
screen. Changes made to charts are temporarily stored in memory until
you save them to the disk.
Charts are saved with the Save and Save As commands in the File menu.
MetaStock Pro also has an automatic saving feature called Smart Charts.
Save button
If you open a Smart Chart, the changes you make are automatically
saved when the chart is closed (see page 77).
Closing Charts
After you finish working on a chart, you should close it to free memory.
If you attempt to close a chart to which you have made changes,
MetaStock Pro will ask you if you want to save the chart first. If you
attempt to close a chart that has never been saved before (e.g., a newly
created chart), MetaStock Pro displays the Save dialog which prompts
you to provide the chart a name.
• You can click the Next Security or Previous Security buttons on the
Chart toolbar (see page 24).
This feature can be a great time saver, particularly for those who like to
look at all their securities with the same set of indicators.
Choose a Security
If you like the idea of scanning charts, but don't want to sequentially
advance through every security in the folder, you can use the Choose a
Security dialog. This dialog allows you to select a security from a list.
The simplest way to access this dialog is to simply type the name or ticker
symbol while a chart is displayed. If you type the name, make sure the
"By Name" radio button is selected (or the "By Symbol" button if typing a
ticker symbol). As you type, the Choose a Security dialog automatically
appears and advances to the security's name or ticker symbol. Press the
ENTER key or click the OK button to display the chart.
If you type a name or symbol that does not exist in your security files, the
Choose a Security dialog will appear with no match. Press the ENTER
key or click the OK button and the New Security dialog automatically
appears and allows you to create a new security. See page 60 for more
information on adding new securities.
There are three ways to access the Choose a Security dialog.
• Choose the Change Security command in the File menu.
• Click the Choose Security button on the Chart toolbar (see page 24).
• With a chart displayed, begin typing a security’s name. As you type,
the Choose a Security dialog will automatically appear.
Scrolling Charts
A horizontal scroll bar is located at the bottom of every chart. This scroll
bar lets you move forward and backward through the loaded data. Click
the left scroll button to scroll backward through the data, and click the
right scroll button to scroll forward through the data. You can also click
and drag the scroller to move in either direction.
To scroll your data, you must have more data loaded than displayed. You
can use the Load Options dialog (see page 80), the X-Axis properties
dialog (see page 118), or the Zoom-In command (see page 128) to reduce
the amount of data displayed versus the amount loaded.
To automatically scroll through a chart, you can also use the Microsoft
IntelliMouse pointing device. See page 87 for more information on the
autoscroll feature of the IntelliMouse pointing device.
Rescale Y-Axis
The Rescale Y-Axis button is used to manually force the y-axis to rescale.
This tool is primarily used when you are using the chart's scroll bar to
scroll through the data. Choose this command from the View menu or
from the Chart toolbar.
When scrolling forward or backward through a chart, the y-axis scale
remains fixed (unless the Scroll Rescales Y-Axis checkbox in the
Application Properties dialog is checked, see page 34). However, the data
being scrolled may oscillate up and down. Very often, the data moves
Rescale Y-axis button outside the fixed range of the y-axis scale. When this occurs, use the
Rescale Y-axis command to rescale the chart so that the data comes into
complete view.
Cloning Charts
The New Window command in the Window menu is used to create a copy
(i.e., clone) of the selected chart. For example, if you have a chart named
"IBM" selected, and you choose the New Window command, another
chart will open containing the same data and plots. The new chart will be
unnamed with the title "Chart1-IBM."
Scrolling Charts. When you have more data loaded than displayed,
you are able to scroll through the data. To scroll forward using the
IntelliMouse pointing device, simply rotate the wheel forward (i.e.,
toward the monitor). To scroll back using the IntelliMouse pointing
device, simply rotate the wheel back (i.e., away from the monitor). See
page 85 for more information on scrolling through charts.
Scanning Charts. To scan from one chart to the next in your folder,
hold the ALT key down and rotate the wheel forward (i.e., toward the
monitor) to advance to the next security or rotate back to move to the
previous security. See page 83 for more information on scanning charts.
Zoom Scaling Charts. To zoom-in/out on a chart, hold the CTRL key
down and rotate the wheel forward (i.e., toward the monitor) to zoom-in
or back (i.e., away from the monitor) to zoom-out. See page 128 for
more information on zoom scaling.
Change Periodicity of a Chart. To change the periodicity in a chart,
hold the SHIFT key down and rotate the wheel forward (i.e., toward the
What is a Layout?
Layouts provide a convenient way to manage groups of charts. Maybe
you'd like to combine your favorite computer stocks into one easily
managed group. Or maybe you'd like to see IBM along with the Dow and
four of your favorite indicators. The best way to manage such groups of
charts is with a layout.
A layout itself is a single file that, when opened, brings up all the charts
that were saved in the layout. When displayed on your screen, each
member chart can be identified by the layout's name, which appears in
each chart's heading. A layout can even include minimized charts.
To select multiple charts, Add. This button moves the selected chart(s) from the Available Charts
hold the SHFT or CTRL list to the Included Charts list. You can also double-click a chart to add it
key down as you click the to the Included list.
mouse. Add All. This button moves all charts in the Available Charts list to the
Included Charts list.
Remove. This button moves the selected chart(s) from the Included
Charts list to the Available Charts list. This removes the selected chart(s)
from the layout. You can also double-click a chart to remove it from the
Included list.
Remove All. This button moves all charts from the Included list to the
Available list. This removes all charts from the layout.
To create a layout
1. Display the charts to include in the layout by using the Open (or
New) command in the File menu (see page 78).
2. Modify the charts as desired (e.g., add indicators, add moving
averages, resize, etc.).
90 • Combining Multiple Charts with Layouts MetaStock Professional
3. Choose New from the File menu. Choose Layout.
4. Click the Add All button to add all the open charts to the Included
list. These are the charts that will appear in the layout.
5. To save the layout, choose Save As from the File menu, and give the
layout a unique file name.
Each chart will now have the name "Layoutx" (where "x" is a number) in
the title bar to show that the chart is a member of the layout. For more
information on saving layouts, see page 95.
To select multiple If you want to open multiple layouts at once, you can select multiple
layouts, hold the SHFT or layouts from the list in the Open dialog and click the OK button. Each
CTRL keys down as you layout you select will be opened.
click.
If you click on a layout's name in the Open dialog, a description of the
layout (if one was entered) is displayed in the Description box.
The Options button (see page 80) in the Open dialog is disabled if the File
Type is "Layouts." This button is disabled because layouts always load
the amount of data that was saved with the layout.
When a layout is loaded, each chart included in the layout will have the
layout name in its title bar.
To display an existing layout
1. Choose Open from the File menu.
Saving a Layout
When you make changes to a layout, you should save the layout using the
Save or Save As commands in the File menu. The Save command saves
Save button
the layout to its existing name. The Save As command lets you specify a
new name (and location) for the layout.
If you use the Save command to save a layout and the layout is unnamed
(i.e., a newly created layout), the Save dialog will appear prompting you
to provide a name. If you attempt to close a layout to which you have
made changes, you will be asked if you want to save the layout first.
We recommend that you save your layouts often when making extensive
changes so that you avoid losing your work due to power outages or other
unplanned events.
To save a layout
1. Select the layout you want to save by clicking directly on any chart
in the layout.
2. Choose Save from the File menu. If the layout is new and unnamed,
you will be prompted to supply a name in the Save dialog (see page
69).
What is a Template?
A template contains all the information in a chart or layout excluding the
base security. A template is applied to a security (either to an existing
open chart or when loading a chart) at which time a new chart or layout is
created based on the template's information. Each template is saved as a
file with a *.mwt extension.
If the information from a template came from a single chart, then a chart
is created when the template is applied. If the information came from a
layout, then a multi-chart layout is created.
For example, suppose you like to analyze your securities with an RSI,
MACD, and a 50-day moving average. You could save this information
in a template and apply it to any security in one quick step.
You can also create a default template that is always used when a new
chart is created (see page 102).
Once a template is created, it can be used over and over.
Saving a Template
Templates are saved using the Save As command in the File menu. If you
want the changes you have made to a template to be retained, you must
save the template using the Save As command.
You can also save a template as the default template. The default
template is automatically applied to all newly created charts. See page
102 for more information on the default template.
To save a template
1. Choose Save As from the File menu.
2. Choose Template from the Save as Type drop-list.
3. If you are editing a template and want to save the changes to the same
template name, double-click the name of the template file.
4. If you are saving a new template, type a name in the File Name box
and click Save.
Chart Window
Selecting a Chart
Before any changes can be made to a chart, the chart must be selected.
You can select a chart from the Window menu (a checkmark designates
the selected chart), or by clicking anywhere on the chart. The selected
chart is distinguished by its unique title bar color. The name of the
selected chart is also shown in the Application's title bar.
The chart of Intel above has a different title bar color than the others.
This lets you know that it is the selected chart.
Modifying a Chart
The properties of a chart are modified with the Chart Window Properties
dialog. This dialog is accessed by right clicking on a chart and selecting
Chart Window Properties from the shortcut menu. You can also choose
Chart Window from the Format menu.
Modifications made to a chart's window are retained automatically by
MetaStock Pro's Smart Chart feature if you are working with a Smart
Chart. If you are working with a chart or layout, you should save the
chart or layout to retain the changes.
To modify a chart
1. Right-click on the desired chart.
2. Choose Chart Window Properties from the shortcut menu.
3. Make the desired changes in the Chart Window Properties dialog.
4. Click the OK button.
For information on modifying an inner window's properties, see page 111.
Chart Options
The Chart Options page is located in the Chart Window Properties dialog.
Choose Chart Window from the Format menu, or right-click on a chart
and choose Chart Window Properties from the shortcut menu.
Show Chart Title Bar. Check this box if you want the title bar of the
selected chart displayed. The chart title bar displays the name of the chart
(or layout) and the information specified in the "Title" page of this dialog
(see page 107).
Show Chart Toolbar. Check this box if you want the toolbar of the
selected chart displayed (see page 24 for more information on the chart
toolbar).
To control the display of the chart toolbar for all charts, use the
Application Property dialog (see page 34).
Show Inner Window Title Bars. Check this box if you want the inner
window title bars in the selected chart displayed. The inner window title
bars display the names of the plots (e.g., security name, indicator name,
etc.) in the inner window. If you choose the accompanying "Show Values
in Title Bars" box, the last period's value for the plot in each inner
window will display.
If this checkbox is grayed, it means that the display of at least one of the
inner window title bars is being controlled by the inner window's
properties page (see page 112).
Scale Locations
The Scale Locations page is located in the Chart Window Properties
dialog. Choose Chart Window from the Format menu (or right-click on a
chart and choose Chart Window Properties from the shortcut menu).
Repositioning Charts
Since a chart is contained within a window, repositioning a chart is just a
matter of using basic click and drag techniques common to all Windows
programs.
Resizing Charts
Since a chart is contained within a window, resizing a chart is just a
matter of using basic click and drag techniques common to all Windows
programs.
For information on resizing inner windows within a chart, see page 113.
To resize a chart
1. Position the mouse pointer over the chart's border until a double-
sided resizing arrow appears.
2. Click and drag the mouse until the chart is the desired size.
You can quickly enlarge a chart to full-screen with the maximize button,
Minimize/Maximize or you can minimize a chart with the minimize button. The
buttons minimize/maximize buttons are found in the upper-right corner of a chart.
You can restore a minimized chart to its original size by double-clicking
directly on the minimized chart's title bar.
The application itself (i.e., the MetaStock Pro program) is also contained
within a window. It can be resized using the same methods described
above.
Clearing a Chart
The Delete All command in the Edit menu provides a quick and
convenient way to remove indicators, line studies, symbols, text, and
non-base securities from your chart. Simply click on the items you want
removed from the selected chart and click the OK button. The chart will
redisplay with the selected items removed.
Inner Windows
2. You can drag and drop an indicator from the Indicator QuickList (see
page 165).
4. You can choose Inner Window, New from the chart shortcut menu.
Right-click anywhere on a chart to access the chart shortcut menu.
Background Color. Choose the desired background color for the inner
window. You should choose a color that is different from any other items
plotted in the window (e.g., a blue indicator on a blue background will
disappear).
Show Title Bar. Check this box if you want to display the inner
window's title bar. The title bar displays the contents of the inner window
(e.g., indicator, security name, etc.) and provides a system box and
maximize/restore buttons.
Show Value In Title Bar. Check this box if you want the inner
window to display the value of the last period's plot(s).
Use Color of Plot. Check this box if you want the plot values in the
inner window title bar to match the color of the plot(s).
Apply to All Inner Windows. Check this box if you want the settings
in this dialog to apply to all inner windows within the chart. Leave it
unchecked if you only want the settings to apply to the selected inner
window.
If an indicator is calculated on a security other than the chart's base
security, the name of the security is shown in parenthesis after the
indicator's name in the inner window’s title bar.
To modify an inner window
1. Right-click within the desired inner window.
2. Choose Inner Window from the shortcut menu. Then choose
Properties.
3. Make the desired changes to the Inner Window Properties dialog.
4. Click the OK button.
Scales
MetaStock Pro handles the scaling of charts automatically based on the
data plotted. However, you can override the automatic scaling by
changing the properties of the scales or by using the Zoom Scaling tools
(see page 128).
X-Axis Properties
The x-axis (or date scale) is located along the bottom of a chart. One x-
axis is shared by all inner windows in the chart.
You can change the properties of the x-axis by right-clicking directly on
the chart's x-axis or by choosing X-Axis from the Format menu.
Scale
The Scale page is located in the X-Axis Properties dialog. Choose X-
Axis from the Format menu (or right-click on a chart's x-axis and choose
X-Axis Properties from the shortcut menu).
A 5-minute bar labeled on the x-axis of a chart at 11:15 includes the first
tick of 11:10:00 through the last tick of 11:14:xxx. Similarly, a 1-minute
bar includes all ticks from 11:14:00 to 11:14:xxx.
Periodicity
The Periodicity page is located in the X-Axis Properties dialog. Choose
X-Axis from the Format menu, or right-click on a chart's x-axis and
choose X-Axis Properties from the shortcut menu.
Use the periodicity page to specify the periodicity of the data. For
example, if your chart contains daily data, you could change the data into
weekly bars. Or if your chart contains tick data, you could change it to
hourly bars. Even though the periodicity has been changed, the same
date range is maintained. So if a daily chart ranging from 06/01/96 to
12/31/96 is changed to weekly, the chart will display weekly bars for the
same date range, 06/01/96 to 12/31/96.
Volume and open interest are summed over the new period. For
example, monthly periodicity displays the sum of the entire month's
volume.
You can also click the Periodicity button on the chart toolbar to change
the periodicity.
You can also change the periodicity with your Microsoft IntelliMouse
pointing device. Hold the SHIFT key down and rotate the wheel forward
to lengthen the periodicity or back to shorten the periodicity. See page 87
for more information on the Microsoft IntelliMouse pointing device.
Margins
The Margins page is located in the X-Axis Properties dialog. Choose X-
Axis from the Format menu, or right-click on a chart's x-axis and choose
X-Axis Properties from the shortcut menu.
Grid (X-axis)
The Grid page is located in the X-Axis Properties dialog. Choose X-Axis
from the Format menu (or right-click on a chart's x-axis and choose X-
Axis Properties from the shortcut menu).
Y-Axis Properties
The y-axis of a chart is located along the side of an inner window.
If you want to quickly reset the y-axis to accommodate new data that you
have scrolled to with the chart's scroll bar, use the Rescale Y-Axis button
on the chart toolbar (see page 86). The Scroll Rescales Y-axis option in
Rescale Y-Axis button
the Application options dialog also lets you control the effect of scrolling
on the y-axis (see page 33).
You can also change the scaling of the y-axis by using drag and drop
techniques directly on the y-axis scale of the chart. See page 126 for more
information.
You can change the properties of the y-axis by right-clicking directly on
the chart's y-axis or by choosing Left Y-Axis or Right Y-Axis from the
Format menu.
Check the box under the Auto heading if you want the corresponding
scaling control to be automatically determined by MetaStock Pro. If the
Auto box is unchecked, you can manually enter a value.
Minimum. Type the minimum value to display on the y-axis.
Maximum. Type the maximum value to display on the y-axis.
Major Unit. Type the major unit to increment the y-axis labels. For
example, if you want y-axis labels to display every five units, then type
"5". Grid lines (if enabled) are displayed at the major units.
The y-axis is displayed in decimal or fractions (e.g., eighths, 32nds, etc.)
depending on the "Units" setting in the security's data file. Use The
DownLoader to change the Units setting (see page 58 in this manual).
Minor Unit. Type the minor unit to increment the y-axis labels. Hash
marks are displayed at each minor unit along the y-axis scale. For
example, if you want scaling hash marks displayed every 2.5 units, then
enter "2.5". If you want y-axis labels to increment by five units, then
type "5". Note that labels are not displayed on the minor units hash
marks.
Font. Choose this button to display the standard Windows Font dialog.
Use this dialog to specify the font for the y-axis labels. If you choose a
font that is too large to display without overlapping, MetaStock Pro will
not place a label at every major unit. See page 171 for more information
on fonts.
Show Grid. Check this box if you want grid lines to be displayed in the
selected inner window at each of the y-axis major unit labels.
Color. Choose the color of the grid lines from the drop-list.
Style. Choose the line style (dotted, dashed, etc.) of the grid lines from
the drop-list.
Weight. Choose the weight (thick, thin, etc.) of the grid lines from the
drop-list. If you select a heavier weight, the Style will always appear as a
solid line.
Scale Locations
Some people like to display the y-axis scale on the right side of the chart
since it is closer to the more recent data.
To display/remove the x- or y-axis
1. Right-click on the chart's inner window.
Zoom Scaling
The Zoom-In, Zoom-Out, and Zoom Reset commands are selected from
the View menu or from the Chart toolbar. The Zoom Box command is
selected from the View menu or from the standard toolbar.
The Zoom In command progressively zooms in on the most recent data
Zoom In button displayed in the chart. Each time the command is used, the more detailed
the view of the most recent data.
The Zoom Out command changes the scaling to the previously zoomed
Zoom Out button state. For example, if you have used the Zoom In command to zoom in on
the chart four times, the Zoom Out command will take you back to the
third zoomed view. Using it again will take you back to the second
zoomed view, etc.
The Zoom Box command allows you to define a section of the chart to
enlarge.
Zoom Box button
The Zoom Reset command undoes the scaling effects of any zooming by
Zoom Reset button resetting the chart's scales so that all the loaded data is displayed. The
zooming can be the result of using the Zoom In and Zoom Box commands
or the automatic zooming that occurs as a result of the settings in the Load
Options dialog (see page 80).
You can also use the Microsoft IntelliMouse pointing device to zoom-
in/out on your chart. Hold the CTRL key down and rotate the wheel
forward to zoom-in or rotate back to zoom-out. See page 87 for more
information on the Microsoft IntelliMouse pointing device.
The following illustrations show a chart before and after using the Zoom
In command:
The following illustrations show a chart before and after zooming using
the Zoom box command.
• Using the Microsoft IntelliMouse pointing device, hold the CTRL key
down and rotate the wheel forward to zoom-in or rotate back to
zoom-out.
To zoom in on a specified area
1. Choose Zoom then Zoom Box from the View menu or toolbar. A
Zoom Box mouse small box appears next to the mouse pointer indicating that you
pointer should select an area to zoom.
2. Position the mouse pointer at one corner of the desired zoom area.
3. Click and drag the mouse pointer to the opposite corner of the
desired zoom area and release your mouse button.
To reset a zoomed chart
Do one of the following:
• Choose Zoom then Zoom Reset from the View menu.
• Click the Zoom Reset button on the Chart toolbar.
Zoom Reset button
Introduction
MetaStock Pro's Print command lets you print charts and the pricing data
in charts. Before you can print, you must first select and configure your
printer using the Print Setup dialog.
Layout
The Layout page is located in the Page Setup dialog. Choose Page Setup
from the File menu or from the Print dialog.
Print Layout. Choose the Charts per Page button to specify the number
of charts you want to appear on a page. For example, if you have eight
charts open and you want the charts printed on two pages then type "4" in
the Charts per Page box.
Choose Print to Fit to print all open charts on one page.
Choose Print Where Displayed to print the charts in the same size and
location as they appear on the screen.
Page Border. Choose the type of border to surround the page. The
Page Border is printed at the specified margin settings.
Chart Border. Choose the type of border to surround each chart.
Margins
The Margins page is located in the Page Setup dialog. Choose Page
Setup from the File menu or from the Print dialog.
Page Margins. Specify the distance the chart should be printed from
the top, bottom, left, and right sides of the page. Note that the Page
Border is printed directly against the margins.
Chart Spacing. Specify the distance between charts on the printout.
Units. Choose inches or centimeters to use for the margin and chart
spacing measurements.
Header/Footer
The Header/Footer page is located in the Page Setup dialog. Choose
Page Setup from the File menu or from the Print dialog.
Alignment. Click on the button that corresponds with the way you want
both your header and footer aligned.
Header. Type the desired header to be printed at the top of the page.
Footer. Type the desired footer to be printed at the bottom of the page.
Fonts. Click this button to select the font for the header and footer. The
Font dialog is used to select the font and the font's style, size, effect, and
color. See page 171 for more information on fonts.
Paper
The Paper page is located in the Page Setup dialog. Choose Page Setup
from the File menu or from the Print dialog.
Introduction
The primary focus of a chart is its price plot. Every chart consists of a
base security. A base security is simply a security's pricing data.
There are nine different styles of displaying pricing data. Each of these
styles uses one or more of the four basic pieces of pricing data--open,
high, low, or close. Each of the nine styles has unique differences that
can be interpreted in various ways.
The base security of a chart can be changed by using the Change Security
command in the File menu (see page 83).
You can close the base security's inner window, but closing the inner
window does not break the link to the base security.
Right-click directly on the price plot and choose the Properties command
to display the Properties dialog. You can also double-click on the price
plot to bypass the shortcut menu and go directly to the Properties dialog.
The Properties dialog can also be displayed by choosing Prices from the
Format menu.
If you just want to change the line style of the price plot, the fastest way is
to click directly on the plot to select it, and then choose the desired style
from the Price Style QuickList on the Style toolbar.
When the ambiguity menu appears, simply choose the desired plot from
the menu.
Parameters Page
The following sections explain the parameters for each of the price styles
that require parameters (i.e., kagi, point & figure, renko, and three line
break).
To change a price plot's parameters
1. Do one of the following:
• Right-click on the price plot and choose Properties.
• Double-click on the price plot.
2. From the Parameters page of the Properties dialog, make the desired
changes to the parameters.
Indicators calculated on kagi charts use all the data in each column and
then display the average value of the indicator for that column.
Also note that certain line studies, (i.e., Gann, Fibonacci time zones,
cycle lines, etc.) when plotted on kagi charts, produce results inconsistent
with normal interpretation.
See page 472 for interpretation information on kagi charts.
Box Size. Enter the Box Size (the size may contain a decimal portion,
e.g., 1.33). The default box size is determined automatically depending
on the price of the security being charted. Note that the smaller the box
is, the more boxes will be displayed.
Reversal Amount. Enter the Reversal Amount. The Reversal Amount
controls how many boxes the price must change to cause a reversal and
move to the next column. For example, specifying 3 boxes per reversal
when the box size is set to 2 will require that prices change 6 points (3
boxes times a box size of 2) before changing columns. Because the
reversal is in boxes, the number may not contain a decimal portion.
Larger reversal amounts cause fewer, taller columns.
Price Field. Choose the price field to use when plotting the point &
figure chart. The default "High/Low Range" is recommended. When
calculated on the High/Low Range, MetaStock Pro takes into account the
intraday extreme moves when drawing the boxes.
Box Size. Enter the Box Size (the size may contain a decimal portion,
e.g., 1.33). The default box size is determined automatically depending
on the price of the security being charted. Note that the smaller the box,
the more boxes displayed.
Indicators calculated on renko charts use all the data in each column and
then display the average value of the indicator in that column.
Also note that certain line studies, (i.e., gann, Fibonacci time zones, cycle
lines, etc.) when plotted on renko charts, produce results inconsistent
with normal interpretation.
See page 515 for interpretation information on renko charts.
Three Line Break
Lines. Enter the lines per break. The default is three. Note that the
smaller the lines per break, the more blocks displayed.
Indicators calculated on three line break charts use all the data in each
column and then display the average value of the indicator in that column.
Color/Style Page
The color/style page allows you to change the color, line style, and weight
of the selected price plot. You can also make these changes by using the
color and line style toolbars (see page 25).
Price Styles. Click on the Price Style drop-list to display the nine price
styles: Bars, Candlesticks, Candlevolume, Equivolume, Line, Kagi, Point
& Figure, Renko, and Three Line Break.
Up. Use this drop-list to select the color when the closing price moves
upward (as compared to the previous period's price). Note that this color
only affects the currently selected Price Style. If an expert containing a
Highlight is attached to the chart (and its condition is true), the Highlight's
color will override this setting.
Down. Use this drop-list to select the color when the closing price
moves downward (as compared to the previous period's price). Note that
this color only affects the currently selected Price Style. If an expert
containing a Highlight is attached to the chart (and its condition is true),
the Highlight's color will override this setting.
Weight. Use this drop-list to select the weight (i.e., thickness) of the
price plot.
Apply To All Price Styles. Check this box if you want the Up and
Down colors selected for the current price style to apply to all Price
Styles (rather than just the currently selected Price Style).
To change the style of the price plot
1. Double-click on the price plot in the chart.
2. From the Color/Style page, click the Price Styles drop-list.
Or
1. Select the price plot in the chart.
2. Choose the desired price style from the Price Style QuickList located
on the style toolbar.
To change the color of a price plot
1. Double-click on the price plot in the chart.
2. From the Color/Style page, click the Up drop-list.
3. Choose the desired color for upward price changes.
4. Click the Down drop-list.
5. Choose the desired color for downward price changes.
6. Click the OK button.
Or
1. Select the price plot in the chart.
2. Choose the desired color from the color palette located on the style
toolbar.
Display New Scale on Left. Use a new scale on the left side of the
chart that is compatible with the new plot. The existing plot will
continue to display, but the left y-axis scale represents the new plot.
Display New Scale on Right. Use a new scale on the right side of the
chart that is compatible with the new plot. The existing plot will
continue to display, but the right y-axis scale represents the new plot.
Merge with Scale on Left. Adjust the existing left y-axis scale so that
the new price plot can be represented.
Merge with Scale on Right. Adjust the existing right y-axis scale so
that the new price plot can be represented.
Choose Yes if you want the selected object deleted. Choose No to cancel
the deletion.
You can prevent this message from appearing by checking the "Don't
display this message anymore" box in this dialog or by unchecking the
"Confirm Deletion of Objects" box in the Application Properties dialog
(see page 32).
If the periodicities are not the same, the data will be displayed in the best
way possible.
The format of the price values displayed in the Data Window are either in
decimal or fractions depending on the "Units" setting for the security. A
security's Units setting is controlled with The DownLoader (see page 60
in this manual).
The color of the values displayed in the Data Window correspond to the
color of the price plots represented. You can turn this "coloring" of text
off from the Data Window Properties dialog (see page 161).
If you have multiple charts displayed on your screen, you can simply
move the mouse from chart to chart and the Data Window will display the
appropriate data.
When attempting to display the data for a specific bar, you may want to
use your mouse to quickly move to the general area of the chart, and then
switch to the keyboard's arrow keys to zero in on the specific bar.
The Data Window can be moved just like any window by clicking on the
title bar and dragging. You can also resize the Data Window vertically by
clicking on the bottom border and dragging.
The active chart's ticker You can dock the Data Window on the left or right side of the screen by
symbol appears in a clicking and dragging the Data Window to the desired side of the screen.
docked Data Window. Double-clicking anywhere on the Data Window will also dock it. After it
is docked, double-clicking returns it to a floating window, or you can
click and drag it to the desired location. Note that when the Data
Window is docked, the ticker symbol of the security in the active chart is
displayed.
Check the box next to the values you want displayed in the Data
Window.
Click on the General tab to access the "Update Only On Drag" and the
"Display Data Window Text In Color" options. Check "Update Only On
Drag" box if you would like the Data Window to update only when you
are dragging the mouse (i.e., clicking and holding the left mouse button
down). Check the "Display Data Window Text In Color" box if you
would like the color of the values in the Data Window to correspond to
the color of the represented plot.
To specify the contents of the Data Window
1. Choose Data Window from the Format menu.
2. Check the desired values to display in the Data Window Properties
dialog.
3. Click the OK button.
What is an Indicator?
An indicator is a mathematical calculation that can be applied to a
security's price, volume or even to another indicator. The result is a value
that is used to anticipate future changes in prices. Indicators are plotted
either in a separate inner window or overlayed in the base security's inner
window (e.g., a moving average).
There are three types of indicators in MetaStock Pro (explained below).
The small icon displayed next to indicators in the Indicator QuickList
(see page 165) shows you the indicator's type. These small icons are also
described below.
Price Indicators . Price indicators are always calculated using
security pricing data.
Custom Indicators . Custom indicators are calculated using a formula
you created with the Indicator Builder (see page 299).
Plot-based Indicators . Plot-based indicators can be plotted directly
on an existing plot (i.e., a price plot or another indicator plot). For
example, a moving average is a plot-based indicator since it is always
calculated on an existing price or indicator. If a plot-based indicator is
not dropped directly on a plot (i.e., you plot it in a new inner window) it
is calculated using the base security.
All indicators (price, custom, and plot) appear together in the Indicator
QuickList (see page 165) and the Indicators dialog (see page 164).
Plotting an Indicator
There are two ways of plotting an indicator in MetaStock Pro. You can
drag and drop an indicator from the Indicator QuickList or you can
choose Indicators from the Insert menu to display the Indicators dialog.
When an indicator is plotted, it is usually calculated on the chart's base
security (see page 143). However, some indicators (i.e., "plot-based"
indicators) can be calculated on other indicators. For example, a moving
average can be calculated on any plot. You could calculate a moving
average using an indicator, another moving average, or a price plot.
You can select multiple You can select one (or multiple) indicators from the Indicators list on the
indicators by holding left side of the dialog. Pick an inner window in which to plot the
down the CTRL or indicator(s) from the Inner Windows list on the right side of the dialog.
SHIFT key as you make If the selected indicator is a "plot-based" indicator, then the Inner
your selections. Windows list displays the plots within each of the inner windows. This
allows you to choose a specific plot on which to calculate the indicator.
The inner windows listed on the right side of the dialog are labeled Inner
Window #1, Inner Window #2, etc. corresponding with the location (top
to bottom) in the chart.
If you choose New Inner Window, the indicator is plotted in a new inner
window at the top of the chart.
To plot an indicator using the Indicators dialog
1. Select the chart in which you want to plot an indicator.
2. Choose Indicators from the Insert menu.
3. Click the indicator(s) you want to plot in the Indicators list on the
left side of the dialog.
4. From the Inner Windows list on the right side of the dialog, choose
the inner window in which to plot the indicator.
5. Click the OK button.
You can drag indicators from the list and drop them on your charts. If
you drop an indicator on a chart's title bar, a new inner window is
automatically created for the indicator at the top of the chart. If you drop
the indicator on an inner window title bar, the indicator will plot in a new
inner window above the title bar. If you drop the indicator on the x-axis,
the new inner window will plot at the bottom of the chart.
Check the indicators you want displayed in the QuickList. Remove the
check if you prefer not to have the indicator displayed. You can check
and uncheck all indicators by using the Check All and Uncheck All
buttons.
Modifying an Indicator
After an indicator is plotted, you can modify any of its properties (e.g.,
color, number of periods, etc.) with the indicator's Properties dialog.
Indicators can also be copied or moved to a new inner window within the
same chart or a different chart.
An indicator's Properties dialog can be accessed three ways:
• You can right-click directly on the plotted indicator and choose
Properties from the shortcut menu.
• You can double-click directly on the plotted indicator.
• You can select the indicator and choose Selected Object from the
Format menu.
You can press the TAB When you are clicking on an indicator and the indicator is closely
key to cycle through all surrounded by other plots (e.g., prices, moving averages, etc.) a menu
selectable objects on will pop up prompting you to choose the desired plot.
your chart.
Color. Choose the indicator color for the selected indicator from the
drop-list. MetaStock Pro can automatically rotate through different colors
when plotting indicators. See page 171 for more information.
Style. Choose the line style for the selected indicator from the drop-list.
The Invisible style is useful when overlaying one indicator on another
(i.e., a moving average overlayed on an RSI). When plotting a moving
average on an existing indicator, there may be times that you want to hide
the indicator and just show the moving average. If you delete the
indicator, the moving average will also disappear since it is dependent on
the indicator for the calculation. However, you can hide the indicator, by
choosing the Invisible Style from the Color/Style page in the indicator's
Properties dialog. To redisplay a hidden indicator, use the TAB key to
select it and then choose Selected Object from the Format menu.
Weight. Choose the thickness of the selected indicator from the drop-
list. If you select a heavier weight, the Style will always appear as a solid
line.
Horizontal Lines Page
Many indicators require specific values for their interpretation. For
example, a Stochastic is generally considered to be at an overbought level
above 80 and oversold below 20. Horizontal lines are usually placed at
these levels to help in the interpretation.
You can also control the color, line style, and weight of the horizontal
lines. The color, style, and weight you choose is used for all horizontal
lines drawn with the indicator.
The Indicators and Line Studies pages contain the usual color, style, and
weight drop-lists for modifying indicators and line studies. Note that if
you select a heavier weight, the Style will always appear as a solid line,
regardless of the line style.
Changing Fonts
Click the Font button on the Text/Symbols page of the Default Colors
and Styles dialog to change the fonts for text and symbols that appears on
charts. Note that this font does not change the fonts associated with the
x- and y-axis, or headers/footers. You can change the font for text, the x-
and y-axis, symbol labels, and headers/footers on charts using the
standard Windows Font dialog.
Font. Choose the font. The number and type of fonts appearing in this
list depends on your printer selection.
Deleting Indicators
You can delete an indicator by right-clicking on the indicator plot and
choosing Delete from the shortcut menu. You can also delete an indicator
by selecting the indicator and pressing the DEL key. An option in the
Application Properties dialog (see page 32) controls whether or not you
are asked to confirm the deletion of the object.
To delete an indicator
1. Position the mouse on the desired indicator plot.
2. Click the right mouse button.
3. Choose Delete from the shortcut menu or press the DEL key..
Indicator Parameters
The parameters for every indicator are listed on the following pages. The
parameter pages for color/style and horizontal lines are identical for
every indicator. See page 169 for information on the Color/Style page
You may need to adjust the limit moves shown in the above table based
on the position of the decimal in your data files. For example, if the price
of corn is quoted as $2.45, the limit move would be $0.10. However, if
the price of corn is quoted as $245.00, the limit move would be $10.00.
If the security does not have a limit move (e.g., a stock or some futures),
we suggest you enter the maximum value allowed (i.e., $30,000).
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 446 for interpretation information on the Accumulation
Swing Index.
Accumulation/Distribution
There are no parameters for the Accumulation/Distribution indicator.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 446 for interpretation information on the
Accumulation/Distribution indicator.
Aroon
The parameters for the Aroon indicator are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 448 for interpretation information on Aroon indicator.
Bollinger Bands
The parameters for the Bollinger Bands are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Time Periods. Enter the number of time periods to use when
calculating. The term "time periods" refers to days if the chart contains
daily data, weeks for weekly data, hours for hourly data, etc.
Deviations. Enter the number of standard deviations by which to shift
the upper and lower bands.
Horizontal Shift. Enter the number of periods to shift the Bollinger
Bands. For example, enter "5" to shift them five periods to the right;
enter "-5" to shift them five periods to the left; etc.
Method. Choose the moving average calculation method (i.e., simple,
exponential, weighted, time series, triangular, variable, or volume
adjusted).
Price Field. Choose the price field (i.e., open, high, low, or close) to
use when calculating Bollinger Bands.
If you edit the parameters of the middle band, all three bands are affected.
If you edit the parameters of the upper or lower bands individually, only
that band is affected. Therefore, if you want symmetrical bands, edit the
parameters of the middle band only.
Correlation
Before attempting to plot the Correlation indicator, you must first select
two plots. This could be two price plots, an indicator and a price plot, or
two indicators. The first plot selected will be the independent variable
and the second, the dependent variable.
The parameters for the Correlation indicator are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Time Periods. This parameter specifies the number of time periods
that are used to "smooth" the dependent and independent variables when
determining their correlation.
Forward Shift. This parameter specifies the number of time periods to
shift the independent variable's data forward. This can be used to
determine whether a change in an indicator (the independent variable)
"leads" a change in prices (the dependent variable). For example, if you
find that an indicator has a high positive correlation to the security's price
when shifted forward three periods, you may assume that a change in the
Dema
The parameters for the Dema indicator are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Time Periods. Enter the number of time periods to use when
calculating the indicator. The term "time periods" refers to days if the
chart contains daily data, weeks for weekly data, hours for hourly data,
etc.
Price Field. Choose the price field (i.e., open, high, low, or close) to use
when calculating DEMA.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 459 for interpretation information on the Dema
indicator.
Demand Index
There are no parameters for the Demand Index.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 460 for interpretation information on the Demand Index.
Directional Movement
There are five indicators comprising the Directional Movement system:
+DI, -DI, ADX, ADXR, and DX.
The parameters for the Directional Movement indicators are shown
below. These parameters are specified at the time the indicator is plotted.
You can edit the parameters of an existing plot by right-clicking on the
indicator and choosing Properties from the shortcut menu.
Time Periods. Enter the number of time periods to use when
calculating Directional Movement. The term "time periods" refers to
days if the chart contains daily data, weeks for weekly data, hours for
hourly data, etc.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 461 for interpretation information on the Directional
Movement indicator.
Ease of Movement
The parameters for the Ease of Movement are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Time Periods. Enter the number of time periods to use when
calculating Ease of Movement. The term "time periods" refers to days if
the chart contains daily data, weeks for weekly data, hours for hourly
data, etc.
Envelope
The parameters for Envelopes are shown below. These parameters are
specified at the time the indicator is plotted. You can edit the parameters
of an existing plot by right-clicking on the indicator and choosing
Properties from the shortcut menu.
Time Periods. Enter the number of time periods to use when
calculating the envelopes. The term "time periods" refers to days if the
chart contains daily data, weeks for weekly data, hours for hourly data,
etc.
Vertical Shift %. Enter the percentage to shift the upper and lower
envelopes from the base moving average. For example, enter "10" to
shift the envelopes 10 percent above and below the base moving average.
Horizontal Shift. Enter the number of periods to shift the envelopes.
For example, enter "5" to shift the envelopes five periods to the right;
enter "-5" to shift the envelopes five periods to the left; etc.
Method. Choose the moving average calculation method (i.e., simple,
exponential, weighted, time series, triangular, variable, or volume
adjusted).
Price Field. Choose the price field (i.e., open, high, low, or close) to
use when calculating the envelopes.
When you initially plot envelopes, the above options affect the upper and
lower envelopes equally. However, after the envelopes are plotted, you
can edit the parameters of each band separately.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 464 for interpretation information on Envelopes.
Forecast Oscillator
The parameters for the Forecast Oscillator are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Time Periods. Enter the number of time periods to use when
calculating the indicator. The term "time periods" refers to days if the
chart contains daily data, weeks for weekly data, hours for hourly data,
etc.
Fourier Transform
The parameters for the Fourier Transform are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Interpreted. Choose this option if you want MetaStock Pro to interpret
the Fourier data and display the information in an easily understood
format.
Raw. Choose this option if you want MetaStock Pro to display the raw
(i.e., more detailed and complex) Fourier data.
If you select Raw, you will be prompted for the following additional
parameters:
Time Periods. Enter the number of time periods to analyze.
Sample Length. The Fourier Transform can group a number of data
values together and analyze them as a "set of sets." For example,
selecting 5 will group the data into sets of 5 periods. The maximum
value for the sample length is 1/4 the number of time periods loaded, but
the maximum useful sample length is around 5.
Price Field. Choose the price field (i.e., open, high, low, or close) to
use when calculating the Fourier Transform.
Method. Choose the type of analysis, either Amplitude (strength) or
Spectrum.
Smoothing. Choose the smoothing method to remove trends from the
data (normalization method). The choices are Detrend (linear regression)
and Mean (averaging) .
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 468 for interpretation information on Fourier Transform.
Inertia
The parameters for the Inertia indicator are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Time Periods. Enter the number of time periods to use when
calculating the indicator. The term "time periods" refers to days if the
chart contains daily data, weeks for weekly data, hours for hourly data,
etc.
RVI Periods. Enter the number of periods to use for the Relative
Volatility Index (RVI) which the Inertia indicator is based on.
Price Field. Choose the price field (i.e., open, high, low, or close) to use
when calculating the indicator.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 471 for interpretation information on the Inertia
indicator.
Klinger Oscillator
The parameters for the Klinger Oscillator are shown below. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Time Periods. Enter the number of time periods to use when calculating
the oscillator's signal line. The term "time periods" refers to days if the
chart contains daily data, weeks for weekly data, hours for hourly data,
etc.
Style. Choose the line style for the signal line. Note that the style for the
oscillator itself is changed from the Color/Style page of the Klinger
Oscillator Properties dialog.
Color. Choose the color for the signal line. Note that the color for the
oscillator itself is changed from the Color/Style page in the Klinger
Oscillator Properties dialog.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 474 for interpretation information on the Klinger
Oscillator.
MACD
The parameters for the MACD are shown below. You can edit the
parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
In order to maintain the mathematical integrity of the MACD as
prescribed by Gerald Appel, MetaStock Pro does not allow the time
periods in the MACD to be changed. The MACD is actually the
difference between 0.075 and 0.15 exponential moving averages. No
exact time periods (using whole numbers) correspond with these
percentages. If you want to plot an MACD-like indicator using moving
averages other than the ones recommended by Gerald Appel, use the
Price Oscillator (see page 191).
Signal Time Periods. Enter the number of time periods to use when
calculating the MACD's signal line. The term "time periods" refers to
days if the chart contains daily data, weeks for weekly data, hours for
hourly data, etc.
Style. Choose the line style for the signal line. Note that the style for
the MACD line itself is changed from the Color/Style page in the MACD
Properties dialog.
Color. Choose the color for the signal line. Note that the color for the
MACD line itself is changed from the Color/Style page of the MACD
Properties dialog.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 478 for interpretation information on the MACD.
Mass Index
The parameters for the Mass Index are shown below. These parameters
are specified at the time the indicator is plotted. You can edit the
parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Time Periods. Enter the number of time periods to use when
calculating the Mass Index. The term "time periods" refers to days if the
chart contains daily data, weeks for weekly data, hours for hourly data,
etc.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 481 for interpretation information on the Mass Index.
Median Price
There are no parameters for the Median Price.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 481 for interpretation information on the Median Price
indicator.
Momentum
The parameters for the Momentum indicator are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Time Periods. Enter the number of time periods to use when
calculating Momentum. The term "time periods" refers to days if the
Moving Average
The parameters for a moving average are shown below. These
parameters are specified at the time the moving average is plotted. You
can edit the parameters of an existing moving average by right-clicking
on the moving average and choosing Properties from the shortcut menu.
Time Periods. Enter the number of time periods to use when
calculating the moving average. The term "time periods" refers to days if
the chart contains daily data, weeks for weekly data, hours for hourly
data, etc.
Vertical Shift %. Enter the percentage to shift the moving average up
or down. For example, enter "10" to shift the moving average upward
by 10 percent; enter "-5" to shift the moving average downward by 5
percent.
Horizontal Shift. Enter the number of periods to shift the moving
average. For example, enter "5" to shift the moving average five periods
to the right; enter "-5" to shift the moving average five periods to the left;
etc.
Method. Choose the moving average calculation method (i.e., simple,
exponential, weighted, time series, triangular, variable, and volume
adjusted.
Price Field. Choose the price field (i.e., open, high, low, close, median
price, or typical price) to use when calculating the moving average. The
On Balance Volume
The parameters for the On Balance Volume are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Price Field. Choose the price field (i.e., open, high, low, or close) to
use when calculating the moving average.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 493 for interpretation information on On Balance
Volume.
Open Interest
There are no parameters for Open Interest. Note that your security files
must contain open interest in order to plot open interest.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 494 for interpretation information on the Open Interest.
Option Expiration
There are no parameters for the Option Expiration indicator.
Option Life
The parameters for the Option Life are shown below. These parameters
are specified at the time the indicator is plotted. You can edit the
parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Expiration Date. Enter the date the option contract expires. In the
USA this is usually the third Friday of the expiration month.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 495 for interpretation information on Option Life.
Option Volatility
There are no parameters for Option Volatility.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 496 for interpretation information on Option Volatility.
Performance
The parameters for the Performance are shown below. These parameters
are specified at the time the indicator is plotted. You can edit the
parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Price Field. Choose the price field (i.e., open, high, low, or close) to
use when calculating the Performance indicator.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 497 for interpretation information on the Performance
indicator.
Price Channel
The parameters for the Price Channel are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Time Periods. Enter the number of time periods to use when
calculating the indicator. The term "time periods" refers to days if the
chart contains daily data, weeks for weekly data, hours for hourly data,
etc.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 500 for interpretation information on the Price Channel.
Price Oscillator
The parameters for the Price Oscillator are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Short-term. Enter the number of time periods in the short-term moving
average.
Long-term. Enter the number of time periods in the long-term moving
average.
Method. Choose the moving average calculation method (i.e., simple,
exponential, weighted, time series, triangular, or variable).
Percent or Points. Choose the method to use when displaying the
relationship between the two moving averages. Choose Percent to see
the ratio (in percent) between the short- and long-term moving averages.
Choose Points to see the point difference.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 501 for interpretation information on the Price
Oscillator.
Projection Bands
The parameters for the Projection Bands are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Time Periods. Enter the number of time periods to use when
calculating the indicator. The term "time periods" refers to days if the
chart contains daily data, weeks for weekly data, hours for hourly data,
etc.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 504 for interpretation information on Projection Bands.
Projection Oscillator
The parameters for the Projection Oscillator are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
Qstick
The parameters for the Qstick indicator are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu. Note that the Qstick
requires open prices to calculate.
Time Periods. Enter the number of time periods to use when
calculating the indicator. The term "time periods" refers to days if the
chart contains daily data, weeks for weekly data, hours for hourly data,
etc.
Method. Choose the method used to calculate the moving average of
the difference between opening and closing prices.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 505 for interpretation information on the Qstick
indicator.
r-squared
The parameters for the r-squared indicator are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Time Periods. Enter the number of time periods to use when
calculating the indicator. The term "time periods" refers to days if the
chart contains daily data, weeks for weekly data, hours for hourly data,
etc.
Price Field. Choose the price field (i.e., open, high, low, or close) to
use when calculating the indicator.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 506 for interpretation information on the r-squared
indicator.
Range Indicator
The parameters for the Range Indicator are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Time Periods. Enter the number of time periods to use when
calculating the indicator. The term "time periods" refers to days if the
chart contains daily data, weeks for weekly data, hours for hourly data,
etc.
Smoothing Periods. Enter the number of periods to use when
smoothing the Range Indicator.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 509 for interpretation information on the Range
Indicator.
Spread
The parameters for the Spread indicator are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Security and Folder. Click the Browse button to select the security
with which to spread against the chart's base security. The selected
security is subtracted from the chart's base security.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 516 for interpretation information on the Spread
indicator.
Standard Deviation
The parameters for the Standard Deviation indicator are shown below.
These parameters are specified at the time the indicator is plotted. You
can edit the parameters of an existing plot by right-clicking on the
indicator and choosing Properties from the shortcut menu.
Time Periods. Enter the number of time periods to use when
calculating the Standard Deviation. The term "time periods" refers to
days if the chart contains daily data, weeks for weekly data, hours for
hourly data, etc.
Deviations. Enter the number of standard deviations by which to shift
the plot upward.
Price Field. Choose the price field (i.e., open, high, low, or close) to use
when calculating the Standard Deviation.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 516 for interpretation information on Standard
Deviation.
Stochastic Oscillator
The parameters for the Stochastic Oscillator are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
%K Time Periods. Enter the number of time periods used in the
stochastic calculation.
%K Slowing. Enter the number of time periods used in the internal
smoothing of the %K value. A value of 1 is considered a fast stochastic;
the default value of 3 is considered a slow stochastic.
%D Time Periods. Enter the number of time periods used in the
moving average of %K. This is plotted as a dotted line (default) on top
of %K.
%D Method. Choose the method (i.e., exponential, simple, weighted,
time series, triangular, or variable) used to calculate %D.
%D Style. Choose the line style (i.e., solid, dashed, etc.) used for the
%D.
%D Color. Choose the color used for the %D.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 522 for interpretation information on the Stochastic
Oscillator.
You may need to adjust the limit moves shown in the above table based
on the position of the decimal in your data files. For example, if the price
of corn is quoted as $3.45, the limit move would be $0.10. However, if
the price of corn is quoted as $345.00, the limit move would be $10.00.
If the security does not have a limit move (e.g., a stock or some futures),
we suggest you enter the maximum value allowed (i.e., $30,000).
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 525 for interpretation information on the Swing Index.
TEMA
The parameters for the TEMA indicator are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Time Periods. Enter the number of time periods to use when
calculating the TEMA indicator. The term "time periods" refers to days
if the chart contains daily data, weeks for weekly data, hours for hourly
data, etc.
Price Field. Choose the price field (i.e., open, high, low, or close) to use
when calculating the indicator.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 525 for interpretation information on the TEMA
indicator.
TRIX
The parameters for the TRIX are shown below. These parameters are
specified at the time the indicator is plotted. You can edit the parameters
of an existing plot by right-clicking on the indicator and choosing
Properties from the shortcut menu.
Time Periods. Enter the number of time periods to use when
calculating TRIX. The term "time periods" refers to days if the chart
contains daily data, weeks for weekly data, hours for hourly data, etc.
Price Field. Choose the price field (i.e., open, high, low, or close) to use
when calculating TRIX.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 532 for interpretation information on the TRIX
indicator.
Ultimate Oscillator
The parameters for the Ultimate Oscillator are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
First Cycle. Enter the number of time periods in the short-term cycle.
Second Cycle. Enter the number of time periods in the intermediate-
term cycle.
Third Cycle. Enter the number of time periods in the long-term cycle.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 533 for interpretation information on the Ultimate
Oscillator.
Volatility (Chaikin's)
The parameters for the Chaikin's Volatility indicator are shown below.
These parameters are specified at the time the indicator is plotted. You
can edit the parameters of an existing plot by right-clicking on the
indicator and choosing Properties from the shortcut menu.
Moving Average. Enter the number of time periods to use when
smoothing the differences between the high and low prices. The author
(Marc Chaikin) recommends a value of 10.
Volume
The parameters for the Volume indicator are shown below. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu. Note that your security files
must contain volume in order to plot volume.
Zero-Based. Check this box if you want the volume bars to be scaled
with a base of zero. If the box is unchecked, the volume is scaled using
the lowest volume bar as a base.
Some real-time data vendors do not provide volume with every tick. If
this is the case, MetaStock Pro will automatically assign a volume value
of "1" for every incoming tick. This allows you to see the number of
"ticks" that have come in during a specified period. For example, if the
volume on a 1-minute bar is 22, 22 trades came in during that minute.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 535 for interpretation information on Volume.
Volume Oscillator
The parameters for the Volume Oscillator are shown below. These
parameters are specified at the time the indicator is plotted. You can edit
the parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Short-term. Enter the number of time periods in the short-term moving
average.
Long-term. Enter the number of time periods in the long-term moving
average.
Method. Choose the moving average calculation method (i.e., simple,
exponential, weighted, time series, triangular, variable, or volume
adjusted).
Percent or Points. Choose the method to use when displaying the
relationship between the two moving averages. Choose Percent to see the
ratio (in percent) between the short- and long-term moving averages.
Choose Points to see the point difference.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 535 for interpretation information on the Volume
Oscillator.
Weighted Close
There are no parameters for Weighted Close.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 537 for interpretation information on the Weighted
Close indicator.
Wilder's Smoothing
The parameters for the Wilder's Smoothing indicator are shown below.
These parameters are specified at the time the indicator is plotted. You
can edit the parameters of an existing plot by right-clicking on the
indicator and choosing Properties from the shortcut menu.
Time Periods. Enter the number of time periods to use when
calculating the Wilder's Smoothing indicator. The term "time periods"
refers to days if the chart contains daily data, weeks for weekly data,
hours for hourly data, etc.
Price Field. Choose the price field (i.e., open, high, low, or close) to use
when calculating the Wilder's Smoothing indicator.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 537 for interpretation information on the Wilder's
Smoothing indicator.
Williams' %R
The parameters for the Williams' %R are shown below. These parameters
are specified at the time the indicator is plotted. You can edit the
parameters of an existing plot by right-clicking on the indicator and
choosing Properties from the shortcut menu.
Williams' Accumulation/Distribution
There are no parameters for Williams' Accumulation/Distribution.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 539 for interpretation information on Williams'
Accumulation/Distribution.
Zig Zag
The parameters for the Zig Zag are shown below. These parameters are
specified at the time the indicator is plotted. You can edit the parameters
of an existing plot by right-clicking on the indicator and choosing
Properties from the shortcut menu.
Price Field. Choose the price field (i.e., open, high, low, or close) to use
when calculating the Zig Zag.
Reversal Amount. Enter the amount that will cause a reversal. For
example, if you enter "5," a five percent move is required to cause a bend
(i.e., zig or zag) in the Zig Zag indicator.
Percent or Points. Choose the calculation method to use for the
reversal amount. Choose Percent if you want the Reversal Amount
calculated in percent. Choose Points if you want the Reversal amount
calculated in points.
See page 167 for information on the Color/Style and Horizontal Lines
pages. See page 539 for interpretation information on the Zig Zag
indicator.
You can select multiple A unique characteristic of line studies is that they can be copied along
plots by holding down with an indicator. For example, if you have a trendline drawn on an
the SHIFT key as you indicator, you can select both the indicator and trendline and drag them to
click. a new location.
To move (or copy) a line study
1. Position the mouse over the line study you want to move or copy.
2. Hold the CTRL key down (for copying only). Click and hold the left
mouse button and drag the line study to another location within the
inner window.
3. Release the mouse button.
4. Choose the desired option from the Scaling Options dialog (see page
156) and click OK.
If you want to quickly delete all line studies from a chart, choose Delete
All from the Edit menu (see page 109).
To delete a line study
1. Position the mouse on the desired line study.
2. Click the right mouse button.
3. Choose Delete from the shortcut menu.
To delete all line studies from a chart
1. Select the chart from which you want to delete the line studies.
2. Choose Delete All from the Edit menu. Click the Line Studies box
and click OK.
Andrews' Pitchfork
The parameters for Andrews' Pitchfork are shown below. You can edit
the parameters of an Andrews' Pitchfork that's already plotted by right-
clicking on it and choosing Andrews' Pitchfork Properties from the
shortcut menu.
First Date. This is the date/time of the first marked point.
First Value. This is the y-axis value of the first marked point.
Second Date. This is the date/time of the second marked point.
Second Value. This is the y-axis value of the second marked point.
Third Date. This is the date/time of the third marked point.
Third Value. This is the y-axis value of the third marked point.
See page 209 for information on the other controls in this page.
For general information on line studies, see page 205. For interpretation
information on Andrews' Pitchfork, see page 447.
Drawing Tips
The Andrews' Pitchfork line study requires that you mark three separate
points on your chart. The first point is usually a major peak or trough on
the left side of the chart. The second and third points are drawn at a
major peak and major trough to the right of the first point.
Cycle Lines
The parameters for Cycle Lines are shown below. You can edit the
parameters of Cycle Lines that are already plotted by right-clicking on
them and choosing Cycle Lines Properties from the shortcut menu.
Date. This is the date/time on which the dotted "reference" line is
drawn. The remaining cycle lines are drawn on either side of the
reference line at the specified spacing interval.
Spacing. This is the number of periods between cycle lines. The initial
spacing is set by positioning the mouse pointer at a starting point and
clicking and dragging the mouse until the lines are the desired distance
apart.
Show Lines in All Windows. Check this box if you want the cycle
lines to extend vertically across all inner windows within the chart.
For general information on line studies, see page 205. For interpretation
information on Cycle Lines, see page 458.
Drawing Tips
When drawing cycle lines, remember to click the mouse (don't release)
and drag to control the spacing of the cycle lines.
Fibonacci Arcs
You can edit the parameters of a Fibonacci Arc that's already plotted by
right-clicking on it and choosing Fibonacci Arcs Properties from the
shortcut menu.
See page 209 for information on the controls in this page. For general
information on line studies, see page 205. For interpretation information
on Fibonacci Arcs, see page 466.
Drawing Tips
Fibonacci Arcs are based on a trendline that you draw between a
significant trough and peak. If the trendline is rising, the arcs will point
upward; if the trendline is falling, the arcs will point downward.
Fibonacci Arcs are drawn to appear circular on the average screen
regardless of the number of periods displayed. This means the locations
at which the arcs cross the data will vary depending on the number of
periods displayed and the shape of the window; it also means that the
arcs may appear oblong on some laptop computers.
Fibonacci Retracements
You can edit the parameters of a Fibonacci Retracement that is already
plotted by right-clicking on it and choosing Fibonacci Retracements
Properties from the shortcut menu.
See page 209 for information on the controls in this page. For general
information on line studies, see page 205. For interpretation information
on Fibonacci Retracements, see page 466.
Show Retracement Labels. Check this box if you want the percent
labels to be displayed next to the retracement lines.
Drawing Tips
Fibonacci Retracements are based on a trendline that you draw between a
significant trough and peak. If the trendline is rising, the retracement
lines will project downward; if the trendline is falling, the retracement
lines will project upward.
The number of Fibonacci Retracement levels appearing on the chart
depends on the range of the y-axis. If you want to see all nine
retracement levels, you may need to manually adjust the minimum and
maximum values of the y-axis (see page 124).
Horizontal Line
The parameters for Horizontal Lines are shown below. You can edit the
parameters of a Horizontal Line that is already plotted by right-clicking
on it and choosing Horizontal Line Properties from the shortcut menu.
Value. This is the location on the y-axis of the horizontal line.
For general information on line studies, see page 205.
Drawing Tip
Look at the y-axis value on the status bar to help you position your
horizontal line at the desired position.
Rectangle
You can edit the parameters of a Rectangle that is already plotted by
right-clicking on it and choosing Rectangle Properties from the shortcut
menu.
See page 209 for information on the controls in this page. For general
information on line studies, see page 205.
Symbols
The Symbols Properties dialogs contains two pages--one for controlling
the size and color of the symbol, the other for specifying a label to attach
to the symbol.
For general information on line studies, see page 205.
To stamp a symbol on a chart
1. Choose Symbols from the Insert menu or text toolbar.
2. Click a symbol from the Symbol palette.
3. Position the mouse pointer where you want the symbol to appear on
the chart.
4. Click the mouse to stamp the symbol on the chart.
To remove the symbol palette from the screen
Click the Close button in the upper-right corner of the palette.
Symbol Page
The Symbol page is located in the Symbol Properties dialog. This dialog
is displayed by right-clicking on a symbol and choosing Symbol
Properties from the shortcut menu.
Color. Choose the color for the symbol. You can choose the default
color for all new symbols from the Line Studies page of the Default
Colors and Styles dialog (see page 170).
Size. Choose the size (i.e., small, medium, or large) for the symbol. You
can choose the default size for all new symbols from the Text/Symbols
page of the Default Colors and Styles dialog (see page 170).
Label Page
The Label attached to a Symbol and the Symbol itself make up one
object. So to edit a Symbol's label, you should right click on the Symbol,
choose Symbol Properties from the shortcut menu, and choose the Label
tab.
Label. Type the text to attach to the symbol.
Position. Choose whether you want the label to appear above or below
the symbol.
Font. This button displays the font dialog where you can change the font
style of the label. See page 171 for more information on fonts.
Deleting All Symbols
You can quickly delete all symbols (and arrows) from a chart by choosing
Delete All from the Edit menu. If you have enabled the "Confirm
Text
The parameters for Text are shown below. You can edit the Text
parameters by right-clicking on the text and choosing Text Properties
from the shortcut menu.
Text. Use this box to edit the text.
Font. This button displays the font dialog where you can change the font
style of the text. See page 171 for more information on fonts.
Anchor to Date. Check this box if you want the text to stay at the
specified x-axis position. If it is unchecked the text remains at the relative
screen position. For example, if the text was positioned at the center of
the chart, it remains at the center of the chart regardless of any scrolling,
resizing, etc.
Choose the Frame/Fill page to control the fill color of the boxed area
around the text or to change the color, style, and weight of the frame
around the text.
For general information on line studies, see page 205.
To write text on a chart
1. Choose Text from the Insert menu or text toolbar.
2. Position the mouse pointer where you want the text to appear on the
chart.
3. Click the mouse to display the text box and cursor. Begin typing.
You can press ENTER to write multiple lines.
4. Click the mouse outside the text box (or press CTRL+ENTER) to end
the writing and anchor the text.
Drawing Tip
The initial default font is controlled from the Default Color and Styles
dialog (see page 170).
Tirone Levels
The parameters for Tirone Levels are shown below. You can edit the
parameters of Tirone Levels that are already plotted by right-clicking on
them and choosing Tirone Levels Properties from the shortcut menu.
Midpoint or Mean. Choose the calculation method for the Tirone
Levels. The Midpoint method displays three lines that divide the highest
high and lowest low of the range into symmetrical segments. The Mean
Trendline
You can edit the parameters of a Trendline that is already plotted by right-
clicking on it and choosing Trendline Properties from the shortcut menu.
See page 209 for information on the controls in this page.
For general information on line studies, see page 205. For interpretation
information on trendlines, see page 529.
Trendline By Angle
The parameters for Trendline By Angle are shown below. You can edit
the parameters of a Trendline By Angle that is already plotted by right-
clicking on it and choosing Trendline By Angle Properties from the
shortcut menu.
Angle. This is the angle (in degrees) of the trendline.
See page 209 for information on the other controls in this page. For
general information on line studies, see page 205. For interpretation
information on trendlines, see page 529.
Drawing Tip
When using the Trendline by Angle line study, the angle of the trendline
is shown and continually updated on the status bar (see page 27).
Triangle
The parameters for a Triangle are shown below. The Triangle line study
requires that you mark three separate points on your chart. You can edit
the parameters of an Triangle that's already plotted by right-clicking on it
and choosing Triangle Properties from the shortcut menu.
First Date. This is the date/time of the first marked point.
Vertical Line
The parameters for Vertical Lines are shown below. You can edit the
parameters of a Vertical Line that is already plotted by right-clicking on it
and choosing Vertical Line Properties from the shortcut menu.
Date. This is the date/time on which the vertical line is drawn.
Show In All Windows. Check this box if you want the vertical line to
extend across all inner windows in the chart.
For general information on line studies, see page 205.
Drawing Tips
Look at the date on the status bar to help you position your vertical line at
the desired position.
The inner window in which the vertical line is displayed is determined by
where the vertical line was dropped (i.e., the inner window the mouse
pointer was in).
Internet Integration
The Internet can be a useful source of information, if you know where to
look. MetaStock Pro is seamlessly integrated with the Internet, providing
instant access to many exclusive resources that help you make more
informed trading decisions.
Some of the many things you can do with MetaStock Pro and the Internet
are:
• Collect data from an online data vendor using DataOnDemand™
• Collect local data from an end-of-day vendor
• E-mail a bitmap graphic of a chart directly from MetaStock Pro
• Save the active chart as an HTML document
• Request a current intraday quote for the active chart
• Read current company news for the active chart
• Research fundamental information for the active chart
• Display option chains for the active chart
• Launch the Equis International home page
• Learn about technical analysis with the online version of Technical
Analysis from A to Z
• Find a MetaStock user group in your area
• Get help from Equis technical support
• Update MetaStock Pro automatically.
…and more.
Many of these Internet resources are accessed from your chart's shortcut
menu. To access information relevant to your current chart, right-click
the background of the chart. Sharing your charts with others through e-
mail or HTML is done through the File menu. Other Internet resources
are available by choosing Equis on the Web from the Help menu.
The prices shown are based on a 20-minute delayed intraday price quote.
To view company news for this security, you may choose the News link
from this page.
Select Equis Home Page from the Equis on the Web menu to launch the
main Equis International web site.
Choose Technical Analysis from A to Z to read the online version of this
book by the founder of Equis, Steve Achelis.
Choose Free Investment Services to view a list of free resources available
at www.equis.com.
Choose Investment Products from the Equis on the Web menu to learn
more about the family of products available from Equis International.
Choose Equis Customer Resources to find a MetaStock Users Group in
your area, check the Equis Events calendar for investment-related events
in your area, read the quarterly Equis newsletter, find other investment-
related web sites, or locate MetaStock-compatible data vendors.
Choose Latest Files to view a list of the free downloads and patches
available for Equis products.
The Equis Technical Support staff is available through the Internet.
Choose Technical Support from the Equis on the Web menu.
Select Reuters Money Network to launch the Reuters MoneyNet web site
where you can manage your portfolio, read category and market news,
view quotes and charts, and more.
The Indicator Builder will be used in this chapter to teach the MetaStock
formula language. For specific tutorials on each of the four formula-
based tools, refer to their specific chapters.
For information on the Equis Solution Provider program and the
MetaStock developers Kit, go to www.equis.com.
stdev( volume, 20 )
Mathematical Operators
Mathematical operators are the "glue" that binds formulas. Formulas can
contain the following mathematical operators. (They also can contain
advanced operators such as square root, as explained later.)
+ Addition
- Subtraction (or negative)
* Multiplication
/ Division
The following formulas illustrate the use of operators (bolded) in a
formula:
( H + L ) / 2
mov(c,10,s)-mov(c,20,s) / (h + l + c)
Operator Precedence
Parentheses were used in many of the preceding formulas in this chapter to
control the operation precedence (the order in which the operators are
Formula Functions
In addition to the four mathematical operators, MetaStock Pro contains
over 200 "functions" that perform mathematical operations. See page 252
for a complete listing of all built-in functions.
The following formula consists of a single function that plots the square
roots of the closing prices. The names of the actual functions in the
following examples are in bold.
sqrt( CLOSE )
The following formula consists of a single function that plots a 14-period
RSI indicator.
rsi(14)
The following formula consists of a single function that plots a 10-period
simple moving average.
mov(c,10,s)
The following formula consists of two functions. The result is the
difference between the MACD indicator and a 9-period exponential
moving average of the MACD.
macd()- mov(macd(),9,exponential)
Function Parameters
Parameters provide a function the necessary information required to
calculate. For example, the sqrt() function requires a single "parameter"
within the parentheses. Other functions, such as macd(), do not require
any parameters. Others, like the Volume Oscillator require four
parameters.
The following formula calculates a 14-period Money Flow Index. The
actual parameters are in bold in the following examples.
mfi(14)
Some functions require multiple parameters within the parentheses. For
example, the moving average function (shown below) requires three
parameters.
mov(rsi(14),30,simple)
In the above formula, the parameters instruct MetaStock Pro to calculate
a 30-period simple moving average of a 14-period RSI. Note that
another function (i.e., rsi(14) ) serves as one of the parameters.
If you forget to insert the proper parameter, MetaStock Pro will display a
window reminding you of the expected parameter.
mov
The cursor will be positioned after the "mov" function name and the
message "A '(' must immediately follow a function name" will be
displayed.
2. Now add an opening parenthesis
mov(
This time, the cursor will be positioned after the "(" and the message
"Price array (e.g., HIGH, LOW, CLOSE, etc.) or function expected"
will be displayed.
3. Enter the price array identifier "CLOSE."
mov(CLOSE
Inserting Functions
The preceding section explained how MetaStock Pro helps you correct
syntax errors within formulas. This section explains how MetaStock Pro
can help you remember (and enter) the 200+ functions.
Clicking the Functions button while editing a formula displays the Paste
Functions dialog. This dialog lists the categories of the available
functions on the left-hand side and the function names within the category
on the right-hand side.
Writing Comments
When writing long, complex formulas, it is helpful to make comments
throughout the formula to describe what is going on. Experienced
programmers will attest to the fact that the prudent use of comments
makes programming code much easier to debug and work with.
Comments can be entered in a formula by surrounding them with "{" and
"}" braces. The following formula contains two comments (shown in
bold).
macd() {the MACD times} * ((H+L+C) / 3) {the
average price}
Note that comments within comments will cause an error message to be
displayed.
Nesting Functions
As has been eluded to in earlier examples, a function can be "nested"
within a function. The nested function can serve as the main function's
data array parameter. The following examples show functions nested
within functions. The nested functions are in bold.
stdev( stoch(5,3), 10 )
mov( rsi(15), 10, SIMPLE)
mov( mov( rsi(15), 20, W), 10, SIMPLE)
If the 14-period RSI is greater than 70, then this formula will evaluate to
"true" and return the number 1. If it is below 70, the formula will
evaluate to "false" and return the number 0. This is done without the if()
function being used. The formula below uses the if() function and will
return the same results, but it is longer.
if(rsi(14) > 70, 1, 0 )
Performance Tips
• Use Tick or 1-minute data for optimum results when plotting an
indicator on a chart which references online intraday securities.
Intervals higher than 1-minute must be compressed before the
indicator can be recalculated, which slows calculation time.
• The Live Bars option found on the Real-time page of Application
Properties (see page 36) causes all indicators on a chart to recalculate
with each incoming tick. The Security Data function is particularly
slow when this option is enabled. Disabling this option will cause all
indicators, including the Security Data function, to recalculate only
when the full bar has been completed.
• Retrieving data from an online source is slower than referencing data
in a local data file. Any formula using the Security Data function to
Naming of Variables
The following rules apply to the naming of variables:
• Variable names cannot contain commas, parenthesis, spaces,
underscores, etc.
• Variable names cannot duplicate names already used by functions
(e.g., mov, rsi, cci, if, etc.).
• A variable cannot be assigned a name that matches the parameters
reserved for use in formulas (e.g., open, high, low, close, simple, o, c,
l, h, s, e, w, etc.).
The following would produce an error, since the letter "s" is reserved
for the moving average function, mov(), to mean "simple."
s:= (h+l+c)/3;
• Variable names must contain at least one alpha letter (e.g., T1234).
• Variable names are not case sensitive (e.g., "PERIODS" is the same
as "periods").
Support:= (If(Abs((Trough(1,L,1)-
trough(2,L,1))/Trough(2,L,1))<.015 AND
Abs((Trough(2,L,1)-
Resistance:= (If(Abs((Peak(1,H,1)-
Peak(2,H,1))/Peak(2,H,1))<.015 AND Abs((Peak(2,H,1)-
Peak(3,H,1))/Peak(3,H,1))<.015,
{then}(Peak(1,H,1)+Peak(2,H,1)+Peak(3,H,1))/3,0));
Support <> 0 and Resistance <> 0 and close >= Support
and close <= Resistance
Note that you could also create individual custom indicators named
"support" and "resistance" to do the calculations. (See page 242 for more
information on using the fml() function.) These custom indicators could
then be called using the fml() function as follows:
fml("support") <> 0 and fml("resistance") <> 0 and
close >= fml("support") and close <= fml("resistance")
However, using variables is generally more desirable than using the fml()
function for several reasons—the most important being calculation speed
and self-containment (i.e., the entire function can be read and edited in
one place).
Formula Tips
General
The two most important "formula tips" have already been mentioned: (1)
use the Paste Formula dialog (see page 239) and (2) click OK when
entering a formula to check its syntax (see page 238).
Multiple Indented Lines
When writing long custom indicators, you should try to use multiple lines
and consistent indentation for ease of reading. You can indent a line of
the formula by typing CTRL+TAB. For example, the formula…
cum(if(close > ref(close,-1),+V, if(close <
ref(close,-1),-V,0)))
is easier to read on multiple indented lines as follows:
cum(
if(close > ref(close,-1),
+v,
if(close < ref(close,-1),
-v,
0))
)
Upper versus Lower-case Characters
The case used when entering formulas does not matter (e.g., "c" and "C"
are treated the same). When MetaStock Pro checks for syntax errors, it
automatically modifies the case to make the formula easier to read. The
case within comments is not altered.
Comments
The prudent use of comments makes formulas easier to read.
(Remember, comments are any text enclosed in braces, i.e., {}.)
You can use comments while developing formulas to "comment out"
sections of the formula. For example, the second half of the following
formula has been commented out so the first half can be tested. After the
first half of the formula has been tested, you can remove the comments
and test the entire formula.
( mov(fml("MA1"),10,S) / fml("MA2") ) { * stoch(5,3) }
Glossary
This glossary defines the terms used with the MetaStock formula
language. Understanding (or remembering) these terms is not required,
however, adding these terms to your vocabulary will make discussion
easier with other MetaStock analysts.
COMMENT: Text within a formula that is not part of the formula. A
comment must be surrounded by the characters { and }.
Functions
The following list of functions can be used to create custom indicators
(see page 299), explorations (see page 369), system tests (see page 319),
and experts (see page 397).
Candlestick functions begin on page 288.
Some of the pattern finding functions (i.e., Inside, Outside, Rally, and
Reaction) are based on information provided in the pamphlet Using the
Volume Reversal Survey in Market Analysis by Mark A. Leibovit (520-
282-1275).
Simulation Functions
New as of version 8.0, these functions let you use values that occur in a
system test simulation to determine rules for buying and selling. For
example, if you want the simulation to place a Sell Order when the equity
dips below 5,000, you could write:
Note that these functions only work in the Buy Order, Sell Order, Sell
Short Order and Buy to Cover Order rules in the Enhanced System Tester
Dialog. Also, the CurrentPosition simulation functions only work in the
Sell Order and Buy to Cover rules.
Standard Functions
Absolute Value
SYNTAX abs( DATA ARRAY )
FUNCTION Calculates the absolute value of the DATA
ARRAY.
EXAMPLE The formula "abs( -10 )" will return +10; the
formula "abs( 10 )" also returns +10.
Accumulation/Distribution
SYNTAX ad()
Addition
SYNTAX add( DATA ARRAY, DATA ARRAY )
FUNCTION Adds the two parameters together.
EXAMPLE The formula "add( H, 10.7 )" adds 10.7 to the
high prices (this formula also could be written
as "H + 10.7").
SEE ALSO The sub() function (see page 281).
Alert
SYNTAX alert( EXPRESSION, PERIODS )
FUNCTION Extends a "true" result of EXPRESSION for
the specified number of periods. This true
result is held true over the number of periods
specified even if a "false" result is generated.
EXAMPLE alert( cross(rsi(14),70),5 )
SEE ALSO See page 366 for information on using the
Alert function within a system test.
Arc Tangent
SYNTAX atan( Y DATA ARRAY, X DATA ARRAY )
FUNCTION Returns the arc tangent of Y/X. The value is
returned in degrees from 0 to 359.9. The
degrees are returned as shown below:
Aroon Down
SYNTAX aroondown( PERIODS )
Aroon Up
SYNTAX aroonup( PERIODS )
FUNCTION Calculates the Aroon Up component of the
Aroon indicator.
EXAMPLE aroonup( 14 )
Bars Since
SYNTAX barssince( DATA ARRAY )
FUNCTION Calculates the number of bars (time periods)
that have passed since DATA ARRAY was
true.
Buying Pressure
SYNTAX buyp()
FUNCTION Calculates the buying pressure component
of the Demand Index (see page 459).
Buying pressure is a measurement of the
amount of volume related to buying.
Ceiling
SYNTAX ceiling( DATA ARRAY )
FUNCTION Calculates the lowest integer that is greater
than DATA ARRAY.
EXAMPLE The formula "ceiling( 7.2 )" returns 8; the
formula "ceiling(-7.2)" returns -7.
SEE ALSO The floor() function (see page 260); the int()
function (see page 265).
Correlation Analysis
SYNTAX correl( INDEPENDENT,
DEPENDENT,PERIODS, SHIFT)
FUNCTION Calculates the predefined Correlation
indicator. Compares the correlation of
DEPENDENT to INDEPENDENT over
PERIODS time periods, after shifting
DEPENDENT to the right SHIFT-periods.
EXAMPLE The formula "correl( macd(), CLOSE, 5, 10 )"
compares the MACD indicator to the closing
price 10-periods in the future, after
statistically averaging each data array over
the preceding 5-periods.
SEE ALSO The tsf() function (see page 282); the stdev()
function (see page 280).
Cosine
SYNTAX cos( DATA ARRAY )
Cross
SYNTAX cross( DATA ARRAY 1, DATA ARRAY 2 )
FUNCTION Plots a "+1" on the day that DATA ARRAY 1
crosses above DATA ARRAY 2. Otherwise,
"0" is plotted.
Cumulate
SYNTAX cum( DATA ARRAY )
FUNCTION Calculates a cumulative sum of the DATA
ARRAY from the first period in the chart.
EXAMPLE The formula "cum( 1 )" calculates an
indicator that rises one point for each day
since the beginning of the chart; the formula
"cum( C )" calculates the cumulative total of
all closing prices from the beginning of the
chart.
SEE ALSO The sum() function (see page 281).
Day Of Month
SYNTAX dayofmonth()
FUNCTION Plots the day of the month. If today was July
15th, "15" would be plotted.
Day Of Week
SYNTAX dayofweek()
FUNCTION Plots the day of the week. 1=Monday,
2=Tuesday, 3=Wednesday, 4=Thursday,
5=Friday, 6=Saturday, 7=Sunday.
Delta
SYNTAX delta( TYPE, DATE, PRICE, INTEREST,
DIVIDEND )
FUNCTION Calculates the predefined Delta indicator.
See the option() function (page 273) for a
description of the parameters used in the
delta() function.
Dema
SYNTAX dema( DATA ARRAY, PERIODS )
FUNCTION Calculates the predefined DEMA indicator
EXAMPLE dema( c,14 )
SEE ALSO The tema() function (see page 282).
Demand Index
SYNTAX di()
FUNCTION Calculates the predefined Demand Index.
Divergence
SYNTAX divergence( DATA ARRAY 1, DATA ARRAY
2, % MINIMUM CHANGE )
Division
SYNTAX div( DATA ARRAY, DATA ARRAY )
FUNCTION Divides the first parameter by the second.
Division by zero produces a result of zero.
EXAMPLE The formula "div( 10, 2 )" returns 5 (this
formula also could be written as "10 / 2").
SEE ALSO The mul() function (see page 272).
Ease of Movement
SYNTAX emv(PERIODS, METHOD)
FUNCTION Calculates a PERIODS moving average of
the Ease of Movement value using METHOD
calculation method. Valid methods are
SIMPLE, EXPONENTIAL, WEIGHTED,
TIMESERIES, TRIANGULAR, and
VARIABLE. (These can be abbreviated as
S, E, W, T, TRI, and VAR.)
Exponent
SYNTAX exp( DATA ARRAY )
FUNCTION Calculates e raised to the DATA ARRAY
power.
SEE ALSO The log() function (see page 267).
External Formula
SYNTAX ExtFml("DLL NAME.FUNCTION
NAME",argument 1,…,argument n)
FUNCTION Returns the values of the function contained
in an MSX DLL. This is only available if an
MSX DLL is present.
EXAMPLE ExtFml("MyDLL.MyFunction",close) would
reference a function called MyFunction
contained in the MSX DLL called MyDLL,
and use the closing price of the security in its
calculation.
Floor
SYNTAX floor( DATA ARRAY )
FUNCTION Calculates the highest integer that is less
than DATA ARRAY.
EXAMPLE The function "floor( 13.9 )" returns 13. The
formula "floor( -13.9 )" returns -14.
SEE ALSO The ceiling() function (see page 255); the
int() function (see page 265).
Formula Call
SYNTAX fml("FORMULA_NAME" )
FUNCTION Calculates the value of another formula. The
formula can be referenced using the
FORMULA_NAME in quotes.
Fraction
SYNTAX frac( DATA ARRAY )
FUNCTION Eliminates the integer portion of DATA
ARRAY and returns the fractional part.
Gamma
SYNTAX gamma( TYPE, DATE, PRICE, INTEREST,
DIVIDEND )
FUNCTION Calculates the predefined Gamma indicator.
See the option() function (page 276) for a
description of the parameters used in the
gamma() function.
EXAMPLE gamma( EC, 961220, 125, 7.50, 4.75 )
SEE ALSO The delta() function (see page 257); the life()
function (see page 272) ; the option()
function (see page 276); the theta() function
(see page 282); the vega() function (see
page 284); and the volo() function (see page
285).
Gap Down
SYNTAX gapdown()
FUNCTION Plots a "+1" on the day a security's prices
gap down. Otherwise a "0" is plotted. A gap
down occurs if yesterday's low is greater
than today's high.
Gap Up
SYNTAX gapup()
FUNCTION Plots a "+1" on the day a security's prices
gap up. Otherwise a "0" is plotted. A gap up
occurs if yesterday's high is less than
today's low.
Highest
SYNTAX highest( DATA ARRAY )
FUNCTION Calculates the highest value in the DATA
ARRAY since the first day loaded in the
chart.
EXAMPLE The formula "highest( rsi(14) )" returns the
highest Relative Strength Index value since
the first day loaded in the chart ; "highest (
close )" returns the highest closing price
since the first day loaded in the chart.
Highest Since
SYNTAX highestsince ( Nth, EXPRESSION, DATA
ARRAY )
FUNCTION Returns the highest value of DATA ARRAY
since the Nth most recent occurrence of
EXPRESSION was true. This includes all
data loaded in the chart.
EXAMPLE The formula "highestsince( 2,
cross(c,mov(c,10,s), close )" returns highest
value of the close since the second most
Hour
SYNTAX hour()
FUNCTION On an intraday chart, plots the number of
hours that have passed during the day using
a 24 hour clock. For example, if the current
time is recorded as 13:15:22, the hour()
function will return "13" .
If
SYNTAX if( DATA ARRAY > >= < <= <> = DATA
ARRAY, THEN DATA ARRAY, ELSE DATA
ARRAY )
FUNCTION A conditional function that returns the second
parameter (THEN) if the conditional
expression defined by the first parameter is
true; otherwise, the third parameter is
returned (ELSE).
EXAMPLE The formula "if(1<2,3,4)" will always return
the value three.
SEE ALSO The On Balance Volume example (see page
310); The Indicator Builder Tutorial (see
page 300). For more details on using the if()
function, see page 241.
Inertia
SYNTAX inertia( REGRESSION PERIODS, RVI
PERIODS)
Input
SYNTAX input( "PROMPT TEXT", MINIMUM VALUE,
MAXIMUM VALUE, DEFAULT VALUE)
FUNCTION This function instructs MetaStock Pro to
prompt for input when a custom indicator is
plotted. This function is only supported by
the Custom Indicator Builder.
Inside
SYNTAX inside()
FUNCTION Plots a "+1" when an inside day occurs. An
inside day occurs when today's high is less
than yesterday's high and today's low is
greater than yesterday's low. A range is
determined by the first Inside Day and is only
broken by a Rally, Reaction, or Outside day.
Integer
SYNTAX int( DATA ARRAY )
FUNCTION Removes the fractional portion of DATA
ARRAY and returns the integer part.
EXAMPLE The formula "int( 10.7 )" returns 10; the
formula "int(-19.8 )" returns -19.
IsDefined()
SYNTAX isdefined(DATA ARRAY)
FUNCTION Returns 1 if all data necessary to calculate
the formula is available, 0 if not.
EXAMPLE The formula "isdefined(mov(c,20,s))"
will return a 0 if there are less than 20
periods of data loaded in the chart.
IsUndefined()
SYNTAX isundefined(DATA ARRAY)
Klinger Oscillator
SYNTAX kvo()
FUNCTION Calculates the predefined Klinger Oscillator.
EXAMPLE The formula "kvo()" returns the value of the
Klinger Oscillator (i.e., the solid line). The
formula "mov(kvo(),13,E)" returns the value
of the KVO's trigger line (i.e., the dotted line).
Logarithm (natural)
SYNTAX log( DATA ARRAY )
FUNCTION Calculates the natural logarithm of DATA
ARRAY.
SEE ALSO The exp() function (see page 260).
Lowest
SYNTAX lowest( DATA ARRAY )
FUNCTION Calculates the lowest value in the DATA
ARRAY since the first day loaded in the
chart.
EXAMPLE The formula "lowest( rsi(14) )" returns the
lowest Relative Strength Index value since
the first day loaded in the chart; "lowest (
close )" returns the lowest closing price since
the first day loaded in the chart.
SEE ALSO The hhv() function (see page 263); the llv()
function (see page 268); the highest()
function (see page 262).
Lowest Since
SYNTAX lowestsince ( Nth, EXPRESSION, DATA
ARRAY )
FUNCTION Returns the lowest value of DATA ARRAY
since the Nth most recent occurrence of
EXPRESSION was true. This includes all
data loaded in the chart.
EXAMPLE The formula "lowestsince( 2,
cross(c,mov(c,10,s), close )" returns lowest
value of the close since the second most
recent occurrence of the close crossing
above its 10-day moving average.
MACD
SYNTAX macd()
FUNCTION Calculates the predefined MACD indicator.
EXAMPLE The formula "macd()" returns the value of the
MACD indicator (i.e., the solid line). The
formula "mov(macd(),9,E)" returns the value
of the MACD's signal line (i.e., the dotted
line).
Mass Index
SYNTAX mass( PERIODS )
FUNCTION Calculates the predefined Mass Index.
EXAMPLE mass( 25 )
Maximum
SYNTAX max( DATA ARRAY, DATA ARRAY )
FUNCTION Returns the largest of the two parameters.
EXAMPLE The formula "max( CLOSE, 10 )" returns
either the closing price or 10, whichever is
greater. The formula "max(-14, 13)" always
returns 13.
Median Price
SYNTAX mp()
FUNCTION Calculates the predefined Median Price
indicator.
SEE ALSO The typ() function (see page 283).
Midpoint
SYNTAX mid( DATA ARRAY, PERIODS )
FUNCTION Returns the midpoint of the DATA ARRAY
over the specified time PERIOD. The
midpoint is the value halfway between the
highest and lowest DATA ARRAY values
during the specified PERIOD.
Minimum
SYNTAX min( DATA ARRAY, DATA ARRAY )
FUNCTION Returns the smallest of the two parameters.
EXAMPLE The formula "min( CLOSE, 10 )" returns the
closing price or 10, whichever is less. The
formula "min(-14, 13)" always returns -14.
SEE ALSO The max() function (see page 269).
Modulus
SYNTAX mod( DATA ARRAY, DATA ARRAY )
FUNCTION Calculates the remainder (i.e., the fractional
portion) of DATA ARRAY divided by DATA
ARRAY. A division by zero produces a zero
result.
EXAMPLE The formula "mod( 10, 3 )" returns 1.0; the
formula "mod( -10.7, 3 )" returns -1.7. You
could write an equivalent formula as "-10.7 -
(int(-10.7 / 3) * 3)."
Momentum
SYNTAX mo( PERIODS )
FUNCTION Calculates the predefined Momentum
indicator.
EXAMPLE mo( 12 )
Month
SYNTAX month()
FUNCTION Plots the month of the year for the price. If a
bar was plotted on 10/15/96, "10" would be
plotted.
Moving Average
SYNTAX mov( DATA ARRAY, PERIODS, METHOD)
FUNCTION Calculates a PERIODS moving average of
DATA ARRAY using METHOD calculation
method.
Multiplication
SYNTAX mul( DATA ARRAY, DATA ARRAY )
FUNCTION Calculates DATA ARRAY multiplied by
DATA ARRAY.
EXAMPLE The function "mul( CLOSE, 2)" returns the
closing price multiplied by two. (This function
also could be written as "C * 2.")
SEE ALSO The div() function (see page 259).
Negative
SYNTAX neg( DATA ARRAY )
FUNCTION Calculates the negative of DATA ARRAY.
EXAMPLE The formula "neg( 10 )" returns -10; the
formula "neg( -12 )" returns +12. This
formula also could be written "-(-12)."
On Balance Volume
SYNTAX obv()
FUNCTION Calculates the predefined On Balance
Volume indicator.
SEE ALSO The example formula (see page 310).
Option Expiration
SYNTAX optionexp()
FUNCTION Calculates the predefined Next Option
Expiration indicator.
SEE ALSO The Option Life function (see page 272).
Option Life
SYNTAX life( EXPIRATION DATE )
FUNCTION Calculates the predefined Option Life
indicator.
Outside
SYNTAX outside()
FUNCTION Plots a "+1" when an outside day occurs. An
outside day occurs when today's high is
greater than yesterday's high and today's low
is less than yesterday's low. A range is
determined by the first Outside Day and is
only broken by a Rally, Reaction, or Inside
day.
Parabolic SAR
SYNTAX sar( STEP, MAXIMUM )
FUNCTION Calculates the predefined Parabolic SAR
indicator.
EXAMPLE sar( 0.02, 0.20 )
Peak Value
SYNTAX peak( Nth, DATA ARRAY, % MINIMUM
CHANGE )
FUNCTION Plots the value of DATA ARRAY Nth peak(s)
ago. This uses the Zig Zag function (see
page 539) to determine the peaks. N=1
would return the value of the most recent
peak. N=2 would return the value of the 2nd
most recent peak. Etc.
EXAMPLE peak(1,close,5)
Power
SYNTAX power( DATA ARRAY, POWER )
FUNCTION Calculates DATA ARRAY raised to the
POWER power. A negative DATA ARRAY
value raised to a non-integer POWER
causes an error message to be displayed.
EXAMPLE The formula "power( 10, 3 )" returns 1,000.
Precision
SYNTAX prec( DATA ARRAY, PRECISION )
FUNCTION Truncates DATA ARRAY to PRECISION
decimal places.
EXAMPLE The formula "prec( 10.12981, 2 )" returns
10.120. The formula "prec( 10.12981, 4 )"
returns 10.12980. Small binary rounding
errors may cause some minor distortion in
the decimal portion of any number stored in
a computer.
Price Oscillator
SYNTAX oscp( PERIODS, PERIODS, MA_METHOD,
DIFF_METHOD )
FUNCTION Calculates the PERIODS/PERIODS
predefined Price Oscillator indicator
calculated using the MA_METHOD moving
average method expressed in
DIFF_METHOD.
Projection Oscillator
SYNTAX Projosc( REGRESSION PERIODS,
SLOWING PERIODS )
FUNCTION Calculates the predefined Projection
Oscillator.
EXAMPLE projosc( 21,3 )
Put/Call Price
SYNTAX option( TYPE, DATE, PRICE, INTEREST,
DIVIDEND )
FUNCTION Calculates the predefined Put/Call Price
indicator.
EXAMPLE The formula "option( EC, 961231, 125, 8.5,
6.31 )" calculates the fair market value of an
equity call that matures on December 31,
1996, at a strike price of $125. The current
market interest rates are 8.5% and the
security paid an annual dividend of $6.31.
Qstick
SYNTAX qstick( PERIODS )
FUNCTION Calculates the predefined Qstick indicator.
EXAMPLE qstick( 21 )
r-squared
SYNTAX rsquared( DATA ARRAY, PERIODS )
FUNCTION Calculates the predefined Rsquared
indicator.
EXAMPLE rsquared( c, 21 )
Rally
SYNTAX rally()
FUNCTION Plots a "+1" when a rally day occurs.
Otherwise, a "0" is plotted. A rally day
occurs when today's high is greater than the
previous rally day's high and today's low is
greater than or equal to the previous rally
day's low.
Range Indicator
SYNTAX rangeindicator( PERIODS, SMOOTHING
PERIODS )
FUNCTION Calculates the predefined Range Indicator.
EXAMPLE rangeindicator( 10,3 )
Rate of Change
SYNTAX roc( DATA ARRAY, PERIODS,
DIFF_METHOD )
FUNCTION Calculates the PERIODS rate-of-change of
DATA ARRAY expressed as
DIFF_METHOD.
Reaction
SYNTAX reaction()
FUNCTION Plots a "+1" when a reaction day occurs.
Otherwise, a "0" is plotted. A reaction day
occurs when today's high is less than or
equal to the previous reaction day's high and
today's low is less than the previous reaction
day's low.
Reference
SYNTAX ref( DATA ARRAY, PERIODS )
FUNCTION References a previous or subsequent
element in a DATA ARRAY. A positive
PERIOD references "n" periods in the future;
Round
SYNTAX round( DATA ARRAY )
FUNCTION Rounds DATA ARRAY to the nearest
integer.
EXAMPLE The formula "round( +10.5 )" returns +11.
The formula "round( -10.4 )" returns -10.
SEE ALSO The ceiling() function on page 255; the floor()
function on page 260; the int() function on
page 265.
Security Data
SYNTAX security("SYMBOL",DATA ARRAY)
FUNCTION Returns the value of DATA ARRAY for the
specified security. If the security is in the
same folder as the base security, a path is
not required. You may also specify online
data by using ONLINE: as the path.
EXAMPLES security("c:\MetaStock Data\Sample\IBM",C)
security("ONLINE:IBM",C)
security("IBM",C)
Sine
SYNTAX sin( DATA ARRAY )
FUNCTION Returns the sine of DATA ARRAY. This
function assumes that the DATA ARRAY
values are in degrees.
EXAMPLE You can plot a sine wave using the formula
"sin(cum(5))." Increasing the value in this
formula (i.e., "5") will increase the frequency
of the sine wave.
SEE ALSO The atan() function (see page 253); the cos()
function (see page 256).
Square Root
SYNTAX sqrt( DATA ARRAY )
FUNCTION Calculates the square root of DATA ARRAY.
The square root of a negative number always
returns a zero result.
EXAMPLE The formula "sqrt( 16 )" returns 4.
SEE ALSO The Standard Deviation example formula
(31008).
Standard Deviation
SYNTAX stdev( DATA ARRAY, PERIODS )
FUNCTION Calculates the predefined Standard
Deviation indicator.
EXAMPLE stdev( CLOSE, 21 )
Standard Error
SYNTAX ste( DATA ARRAY, PERIODS )
FUNCTION Calculates the predefined Standard Error
indicator.
EXAMPLE ste( CLOSE, 21 )
Stochastic Oscillator
SYNTAX stoch( %K PERIODS, %K SLOWING )
FUNCTION Calculates the predefined Stochastic
Oscillator.
EXAMPLE The formula "stoch( 5, 3 )" returns the value
of a 5-period %K slowed 3-periods.
SEE ALSO The Stochastic example formula (see page
311).
Subtraction
SYNTAX sub( DATA ARRAY, DATA ARRAY )
FUNCTION Calculates DATA ARRAY minus DATA
ARRAY.
EXAMPLE The formula "sub( 10, 2 )" returns eight.
(This formula also could be written as "10 -
2.")
SEE ALSO The add() function (see page 253).
Summation
SYNTAX sum( DATA ARRAY, PERIODS )
FUNCTION Calculates a cumulative sum of the DATA
ARRAY for the specified number of lookback
PERIODs (including today).
EXAMPLE The formula "sum( CLOSE, 12 )" returns the
sum of the preceding 12 closing prices. A
12-period simple moving average could be
written "sum(C,12) / 12."
SEE ALSO The cum() function (see page 257).
Swing Index
SYNTAX swing( LIMIT MOVE )
Tema
SYNTAX tema( DATA ARRAY, PERIODS )
FUNCTION Calculates the predefined TEMA indicator
EXAMPLE tema( c,14 )
SEE ALSO The dema() function (see page 258).
Theta
SYNTAX theta( TYPE, DATE, PRICE, INTEREST,
DIVIDEND )
FUNCTION Calculates the predefined Theta indicator.
See the option() function (page 276) for a
description of the parameters used in the
theta() function.
EXAMPLE theta( EC, 961220, 125, 7.50, 4.75 )
SEE ALSO The delta() function (see page 257); the
gamma() function (see page 262); the life()
function (see page 272); the option()
function (see page 276); the vega() function
(see page 284); and the volo() function (see
page 285).
Tick
SYNTAX tick()
FUNCTION Plots the number of ticks that have come in
during the current minute. For example, if
the current tick is recorded as 10:15:22, "22"
represents the tick count in the 15th minute
of the 10th hour. At the start of the 16th
minute, the tick count will reset to "0." Note
that this function only works on charts with
an intraday interval set to "0" (i.e., tick
charts).
TRIX
SYNTAX trix( PERIODS )
FUNCTION Calculates the predefined TRIX indicator.
EXAMPLE trix( 12 )
Trough Value
SYNTAX trough( Nth, DATA ARRAY, % MINIMUM
CHANGE )
FUNCTION Plots the value of DATA ARRAY Nth
trough(s) ago. This uses the Zig Zag
function (see page 287) to determine the
troughs. N=1 would return the value of the
most recent trough. N=2 would return the
value of the 2nd most recent trough. Etc.
EXAMPLE trough( 1,close,5 )
Typical Price
SYNTAX typical()
FUNCTION Calculates the predefined Typical Price
indicator.
Ultimate Oscillator
SYNTAX ult( CYCLE1, CYCLE2, CYCLE3 )
Value When
SYNTAX valuewhen ( Nth, EXPRESSION, DATA
ARRAY )
FUNCTION Returns the value of the DATA ARRAY when
the EXPRESSION was true on the Nth most
recent occurrence. This includes all data
loaded in the chart.
EXAMPLE The formula "valuewhen( 2,
cross(c,mov(c,10,s), rsi(20) )" returns the
value of the RSI on the 2nd most recent
occurrence of the closing price crossing
above its 10-day moving average.
Variance
SYNTAX var( DATA ARRAY, PERIODS )
FUNCTION Calculates the statistical variance of DATA
ARRAY over the specified time PERIOD.
EXAMPLE var( CLOSE, 20 )
SEE ALSO The stdev() function (see page 280) ; the
Standard Deviation example (see page 310).
Vega
SYNTAX vega( TYPE, DATE, PRICE, INTEREST,
DIVIDEND )
FUNCTION Calculates the predefined Vega indicator.
See the option() function (page 2763) for a
description of the parameters used in the
vega() function.
EXAMPLE vega( EC, 961220, 125, 7.50, 4.75 )
SEE ALSO The delta() function (see page 257); the
gamma() function (see page 262); the life()
function (see page 272); the option() function
(see page 276); the theta() function (see
page 282); and the volo() function (see page
285).
Volatility, Chaikin's
SYNTAX vol( MA PERIODS, ROC PERIODS )
FUNCTION Calculates the predefined Chaikin's Volatility
indicator.
EXAMPLE vol( 10, 10 )
Volatility, Option
SYNTAX volo()
FUNCTION Calculates the predefined Option Volatility
indicator.
EXAMPLE volo()
SEE ALSO The delta() function (see page 257); the
gamma() function (see page 262); the life()
function (see page 272); the option()
function (see page 276); the theta() function
(see page 282); and the vega() function (see
page 284).
Volume Oscillator
SYNTAX oscv( PERIODS, PERIODS, MA_METHOD,
DIFF_METHOD)
FUNCTION Calculates the PERIODS/PERIODS
predefined Volume Oscillator indicator
calculated using the MA_METHOD moving
average method expressed in
DIFF_METHOD.
Weighted Close
SYNTAX wc()
Wilder's Smoothing
SYNTAX wilders( DATA ARRAY, PERIODS )
FUNCTION Calculates the predefined Wilder's
Smoothing indicator.
EXAMPLE wilders( CLOSE, 14 )
SEE ALSO The mov() function (see page 271).
Williams' %R
SYNTAX willr( %R PERIODS )
FUNCTION Calculates the predefined Williams' %R
indicator.
EXAMPLE willr( 14 )
Williams' A/D
SYNTAX willa()
FUNCTION Calculates the predefined Williams A/D
indicator.
Writeif
SYNTAX writeif( EXPRESSION, "TRUE TEXT",
"FALSE TEXT" )
Writeval
SYNTAX writeval( DATA ARRAY )
or
writeval( DATA ARRAY , FORMAT )
FUNCTION This function can only be used within an
expert commentary. It is used to display the
numeric value and decimal format of DATA
ARRAY. The decimal format is X.Y where X
is the total number of digits, and Y is the
Year
SYNTAX year()
FUNCTION Plots the year. If a bar was plotted on
10/15/96, the function will return "1996."
Zig Zag
SYNTAX zig( DATA ARRAY, MINIMUM CHANGE,
DIFF_METHOD )
FUNCTION Calculates the MINIMUM CHANGE
predefined Zig Zag indicator of DATA
ARRAY using the DIFF_METHOD method of
calculation.
PATTERN
A long black body followed by three small,
usually white, bodies and another long black
body. The three white bodies are contained
within the first black body's range.
INTERPRETATION A bearish continuation pattern.
Bearish Harami
SYNTAX bearharami()
PATTERN
A small black body is contained within an
unusually large white body.
INTERPRETATION A bearish pattern when preceded by an
uptrend.
PATTERN
A Doji contained within a large white body.
INTERPRETATION A top reversal signal.
PATTERN
An unusually long black body with a wide
range between high and low, and prices
open near the high and close near the low.
INTERPRETATION A bearish pattern.
PATTERN
An unusually long white body with a wide
range between high and low, and prices
open near the low and close near the high.
INTERPRETATION A bullish pattern.
Black Body
SYNTAX black()
PATTERN
A candlestick formed when the closing price
is lower than the opening price.
INTERPRETATION A bearish signal. More important when part
of a pattern.
Bullish Harami
SYNTAX bullharami()
PATTERN
A small white body is contained within an
unusually large black body.
INTERPRETATION A bullish pattern when preceded by a
downtrend.
PATTERN
A Doji contained within a large black body.
INTERPRETATION A bottom reversal signal.
PATTERN
A long white candlestick is followed by a
black candlestick. The black candlestick
opens above the white candlestick's high and
closes well into the white candlestick's body.
INTERPRETATION A bearish reversal signal during an uptrend.
PATTERN
The open and close are the same.
INTERPRETATION Doji lines are usually components of many
important candlestick patterns.
Doji Star
SYNTAX dojistar()
PATTERN
A Doji which gaps above or below a white or
black candlestick.
INTERPRETATION A reversal signal with confirmation during the
next trading day.
PATTERN
A small white body followed by and
contained within a large black body.
INTERPRETATION A major top reversal signal.
PATTERN
A small black body followed by and
contained within a large white body.
INTERPRETATION A major bottom reversal signal.
Evening Star
SYNTAX eveningstar()
PATTERN
A large white body followed by a small body
(white or black) that gaps above the white
body. The third candlestick is a black body
that closes well into the white body.
INTERPRETATION A major top reversal signal.
Falling Window
SYNTAX fallingwindow()
PATTERN
A window (i.e., gap) between the low of the
first candlestick and the high of the second
candlestick. This produces the same results
as the Gap Down function (see page 262).
INTERPRETATION A rally to the window is highly probable. The
window should provide resistance.
Gravestone Doji
SYNTAX gravestonedoji()
Hammer
SYNTAX hammer()
PATTERN
A small body (white or black) near the high
with a long lower shadow with little or no
upper shadow.
INTERPRETATION A bullish pattern during a downtrend.
Hanging Man
SYNTAX hangingman()
PATTERN
A small body (white or black) near the high
with a long lower shadow with little or no
upper shadow. The lower shadow should be
two or three times the height of the body.
INTERPRETATION A bearish pattern during an uptrend.
PATTERN
An upside-down hammer with a black body.
INTERPRETATION A bottom reversal signal with confirmation
the next trading day.
Inverted Hammer
SYNTAX invhammer()
PATTERN
An upside-down hammer (white or black).
INTERPRETATION A bottom reversal signal with confirmation
the next trading day.
PATTERN
A candlestick (black or white) with a lower
shadow that has a length 2/3 or more of the
total range of the candlestick.
INTERPRETATION A bullish signal, particularly when around
price support levels.
PATTERN
A candlestick (black or white) with an upper
shadow that has a length 2/3 or more of the
total range of the candlestick.
INTERPRETATION A bearish signal, particularly around price
resistance levels.
PATTERN
A large black body followed by a doji that
gaps below the black body. The third
candlestick is a white body that closes well
into the black body.
Morning Star
SYNTAX morningstar()
PATTERN
A large black body followed by small body
(white or black) that gaps below the black
body. The third candlestick is a white body
that closes well into the black body.
INTERPRETATION A major bottom reversal signal.
On Neck-Line
SYNTAX onneckline()
PATTERN
A black candlestick in a downtrend followed
by a small white candlestick with its close
near the low of the black candlestick.
INTERPRETATION A bearish pattern where the market should
move lower when the white candlestick's low
is penetrated.
Piercing Line
SYNTAX piercingline()
PATTERN
A black candlestick followed by a white
candlestick that opens lower than the black
candlestick's low, but closes more than
halfway into the black body.
INTERPRETATION A bottom reversal signal.
Rising Window
SYNTAX risingwindow()
Separating Lines
SYNTAX separatinglines()
PATTERN
In an uptrend, a black candlestick is followed
by a white candlestick with the same opening
price.
Shaven Bottom
SYNTAX shavenbottom()
PATTERN
A candlestick (white or black) with no lower
shadow.
INTERPRETATION See Inverted Hammer (see page 293)
interpretation.
Shaven Head
SYNTAX shavenhead()
Shooting Star
SYNTAX shootingstar()
PATTERN
A candlestick (white or black) with a small
body, long upper shadow, and little or no
lower shadow.
INTERPRETATION A bearish pattern in an uptrend.
Spinning Top
SYNTAX spinningtop()
PATTERN
A candlestick (white or black) with a small
body. The size of the shadows is not
important.
INTERPRETATION A neutral pattern. Spinning tops are more
important when part of other formations.
PATTERN
Three long black candlesticks with
consecutively lower closes that close near or
at their low prices.
INTERPRETATION A top reversal signal.
PATTERN
Three white candlesticks with consecutively
Tweezer Bottoms
SYNTAX tweezerbottoms()
PATTERN
Two or more candlesticks with matching
bottoms. The size or color of the candlestick
does not matter. The candlesticks do not
have to be consecutive.
INTERPRETATION Minor reversal signal that is more important
when the candlesticks form another pattern.
Tweezer Tops
SYNTAX tweezertops()
PATTERN
Two or more candlesticks with matching
tops.
INTERPRETATION Minor reversal signal that is more important
when the candlesticks form another pattern.
The candlesticks do not have to be
consecutive.
White Body
SYNTAX white()
PATTERN
A candlestick formed when the closing price
is higher than the opening price.
INTERPRETATION A bullish signal. More important when part of
a pattern.
The Basics
In addition to the predefined indicators listed in the Indicator QuickList
(see page 165), MetaStock Pro provides a robust collection of tools that
you can use to create your own indicators. This chapter explains how to
create and plot these "custom indicators."
In order to create a custom indicator, you need to be familiar with the
MetaStock formula language. For more detailed information on the
MetaStock formula language, see page 235.
You can create up to 2,000 different custom indicators. The indicators
are automatically stored by MetaStock Pro so that you do not have to re-
enter them each time you want to plot the formula.
The formulas created at the Indicator Builder menu and the formulas used
to calculate the built-in indicators (i.e., Stochastics, RSI, etc.) are
completely independent of each other. Changes made to the custom
indicators will not affect the predefined indicators.
close - mov(close,20,simple)
New. This displays the Indicator Editor dialog from which you can
name and define a new custom indicator.
Name. You can enter a name with up to 50 characters. The name you
enter will appear in the inner window title bar when plotted. The list of
custom indicators in the Indicator Builder dialog is sorted by name.
Display in QuickList. Check this box if you want the name of the
custom indicator to appear in the QuickList. Once in the QuickList, it
can be dragged and dropped just like any other indicator (see page 165).
Formula. Enter the formula for the custom indicator here. A formula
can contain up to 2,500 characters on multiple lines. Press ENTER to
place a line break. See page 248 for tips on using multiple lines. See
page 235 for more information on the MetaStock formula language.
Print What. Choose whether you want to print the Names Only or the
Names and Formulas for the selected custom indicators.
Copies. Choose the number of copies to print.
Print Range. Choose whether you want to print the Selected Custom
Indicator(s) or All Custom Indicators.
Printer. This displays a dialog from which you can select the desired
printer, orientation, and paper size.
The Paste Functions dialog breaks the functions down into 12 categories.
The categories are listed in the Function Category list on the left side of
the dialog. The functions for the selected category are listed to the right
either by their English name or their function name, depending on
whether the Show English Names checkbox is checked. MSX DLL's will
also be listed as categories, with their included functions. For more
information on creating MSX DLL's using the MetaStock Developer's
Kit, go to www.equis.com.
As you scroll the Paste Function list, the syntax of the highlighted
function is displayed near the bottom of the dialog. If you want the
arguments of the function pasted, check the Paste Arguments checkbox.
Clicking the OK button (or double-clicking the function name) pastes the
selected function into the formula at the cursor location.
To paste a function in a formula
1. While editing a formula in the Indicator Editor dialog, click the
Functions button.
2. Click on a category from the Functions Category list.
3. Double-click the name of the function to paste.
Accumulation/Distribution
This Accumulation/Distribution formula uses the cum() function (see
page 257 ) to keep a running total of the daily values.
Bollinger Bands
Bollinger Bands use the stdev() function (see page 280) to calculate the
upper and lower bands. The middle band is a 20-period simple moving
average.
Median Price
(high + low) / 2
Momentum
The Momentum formula uses the ref() function (see page 278) to
reference the closing price 12 periods ago.
(close / ref( close, -12 )) * 100
Price Oscillator
The following formula calculates a 10-period/20-period exponential Price
Oscillator expressed in points:
mov( close, 10, E) - mov( close, 20, E)
The following formula calculates a 10-period/20-period exponential Price
Oscillator expressed in percent:
(( mov(C,10,E) - mov(C,20,E) )/mov(C,20,E)) * 100
Price Rate-Of-Change
The following formula calculates the 12-period Price Rate-Of-Change:
(( C - ref(C,-12)) / ref(C,-12)) * 100
The 12-period rate-of-change can also be written using the roc() function
shown below:
roc( close, 12, % )
The 12-period rate-of-change can be expressed in "points" using the
following formula:
close - ref(close, -12)
Stochastic Oscillator
The following formula calculates a 5-period %K Stochastic Oscillator
with 3-period slowing:
(sum( C - llv(L,5), 3 ) / sum(hhv(H,5) - llv(L,5), 3)
) * 100
This next formula calculates a 3-period %D of the %K in the preceding
formula.
mov( stoch(5,3), 3, S )
Volatility, Chaikin
The Volatility formula shown below uses 10-periods in the moving
average and 12-periods in the rate-of-change:
roc( mov( high-low, 10, E), 12, %)
Volume Oscillator
The following formula calculates a 10-period/20-period exponential
Volume Oscillator expressed in points.
mov( volume, 10, E) - mov( volume, 20, E)
This next formula calculates a 10-period/20-period exponential Volume
Oscillator expressed in percent.
(( mov(V,10,E) - mov(V,20,E))/mov(V,20,E)) * 100
Volume Rate-Of-Change
The following formula a 12-period Volume Rate-Of-Change indicator.
(( V - ref(V,-12)) / ref(V,-12)) * 100
Weighted Close
The Weighted Close formula multiplies the closing price by two, adds the
value of the high and low, and then divides by four.
((close * 2) + high + low ) / 4
Williams' Accumulation/Distribution
To simplify the explanation of this formula, we will enter it as three
formulas. The first statement assigns the "true range" of the high to a
variable. Similarly, the second formula assigns the "true range" of the
low to a variable. The third statement calculates Williams' A/D indicator.
TrueRangeHigh:=max( ref(close,-1), high );
TrueRangeLow:=min( ref(close,-1), low );
cum(if(C > ref(C,-1),C-TrueRangeLow, if(C < ref(C,-
1),C-TrueRangeHigh,0)))
Williams' %R
This formula calculates the Williams %R indicator. Notice that the
formula is inverted by multiplying it by -100.
NumPeriods:= Input("Enter the number of
periods:",3,50,14);
((HHV(H,NumPeriods) - C)/(HHV(H,NumPeriods) -
LLV(L,NumPeriods))) * -100;
Note that a good composite Binary Wave will yield results that are
superior to the results generated by the individual Binary Waves it
incorporates.
Enhancements
Many enhancements can be made to Binary Wave formulas. Several of
these are discussed below.
• The example composite Binary Wave presented on the preceding
pages combines four individual Waves. However, you may choose
to include many more individual Waves to create your own expert
system.
• Rather than plotting ±1, you could weight the Binary Waves
according to their forecasting ability. For example, one component
in a composite Binary Wave could plot ±5 while another component
could plot ±0.75.
• You can include a long-term component within a composite Binary
Wave. For example, you could add the following Binary Wave to
the composite "Total Wave" previously presented:
• You may want to smooth a binary wave using a formula similar to the
"Smooth Total Wave" and then plot a moving average signal line of
the result. A system test could be written to test for crossovers
between the indicator and the moving average signal line.
• Composite Binary Waves provide a method of rating a security's
technical health based on your criteria. For example, you might
consider a composite Wave moderately bullish when it is between 0
and +2.
• You can plot the rate-of-change of a composite Binary Wave using
the formula shown below:
Summary
Binary Waves display your evaluation of an indicator (e.g., "it is bullish
when the MACD is above its 9-period moving average") as a ±1
indicator. Composite Binary Waves combine multiple Binary Wave
indicators to illustrate your analysis of a security based on the actions of
numerous indicators.
Errors
Math Errors
If you attempt to plot (or execute) a formula that contains math errors, the
following dialog will appear prior to plotting the indicator. The dialog
shows the number of occurrences for each error.
Note that this dialog may also appear if you have changed the folder
listed in the File Locations page in the Application Options dialog (see
page 33).
The Enhanced System Tester lets you create, test, compare, print, and
report your system tests.
cross(close, mov(close,25,simple))
The preceding rule, as with most trading rules in MetaStock Pro, can
be read in English. It says, "Buy the security" when the close
crosses above a 25-period simple moving average of the close." (As
with custom indicators, you can abbreviate "close" to "c" and
"simple" to "s".)
Trading rules (see page 365) are very similar to custom indicators
(see page 299).
Just ignore the other options on the Buy Order page; they’ll be
explained later in this chapter.
4. Enter the following information for the next three trading rules.
Remember to click on the corresponding tabs (i.e., Sell Order, Sell
Short Order, and Buy to Cover Order) to enter each of the rules.
Since we tested more than one system, this screen compares the
systems' performance. The graph at the top shows each system's
average net profit. You can also sort the systems in the list below the
graph by clicking the Avg. Net Profit column (or any other column
in the list).
2. In this example, "My Second System" had the highest average net
profit. In the lower pane, double-click on "My Second System."
Another version of the Test View appears.
This screen is also divided into two main sections. The graph in the
top section shows what each security's equity would have been if the
3. In the list, click a security that performed well in the simulation (had
a high net gain or profit/loss ratio) and click the View button to
display the Result Details View. (If none of the securities were
profitable, select the one that lost the least money, then click View.)
Five reports are available from the Details View dialog. For more
information about what these reports tell you, see page 345.
Step 5 - Optimizing
Optimizing involves replacing components of trading rules or stops with
"OPT" variables and then specifying the range of values to be tested.
MetaStock Pro then performs multiple tests, replacing the OPT variables
with values from the range you specified.
"My First System" in this tutorial tested the buy/sell signals generated by
a 25-period moving average. We will now have MetaStock Pro optimize
our trading rules to determine the optimum number of periods to use for
the moving average.
Entering The Optimization Variable
1. With the Enhanced System Tester displayed, select "My First
System" and click the Edit... button. In the four trading rules we
created in Step 2 - Create Two New Systems, replace the "25" with
"OPT1" (for optimization variable number 1). This is shown for the
General Buy Order Sell Order Sell Short Buy to Cover Stops Optimization
Optimization Variables
Delete...
OK Cancel Help
6. Click OK.
7. Look at the Total Tests value at the bottom of the Optimization
Variables dialog. This value shows the total number of tests (nine in
this case) that will be performed. It's always wise to check this value
after editing the optimization variables, as it is very easy to create a
system that will generate thousands of tests.
8. Click OK in the System Editor dialog to return to the Enhanced
System Tester dialog.
Tutorial Summary
You have completed the Enhanced System Tester Tutorial. In an attempt
to keep this tutorial as concise as possible, we did not fully explore
MetaStock Pro's system testing capabilities. However, you should now
be somewhat familiar with the process of creating a trading system. The
remainder of this chapter provides detailed information on system testing.
If you will be testing futures and commodities, see page 364 for special
instructions.
The System Test Manager is the starting screen for all Enhanced System
Tester activities. From here you can:
• View all your systems
• Create, copy, edit and delete systems
• View all the tests run against any systems
• Create, perform and repeat tests
• View test details
The Systems Test Manager is divided into three sections: The Systems
List (left side), the Report Summary (top right), and the Trading
Simulations List (bottom right).
The cleanup wizard frees up space on your hard drive by deleting old
analyses and unprofitable results.
Discard simulations older than ___ days. Enter a number in the
field to determine how old a simulation has to be in order to delete it.
Discard unprofitable results. When this box is checked the Cleanup
Wizard deletes results that lost money or broke even.
Compact results database. Frees up some space on your hard drive
by compressing the files that contain your test results.
When you're ready, click Clean to delete the selected analyses and/or
results.
You can edit a system’s name here, as well as read and edit any notes
associated with the system. You can also set three rules to govern how
the system executes trades under certain circumstances:
Order Bias. Sometimes a system produces long and short signals
simultaneously. This rule tells MetaStock which to choose when long and
short signals appear at the same time.
Portfolio Bias. You can instruct MetaStock to close all existing
positions for an existing bias (long or short) when an opposite position
opening order is placed. For example, if you want MetaStock to close all
short positions when it places a new long position, select the Single
option. If you want to let MetaStock place long and short orders
simultaneously, select the Multiple option.
Position Limit. Check this option to close any open positions before
new positions are opened. You can specify that only one position can be
open at a time, or you can allow up to 65,536 simultaneous open
positions by unchecking this box.
Buy/Sell Signals
The System Editor offers four rules for initiating buy/sell signals:
Buy Order
This rule specifies when the system should purchase a given number of
shares of the current security.
Stops
New. Opens the Variable Properties dialog where you can create a new
optimization variable.
Edit. Opens the Variable Properties dialog where you can change an
existing optimization variable.
Delete. Removes the selected optimization variable.
Select Systems
Select the system you want to test and click Next. To select multiple
tests, hold down the Ctrl key while you click the tests you want to
include. Or click a test, then hold down the Shift key and click another
test. All the tests between the two you click will be selected.
Click Add Securities... to select the securities you want to include in the
test and click Next for more options, or click Start to begin the
simulation.
After you've added securities to the test, you can click the Dates... button
to specify a date range or number of periods to test.
Initial Equity This is the starting balance of the account. Note that this
option is unavailable when Points Only Test is selected.
Default Size You can tell the system to place each order based on a
number of shares, total transaction cost, or percentage of equity available.
Note that this option is unavailable when Points Only Test is selected.
Portfolio
Long/Short/Both Determine what type(s) of positions are allowed:
Long, Short, or Both.
Close all positions on the last bar If this is unchecked, any open
positions will remain open after the test is complete.
Results
The checkbox in this section lets you run the simulation as a Quick Test.
A Quick Test takes less time to run than a normal simulation, and the
results take up less disk space. However, Quick Tests don't generate the
Positions, Equity and Orders reports that normal simulations do. Quick
Tests are highly recommended when you're running a system that
generates several tests.
You can also determine how many results you want to see for systems
that use optimization variables in this section.
More... This button opens the System Testing Options dialog. For more
information about System Testing Options, see page 341.
When you've entered all your options, click Next to see a summary of the
simulation, or click Start to begin.
This dialog summarizes the selections you made in the previous dialogs.
Click Back to change any options, or click Start if you’re ready.
Margin This interest rate is used to calculate the annual interest applied
to all debit balances.
Trade Execution
Realistic Market Prices When this box is checked, any triggered order
executes at the open of the next bar. When it's unchecked, the Buy, Sell,
Sell Short and/or Buy to Cover Prices execute at the specified values
(Open, Close, High or Low).
The top half of the above screen shows the average net profit of the most
profitable systems tested. The list at the bottom of the screen shows more
information about the most profitable systems in the test. You can sort
the list of systems by clicking any column heading (like Avg. Net Profit).
Back Returns you to the Enhanced System Tester.
If you tested multiple systems, you can select a single security and see
how it performed in each of the systems tested. The graph shows the
selected security's net profit for each system tested. The list shows more
information about the security's performance in each of the systems
tested.
Back Returns you to the Test View for multiple securities.
View Opens the Result Details dialog, described in the next section
below.
When you test a typical system, MetaStock Pro keeps track of tens of
thousands of test details. This information is stored in a series of reports.
Each of the reports provides different information about the test.
• The Summary Report provides a brief summary of the system tests.
• The Orders Report lists all the potential orders that were considered
and gives details about them.
• The Positions Report shows details about every position that
occurred during the test.
• The Equity Report shows details about the test's account from the
beginning of the test to the test's end.
• The System Report lists all the information the system used,
including all the options you can change.
Summary
Lists the security tested, the system used, the date and time the test was
run, the number of bars included in the test and the date range tested.
Performance
• Profit - How much money this stock earned when traded with
the selected system. If this is a negative number, it indicates a
loss.
• Performance - A percentage measure of how much profit or loss
the system generated based on its initial equity. For example, if
you start with $1000 and you end up with $1100 performance is
10%.
• Annualized Performance - Calculates what the Performance
described above would be if the simulation took one year. This
value is reached by dividing a year (365 days) by the number of
days in the simulation, then multiplying that number times and
the performance.
• Buy & Hold Profit - The profit resulting from a buy and hold
strategy. A buy and hold strategy assumes that you buy on the
first day loaded in the chart and hold the position. The profit is
calculated by using the price on the first day and the price on the
last day. Entry commissions are taken into account.
Trade Summary
Total Trades - The total number of trades that were generated by the test.
This number only shows closed trades and does not include the open
position that may have existed at the end of the test. Therefore, it is
possible for this value to be zero if there was a single unclosed trade in
the test.
Trade Efficiency - Your average total trade efficiency. Trade efficiency is
the percent of the potential profit your trades realized, and is explained in
more detail below.
Average Profit/Average Loss - Lists the test's average profit and average
loss.
Profitable Trades
Shows you how many profitable trades you had, and how many were
longs and how many were shorts. Also lists your profitable trades'
average profit, highest profit, lowest profit and longest consecutive run.
Unprofitable Trades
Shows you how many unprofitable trades you had, and how many were
longs and how many were shorts. Also lists your unprofitable trades'
average loss, highest loss, lowest loss, and longest consecutive run.
Trade Efficiency
Long Trade Entry Efficiency is the highest price minus the entry price,
divided by highest price minus the lowest price.
Long Trade Exit Efficiency is the exit price minus the lowest price,
divided by highest price minus the lowest price.
Long Trade Total Efficiency is the exit price minus the entry price,
divided by highest price minus the lowest price.
Short Trade Entry Efficiency is the entry price minus the lowest price,
divided by highest price minus the lowest price.
Short Trade Exit Efficiency is the highest price minus the exit price,
divided by highest price minus the lowest price.
Short Trade Total Efficiency is the entry price minus the exit price,
divided by highest price minus the lowest price.
• Average Entry - The sum of the entry efficiencies for all trades
divided by the number of trades.
• Average Exit - The sum of the exit efficiencies for all trades
divided by the number of trades.
• Average Total - The sum of the total efficiencies for all trades
divided by the number of trades.
• Average Long Entry - The sum of the long entry efficiencies for
all trades divided by the number of long entries.
• Average Long Exit - The sum of the long exit efficiencies for all
trades divided by the number of long exits.
• Average Long Total - The sum of the long efficiencies for all
trades divided by the number of long trades.
• Average Short Entry - The sum of the short entry efficiencies for
all trades divided by the number of short entries.
• Average Short Exit - The sum of the short exit efficiencies for
all trades divided by the number of short exits.
• Average Short Total - The sum of the short efficiencies for all
trades divided by the number of short trades.
Performance Indices
• Buy & Hold Index - This index shows the percentage of the
system's profits as compared to a buy and hold strategy's profits.
Index Profit/Loss
+100 High Profits/No Losses
+50 Profits > Losses
0 Profits = Losses
-50 Profits < Losses
-100 No Profits/High Losses
Account Variation
• Highest Account Balance - The most equity ever present during
the test.
• Lowest Account Balance - The lowest value of the cash account.
• Highest Portfolio Value - The most your open positions were
worth simultaneously during the test.
• Highest Open Drawdown - The largest equity dip (relative to the
initial investment) based on open positions. This shows the
maximum distance the equity line fell below the initial
investment when a position was still open.
• Highest Closed Drawdown - The largest equity dip (relative to
the initial investment) based on closed out positions. This
shows the maximum distance a closed-out position fell below
the initial investment amount.
Account Events
Shows you how many Margin Calls and Overdrafts occurred during the
test.
Profitable Timing
Details, measured in bars, about the length of the profitable trades that
happened during the test Average, Longest, Shortest, and Total.
Unprofitable Timing
Optimization Variables
If you used any optimization variables (OPT1, OPT2, etc.), their values
during this test appear here.
Orders Report
The Orders Report shows details about all the trades that were
considered, opened, executed or cancelled.
There are eleven columns in the Orders Report:
Bar. This number indicates on what bar the activity occurred, based on
the first date of the date range used when the simulation was run. For
example, if this number is 6, the corresponding activity happened on the
sixth bar of the tested data.
Date. Tells you the date when the activity occurred.
Number. Tells you when this order happened, consecutively. If this
number is 4, this order was the fourth order to happen in the test.
Event. Each order can involve several events. This column tells you
what events occurred in each trade. Events include Considered, Opened,
Placed and Executed.
Type. Lists the type of order being considered, opened or executed.
Types include Buy to Cover, Buy Long, Sell Long, Buy Short, and Sell
Short.
Positions Report
This report summarizes details about each position that occurred during
the test, starting with whether the position was long or short and how
many units it traded. The graph at the top of this report represents the
distribution of trade efficiency over all of the profitable trades that
occurred in this simulation. Basically, if all the peaks appear to the right
of zero, the system is well tuned. If all the peaks appear to the left of
zero, the system is poorly tuned.
The rest of the information is organized in categories, described below.
Opening
• Price - The security's price when the position was opened.
• Bar - The position opened on this bar.
• Date - The position opened on this date.
• Efficiency - This is the percentage of possible profit this
position made. For example, say you bought a stock for $10. If
the stock fluctuates between $20 and $10 while the position is
The Equity Report includes a graph that displays the account's equity
during the entire test. The numbers across the bottom of the graph
indicate bars. More details about the account appear in the table below
the graph. Those details are described here:
Bar. The bar in the test that corresponds to the rest of the information on
that row.
Date. The date on which the bar and its equity account information
occurred.
Cash. The equity account's balance.
Reserved. Money set aside for orders that aren't executed immediately,
like limit, stop, and stop limit orders. The Reserved column also includes
funds held in the maintenance margin.
Margin. The total amount of funds borrowed from the broker to execute
margined trades.
Overdraft. If the account is overdrawn, the amount below zero appears
here.
Portfolio. The value of all the securities in an open position.
Interest. How much interest the test's equity earned during this bar.
Commissions. How much money was paid in commissions for this
bar.
Total Equity. The value of the entire equity account during this bar.
System Report
The System Report summarizes all the details about the system that was
tested, including all the options you selected during the New Simulation
wizard (described on page 338).
You then specify the OPT variable's range (minimum, maximum, and
step). When you test a system that contains OPT variables, MetaStock
Pro will automatically perform multiple tests using each of the possible
optimization combinations.
General Buy Order Sell Order Sell Short Buy to Cover Stops Optimization
Optimization Variables
Delete...
OK Cancel Help
New. This lets you add a new OPT variable and edit its properties.
Edit. Displays the Variable Properties where you can edit the minimum,
maximum, and step of the selected OPT variable.
Delete. Deletes the selected OPT variable. Note that you cannot delete
an OPT variable that is in use.
Total Tests. Displays the total number of tests that the optimized
system test will perform.
Variable Properties Dialog
The Variable Properties dialog is used to specify the range of the OPT
variables.
Example Optimizations
The following Buy Order trading rule buys when the close is above a 10-
period moving average:
Buy Order: CLOSE > mov(CLOSE, 10, SIMPLE)
If you don't know the optimum number of time periods to use for the
moving average, you could replace the "10" in the above rule with an
optimization variable as shown below:
Buy Order: CLOSE > mov(CLOSE, OPT1, SIMPLE)
The range for OPT1 (e.g., 5 to 20 by steps of 5) is specified by selecting
the Optimizations tab from the System Editor dialog. When you test this
system, MetaStock Pro will perform multiple tests, each time replacing
the OPT1 variable with the next optimization value (as shown below).
Buy Order: CLOSE > mov(CLOSE, 5, SIMPLE){Test #1)
Buy Order: CLOSE > mov(CLOSE, 10, SIMPLE){Test #2)
Buy Order: CLOSE > mov(CLOSE, 15, SIMPLE){Test #3)
Buy Order: CLOSE > mov(CLOSE, 20, SIMPLE){Test #4)
After testing this system, there will be four reports (one for each
optimization value).
When optimization variables are used, the number of tests required to test
every combination of optimization values can be determined by
multiplying the number of tests for each OPT variable together.
The following example demonstrates the use of multiple optimization
variables:
Buy Order: rsi(14) > OPT1
Sell Order: rsi(14) < OPT2
Sell Short Order: rsi(14) < OPT2
Buy to Cover Order: rsi(14) > OPT1
OPT1: minimum = 20, maximum = 40, step = 10 {3 tests}
OPT2: minimum = 70, maximum = 80, step = 10 {2 tests}
The number of tests can quickly grow enormous. For example, consider
the following moving average crossover system:
Buy Order: cross(C, mov(C, OPT2, E))
Sell Order: cross(mov(C, OPT1, E),C)
Sell Short Order: cross(mov(C, OPT1, E),C)
Buy to Cover Order: cross(C, mov(C, OPT2, E))
OPT1: minimum = 1, maximum = 100, step = 1 {100 tests}
OPT2: minimum = 1, maximum = 100, step = 1 {100 tests}
In the above example, OPT1 and OPT2 each have 100 possible values.
This combination requires 10,000 (100 multiplied by 100) tests to be
performed! Even on a fast computer, this relatively simple (yet heavily
optimized) system may take hours to test.
A more appropriate method to optimize this system would be to decrease
the ranges and/or increase the steps to reduce the number of tests.
Is Testing/Optimizing Valid?
One of the most common mistakes made in system testing and
optimization is over-fitting the trading rules to a specific set of data.
Before you get too excited when you think you've found the "holy grail"
of trading systems, check the following.
• Check the equity line (see page 361). It should gradually slope
upward. Abrupt spikes indicate inconsistent profits.
Commissions
Pay close attention to the number of trades generated by a system test. If
there are a large number of trades and large profits, be sure you specified
realistic commissions. The results of the test may be much different once
commissions are factored in.
Interest
If your system specifies that interest is earned when you are out of a trade
(see page 339), optimization may lead you to the system that is out of the
market the most. This means that a system test that lost on every trade
could turn out to be the best system, if it was out of the market more than
the other tests.
This is easily witnessed by setting the Money Market interest rate very
high (e.g., 100%) in the System Testing Options dialog and then
optimizing.
Technical Reference
This section explains technical details relating to the system testing
process.
General
During the testing process, a system is always in a long, short, or an out
position.
Commissions
When reviewing system test results, remember that commissions are
deducted from your equity account when you enter a position, and from
your profit when you exit a position (assuming it's profitable).
For example, if you buy 100 shares of a stock valued at $10 per share,
and your entry commission is $20, $1020 is deducted from your equity
account. If you sell those shares when the stock reaches $20 per share,
and your exit commission is $30, your profit is $970 ($1000 minus $30).
Margin Requirement
The Margin Requirement field in the System Testing Options dialog (see
page 341) specifies the percent of funds that you must deposit in order to
place a trade. This allows you to leverage your transactions.
For example, if you trade a security with a 20% margin requirement (i.e.,
where you are required to deposit only 20% of the actual cost of the
security), then a 10% move in the security's price will create a 50% gain.
Consider the following example.
If the initial equity was $1,000 when a long position was entered, and the
security's price increased 10% before the long position was exited, the
profit would normally be $100 (i.e., 10% of $1,000). However, if you
place this trade using a 20% margin requirement, then you are able to buy
$5,000 worth of the security (your $1,000 is the 20% margin requirement,
plus $4,000, or 80%, of borrowed funds). Thus, the 10% increase in the
security's price would create a $500 dollar gain (i.e., 10% of $5,000).
This $500 gain represents a 50% gain on your $1,000 investment.
Earning Interest
When neither a long nor a short position is open (i.e., an "out" position
exists), interest is earned on the equity balance at the interest rate
specified in the System Testing Options dialog (see page 341).
When a long or short position is opened following an out position, the
interest earned during the out position is posted to the equity balance.
Speed
System testing involves a huge amount of processing, so obviously a faster
processor in your computer will result in quicker results.
A large amount of testing time is spent writing reports to disk. Thus you
can decrease the time it takes to perform tests by using a faster hard disk.
Disk Space
System tests can generate a very large amount of data, all of which gets
stored on your computer's hard disk. To minimize the amount of space
taken up by system test results, you should discard tests you don't need,
and run the Cleanup Wizard (see page 330) periodically.
You use The Explorer dialog to create, manage, and print explorations.
The explorations listed in your dialog will be different than the ones
shown above.
The Exploration Editor dialog is the heart of an exploration. You use this
dialog to specify the name, column, and filter information.
CLOSE
4. Type the following into the Column Name box:
CLOSE
Note that you can enter anything you want for the name. For this tutorial,
however, enter the name as shown above.
5. Click the Column B tab and type the following in the box below all
the column headings:
mov(CLOSE,20,SIMPLE)
6. Type the following into the Col. Name box:
MOV-20
7. Click the Column C tab and type the following in the box:
rsi( 14 )
RSI-14
Note that the column formulas use the identical syntax as MetaStock Pro's
custom indicators. You can even reference existing formulas by using the
"FML" function (e.g., fml("MYMACD") ). This saves you from having
372 • Ranking and Screening Securities MetaStock Professional
to retype formulas that you have already defined in the Indicator Builder
dialog.
12. Click the Add Securities... button. The Add Securities dialog
appears.
13. This dialog looks a lot like the Open dialog, and works just like it.
(The Open dialog is described on page 67.)You can select one or
more local or online securities.
14. Double-click the “Stocks – Common” folder.
15. For this tutorial, select all the stocks that begin with the letter A.
(Select the stock at the top of the list, then hold the Shift key and
select the last stock on the list that begins with “A”.)
For this tutorial, just choose OK. Every security in the selected
folder will be included in the exploration. However, you could have
selected specific securities and additional folders.
As the exploration is being calculated, the Exploration Status window is
displayed.
17. When MetaStock Pro has completed calculating the exploration,
choose Reports from the Exploration Completed dialog.
The Exploration Report shows the name of each security and the
calculated results of each of the columns. The values shown in the
columns represent the closing price (i.e. close), a 20-day moving
average (i.e., mov(close,20,simple) ), and a 14-day RSI (i.e.,
rsi(14)) for the most recent day of data. The sort order can be changed
using the Sort command (see page 390).
Adding a Filter
A filter narrows your list to securities that meet specific criteria. You can
write a filter based on the existing column formulas, or you can write one
that is completely independent of the column formulas. In fact, you could
write an exploration with the columns left empty with just a filter.
In this tutorial, we will write a filter that lists securities that are below a
20-day moving average and have a 14-day RSI below 40. Since we have
already written these two indicators in columns A and B, we can save
time by referencing them directly within the filter.
1. Choose Close to exit the report.
2. With "My First Exploration" selected, choose Edit.
3. Choose the Filter tab.
If your filter is based on the column formulas directly (as shown above),
you can save yourself some typing by simply referencing the columns
using the "COL" variable (e.g., colA and colB). This is particularly
handy if the column formulas are long.
The filter formulas use the identical syntax as MetaStock Pro's Enhanced
System Tester. You can even reference existing custom indicators by
using the "FML" function (e.g., fml("MYMACD") ). This saves you
from having to retype formulas that you have already defined in the
Indicator Builder dialog.
4. Choose Options in the Exploration Editor dialog. Check the Use
Filter box in the Exploration Options dialog to enable the filter. For
the filter to take effect, this box must be checked. Choose OK.
5. Choose OK to exit the Exploration Editor dialog.
6. To perform the exploration with the newly added filter, choose
Explore.
7. When MetaStock Pro has finished calculating the exploration, choose
Reports from the Exploration Completed dialog. A report showing
the results will appear.
Tutorial Summary
• The Explorer provides tremendous power and flexibility by giving
you a multi-purpose analysis tool that lets you perform in-depth
explorations of your securities.
• An exploration is comprised of columns and/or a filter. Although
they are entered in the same dialog and can be combined in a single
New. Use this to display the Exploration Editor dialog in which you can
specify the name, columns, and filter for a new exploration. See page 379
for more information on creating new explorations.
Edit. Use this to display the Exploration Editor dialog in which you can
edit the selected exploration.
Copy. Use this to make a copy of the selected exploration. See page
384 for more information on copying explorations.
Explorer Options
The Explorer Options dialog is used to specify options that affect all
explorations. To display the Explorer Option dialog, click the Options
button in The Explorer dialog.
This dialog controls options that affect all explorations. To control
options that affect single explorations, see page 380.
Creating an Exploration
An exploration performs two separate and distinct tasks. It displays your
securities with up to six columns of indicator values. It can also filter
your securities. You can create up to 1,000 explorations.
To run The Explorer, choose The Explorer from the Tools menu or click
The Explorer button on the standard toolbar.
To create a new exploration, choose New from The Explorer dialog. The
Exploration Editor dialog appears. This dialog is used to enter the criteria
for the exploration. Up to six column formulas and one filter can be
included in an exploration.
Exploration Options
The Exploration Options dialog is used to specify options that affect only
the selected exploration. To display the Exploration Options dialog, click
the Options button in the Exploration Editor dialog.
This dialog controls options for a specific exploration. To control
options that affect all explorations, see page 378.
Most Recent Date. Click this button if you want to use the most
recent date in each security file for the exploration calculations.
Specific Date. Click this button to enter the date on which you want
the exploration calculated. The most recent date for each security equal
to or prior to the date you enter will be used in the exploration.
Periodicity. Select the desired periodicity for the securities in the
exploration. Security data will be compressed (if necessary) to match
your selection. For example, daily security files can be compressed to
weekly or monthly. Note that if you select "daily" periodicity, weekly,
monthly, and yearly security files will be rejected since files cannot be
compressed to a shorter periodicity.
Filter Syntax
A filter is written in the identical syntax as the rules in MetaStock Pro's
Enhanced System Tester. An additional variable that is unique to the filter
criteria is "COL". The COL variable references the exploration columns
directly. This keeps you from having to retype the entire column formula
and makes the filter more readable. For example, suppose you've defined
column A as follows:
mov( rsi( 20 ), 9, SIMPLE)
Now you want to display only those securities whose moving average is
less than 40. A filter could be written as follows:
mov( rsi( 20 ), 9, SIMPLE) < 40
However, to save yourself some typing and make the filter more
readable, you could use the COL variable as follows:
colA < 40
Both filters accomplish the same thing, but the second filter requires less
typing. This is particularly true when your filter involves long and
complex formulas.
Printing Explorations
You can print the names and/or formulas of your explorations with the
Print dialog. To access the Print dialog, choose Print from The Explorer
dialog.
The explorations are listed in numerical order. Use the arrows to the
right of the list to change the order of the explorations.
Use the results from the preceding exploration. Choose this
option to run each subsequent exploration on the results of the previous
exploration. The first exploration uses the list of securities selected in the
Select Securities dialog (see page 382).
Speed of Calculation
The speed of the exploration can be increased by:
• Decreasing the number of periods used in the formulas.
• Selecting "Load Minimum Records" in the Explorer Options dialog
(see page 378).
• Reducing the number of references to formulas (i.e., the FML()
function).
• Adding a faster CPU.
• Adding a faster disk drive.
• Using local data instead of data stored in the online cache folder (see
page 38).
Results Report
The Results report displays the results of the exploration. Every security
that passed the filter (if enabled), along with all of the defined columns
Inspect. This displays the Exploration Security Column Data report for
the selected security. This report displays historical values required to
calculate each column for the highlighted security. See page 391 for
more information on this report.
Open Chart. Click this button to display a chart of the selected
security.
Sort. Use this to sort the report on any of the columns. Note that you
can also click directly on the column headings to sort. Click repeatedly
to change between ascending and descending order. See page 390 for
more information on sorting.
Print. Choose this to print the contents of the Results report. See page
355 for information on printing reports.
Save List. Choose this option to save the results as a list that you can
use in The Explorer and The DownLoader.
Using the Shortcut Menu
You can also add to favorites, copy, delete, or edit the securities in the
results report. First, select the desired securities, then right click on one
of the highlighted securities. A menu appears for you to choose from.
Sort by. Choose the primary column on which the report is sorted from
the drop-list.
Then by. Choose the column on which duplicates from the previous
"sort" should be sorted. For example, if the security named "IBM"
appeared five times in the report, these five occurrences of IBM would
then be sorted by the column you choose here.
The sort order of the report is affected the most by the sort column
specified in the "Sort by" box. The sort columns specified in the "Then
by" boxes only take effect when there are duplicates.
Ascending. Choose this to change the sort order of the column to
ascending (i.e., the values increase as you go down the report).
Descending. Choose this to change the sort order of the column to
descending (i.e., the values decrease as you go down the report).
Rejects Report
This report displays the securities that were not included in the Results
report. Each security that was rejected from the report will be listed, with
a brief description of why it was rejected.
If your exploration contains a filter, this report will list all securities that
were filtered out. Securities that were rejected due to an error are also
listed. For example, if your exploration calculates a 200-period moving
average and your IBM data file only contains 100 days of data, IBM
would appear in the Reject report.
Print. Choose this to print the contents of the Rejects report. See page
355 for information on printing reports.
Save List. Choose this option to save the results as a list that you can
use in The Explorer and The DownLoader.
Exploration Page
The Exploration page displays the column formulas, the filter rule,
periodicity and other information used for the exploration. Having this
information available with the reports lets you view this information
without having to close the reports.
Sample Explorations
This section shows the column and filter formulas for six example
explorations. Several pre-defined explorations are also included with
MetaStock Pro.
Long-term Bearish
This exploration shows securities that are below their 200-day moving
average.
Column A: close
Column B: mov(close,200,exponential)
Column C: ((close-mov(close, 200, exponential)) /
Abs(Mov(close,200,exponential))) * 100
Filter: colA < colB
This exploration requires only a filter to produce the desired list of
securities. However, the exploration also includes columns for the
closing price, the 200-day moving average value, and the percent the
close is below its 200-day moving average.
Indicators, 5 popular
This exploration shows the column formulas that will show each
security's close along with five popular indicators.
Column A: close
Column B: macd()
Column C: Stoch(5,3)
Column D: cci(14)
Column E: obv()
Column F: rsi(14)
This exploration does not require a filter. This exploration could be
easily modified to include your favorite indicators.
Performance, Daily
This exploration shows the short-term performance of each security.
Column A: close
Column B: roc(close,1, percent)
Column C: roc(close,5, percent)
Exploration Tips
• Due to the way the Performance indicator is calculated, you may
notice that the column values displayed on the Results report for the
Performance indicator are not consistent. We recommend that you
avoid using the Per() function in explorations.
• The Explorer will not include composite securities in an exploration.
If an exploration folder contains composite securities, they will be
ignored.
• Exploring data stored in the online cache folder is very slow. If you
plan to run explorations regularly, you should consider using local
data instead.
• Remember to use the COL variable within your filter to directly
reference the columns. Using the COL variable is especially
beneficial when the column formulas are long.
Creating an Expert
Perhaps the most important thing to remember when creating an expert is
that it can be as simple or complex as you like. For example, you can
create a very simple expert that simply sounds an alert whenever the
close crosses above its moving average. Another expert could be written
to display a ribbon at the bottom of the chart showing the bullish and
bearish zones as defined by an RSI. Or you could write an expert that
generates a commentary explaining the current state of the security as
defined by five of your favorite indicators. The possibilities are many.
To run the Expert Advisor, choose Expert Advisor from the Tools menu or
Expert Advisor button click the Expert Advisor button on the standard toolbar.
To create a new expert, choose New from the Expert Advisor dialog. The
Expert Editor dialog appears. You use this dialog to create the various
components of an expert. Again it is important to remember that an
expert need not contain every component. In fact most experts you
create will probably only contain one or two components. The only
components required are the Name and one of the other five components
(i.e., Trend, Commentary, Highlights, Symbols, or Alerts).
This dialog is different from most in that you can resize it. Position the
mouse over the border of the dialog and click and drag the mouse until the
Name. Enter the name of the expert in the Name box. Type any unique
information about the expert in the Notes box.
You may want to use a consistent naming convention that describes the
components used in the expert. For example, if the only component of
the expert is a commentary, you may want to name it “MyExpert
(commentary)”. If the only component was an alert, you may name it
“MyExpert (alert). The more descriptive the name, the easier it will be
for you to remember what the expert does.
Trend. Enter the Bullish and Bearish trend rules. The rules are written
using MetaStock’s formula language (see page 235). The rules are
interpreted as either true or false. The results of the trend rules are
displayed in a ribbon, the expert corner, or in the Data Window. See page
403 for more information on writing and viewing trend rules.
Commentary. Enter the commentary to display. Commentaries are
used to tell you, in English (or German, Spanish, etc.), the technical state
of the security. There are two special functions and five constants
available specifically for writing commentaries. The built-in editor also
has a basic word-processing like toolbar that allows you to control fonts
and formatting. The results of the commentary are displayed in the
Expert Commentary dialog. See page 406 for more information on
writing and viewing commentaries.
Components of an Expert
An expert can be as simple or complex as you want. The following
illustration shows an expert that contains all five components. In order
for an expert to produce results, it must be attached to a chart as
illustrated by the arrow.
In most cases, an expert will only contain one or two components. In fact
an expert containing just one of the components will likely be the most
common. The illustration below shows an expert containing just two
components being attached to a chart.
The results of a trend are displayed in an expert ribbon, the expert corner
or in the Data Window.The following chart shows both an expert ribbon
and the expert corner.
To change the fonts, colors, and formatting of text within the expert
commentary editor, use the toolbar at the top of the dialog.
Accelerator Keys
In addition to the buttons on the commentary toolbar, the following
accelerators are also available when editing a commentary:
Find next F3
In the above example, the video clip icon will only display in the
commentary if the close has crossed above a 21-period moving average.
Note that the video clip icon is contained within quotes, just as regular
text would be.
The following example shows an Excel spreadsheet linked within a
writeif() function.
Writeif(rsi(14)>80 and fml("Volatility
Breakout")=1,"View this Excel spreadsheet for
The bar that the commentary is analyzing is labeled with a small black
triangle directly above the bar.
Name. Enter the name for the highlight. You should use a name that is
descriptive of the highlight (e.g., "RSI/Moving Average Bullish"). The
maximum length of the name is 40 characters.
Condition. Enter the formula to use for the highlight. If the formula is
true for a given time period (i.e., day, week, month, etc.), the price plot
will be highlighted with the selected color. Click the Functions button if
you need help with the MetaStock formula language. Formulas must be
written in the MetaStock formula language (see page 235).
Color. Choose the color from the drop list box. This is the color that
will be used when the highlight’s condition is true.
Functions. Click this button to display the Paste Functions dialog (see
page 305). Note that this button is enabled only when the cursor is
located within the Condition box.
Sample Highlights
The following illustrations show some examples of highlights.
This highlight colors the bars blue when the close is below its 20-period
moving average.
This highlight colors the bars green when the closing price is up, the RSI
is below 30, the CCI is below -100, and volume is twice its average.
You can also combine multiple highlights. For example, the previous
two highlights could both be enabled simultaneously from the Highlights
page as shown below. Note that the checked box indicates both are
enabled.
New. Choose this to create a new symbol. The Expert Symbol Editor
appears from which you can specify the name, conditions, and
graphic/text for a symbol. See 428 for more information on this dialog.
Edit. Choose this to edit the selected symbol. The Expert Symbol Editor
dialog appears (see page 426).
Delete. Choose this to delete the selected symbol.
Check All. Click this button to enable (check) all symbols. If you
select only a portion of the symbols, only those selected are enabled.
Uncheck All. Click this button to disable (uncheck) all symbols. If you
select only a portion of the symbols, only those selected are disabled.
Move Up. Click the Move Up button to move the selected symbol up in
Move Up button the list. The higher a symbol is on the list, the higher the priority it is
given. See page 430 for information on priority.
Move Down. Click the Move Down button to move the selected symbol
Move Down button down in the list. The higher a symbol is on the list, the higher the priority
it is given. See page 430 for information on priority.
Specifying the Condition for a Symbol
As with the other components in the Expert Advisor, the conditions for
symbols are written in the MetaStock formula language. They are
Name. Enter the name for the symbol. You should use a name that is
descriptive of the symbol's condition (e.g., "RSI/Moving Average
Bullish"). The maximum length of the name is 40 characters.
Condition. Enter the formula to use for the symbol. If the formula is
true for a given time period (i.e., day, week, month, etc.), the price bar
will be marked with the selected graphic and/or text. You may want to
click the Functions button if you need help with the MetaStock formula
language. Formulas must be written in the MetaStock formula language
(see page 235).
Functions. Click this button to display the Paste Functions dialog (see
page 305). Note that this button is enabled only when the cursor is
located within the Condition box.
Defining the Symbols to Display
The Symbols page of the Expert Symbol Editor dialog is used to define
the graphic and label to use for the symbols. Note that a symbol does not
have to contain both a graphic and a label.
You can also combine multiple symbols. For example, the previous two
symbols could both be enabled simultaneously from the Symbols page as
shown below. Note that the checked boxes indicate both are enabled.
New. Choose this button to create a new alert. The Expert Alert Editor
appears from which you can specify the name, conditions, and define the
pop-up message and WAV or AVI file to play. See page 433 for more
information on this dialog.
Edit. Choose this button to edit the selected alert. The Expert Alert
Editor dialog appears.
Delete. Choose this button to delete the selected alert.
Check All. Click this button to enable (check) all alerts. If you select
only a portion of the alerts, only those selected are enabled.
Uncheck All. Click this button to disable (uncheck) all alerts. If you
select only a portion of the alerts, only those selected are disabled.
Name. Enter the name for the symbol. You should use a name that is
descriptive of the alert’s condition (e.g., RSI/Moving Average Bullish).
The maximum length of the name is 40 characters.
Condition. Enter the formula to use for the alert. When first attaching
the expert, the alert will trigger if the formula is true for the most recent
period loaded in the chart. When opening the chart after the expert is
attached, the alert will trigger if the formula is true for any bars that are
more current than the last time you opened the chart. You may want to
click the Functions button if you need help with the MetaStock formula
language. Formulas must be written using the MetaStock formula
language (see page 235).
Message. Enter the message to display when the alert triggers. You
can enter up to 40 characters.
Text Only. Choose this button if you want only the specified text
message shown in the Message box to display when an alert is triggered.
Play Video. Choose this button if you want the specified video file
shown in the Video File box to play when an alert is triggered.
Play Sound. Choose this button if you want the specified sound file
shown in the Sound File box to play when an alert is triggered. Check the
accompanying "Repeat Sound" box if you want the sound file to repeat
playing once it is triggered. You can stop the sound from playing by
clicking the OK button in the pop-up Expert Alert dialog.
Sound/Video File. Enter the folder and file name of the sound or
Play button video file to play. Sound files have a WAV file extension. Video files
have an AVI file extension. There is no limit to the size of the sound or
video file you can play. Use the Browse button if you need to search
your disk. Once the path and file name are entered, you can click the
play button to test the playback.
This dialog shows the date on which the alert triggered, and displays the
message specified in the Expert Alert Editor. E-mail and pager
notifications associated with the alert are also sent. If a sound or video
file was attached to the alert, it will begin playing. Click the OK button
to remove the dialog and stop the sound or video.
If other alerts remain to be displayed, you can click the “Skip all
remaining alerts for this security” box to keep them from popping up.
Any e-mail and pager alerts will be sent, however.
Alerts can also be triggered if you change the periodicity (see page 120).
For example, an alert that was not triggered on daily data may be
triggered if the periodicity is changed to weekly.
Printing Experts
You can print the names and/or formulas of your experts with the Print
dialog. To access the Print dialog, choose Print from Expert Advisor
dialog.
Pre-packaged Experts
Many pre-packaged experts are included with MetaStock Pro. The
experts written by Equis and shipped with MetaStock Pro begin with
“Equis” (i.e., Equis - Volatility Analysis). The experts written by industry
experts (e.g., Pring, Raff, Fishback, etc.) begin with their name (e.g., Don
Fishback – ODDS™ Option Analyst).
Equis International is not a Registered Investment Advisory service.
The experts included with MetaStock Pro are for educational purposes
and are to be used at your own risk. Equis International (or its
partners) is not liable for the investment decisions you make based on
information obtained from the Expert Advisor.
Note that the assignment of the variable "myvar" is made inside each of
the writeif() functions. As is always the case when assigning variables,
the variable assignment must be followed by a semi-colon. Although the
use of variables in the example above does not seem very beneficial, you
will find that assigning variables to long, complex formulas can make the
commentary much easier to read.
An expert cannot use the input() function directly (see page 306). This
function is reserved for custom indicators only. However, if an expert
uses the fml() function (see page 261) to call the results of a custom
indicator, and the custom indicator uses the input() function, the fml()
function will only return the assigned default input value—the expert will
not prompt for input.
If an expert contains or references (using the fml() function) a multi-plot
indicator, only the last plot is used in the calculation of the exploration.
Remove this Expert from the chart. The expert is removed from
the chart so that it will not calculate again.
Keep this Expert in the chart. The expert will calculate again with
the next data update of the chart and any errors that occur will be
reported.
Don't show future errors for this Expert in this chart. The
expert will calculate again with the next data update of the chart. Any
errors that occur will not be reported. Note that the errors will be
suppressed only for the expert in the current chart.
Note that this dialog may also appear if you changed the folder listed in
the File Locations page in the Application Options dialog (see page 33).
Indicator Guide
The indicators and line studies found in MetaStock Pro can be divided
into six categories. The intent of this guide is to help you develop better
trading systems. A robust technical trading system should probably
incorporate indicators from several of these categories. Note that some
indicators fall into more than one category.
Trend Indicators
The following indicators and line studies can be used to measure trend.
Trend is a term used to describe the persistence of prices to move in one
direction.
Volatility Indicators
The following indicators can be used to measure volatility. Volatility is a
general term used to describe the magnitude of day-to-day fluctuations in
prices (independent of direction). Generally, changes in volatility tend to
lead changes in prices.
Momentum Indicators
The following indicators can be used to measure momentum. Momentum
is a general term used to describe the speed at which prices move over a
given time period. Generally, changes in momentum tend to lead changes
in prices.
Cycle Indicators
The following indicators and line studies can be used to measure cycles.
Many securities, particularly futures, show a tendency to move in cyclical
patterns. Price changes can often be anticipated at key cyclical intervals.
Interpretation
The interpretation of the Accumulation/Distribution Line is similar to the
interpretation of On Balance Volume (see page 493) wherein the
indicator displays the flow of volume into or out of a security. The
discussion on the Chaikin Oscillator (see page 451) explains the
principles behind the Accumulation/Distribution Line.
Tips
Please don't confuse the volume Accumulation/Distribution indicator
with Williams' price Accumulation/Distribution indicator (see page 539).
An example custom indicator (see page 308) shows how to calculate the
Accumulation/Distribution line.
Interpretation
A breakout is indicated when the Accumulation Swing Index exceeds its
value on the day when a previous significant high swing point was made.
A downside breakout is indicated when the value of the Accumulation
Swing Index drops below its value on a day when a previous significant
low swing point was made.
You can confirm trendline breakouts by comparing trendlines on the
Accumulation Swing Index to trendlines on the price chart. A false
breakout is indicated when a trendline drawn on a price chart is
Andrews' Pitchfork
Andrews' Pitchfork is a line study consisting of three parallel lines. The
lines are drawn from three points that you select.
The three trendlines are drawn as follows: The first trendline begins at
the left-most point selected and is drawn so it passes directly between the
right-most points. This line is the handle of the pitchfork. The second
and third trendlines are then drawn beginning at the right-most points and
are drawn parallel to the first line. These lines are the tines of the
pitchfork.
See page 205 for more information on drawing line studies. See page 215
for more information on the Andrews' Pitchfork parameters.
Interpretation
The interpretation of a Pitchfork is based on normal trendline support and
resistance principles (see page 529).
Aroon
The Aroon indicator was developed by Tushar Chande. Aroon is Sanskrit
word meaning “dawn’s early light” or the change from night to day. The
Aroon indicator allows you to anticipate changes in security prices from
trending to trading range. For more information on the Aroon indicator
see the article written by Tushar Chande in the September 1995 issue of
Technical Analysis of Stocks & Commodities magazine.
These changes are anticipated by measuring the number of periods that
have passed since the most recent x-period high and x-period low.
Therefore, the Aroon indicator consists of two plots; one measuring the
number of periods since the most recent x-period high (Aroon Up) and
the other measuring the number of periods since the most recent x-period
low (Aroon Down).
The actual plotted value is a “stochastic” like scale (see page 521) ranging
from 0 to 100. Assuming a default time-period of 14 days, if a security
makes a new 14-day high, the Aroon Up = 100; when the security makes a
new 14-day low, the Aroon Down = 100. When the security has not made
a new high for 14 days, the Aroon Up = 0; when the security has not
made a new low for 14 days, the Aroon Down = 0.
As explained in the interpretation section for the VHF indicator (see page
533) the age-old problem for many trading systems is their inability to
determine if a trending or trading range market is at hand. Trend-
following indicators such as MACD and moving averages, tend to be
whipsawed as markets enter a non-trending congestion phase. On the
Interpretation
There are basically three conditions that you look for when interpreting
the Aroon indicator: extremes at 0 and 100, parallel movement between
Aroon Up and Aroon Down, and crossovers between Aroon Up and
Aroon Down.
Extremes. When the Aroon Up line reaches 100, strength is indicated. If
the Aroon Up remains persistently between 70 and 100, a new uptrend is
indicated. Likewise if the Aroon Down line reaches 100, potential
weakness is indicated. If the Aroon Down remains persistently between
70 and 100, a new downtrend is indicated.
A strong uptrend is indicated when the Aroon Up line persistently
remains between 70 and 100 while the Aroon Down line persistently
remains between 0 and 30. Likewise a strong downtrend is indicated
when the Aroon Down line persistently remains between 70 and 100
while the Aroon Up line persistently remains between 0 and 30.
Parallel Movement. When the Aroon Up and Aroon Down Lines move
parallel with each other (are roughly at the same level), then
consolidation is indicated. Expect further consolidation until a
directional move is indicated by an extreme level or a crossover.
Crossovers. When the Aroon Down line crosses above the Aroon Up
line, potential weakness is indicated. Expect prices to begin trending
lower. When the Aroon Up line crosses above the Aroon Down line,
potential strength is indicated. Expect prices to begin trending higher.
Bollinger Bands
Bollinger Bands are a type of envelope (see page 464) developed by John
Bollinger. However, where envelopes are plotted at a fixed percentage
above and below a moving average, Bollinger Bands are plotted at
standard deviation levels above and below a moving average.
You may find the expert named "Equis - Bollinger Bands" helpful in
interpreting Bollinger Bands. See page 435 for more information an
experts.
For information on products and services offered by John Bollinger
contact Bollinger Capital Management at 1-310-798-8855.
See page 163 for more information on plotting indicators. See page 176
for more information on the Bollinger Band parameters.
Interpretation
When displaying Bollinger Bands in MetaStock Pro (see page 176), you
are prompted to enter the number of periods in the bands and the number
of standard deviations between the bands and the moving average. Mr.
Bollinger recommends default values of "20" for the number of periods,
"simple" for the moving average method, and "2" deviations. He notes
that periods of less than 10 periods do not appear to work very well.
MetaStock Pro plots Bollinger Bands on the security's prices or indicator.
These interpretational comments refer to bands on the security's closing
price.
Because the spacing between Bollinger Bands is based on the standard
deviation of the security, the bands widen when the security becomes
more volatile, and contract when the security becomes less volatile.
Mr. Bollinger notes the following characteristics of Bollinger Bands.
• Sharp price changes tend to occur after the bands tighten, as
volatility lessens.
• When prices move outside the bands, a continuation of the trend is
implied.
Tip
An example custom indicator (see page 308) shows how to calculate
Bollinger Bands.
Candlesticks, Japanese
The Japanese developed a method of technical analysis in the 1600s to
analyze the price of rice contracts. This technique is called Candlestick
charting.
Candlestick charts display the open, high, low, and closing prices in a
format similar to a modern-day bar-chart. Articles written by Steven
Nison that explain Candlestick charting appeared in the December, 1989
and April, 1990 issues of Futures Magazine. The definitive book on the
subject is Japanese Candlestick Charting Techniques also by Steve Nison
(see page 544).
You may find the expert named "Equis - Candlesticks" helpful in
interpreting Candlestick patterns. See page 435 for more information an
experts.
The following illustration shows the components of the two types of
candlesticks:
Interpretation
See page 288 for detailed information on many candlestick patterns.
A good way to learn about candlestick patterns is to attach the expert
named "Equis - Candlesticks" to a chart.
Candlevolume
Candlevolume charts are a unique hybrid of the Equivolume and
Candlestick charting methods. A candlevolume chart possesses the
shadows and empty/filled body characteristics of Candlestick charts, plus
the volume-based body width of Equivolume charts. This combination
gives you the unique ability to study Candlestick patterns in combination
with their volume.
Interpretation
The following article on volume accumulation/distribution interpretation,
written by Mr. Marc Chaikin, is reprinted here with his permission.
Technical analysis of both market averages and stocks must include
volume studies in order to give the technician a true picture of the internal
dynamics of a given market. Volume analysis helps in identifying internal
strengths and weaknesses that exist under the cover of price action. Very
often, volume divergences versus price movement are the only clues to an
important reversal that is about to take place. While volume has always
been mentioned by technicians as important, little effective volume work
was done until Joe Granville and Larry Williams began to look at volume
versus price in the late 1960s in a more creative way.
For many years it had been accepted that volume and price normally rose
and fell together, but when this relationship changed, the price action
should be examined for a possible change of trend. The Granville OBV
A confirmed high or low does not imply any further price action in
that direction. I view that as a non-event.
2. A second way to use the Chaikin Oscillator is to view a change of
direction in the oscillator as a buy or sell signal, but only in the
direction of the trend. For example, if we say that a stock that is
above its 90-day moving average of price is in an up-trend, then an
upturn of the oscillator while in negative territory would constitute a
buy signal only if the stock were above its 90-day moving average--
not below it.
Tips
Advanced users can perform variations on the Chaikin Oscillator by
changing the "3" and "10" in the following formula (see page 300).
mov( ad(), 3, E) - mov( ad(), 10, E)
An example custom indicator (see page 309) shows how to calculate the
Chaikin Oscillator.
Interpretation
The interpretation of the Chaikin Money Flow indicator is based on the
assumption that market strength is usually accompanied by prices closing
in the upper half of their daily range with increasing volume. Likewise,
market weakness is usually accompanied by prices closing in the lower
half of their daily range with increasing volume.
If prices consistently close in the upper half of their daily high/low range
on increased volume, then the indicator will be positive (i.e., above the
zero line). This indicates that the market is strong. Conversely, if prices
consistently close in the lower half of their daily high/low range on
increased volume, then the indicator will be negative (i.e., below the zero
line). This indicates that the market is weak.
The Chaikin Money Flow indicator provides excellent confirmation
signals of trendline and support/resistance breakouts. For example, if a
security's prices have recently penetrated a downward sloping trendline
(signaling a potential trend reversal), you may want to wait for further
confirmation by allowing the Chaikin Money Flow indicator to cross
above the zero line. This may indicate an overall shift from a downtrend
to a new uptrend.
A divergence between the Chaikin Money Flow indicator and prices are
also significant. For example, if the most recent peak of the indicator is
lower than it's prior peak, yet prices are continuing upward, this may
indicate weakness.
Interpretation
The CMO can be used to measure several conditions.
Overbought/oversold. The primary method of interpreting the CMO is
looking for extreme overbought and oversold conditions. As a general
rule, Mr. Chande quantifies an overbought level at +50 and the oversold
level at -50. At +50, up-day momentum is three times the down-day
momentum. Likewise, at -50, down-day momentum is three times the up-
day momentum. These levels correspond to the 70/30 levels on the RSI
indicator.
You could also establish overbought/oversold entry and exit rules by
plotting a moving average trigger line on the CMO. For example, if you
are using the default 20-period CMO, a 9-period moving average may
serve as a good trigger line. Buy when the CMO crosses above the 9-
period trigger line; sell when it crosses below.
Trendiness. The CMO (much like the VHF indicator, see page 533) can
also be used to measure the degree to which a security is trending. The
higher the CMO, the stronger the trend. Low values of the CMO show a
security in a sideways trading range.
You may find the CMO helpful in establishing the entry and exit rules of
a trend following system. Enter when the CMO is high and exit when it
moves lower.
Divergence. Although not specifically mentioned in Mr. Chande’s book,
you could also look for divergence between the CMO and the price, as is
often done with other momentum indicators. See the discussion about
divergence in the Interpretation section of RSI (see page 512).
Interpretation
While the CCI was originally designed for commodities, the indicator
also works very well with stocks and mutual funds.
There are two methods of interpreting the CCI:
• Looking for divergences
Correlation
The purpose of correlation analysis is to measure the relationship between
two variables. This relationship is called the "correlation coefficient."
The correlation coefficient ranges between ±1.0. A coefficient of +1.0 is
a perfect positive correlation and -1.0 is a perfect negative correlation.
Two variables with no relationship will have a coefficient of zero.
See page 163 for more information on plotting indicators. See page 178
for more information on the Correlation parameters.
Interpretation
Correlation analysis involves a "dependent" and an "independent"
variable. Correlation analysis measures whether or not a change in the
independent variable will result in a change in the dependent variable.
A low correlation coefficient (e.g., ±0.10) suggests that the relationship
between the two variables is weak or non-existent. A high correlation
indicates that the dependent variable (e.g., the security's price) will
change when the independent variable (e.g., an indicator) changes.
The direction of the dependent variable's change depends on the sign of
the coefficient. If the coefficient is a positive number, then the dependent
variable will move in the same direction as the independent variable; if
the coefficient is negative, then the dependent variable will move in the
opposite direction of the independent variable.
A useful feature of correlation analysis is its predictive capability, because
the correlation coefficient shows how well a change in the independent
variable (e.g., an indicator) predicts a change in the dependent variable
(e.g., the security's price).
Cycle Lines
Cycles allow us to accurately predict events in nature: bird migrations, the
tides, planetary movements, etc. You can also use cycle analysis to
predict changes in financial markets, although not always with the
accuracy found in nature.
We know that prices are a consensus of human expectations. These
expectations are always changing, shifting the supply/demand lines (see
page 523), and causing prices to oscillate between overbought and
oversold levels. Fluctuations in prices are a natural process of changing
expectations and lead to cyclical patterns.
See page 205 for more information on drawing line studies. See page 215
for more information on Cycle Line parameters.
Interpretation
An obvious example of a cyclical pattern is shown in a chart of a sine
wave. Although security prices rarely move with this degree of
DEMA
DEMA is a unique smoothing indicator developed by Patrick Mulloy. It
was originally introduced in the February 1994 issue of Technical
Analysis of Stocks & Commodities magazine.
As Mr. Mulloy explains in the article:
"Moving averages have a detrimental lag time that increases as the
moving average length increases. The solution is a modified version of
exponential smoothing with less lag time."
DEMA is an acronym that stands for Double Exponential Moving
Average. However, the name of this smoothing technique is a bit
misleading in that it is not simply a moving average of a moving average.
It is a unique composite of a single exponential moving average and a
double exponential moving average that provides less lag than either of
the two components individually.
See page 163 for more information on plotting indicators. See page 179
for more information on the DEMA parameters.
Interpretation
DEMA can be used in place of traditional moving averages. You can use
it to smooth price data or other indicators. Some of Mr. Mulloy's original
testing of DEMA was done on the MACD. Oddly, he found that the
faster responding DEMA-smoothed MACD produced fewer (yet more
profitable) signals than the traditional 12/26 smoothed- MACD. A
custom indicator named "MACD (DEMA-smoothed)" is included with
MetaStock Pro.
This type of smoothing is certainly not limited to the MACD. You may
want to experiment on other indicators as well.
See page 525 for information on TEMA, a similar smoothing method
developed by Mr. Mulloy.
Demand Index
The Demand Index, developed by James Sibbet, combines price and
volume in such a way that it is often a leading indicator of price change.
The Demand Index calculations are too complex, however, for this text.
Interpretation
There are six "rules" to the Demand Index:
• A divergence between the Demand Index and the price trend suggests
an approaching weakness in price.
• One more rally to new highs usually follows an extreme peak in the
Demand Index (the Index is performing as a leading indicator).
• Higher prices with a lower Demand Index peak usually coincides
with an important top (the Index is performing as a coincidental
indicator).
• The Demand Index penetrates the level of zero indicating a change in
trend (the Index is performing as a lagging indicator).
• When the Demand Index stays near the level of zero for any period of
time, a weak price movement that will not last long is indicated.
• A large long-term divergence between prices and the Demand Index
indicates a major top or bottom.
Interpretation
Long-term cycles are made up of a series of short-term cycles. Analyzing
these shorter term components of the long-term cycles can be helpful in
identifying major turning points in the longer term cycle. The DPO is
helpful in recognizing the underlying cyclical components of the price
action.
You may find it helpful to fit cycle lines (see page 458) to the DPO to
determine the length of the cycles.
Directional Movement
The Directional Movement System, developed by J. Welles Wilder, is
explained thoroughly in his book, New Concepts in Technical Trading
Systems (see page 544). MetaStock Pro calculates and plots all five of the
indicators that comprise the Directional Movement System (i.e., CSI,
+DI, -DI, ADX, and ADXR).
MetaStock Pro also calculates a related indicator, the Commodity
Selection Index (see page 456).
Wilder's book gives complete step-by-step instructions (and examples) on
calculating and interpreting each of the above indicators.
You may find the expert named "Equis - Directional Movement" helpful
in interpreting Directional Movement indicators. See page 435 for more
information an experts.
See page 163 for more information on plotting indicators. See page 180
for more information on the Directional Movement parameters.
Interpretation
The basic Directional Movement trading system involves plotting the 14-
period +DI and the 14-period -DI on top of each other in the same inner
window (see page 172). An improved method of displaying these two
indicators is to plot their difference using the following formula:
pdi(14) - mdi(14)
Positions should be taken by buying when the +DI rises above the -DI
(i.e., the formula shown above rises above zero) and selling when the
+DI falls below the -DI (i.e., the formula falls below zero).
These simple trading rules are qualified with the "extreme point rule."
This rule is designed to prevent whipsaws and reduce the number of
trades.
The extreme point rule requires that on the day that the +DI and -DI cross,
you note the "extreme price." If you are long, the extreme price is the low
Interpretation
Chande recommends using the DMI much the same as the RSI. However,
because the DMI is more sensitive to market dynamics, it often leads the
RSI into overbought/oversold territories by one or two days.
Like the RSI, look for overbought (bearish) conditions above 70 and
oversold (bullish) conditions below 30. However, before basing any trade
off of strict overbought/oversold levels using DMI or any
overbought/oversold indicator, Chande recommends that you first qualify
Ease of Movement
The Ease of Movement indicator was developed by Richard W. Arms, Jr.,
best known for the popular Arms Index and the Equivolume charting
method. The Ease of Movement indicator is a product of the Equivolume
charting method. The Ease of Movement indicator provides one value
(for each time period) representing the price and volume for that period.
It calculates the ease at which prices are moving. The larger the price
move and the lighter the volume, the easier the movement.
Ease of Movement (EMV) is calculated as follows:
Midpoint Move
EMV =
Box Ratio
Where:
Today' s High + Today' s Low Yesterday' s High + Yesterday' s Low
Midpoint = −
2 2
Volume (in 10,000s)
Box Ratio =
High - Low
Interpretation
The Ease of Movement indicator produces a buy signal when the
indicator crosses above the zero center line, indicating that the security is
moving upward easily; a sell signal is given when the indicator crosses
below the zero center line, indicating that the security is moving
downward easily.
High ease of movement values correspond with easy upward price
movement whereas low ease of movement values correspond with easy
downward price movement. When price movement is small on heavy
volume, the ease of movement indicator is zero.
Interpretation
Envelopes define the upper and lower boundaries of a security's normal
trading range. A sell signal is generated when the security reaches the
upper band, whereas a buy signal is generated at the lower band. The
optimum percentage shift depends on the volatility of the security--the
more volatile, the larger the percentage.
The logic behind envelopes is that overzealous buyers and sellers push the
price to the extremes (i.e., the upper and lower bands), at which point the
prices often stabilize by moving to more realistic levels. This is similar to
the interpretation of Bollinger Bands (see page 449).
Equivolume
Developed by Richard W. Arms, Jr., and explained in his book Volume
Cycles in the Stock Market (see page 544), Equivolume presents a highly
informative picture of market activity for stocks, futures, and indices.
Equivolume departs from other charting methods with its emphasis on
volume as an equal partner with price. Instead of being displayed as an
"afterthought" on the lower margin of a chart, volume is combined with
price in a two-dimensional box. The top line of the box is the high for the
period and the bottom line is the low for the period. The width of the box
is the unique feature of Equivolume charting; it represents the volume of
trading for the period.
The width of the box is controlled by a normalized volume value. The
volume for an individual box is normalized by dividing the actual volume
for the period by the total of all volume displayed on the chart.
Therefore, the width of each Equivolume box is based on a percentage of
total volume, with the total of all percentages equaling 100.
The following illustration shows the components of an Equivolume box:
Interpretation
The shape of each Equivolume box provides a picture of the supply and
demand for the security during a specific trading period. Short and wide
boxes (i.e., small change in price combined with heavy volume) tend to be
seen at turning points, while tall and narrow boxes (i.e., large change
combined with low volume) are more likely to be seen during continuing
moves.
Especially important are boxes which penetrate old support or resistance
levels, since it takes "power" to create a reliable penetration. A "power
box" is one in which both height and width increase substantially. Lack
of box width, due to light volume, puts the validity of a breakout in
question.
The more volume in a top or bottom consolidation, the larger the ensuing
move is likely to be. Volume is directly observable on an Equivolume
chart by noting the overall width of the consolidation.
For an in-depth understanding of Equivolume, we recommend the book
Volume Cycles in the Stock Market by the developer, Richard W. Arms,
Jr. (see page 544).
Fibonacci Studies
Leonardo Fibonacci was an important mathematician who was born in
Italy around the year 1170. It is rumored that Fibonacci discovered the
relationship of what are now referred to as Fibonacci numbers while
studying the Great Pyramid of Giza in Egypt.
Fibonacci numbers are a sequence of numbers in which each successive
number is the sum of the two previous numbers:
1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, etc.
These numbers possess an intriguing number of interrelationships, such as
the fact that any given number is approximately 1.618 times the preceding
number and any given number is approximately 0.618 times the following
number. The booklet Understanding Fibonacci Numbers by Edward
Dobson (see page 544) contains a good discussion of these
interrelationships.
See page 205 for more information on drawing line studies. See
Fibonacci Arcs (page 216), Fibonacci Fans (page 217), Fibonacci
MetaStock Professional Interpretation of Indicators and Line Studies • 465
Retracements (page 217), and Fibonacci Time Zones (page 217) for more
information on the Fibonacci parameters.
Interpretation
MetaStock Pro has four Fibonacci studies: arcs, fans, retracements, and
time zones.
The general interpretation of the Fibonacci studies involves the
anticipation of a change in trend as prices near the lines created by the
Fibonacci studies.
Arcs
The calculation and interpretation of Fibonacci Arcs is similar to that of
Fibonacci Fan Lines. First, a trendline is drawn between two extreme
points. MetaStock Pro then draws three arcs, centered on the second
extreme point, that intersect the trendline drawn between the two extreme
points at the Fibonacci levels of 38.2%, 50.0%, and 61.8%.
The interpretation of Fibonacci Arcs involves looking for, or anticipating,
support and resistance as prices approach the arcs. A common technique
is to display both Fibonacci Arcs and Fibonacci Fan Lines and to
anticipate support/resistance at the points where the Fibonacci studies
cross.
The points where the Arcs cross the price data will vary depending on the
scaling, because the Arcs are drawn so they always appear circular
relative to the computer screen.
Fans
Fibonacci Fan Lines are displayed by first drawing a trendline between
two extreme points. MetaStock Pro then draws an invisible vertical line
through the second extreme point. This vertical line is then divided at the
Fibonacci levels of 38.2%, 50.0%, and 61.8%. Finally, three trendlines
are drawn from the first extreme point so they pass through the invisible
vertical line at the above three levels. (This technique is similar to the
method used to calculate Speed Resistance Lines, see page 515.)
Retracements
Fibonacci Retracements are displayed by first drawing a trendline
between two extreme points (i.e., a significant trough and peak). After
selecting Fibonacci Retracement from the Insert menu, a series of up to
nine horizontal lines will be drawn at the Fibonacci levels of 0.0%,
23.6%, 38.2%, 50.0%, 61.8%, 100%, 161.8%, 261.8%, and 423.6%.
After a significant move (either up or down), prices will often rebound
and retrace a significant portion (if not all) of the original move. As the
price retraces, support and resistance levels will often occur at or near the
Fibonacci Retracement levels.
Forecast Oscillator
The Forecast Oscillator is an extension of the linear regression based
indicators made popular by Tushar Chande. The Forecast Oscillator plots
the percentage difference between the forecast price (generated by an x-
period linear regression line) and the actual price. The oscillator is above
zero when the forecast price is greater than the actual price. Conversely,
it's less than zero if its below. In the rare case when the forecast price and
the actual price are the same, the oscillator would plot zero.
For more on linear regression analysis see pages 480, 478, and 530.
Interpretation
Actual prices that are persistently below the forecast price suggest lower
prices ahead. Likewise, actual prices that are persistently above the
forecast price suggest higher prices ahead. Short-term traders should use
shorter time periods and perhaps more relaxed standards for the required
length of time above or below the forecast price. Long-term traders
should use longer time periods and perhaps stricter standards for the
required length of time above or below the forecast price.
Chande also suggests plotting a three-day moving average trigger line of
the Forecast Oscillator to generate early warnings of changes in trend.
When the oscillator crosses below the trigger line, lower prices are
suggested. When the oscillator crosses above the trigger line, higher
prices are suggested.
Fourier Transform
It is beyond the scope of the manual to provide a full explanation of
Fourier analysis. Further information can be found in Technical Analysis
of Stocks & Commodities magazine (TASC), Volume One issues #2, #4,
and #7; Volume Two issue #4; Volume Three issues #2 and #7
(Understanding Cycles); Volume Four issue #6; Volume Five issues #3
(In Search of the Cause of Cycles) and #5 (Cycles and Chart Patterns);
and Volume Six issue #11 (Cycles).
Fourier Transforms were originally developed as an engineering tool to
study repetitious (cyclical) phenomena such as the vibration of a stringed
musical instrument or an airplane wing during flight.
The complete analysis concept is called spectral analysis. Fast Fourier
Transform (FFT) is an abbreviated calculation that computes in seconds
Interpretation
As stated at the beginning of this section, it is beyond the scope of the
manual to provide complete interpretation of FFT analysis. The
remainder of this section explains the interpretation of MetaStock Pro's
Interpreted FFT.
The Interpreted FFT displays an indicator that shows the three
predominate cycle lengths and the relative strength (i.e., the relative
amplitudes) of the cycles.
The Interpreted FFT indicator is always displayed from the most
significant cycle to the least significant cycle. The longer the indicator
remains at a specific cycle length, the more predominate it was in the data
being analyzed.
Once you know the predominate cycle length, you may want to use it as a
parameter for other indicators. For moving averages, use 1/2 of the cycle
length for the optimum number of periods. For example, if you know that
a security has a 40-day cycle, you may want to plot a 20-day moving
average.
Gann Studies
W. D. Gann (1878-1955) designed several unique techniques for studying
price charts. Central to Gann's techniques was the use of geometric
angles in conjunction with time and price. Gann believed that specific
Interpretation
Gann Angles are drawn between a significant bottom and top (or vice
versa) at various angles. Deemed the most important by Gann, the 1 x 1
trendline signifies a bull market if prices are above the trendline or a bear
market if below. Gann felt that a 1 x 1 trendline provides major support
during an up-trend and when the trendline is broken, it signifies a major
reversal in the trend. Gann identified nine significant angles, with the 1 x
1 being the most important:
1x8 - 82.5 degrees
1x4 - 75 degrees
1x3 - 71.25 degrees
1x2 - 63.75 degrees
1x1 - 45 degrees
2x1 - 26.25 degrees
3x1 - 18.75 degrees
4x1 - 15 degrees
8x1 - 7.5 degrees
Note that in order for the rise/run values (e.g., 1 x 1, 1 x 8, etc.) to match
the actual angles (in degrees), the x- and y-axes must have equally spaced
intervals. This means that one unit on the x-axis (i.e., hour, day, week,
month, etc.) must be the same distance as one unit on the y-axis. The
easiest way to calibrate the chart is make sure that a 1 x 1 angle produces
a 45 degree angle.
Gann observed that each of the angles can provide support and resistance
depending on the trend. For example, during an up-trend the 1 x 1 angle
tends to provide major support. A major reversal is signaled when prices
fall below the 1 x 1 angled trendline. According to Gann, prices should
then be expected to fall to the next trendline (i.e., the 2 x 1 angle). In
other words, as one angle is penetrated, expect prices to move and
consolidate at the next angle.
Gann developed several techniques for studying market action. These
include Gann Lines, Gann Fans, and Gann Grids.
Interpretation
The interpretation of the Herrick Payoff Index involves visually
comparing the action of the Index with the price while looking for
divergences and convergences. An example divergence would be
increasing prices while the Index is falling. An example convergence
would be decreasing prices while the Index is rising.
Tip
Open interest is usually not available for the most recent day. Thus, the
right most data point of the Herrick Payoff Index is usually blank.
High/Low/Close Bar
A bar chart is the most popular way to display security prices. A bar chart
is made up of vertical bars, with each bar representing the price
movement for a time period (i.e., hour, day, week, month, etc.). Hash
marks on the left and right sides of the bar represent the opening and
closing prices respectively. The top of the bar represents the high price
and the bottom of the bottom represents the low price.
Inertia
The Inertia indicator was developed by Donald Dorsey. It was originally
introduced in the September 1995 issue of Technical Analysis of Stocks
& Commodities magazine. It is an outgrowth of Dorsey’s Relative
Volatility Index (see page 513).
Dorsey chose the name “Inertia” because of his definition of a trend. He
asserts that a trend is simply the “outward result of inertia.” It takes
significantly more energy for a market to reverse direction than to
continue along the same path. Therefore a trend is a measurement of
market inertia.
In physics, Inertia is defined in terms of mass and direction of motion.
Using technical analysis to analyze security prices, the direction of motion
is easily defined. However, mass is not so easily defined. Dorsey asserts
that “volatility” may be the simplest and most accurate measurement of
inertia. This theory led him to use the Relative Volatility Index (RVI) as
the basis for a trend indicator.
Inertia is simply a smoothed RVI. The smoothing mechanism is a Linear
Regression indicator (see page 475). The RVI helps measure the general
direction of volatility. Dorsey found that by smoothing the RVI, a good
long-term trend indicator resulted.
See page 163 for more information on plotting indicators. See page 183
for more information on the Inertia parameters.
Interpretation
If the Inertia indicator is above 50, positive inertia is indicated. The
long-term trend is up and should remain up as long as the indicator is
above 50. If it's below 50, negative inertia is indicated. The long-term
trend is down and should remain down as long as the indicator is below
50.
Interpretation
Overbought/oversold. Index values above 70 indicate a potential
overbought situation with lower prices ahead. Values below 30 indicate a
potential oversold situation with higher prices ahead. As with all
overbought/oversold indicators, you should first quantify the trendiness of
the market before acting on the signals. Indicators like the VHF (see page
533), CMO (see page 454), and r-squared (see page 506) can be used to
gauge the trendiness of the market.
Divergences. The basic premise behind the IMI, is that shifts in intraday
momentum lead shifts in interday momentum. Look for divergences
between the indicator and the price action. If the price trends higher
(lower) and the IMI trends lower (higher), then a reversal may be
imminent.
Candlestick Confirmation. The IMI is useful in confirming candlestick
patterns. For example, before acting on a bullish candlestick pattern such
as the Engulfing Bullish Lines (see page 291), you may want to confirm
the bullishness with the IMI.
Kagi
Kagi charts are thought to have been created around the time the Japanese
stock market started trading in the 1870s. Kagi charts were introduced to
the western world by Steve Nison (a well-known authority on the
Candlestick charting method). Kagi charts display a series of connecting
vertical lines where the thickness and direction of the lines are dependent
on the price action. If closing prices continue to move in the direction of
the prior vertical Kagi line, that line is extended. However, if the closing
price reverses by a pre-determined "reversal" amount, a new Kagi line is
drawn in the next column in the opposite direction. An interesting aspect
Interpretation
Kagi charts are an excellent way to view the underlying supply and
demand of a security. A series of thick lines shows that demand is
exceeding supply (a rally); a series of thin lines shows that supply is
exceeding demand (a decline); and a series of alternating thick and thin
lines shows that the market may be in a relative state of equilibrium (i.e.,
supply equals demand).
The most basic trading technique for Kagi charts is to buy when the Kagi
line changes from thin to thick and to sell when the Kagi line changes
from thick to thin.
A sequence of higher highs and higher lows on Kagi charts shows the
underlying force of the bulls. As a general rule of thumb, eight to 10
higher highs on a Kagi chart often coincides with an overextended market
(i.e., a downside reversal may be imminent). Whereas, lower highs and
lower lows may reflect an underlying weakness.
Indicators calculated on kagi charts use all the data in each column and
then display the average value of the indicator for that column.
For more in-depth coverage of the Kagi charting method, we recommend
the book Beyond Candlesticks by Steve Nison (see page 544).
Klinger Oscillator
The Klinger Oscillator (KO) was developed by Stephen J. Klinger.
Learning from prior research on volume by such well-known technicians
as Joseph Granville, Larry Williams, and Marc Chaikin, Mr. Klinger set
out to develop a volume-based indicator to help in both short- and long-
term analysis.
Interpretation
Mr. Klinger recommends the following guidelines for using the KO:
1) The most reliable signals occur in the direction of the prevailing trend.
Strict stop guidelines (i.e., failure to penetrate the zero line or a violation
of the trigger line) should remain in force.
2) The most important signal occurs when the KO diverges with the
underlying price action, especially on new highs or new lows in
overbought/oversold territory. For example, when a stock makes a new
high or low for a cycle and the KO fails to confirm this, the trend may be
losing momentum and nearing completion.
3) If the price is in an uptrend (i.e., above an 89-day exponential moving
average), buy when the KO drops to unusually low levels below zero,
turns up, and crosses its trigger line. If the price is in a downtrend (i.e.,
below an 89-day exponential moving average), sell when the KO rises to
unusually high levels above zero, turns down, and crosses its trigger line.
While the KO works well for timing trades in the direction of the trend, it
is less effective against the trend. This can create problems for the trader
trying to "scalp" a trade against the prevailing trend. However, when the
KO is used in conjunction with other technical indicators, better results
Tip
Stephen Klinger suggests the following formula for viewing the
cumulative flow of money into and out of a security:
cum(kvo())
Plot a 13-period moving average of the formula as a trigger line for
entering buy and sell trades. See page 299 for more information on
creating formulas.
Line Chart
A line chart is the simplest type of chart. One price (typically the close)
is plotted for each time period (i.e., day, week, month, etc.). A single,
unbroken line connects each of these price points.
Interpretation
Line charts, by themselves are used to view the movement of the
security's prices over a specific time period. Indicators (see page 163)
and line studies (see page 205) can be displayed along with line charts to
help determine the future direction of the security's price.
A line chart's strength comes from its simplicity. It provides an
uncluttered, easy to understand view of a security's price. Line charts are
typically displayed using a security's closing prices.
Interpretation
The interpretation of a Linear Regression indicator is similar to a moving
average. However, the Linear Regression indicator has two advantages
over moving averages.
Unlike a moving average, a Linear Regression indicator does not exhibit
as much "delay." Since the indicator is "fitting" a line to the data points
rather than averaging them, the Linear Regression line is more responsive
to price changes.
The indicator is actually a forecast of the next periods (tomorrow’s) price
plotted today. The Forecast Oscillator plots the percentage difference
between the forecast price and the actual price. Tushar Chande suggests
that when prices are persistently above or below the forecast price, prices
can be expected to snap back to more realistic levels. In other words the
Linear Regression indicator shows where prices should be trading on a
statistical basis. Any excessive deviation from the regression line should
be short-lived.
Interpretation
It is helpful to consider Slope in relation to r-squared (see page 506).
While Slope gives you the general direction of the trend (positive or
negative), r-squared gives you the strength of the trend. A high r-squared
value can be associated with a high positive or negative Slope.
When the Slope of the trend first becomes significantly positive, you
could open a long position. You could sell, or open a short position when
the Slope first becomes significantly negative. You should refer to the
table below to determine when a trend is deemed “significant.” For
example, if the 14-period Slope has recently turned from negative to
positive (i.e., crossed above zero), you may consider buying when r-
squared crosses above the 0.27 level.
Interpretation
If you had to guess what a particular security's price would be tomorrow,
a logical guess would be “fairly close to today’s price.” If prices are
MACD
The Moving Average Convergence/Divergence indicator (MACD) is
calculated by subtracting the value of a 0.075 (26-period) exponential
moving average from a 0.15 (12-period) exponential moving average. A
9-period dotted exponential moving average (the "signal line") is
automatically displayed on top of the MACD indicator line.
You may find the expert named "Equis - MACD" helpful in interpreting
the MACD indicator. See page 435 for more information an experts.
See page 163 for more information on plotting indicators. See page 185
for more information on the MACD parameters.
Interpretation
The basic MACD trading rule is to sell when the MACD falls below its 9-
period signal line. Similarly, a buy signal occurs when the MACD rises
above its signal line.
A variation of the MACD can be created by plotting the following
formula:
macd() - mov(macd(), 9, E)
Then change the indicator line style to a histogram (see page 169), and
plot a 9-period dotted moving average of the indicator.
Tips
Additional variations on the MACD (e.g., different moving average time
periods) can be created using the Price Oscillator indicator (see page
501).
An example custom indicator (see page 309) shows how to calculate the
MACD.
Interpretation
The MFI as a stand-alone indicator has little value. However, by
comparing the current bar's MFI and volume with the previous bar's MFI
and volume, a very tradable system emerges.
William's defines the four possible combinations of MFI and volume as
follows. A plus sign means the current bar's value is greater than the
previous bar's value. A minus sign means the current bar's value is less
than the previous bar's value.
Green. This bar shows an increase in volume and MFI relative to the
previous bar. Hence, there is price movement, and the MFI is larger for
this bar than that for the previous bar. Further, more players are entering
the market as signaled by the increase in volume. This activity in the
futures market means that off-floor traders are very active. In addition,
the price action is directional--that is, the market is moving in one
direction due to the involvement of new traders putting on new positions.
This is the kind of day that you would already want to have a trade on in
the same direction.
Fade. This bar shows a decrease in volume and MFI relative to the
previous bar. The market has slowed and there is a minor amount of
activity as indicated by the low volume. This type of day is called a fade,
as the traders' interest in the market by this point is fading. Often, this
sort of day happens at the end of a trend. The market has simply reached
a point where nobody is willing to establish any new positions. At this
point the market appears to be suffering from a certain amount of
boredom. Keep in mind, however, that out of this market condition, a
new trend could emerge.
Fake. This bar shows a decrease in volume but an increase in the MFI.
This condition means that the market is moving more relative to the
previous bar (the greater MFI), but the lack of volume is evidence that
there is no new participation. The price action may be driven by just the
traders in the pit and is not attracting new players from the outside.
Williams has an hypothesis, that the traders in the pit may be just strong
enough to push the market to price levels where there are many stop
orders resting in the hands of the brokers, hence faking out the off-floor
traders.
Squat. This bar shows an increase in volume relative to the previous bar,
but the MFI is lower. The increase in volume indicates heavy activity, but
the decrease in the MFI indicates that the market is unable to make any
real headway. Volume increased, the trend has stalled and the price
movement has stopped. This price action usually, but not always occurs
prior to an important move in the opposite direction. This type of bar is
called a squat bar because the market appears to be squatting prior to a
breakout. Often, the breakout of such a bar will indicate whether this
squat is a trend reversal squat or a trend continuation squat.
Mass Index
The Mass Index, popularized by Tushar Chande and Donald Dorsey (see
the June 1992 issue of Technical Analysis of Stocks & Commodities
magazine), is calculated by summing an exponentially smoothed moving
average of the daily ranges (High-Low) over 25 periods.
Interpretation
The most significant pattern to watch for is called the "reversal bulge." A
reversal bulge occurs when a 25 period Mass Index rises above 27 and
subsequently falls below 26.5. A reversal in price is likely once the Mass
Index falls below 26.5. The overall direction of prices (i.e., trending or
trading range), is unimportant.
A 9-period exponential moving average is used to determine whether the
reversal bulge indicates a "buy" or "sell" signal. Since the Mass Index
attempts to predict reversals in trend, positions should be taken by buying
if the moving average is trending down and selling if the moving average
is trending up. Since trends can fail to reverse, stop-loss orders should be
placed with new positions.
Median Price
The Median Price indicator is calculated by adding the high price and the
low price together, and then dividing by two. The result is the average, or
median, price.
High + Low
Median Price =
2
See page 163 for more information on plotting indicators. See page 186
for more information on the Median Price parameters.
Interpretation
The Median Price indicator provides a simple, single-line chart of the
day's average price. You may find it helpful when testing moving average
penetration systems to display moving averages of the Median Price
indicator, rather than of the security's closing price.
Tip
An example custom indicator (30907) shows how to calculate the Median
Price indicator.
Interpretation
The MESA Sinewave indicator consists of two plots - one displaying the
Sine of the measured phase angle over the time period parameter and the
other the Sine of the phase angle advanced by 45 degrees (called the Lead
Sine). Together, the crossings of the Sine and Lead Sine plots give clear
advanced indication of cycle mode turning points.
When the MESA Sinewave indicator resembles an actual sine wave, this
suggests the market is in a cycle mode. The indicator lines are not well
structured when the market is in a trend mode. A buy signal is given
when the Sine plot crosses above the Lead Sine plot. A sell signal is
given when the Sine plot crosses below the Lead Sine plot. An obvious
advantage that the MESA Sinewave indicator has over its
“overbought/oversold” counterparts is that it enters and exits much more
precisely without giving up a piece of the market’s movement by waiting
for confirmation.
When the market is in a trend mode the MESA Sinewave indicator does
not resemble a sine wave. In fact, the Sine and Lead Sine plots typically
languish in a sideways pattern around zero, running somewhat parallel
and distant from each other. The correct trading strategy in the trend
mode is to trade the trend. Basic moving average crossovers are helpful
for entering and exiting positions in this type of market.
The MESA Sinewave indicator is sensitive to using the correct time
period parameter. You can use the Cycle Lines line study (see page 215)
to estimate the best time period to use.
Momentum
The momentum of a security is the ratio of today's price compared to the
price x-time periods ago. The formula equivalent of the calculation is
shown below:
Where:
ref(Close,-10) = The closing price 10 periods ago
See page 163 for more information on plotting indicators. See page 186
for more information on the Momentum parameters.
Interpretation
The interpretation of the Momentum indicator is identical to the
interpretation of the Price R.O.C (see page 501). Both indicators display
the rate-of-change of a security's price. The Price R.O.C. indicator
displays the rate-of-change as a percentage. The Momentum indicator
displays the rate-of-change as a ratio.
Interpretation
The interpretation of the Money Flow Index is as follows:
Moving Averages
A moving average is a method of calculating the average value of a
security's price, or indicator, over a period of time. The term "moving"
implies, and rightly so, that the average changes or moves. When
calculating a moving average, a mathematical analysis of the security's
average value over a predetermined time period is made. As the security's
price changes over time, its average price moves up or down.
MetaStock Pro calculates and displays six different types of moving
averages: simple (also referred to as arithmetic), exponential, time series,
triangular, variable, and weighted. In addition, MetaStock Pro will
calculate moving averages of the security's open, high, low, close,
median price, typical price, volume, open interest, or indicator.
The only significant difference between the various types of moving
averages is the weight assigned to the most recent data. Once this
"weighting" scheme has been determined, it is held static over the range
of calculations. The exceptions are the variable moving average and
volume adjusted moving average. The variable moving average
automatically adjusts its weighting based on market conditions. A
variable moving average becomes more sensitive to recent data as
volatility increases and less sensitive to recent data as volatility decreases.
Similarly, the volume adjusted moving average automatically adjusts as
the security's volume increases and decreases.
See page 163 for more information on plotting indicators. See page 187
for more information on moving average parameters.
Note how the 5-day weighted moving average gives five times more
weight to today's price (i.e., 5 * 29) than to the price five days ago (i.e.,
1* 25).
Interpretation
The most popular method of interpreting a moving average is to compare
the relationship between a moving average of the security's closing price
and the security's closing price itself. A sell signal is generated when the
security's price falls below its moving average and a buy signal is
generated when the security's price rises above its moving average.
This type of moving average trading system is not intended to get you in
at the exact bottom and out at the exact top. Rather, it is designed to keep
you in line with the security's price trend by buying shortly after the
security's price bottoms and selling shortly after it tops.
The critical element in a moving average is the number of time periods
used in calculating the average. When using hindsight, you can always
find a moving average that would have been profitable. The key is to find
a moving average that will be consistently profitable. The most popular
moving average is the 39-week (or 200-day) moving average. This
moving average has a good track record in timing the major (long- term)
market cycles. The length of a moving average should fit the market
cycle you wish to follow:
Interpretation
Interpretation of the NVI assumes that on days when volume increases,
the crowd-following "uninformed" investors are in the market.
Conversely, on days with decreased volume, the "smart money" is quietly
taking positions. Thus, changes shown in the NVI (remember that the
NVI changes only on lower volume days) display what the smart money is
doing.
Stock Market Logic, by Norman Fosback, points out that the odds of a
bull market are 95 out of 100 when the NVI of the Dow Industrials is
above its one-year moving average.
Tip
An example custom indicator (see page 309) shows how to calculate the
Negative Volume Index.
Interpretation
ODDS Probability Cones (which are greatly influenced by recent price
volatility) provide you with a visual guide to the most probable range of
future prices. This range (i.e. the cone's width) is determined by recent
volatility in prices, the number of time periods projected, and the
probability percentage (e.g., 68% confidence, 90% confidence, etc.). The
more volatile the security prices, the wider the expected range of future
prices and hence the wider the cones. The cones always widen from the
apex even if recent volatility is very low, because as time increases, the
better the odds of a significant price move.
By default, the cones show the expected range of prices given a 68.26%
probability (this is equivalent to one standard deviation). This means that
there is a 68.26% probability that prices will remain within the cones over
the specified time frame. By increasing this percentage, you can control
The original use of this type of analysis was intended to help option
traders determine the best strategy to implement. From a probability
standpoint, an option trader would prefer to sell options with strikes that
lie outside the cones and buy options with strikes that lie within the cones.
The cones also have equal value for the analysis of regular long and short
positions. All else being equal and assuming you are confident in your
price directional forecast, you would prefer to establish a long or short
position in a security with wide cones rather than one with narrow cones.
Of course, this assumes that the recent calculated volatility will continue
or rise. If you expect volatility to drop, then you should reconsider.
On Balance Volume
On Balance Volume relates volume to price change. It is calculated by
adding the day's volume to a cumulative total when the security's price
closes up, and subtracting the day's volume when the security's price
closes down.
If today's close > yesterday's close then
OBV = yesterday's OBV + today's volume
If today's close < yesterday's close then
OBV = yesterday's OBV - today's volume
If today's close = yesterday's close then
OBV = yesterday's OBV
See page 163 for more information on plotting indicators. See page 188
for more information on the OBV parameters.
Open Interest
The Open Interest indicator plots the number of open contracts of a given
commodity.
Open interest is only available for futures and can only be plotted if the
data file contains open interest data. A simple way to tell if the file
contains open interest data is to select the Open Interest indicator. If
nothing is plotted, there is no open interest data.
See page 163 for more information on plotting indicators. See page 188
for more information on the Open Interest indicator's parameters.
Interpretation
Open interest is used to measure the activity and strength of a commodity.
An increase in open interest accompanied with higher prices shows that
new buyers are continuing to enter the market and thus can be viewed as a
confirmation of the upward price move. Likewise, a decrease in open
interest while prices are making new highs (a divergence) is often viewed
as a warning sign suggesting an impending decline in prices.
Option Indicators
A brief interpretation of the option indicators in MetaStock Pro is
provided below. For more information on these indicators and option
analysis see page 543.
See page 163 for more information on plotting indicators. See page 189
for more information on the Option indicator parameters.
Option Delta
Delta shows the amount that the option's price will change if the
underlying security's price changes by $1.00.
For example, if XYZ is selling for $105.00/share, a call option on XYZ is
selling for $2.00 and the Delta is 75%, then the option's price should
increase $0.75 (to $2.75) if the price of XYZ increases to $106.00/share.
In other words, the option should go up $0.75 for each $1.00 that XYZ
goes up.
Option Gamma
Gamma shows the anticipated change in Delta, given a one point increase
in the underlying security. Thus, it shows how responsive Delta is to a
change in the underlying security's price. For example, a Gamma of four
indicates that the Delta will increase four points (e.g., from 50% to 54%)
for each one point increase in the underlying security's price.
Option Life
Option Life shows the number of days until expiration. Generally
speaking, the longer the time until expiration, the more valuable the
option.
Option Price
The Option Price is the main output of the Black-Scholes model. It shows
how much the option should sell for based on the various components that
make up the model (e.g., volatility, option life, security price, etc.). It
helps answer the question, "Is the option overpriced or underpriced?"
Option Vega
Vega shows the change in the option price due to an assumed 1% increase
in the underlying security's volatility. Vega shows the dollar amount of
gain that should be expected if the volatility goes up one point (all else
being equal).
Option Volatility
Options of high volatility stocks are worth more than those with low
volatility, because of the greater chance the option has of moving in-the-
money by expiration. Option purchasers should prefer options with high
volatilities and option writers should prefer options with low volatilities
(all else being equal).
This measure of option volatility is a historical volatility measurement
requiring 21 days of data. It is based on the "High-Low-Close Estimator"
method presented in the book, The Complete Investment Book (see page
544).
Parabolic SAR
The Parabolic Time/Price System, developed by J. Welles Wilder, is
explained thoroughly in his book, New Concepts in Technical Trading
Systems (see page 544). This indicator is used to set price stops and is
often called the stop-and-reversal (SAR) indicator.
See page 163 for more information on plotting indicators. See page 190
for more information on the Parabolic SAR parameters.
Interpretation
If you are long (i.e., the price is above the SAR), the SAR will move up
every day, regardless of the direction the price is moving. The amount the
SAR moves up depends on the amount that prices move.
The Parabolic SAR provides excellent stops. You should close long
positions when the price falls below the SAR and close short positions
when the price rises above the SAR.
The Parabolic SAR is plotted as shown in Wilder's book (above). Each
SAR stop level point is displayed on the day in which it is in effect. Note
that the SAR value is today's, not tomorrow's stop level.
Interpretation
The numeric value of the Performance indicator is the percentage that the
security has changed since the first period loaded. For example, a value
of 10 would mean that the security's price has increased 10% since the
first period loaded on the left side of the chart. Similarly, a value of -10%
would mean that the security's price has fallen by 10% since the first
period.
Tip
The Performance indicator calculates the percent that prices have changed
since the first day loaded in the chart. Therefore, if you want to calculate
a security's performance from a specific date (e.g., the day you bought it),
you should first use the X-Axis Properties dialog (see page 118) to change
the first date loaded.
Interpretation
Drawing upon the pioneering works of mathematician Benoit Mendelbrot,
Mr. Hannula developed an indicator to gauge the efficiency that prices
travel between two points in time.
The more linear and efficient price movement, the shorter the distance the
prices must travel between two points. The more "squiggly" the price
movement, the less efficient it's travel.
The primary use of the PFE indicator is as a measure of how trendy or
congested price action is. PFE readings above zero mean that the trend is
up. The higher the reading the "trendier" and more efficient the upward
movement. PFE readings below zero mean that the trend is down. The
lower the reading the "trendier" and more efficient the downward
movement. Readings around zero indicate choppy, less efficient
movement, with a balance between the forces of supply and demand.
Several interesting phenomenon have been observed by Mr. Hannula:
• Indexes (particularly the OEX) tend to have a maximum PFE (both
plus and minus) of about 43%.
Interpretation
The interpretation of the PVI is the opposite of the NVI (see page 489).
The PVI seeks to show what "uninformed" investors are doing.
Tip
An example custom indicator (see page 310) shows how to calculate the
Positive Volume Index.
Interpretation
Price Channels are used much like other types of channels and bands--
they help gauge the ebb and flow of optimism and pessimism. When
prices are at or near the upper channel, extreme optimism is indicated--
look for prices to meet resistance and to move down to more rational
levels. Likewise, when prices are at or near the lower channel, extreme
pessimism is indicated--look for prices to find support and move up to
more rational levels.
Since Price Channels are calculated from absolute high and low price
levels, they tend to provide traditional support and resistance. For
example, if prices bounce two or more times off of the bottom channel
near the same price level, strong support is indicated. Likewise, if prices
rebound two or more times off the top channel near the same price level,
strong resistance is indicated.
Interestingly, much like Bollinger Bands, narrow Price Channels often
precede significant price moves. Several interesting observations
involving the combination of a 20-period Bollinger Band and 20-period
Price Channel are noted below:
• Expect a significant upward price move when the Price Channel and
Bollinger Bands are very narrow and the closing price exceeds the
upper Price Channel. Place a protective stop just below the middle
Bollinger Band.
• Expect a significant downward price move when the Price Channel
and Bollinger Bands are very narrow and the closing price drops
below the lower Price Channel. Place a protective stop just above the
middle Bollinger Band.
Price Oscillator
The Price Oscillator displays the difference between two moving averages
of the security's price. The difference between the averages can be
expressed in either points or percentages.
See page 163 for more information on plotting indicators. See page 191
for more information on the Price Oscillator parameters.
Interpretation
Moving average analysis often generates buy signals when a short-term
moving average (or the security's price) rises above a longer-term moving
average. Conversely, sell signals are generated when a shorter-term
moving average falls below a longer-term moving average. The Price
Oscillator illustrates the cyclical (and often profitable) signals generated
by one or two moving average systems.
Tips
For more information on moving average systems and oscillators, refer to
Moving Averages (see page 484) and the MACD (see page 478).
An example custom indicator (see page 310) shows how to calculate the
Price Oscillator.
Price Rate-Of-Change
The Price Rate-Of-Change (R.O.C.) indicator (percent method) is
calculated by dividing the price change over the last x-periods by the
closing price of the security x-periods ago. The result is the percentage
that the security's price has changed in the last x-periods.
If the security's price is higher today than x-periods ago, the R.O.C. will
be a positive number. If the security's price is lower today than x-periods
ago, the R.O.C. will be a negative number.
See page 163 for more information on plotting indicators. See page 192
for more information on the R.O.C. parameters.
Interpretation
A long recognized phenomenon of security prices is the fact that prices
tend to surge ahead and retract in a cyclical wave-like motion. The Price
Tips
The predefined Price R.O.C. discussed here displays the R.O.C. as a
percentage. The R.O.C. also can be displayed as a ratio using the
Momentum indicator (see page 482), or expressed in points by choosing
the "periods" button in the properties dialog (see page 192).
An example custom indicator (see page 310) shows how to calculate the
Price R.O.C.
Interpretation
The interpretation of the Price Volume Trend is similar to the
interpretation of On Balance Volume (see page 492) and the Volume
Accumulation/Distribution Line (see page 446).
Many investors feel that the PVT more accurately illustrates the flow of
money into and out of a security than does OBV. This is because OBV
adds the same amount of volume to the indicator regardless of whether
the security closes up a fraction of a point or doubles in price. However,
the PVT adds only a small portion of volume to the indicator when the
price changes by a small percentage and adds a large portion of volume
to the indicator when prices change by a large percentage.
Tip
An example custom indicator (see page 310) shows how to calculate the
Price Volume Trend.
Projection Bands
Projection Bands were developed by Mel Widner, Ph.D. They were
originally introduced in the July 1995 issue of Technical Analysis of
Stocks & Commodities magazine.
Projection Bands are similar in concept to other types of bands including
moving average bands, Price Channels (see page 500), Envelopes (see
page 464), and Bollinger Bands (see page 449). They also have some of
the characteristics of channel lines such as Raff Regression Channels (see
page 508).
Projection Bands are plotted by finding the minimum and maximum
prices over the specified number of days and projecting these forward
(parallel to a linear regression line). The resulting plot consists of two
Interpretation
Projections Bands are used much like other types of bands--they help
gauge the ebb and flow of optimism and pessimism. When prices are at
or near the upper band, extreme optimism is indicated--look for prices to
move down to more rational levels. Likewise, when prices are at or near
the lower band, extreme pessimism is indicated--look for prices to move
up to more rational levels.
It is recommended that all band generated signals be confirmed by other
indicators, because prices will often ride along a band for an extended
amount of time during strong trending markets. During trending markets,
you can use bands to trade short-term reactions against the primary trend.
In trading range markets, you can use the bands to trade
overbought/oversold levels. Indicators like the VHF (see page 533),
CMO (see page 454), and r-squared (see page 506) can be used to gauge
the trendiness of the market.
Projection Oscillator
Developed by Mel Widner, Ph.D., the Projection Oscillator is a by-
product of his Projection Bands (see page 503). The Projection
Oscillator is basically a slope-adjusted Stochastic. Where the Stochastic
Oscillator (see page 521) shows the relationship of the current price to its
minimum and maximum prices over a recent time period, the Projection
Oscillator shows the same thing, but the minimum and maximum prices
are adjusted up/down by the slope of the price’s regression line. This
adjustment makes the Projection Oscillator more responsive to short-term
price moves than an equi-period Stochastic.
Put another way, the Projection Oscillator shows where the current price
is relative to the Projection bands. A value of 50 indicates that the
current price is exactly in the middle of the bands. A value of 100
indicates that prices are touching the top band. A value of 0 indicates
that prices are touching the bottom band.
See page 163 for more information on plotting indicators. See page 192
for more information on the Projection Oscillator parameters.
Interpretation
The Projection Oscillator can be used as both a short- and intermediate-
term trading oscillator depending on the number of time periods used
when calculating the oscillator. When displaying a short-term Projection
Oscillator (e.g., 10-20 days), it is popular to use a 3-day trigger line.
Qstick Indicator
The Qstick indicator was developed by Tushar Chande. Qstick provides
a way to quantify candlesticks. The distance between the open and close
prices lies at the heart of candlestick charting. For those unfamiliar with
candlestick charting, the body of a candlestick is black if today’s close is
less than the open; it is white if today’s close is greater than the open. A
majority of white candlesticks over a specified range is considered
bullish. Whereas a majority of black candlesticks over a specified range
is considered bearish.
The Qstick indicator is simply a moving average of the difference
between open and close prices.
For more information on the Qstick indicator, refer to the book The New
Technical Trader by Tushar Chande and Stanley Kroll.
See page 163 for more information on plotting indicators. See page 193
for more information on the Qstick parameters.
Interpretation
Qstick values below zero indicate a majority of black candlesticks (over
the time periods specified) and therefore a bearish bias for the security.
Quadrant Lines
Quadrant Lines are a series of horizontal lines that divide the highest and
lowest values (usually prices) into four equal sections.
See page 205 for more information on drawing line studies. See page
220 for more information on the Quadrant Line parameters.
Interpretation
Quadrant Lines are primarily intended to aid in the visual inspection of
price movements. They help you see the highest, lowest, and average
price over a specified period.
r-squared
The Linear Regression method provides several useful outputs for
technical analysts, including the r-squared. R-squared shows the strength
of trend. The more closely prices move in a linear relationship with the
passing of time, the stronger the trend.
You may find the expert named "Equis - Statistical Analysis" helpful in
interpreting r-squared. See page 435 for more information an experts.
See page 163 for more information on plotting indicators. See page 193
for more information on the r-squared parameters.
Interpretation
r-squared values show the percentage of movement that can be explained
by linear regression. For example, if the r-squared value over 20 days is
at 70%, this means that 70% of the movement of the security is explained
by linear regression. The other 30% is unexplained random noise.
It is helpful to consider r-squared in relation to Slope (see page 476).
While Slope gives you the general direction of the trend (positive or
Number r-squared
of Periods Critical Value
(95%
confidence)
5 0.77
10 0.40
14 0.27
20 0.20
25 0.16
30 0.13
50 0.08
60 0.06
Interpretation
Raff Regression Channels contain price movement, with the bottom
channel line providing support and the top channel line providing
resistance. Prices may extend outside of the channel for a short period of
time. However, if prices remain outside the channel for a long period of
time, a reversal in trend may be imminent.
Range Indicator
The Range Indicator was developed by Jack Weinberg. It was
introduced in the June 1995 issue of Technical Analysis of Stocks &
Commodities magazine. Mr. Weinberg developed this indicator based on
his observation that changes in the average day's intraday range (high to
low) as compared to the average day's interday range (close to close)
precede the start of a new trend or the end of the current trend.
See page 163 for more information on plotting indicators. See page 194
for more information on the Range Indicator parameters.
Interpretation
The Range Indicator shows when the intraday high to low ranges exceed
the interday close to close ranges.
This approach proves useful in identifying the start and end of trends.
When the intraday ranges are dramatically higher than the interday
ranges, the market is considered "out of balance," and the Range Indicator
will be at a high level. When at a high level, look for the current trend to
end. Conversely, when the Range Indicator is at a low level (below 20 for
example), look for the emergence of a new trend.
Mr. Weinberg found that the Range Indicator improves many momentum
and trend-following trading systems. For example, he found that the
results of a basic two moving average crossover system on the four major
Interpretation
As an oscillator, the RMI exhibits the same strengths and weaknesses of
other overbought/oversold indicators. During strong trending markets the
RMI will remain at overbought or oversold levels for an extended period.
However, during non-trending markets, the RMI tends to oscillate
predictably between an overbought level of 70 to 90 and an oversold
level of 10 to 30.
Since the RMI is based on the RSI, many of the same interpretation
methods can be applied. In fact, many of these "situations" are more
clearly manifest with the RMI than they are with the RSI.
Tops and Bottoms. The RMI usually tops above 70 and bottoms below
30. The RMI usually forms these tops and bottoms before the underlying
price chart.
Chart Formations. The RMI often forms chart patterns (such as head
and shoulders or rising wedges) that may or may not be visible on the
price chart.
Failure Swings. (Also known as support or resistance penetrations or
breakouts.) This is where the RMI surpasses a previous high (peak) or
falls below a recent low (trough).
Support and Resistance. The RMI shows, sometimes more clearly than
the price chart, levels of support and resistance.
Interpretation
A Comparative Relative Strength chart compares a security's price with
that of another security. When the indicator is moving up, it shows that
the security (the one displayed in the chart) is performing better than the
selected security. When the indicator is moving sideways, it shows that
both securities are performing the same (i.e., rising and falling by the
same percentages). When the indicator moves down, it shows that the
security is performing worse than the selected security (i.e., not rising as
fast or falling faster).
Stock and mutual fund traders may find it helpful to track the
Comparative Relative Strength between the stocks and funds you are
following and an index such as the NASDAQ Composite or the Dow
Industrials. Or you may want to do a comparison with a closely tied
industry group. For example, if you were following Ford, a Comparative
Relative Strength between Ford and the S&P Auto Index would be
helpful to show how Ford is performing relative to the entire auto
industry.
Futures Traders may find it helpful to compare futures with the CRB
index. Or perhaps one future with another. For example, Gold and
Silver, the Yen and the Pound, Bonds and the Dollar, etc.
Interpretation
When Wilder introduced the RSI, he recommended using a 14-day RSI.
Since then, the 9-day and 25-day RSIs have also gained popularity.
Because you can vary the number of time periods in the RSI calculation,
we suggest that you experiment to find the period that works best for you.
(The fewer days used to calculate the RSI, the more volatile the
indicator.)
The RSI is a price-following oscillator that ranges between 0 and 100. A
popular method of analyzing the RSI is to look for a divergence in which
the market index is making a new high, but the RSI is failing to surpass
its previous high. This divergence would be an indication of an
Interpretation
When developing the RVI, Dorsey was searching for a confirming
indicator to use with traditional trend-following indicators (such as a dual
moving average crossover system). He found that using a momentum-
based indicator to confirm another “repackaged” momentum-based
indicator is usually ineffective.
Dorsey made this clear in the June 1993 TASC article:
Renko
The Renko charting method is thought to have acquired its name from
"renga" which is the Japanese word for bricks. Renko charts were
introduced by Steve Nison (a well-known authority on the Candlestick
charting method).
Renko charts are similar to Three Line Break charts except that in a
Renko chart, a line (or brick as they are sometimes called) is drawn in the
direction of the prior move only if a fixed amount (i.e., the box size) has
been exceeded. The bricks are always equal in size. For example, in a
five unit Renko chart, a 20 point rally is displayed as four equally sized,
five unit high Renko bricks.
To draw Renko bricks, today's close is compared with the high and low of
the previous brick (white or black). When the closing price rises above
the top of the previous brick by the box size or more, one or more equal
height, white bricks are drawn in the next column. If the closing price
falls below the bottom of the previous brick by the box size or more, one
or more equal height, black bricks are drawn in the next column.
Indicators calculated on renko charts use all the data in each column and
then display the average value of the indicator for that column.
Interpretation
Basic trend reversals are signaled with the emergence of a white or black
brick. A new white brick indicates the beginning of a new uptrend. A
new black brick indicates the beginning of a new downtrend. Since the
Renko chart is a trend following technique, there will be times when the
market induces whipsaws. However, a trend following technique is
intended to allow traders to ride on the major portion of the trend.
Since a Renko chart isolates the underlying trends by filtering out the
minor ups and downs, Renko charts are excellent for helping determine
support and resistance levels.
For more in-depth coverage of the Renko charting method, we
recommend the book Beyond Candlesticks by Steve Nison (see page
544).
Interpretation
Speed Resistance Lines are used to define price support levels. For
example, if a security is in a rising trend, its price will usually stay above
the 2/3 Speed Line. If prices do penetrate the 2/3 line, they will generally
fall all the way to the 1/3 line before regaining support.
Spread
Spreads compare two securities to show how the securities are
performing relative to each other. Spreads are normally calculated using
futures.
Interpretation
A Spread involves buying one security and selling another with the goal
of profiting from the narrowing or expanding of the spread between the
two items. For example, you might buy gold and sell silver short with
the expectation that the price of silver will fall faster (or rise slower) than
the price of gold.
Tip
When using a composite security to create a spread, the value of the
spread is stored in the price fields (rather than the indicator field). This
enables you to display indicators of Spreads.
Standard Deviation
Standard Deviation is a statistical measurement of volatility. It is derived
by calculating an x-time period simple moving average of the data item
(i.e., the closing price or an indicator); summing the squares of the
difference between the data item and its moving average over each of the
preceding x-time periods; dividing this sum by x; and then calculating the
square root of this result.
See page 163 for more information on plotting indicators. See page 196
for more information on the Standard Deviation parameters.
Interpretation
Standard Deviation is typically used as a component of an indicator,
rather than as a stand-alone indicator. For example, Bollinger Bands (see
page 449) are calculated by adding a security's Standard Deviation to a
moving average.
High Standard Deviation values signify high volatility: the data item
being analyzed is deviating from its moving average significantly.
Tips
An example custom indicator (see page 310) shows how to calculate
Standard Deviation.
The ODDS Probability Cones are calculated using standard deviation-
based volatility (see page 490).
Interpretation
Price movements are characterized by swings from one extreme to the
other. Markets reflect the collective mood if its participants. When
market participants are overly optimistic, prices are driven up at an
unsustainable rate. Likewise, when market participants are overly
pessimistic, prices are beaten down at an unsustainable rate. The
keywords here are "extreme" and "unsustainable." Even the most raging
bull markets or violent bear markets will either pause for a breather or
reverse temporarily.
Markets tend to have an equilibrium point (i.e., a point towards which
prices tend to be drawn). Linear regression analysis is helpful in
determining where this "balancing point" lies. On the other hand,
standard deviation analysis is helpful in determining where the "extremes"
lie.
Elementary statistical analysis states that approximately 67% of future
price movement should be contained within one standard deviation and
approximately 95% within two standard deviations. However, this
assumes random, trendless data. Since most markets show overwhelming
evidence of non-random, trending behavior, these 67% and 95% values
are not as accurate. Standard Deviation channels, however, incorporate
the trend (as measured by the middle linear regression plot). Therefore,
they provide a trend-biased assessment of expected price movement.
Standard Error
Standard Error measures how closely prices congregate around a linear
regression line. The closer prices are to the linear regression line, the
higher the r-squared value and the stronger the trend.
For example, if each day’s closing price was equal to that day’s
regression line value, then the standard error would be zero. The more
variance or “noise” around the regression value, the larger the standard
error and the less reliable the trend.
See page 163 for more information on plotting indicators. See page 197
for more information on the Standard Error parameters.
Interpretation
High standard error values indicate that the security’s prices are very
volatile around the regression line. Changes in the prevailing trend (over
the number of time periods specified) are usually preceded by a rapidly
increasing standard error.
Standard error can be used effectively in combination with the r-squared
indicator (see page 506). Changes in trend are often signaled by a high
downward moving r-squared, a low upward moving standard error, or a
low upward moving r-squared and a high downward moving standard
error. In other words, when the two are at extreme levels and begin to
converge, look for a change in trend.
Note that a change in trend does not necessarily mean that an upward
trend will reverse to a downward trend. Sideways movement is also
considered a “change.”
Interpretation
When displaying Standard Error Bands, you are prompted to enter the
number of periods in the bands and the number of standard errors between
the bands and the linear regression line (see page 197). Mr. Andersen
recommends default values of "21" for the number of periods, a 3-day
simple moving average for the smoothing, and "2" standard errors. He
also notes that very short time frames tend to produce unreliable results.
MetaStock Pro plots Standard Error Bands on the security's prices or
indicator. These interpretational comments refer to bands on the
security's closing price.
Because the spacing between Standard Error Bands is based on the
standard error of the security, the bands widen when the volatility around
the current trend increases, and contract when volatility around the current
trend decreases.
Since Standard Error Bands are statistically based, other statistical
indicators such as r-squared, Standard Error, Linear Regression, etc. work
well for trade confirmation.
Mr. Andersen notes the following characteristics of Standard Error
Bands.
• Tight bands are an indication of a strong trend.
• Prices tend to bounce between the bands when the bands are wide.
• Tight bands followed by a widening of the bands may indicate the
exhaustion of a trend and a possible reversal.
• When the bands reverse direction after an exhausted trend, prices
tend to move in the direction of the bands.
• The r-squared indicator works well in combination with Standard
Error Bands. A high r-squared value combined with tight bands
confirms a strong trend. A low r-squared value combined with wide
bands confirms that prices are consolidating.
Interpretation
Price movements are characterized by swings from one extreme to the
other. Markets reflect the collective mood if its participants. When
market participants are overly optimistic, prices are driven up at an
unsustainable rate. Likewise, when market participants are overly
pessimistic, prices are beaten down at an unsustainable rate. The
keywords here are "extreme" and "unsustainable." Even the most raging
bull markets or violent bear markets will either pause for a breather or
reverse temporarily.
Markets tend to have an equilibrium point (i.e., a point towards which
prices tend to be drawn). Linear regression analysis is helpful in
determining where this "balancing point" lies. On the other hand,
standard error analysis is helpful in determining where the "extremes" lie.
Standard Error Channels can be used to enhance several types of
technical analysis techniques. Here are some ideas:
• Validate candlestick patterns. Enter long on bullish engulfing
lines only if they have formed below the bottom channel line.
• Validate overbought/oversold signals. Close long (or enter short)
when the Stochastic falls below 80, volume is above average, and
prices have recently fallen below the top channel line.
• Validate support/resistance breakouts. If prices have broken
above a long-term resistance level, yet volume is suspiciously light,
wait until the prices break above the upper channel on above average
volume.
Stochastic Oscillator
Sto.chas.tic (st kas'tik) adj. 2. Math. designating a process having an
infinite progression of jointly distributed random variables.-- Webster's
The Stochastic Oscillator compares where a security's price closed
relative to its trading range over the last x-time periods.
Interpretation
Stochastic Oscillators can be used as both short- and intermediate-term
trading oscillators depending on the number of time periods used when
calculating the oscillator. When displaying a short term Stochastic
Oscillator (e.g., 5-25 days), it is popular to slow the %K value by 3-days.
There are several ways to interpret a Stochastic Oscillator. Three popular
methods include:
• Buy when the Oscillator (either %K or %D) falls below a specific
level (e.g., 20) and then rises above that level, and sell when the
Tip
An example custom indicator (see page 311) shows how to calculate the
Stochastic Oscillator.
Swing Index
The Swing Index seeks to isolate the "real" price of a security by
comparing the relationships between the current prices (i.e., open, high,
low, and close) and the previous period's prices.
The Swing Index requires opening prices.
Step-by-step instructions on calculating the Swing Index are provided in
Wilder's book, New Concepts In Technical Trading Systems (see page
544).
See page 163 for more information on plotting indicators. See page 199
for more information on the Swing Index parameters.
TEMA
TEMA is a unique smoothing indicator developed by Patrick Mulloy. It
was originally introduced in the January 1994 issue of Technical
Analysis of Stocks & Commodities magazine.
As Mr. Mulloy explains in the article:
"Moving averages have a detrimental lag time that increases as the
moving average length increases. The solution is a modified version of
exponential smoothing with less lag time."
TEMA is an acronym that stands for Triple Exponential Moving Average.
However, the name of this smoothing technique is a bit misleading in that
it is not simply a moving average of a moving average of a moving
average. It is a unique composite of a single exponential moving average,
a double exponential moving average, and a triple exponential moving
average that provides less lag than either of the three components
individually.
See page 163 for more information on plotting indicators. See page 199
for more information on the Stochastic Oscillator parameters.
Interpretation
TEMA can be used in place of traditional moving averages. You can use
it to smooth price data or other indicators. Some of Mr. Mulloy's original
testing of TEMA was done on the MACD. Oddly, he found that the
faster responding TEMA-smoothed MACD produced fewer (yet more
profitable) signals than the traditional 12/26 smoothed- MACD. A
custom indicator named "MACD (TEMA-smoothed)" is included with
MetaStock Pro.
This type of smoothing is certainly not limited to the MACD. You may
want to experiment on other indicators as well.
See page 459 for information on DEMA, a similar smoothing method
developed by Mr. Mulloy.
Interpretation
There are many ways to trade with Three Line Break charts. The most
basic method involves buying when a white block emerges after three
prior black blocks, or selling when a black block appears after three
white blocks.
An advantage of the Three Line Break chart is that there is no arbitrary
fixed reversal amount. It is the market's action which gives the indication
of a reversal. Reversal signals in Three Line Break charts are sent well
after the new trend has started. However, many traders are comfortable
Interpretation
The interpretation of a Time Series Forecast is similar to a moving
average. However, the Time Series Forecast indicator has two
advantages over moving averages.
Unlike a moving average, a Time Series Forecast does not exhibit as
much "delay." Since the indicator is "fitting" a line to the data points
Tirone Levels
Tirone Levels are a series of horizontal lines that identify support and
resistance levels. They were developed by John Tirone.
See page 205 for more information on drawing line studies. See page 223
for more information on the Tirone Level parameters.
Interpretation
Tirone Levels can be drawn using either the Midpoint 1/3-2/3 method or
the Mean method. Both methods are intended to help you identify
potential support and resistance levels based on the range of prices over a
given time period. The interpretation of Tirone Levels is similar to
Quadrant Lines (see page 506).
Interpretation
The TVI helps identify whether buyers or sellers are in control. If the
TVI is trending up, it indicates that buyers are in control. If the TVI is
trending down, it indicates that sellers are in control. If the TVI is above
zero, it indicates that net buying has taken place over the time period
displayed. If the TVI is below zero, it indicates that net selling has taken
place over the time period displayed.
If a large number of trades are taking place at a specific price level (i.e., a
flat spot forms on the tick chart) and the TVI is rising (falling), look for
the price to break out on the upside (downside).
Trendlines
It's difficult, if not impossible, to provide information on a topic as
complex and multifaceted as trendlines in the small area available here.
The best source to learn about trendlines and chart patterns is the book
Technical Analysis of Stock Trends, by Edwards and Magee (see page
544).
See page 205 for more information on drawing a line studies. See page
224 for more information on Trendline parameters.
General
A trendline is a sloping line drawn between two prominent points on a
chart. Rising trendlines are usually drawn between two troughs (low
Trendline Angles
MetaStock Pro provides two commands that deal with trendline angles:
Gann Lines (see page 218), and Trendline by Angle (see page 224). The
following discussion explains how these commands function and their
differences.
There are basically two ways to quantify the angle of a line drawn on a
chart. The first method is relative to the computer screen (or the piece of
TRIX
TRIX displays the percent rate-of-change of a triple exponentially
smoothed moving average of the security's closing price.
It is the 1-period percent change of an x-period exponential moving
average of an x-period exponential moving average of an x-period
exponential moving average of the closing price.
An article on the TRIX indicator appears in Volume One of Technical
Analysis of Stocks & Commodities magazine (TASC). The TRIX
indicator presented in the TASC article uses a slightly different method to
calculate the exponential moving averages and displays the 1-period
Interpretation
The TRIX indicator oscillates around a zero line. Its triple exponential
smoothing is designed to filter out "insignificant" cycles (i.e., those that
are shorter than x-periods).
Trades should be placed when the indicator changes direction. You also
can plot a 9-period moving average of the TRIX to create a "signal" line
(similar to the MACD indicator, see page 478) and then buy when the
TRIX rises above its signal line, and sell when it falls below its signal
line.
Typical Price
The Typical Price indicator is calculated by adding the high, low, and
closing prices together, and then dividing by three. The result is the
average, or typical price.
High + Low + Close
Typical Price =
3
See page 163 for more information on plotting indicators. See page 201
for more information on the Typical Price parameters.
Interpretation
The Typical Price indicator provides a simple, single-line chart of the
day's average price. You may find it helpful when testing moving
average penetration systems to display moving averages of the Typical
Price indicator, rather than of the security's closing price.
Ultimate Oscillator
Oscillators typically compare a security's (smoothed) price with its price
x-periods ago. Larry Williams notes that the value of this type of
oscillator can vary greatly depending on the number of time periods used
during the calculation. Thus, he developed the Ultimate Oscillator that
uses weighted sums of three oscillators, each of which uses a different
time period.
Interpretation
There are three ways to use the VHF indicator:
• VHF values above or below certain levels indicate the degree of
trending. The higher the VHF, the higher the degree of trending.
• The direction of the VHF can be used to determine whether a
trending or congestion phase is developing. A rising VHF indicates a
developing trend; a falling VHF indicates that prices may be entering
a congestion phase.
• The VHF as a contrarian type indicator. Expect congestion to follow
high VHF values. Low VHF values may indicate a trending phase
will soon follow.
Volatility, Chaikin's
The Volatility indicator compares the spread between a security's high
and low prices. This is done by first calculating a moving average of the
Interpretation
This indicator quantifies volatility as a widening of the range between the
highs and the lows (i.e., wider price swings during the day).
There are two ways to interpret this measure of volatility. One method
assumes that market tops are generally accompanied by increased
volatility and that market bottoms are generally accompanied by
decreased volatility. An opposing method (Mr. Chaikin's) assumes that
an increase in the Volatility indicator over a short time period indicates
that a bottom is near (e.g., a panic sell-off) and that a decrease in volatility
over a longer time period indicates an approaching top (e.g., a mature bull
market).
Tips
Mr. Chaikin recommends that investors do not rely on any one indicator
and suggests using a moving average penetration or trading band system
to confirm this (or any) indicator.
Because this indicator uses high and low prices in its calculation, it will
not work on securities that only have a closing price (e.g., most mutual
funds).
An example custom indicator (see page 311) shows how to calculate
Chaikin Volatility.
Volume
Volume is the number of units (i.e., shares or contracts) traded during a
specific time period. The analysis of volume is a basic yet very important
element of technical analysis. Volume helps measure the intensity of
price movement.
Often, the y-axis scale for volume is displayed in multiples of 10s or 100s
rather than the actual number (i.e., 500 = 500,000 shares). If there is a
scaling multiple, it will be displayed at the bottom of the y-axis scale.
Volume is normally displayed in a histogram line style below the prices
(see page 114).
Some real-time data vendors do not provide volume with every tick. If
this is the case, MetaStock Pro will automatically assign a volume value
Interpretation
Volume is important to many techniques and systems used in technical
analysis. In brief, volume provides clues to the intensity level of a given
price move.
Generally speaking, volume tends to be a leading indicator of price.
Volume usually drops off before prices peak, and it usually picks up
before prices rise from a market bottom.
Low volume levels are characteristic of the indecision that typically
accompanies consolidation periods (i.e., periods where prices move
sideways in a narrow range). Low volume is often found at market
bottoms.
High volume levels are characteristic of market tops and the beginning of
new trends (i.e., when prices break out of a trading range). Just prior to
market bottoms, volume will often increase on panic driven selling.
Volume also helps determine the health of an existing trend. A healthy
up-trend should have higher volume on the upward legs of the trend, and
lower volume on the downward, corrective legs. After a market top, it is
common to have a sharp down day on very heavy volume. A healthy
downtrend usually has higher volume on the downward legs of the trend
and lower volume on the upward, corrective legs.
Volume Oscillator
The Volume Oscillator displays the difference between two moving
averages of a security's volume. The difference between the averages can
be expressed in either points or percentages.
See page 163 for more information on plotting indicators. See page 202
for more information on the Volume Oscillator parameters.
Interpretation
As volume levels are increasing, shorter-term volume moving averages
will rise above longer-term volume moving averages. This is similar to
Tip
An example custom indicator (see page 311) shows how to calculate the
Volume Oscillator.
Volume Rate-Of-Change
The Volume Rate-Of-Change (R.O.C.) indicator is calculated by dividing
the volume change over the last x-periods by the volume x-periods ago.
The result is the percent by which the volume has changed over the last x-
periods.
If volume is higher today than x-days ago, the R.O.C. will be a positive
number. If volume is lower today then x-days ago, the R.O.C. will be
negative.
See page 163 for more information on plotting indicators. See page 203
for more information on the Volume R.O.C. parameters.
Interpretation
The Volume R.O.C. is calculated identically to the Price R.O.C. (see page
501), except it displays the R.O.C. of the security's volume, rather than of
its closing price. Additional information on the interpretation of volume
trends can be found in the discussion on the Volume Oscillator (see page
535).
Weighted Close
The Weighted Close indicator is calculated by multiplying the close by
two, adding the high and the low, and dividing by four. The result is the
average price for the day with extra weight given to the closing price.
(Close × 2) + High + Low
Weighted Close =
4
See page 163 for more information on plotting indicators. See page 203
for more information on the Weighted Close parameters.
Interpretation
The Weighted Close indicator provides a single line chart of the average
price. When testing moving average penetration systems, you may find it
helpful to display moving averages of the Weighted Close indicator,
rather than of the security's closing price.
Tip
An example custom indicator (see page 312) shows how to calculate
Weighted Close.
Wilder's Smoothing
The Wilder's Smoothing indicator was developed by Welles Wilder, best
known as the developer of the Directional Movement system (see page
461) and the Relative Strength Index (see page 512).
Wilder used this smoothing indicator as a component of many of his
other studies. It is basically a type of moving average, similar to the
"exponential" method in that it retains a decreasingly smaller percentage
of all historical data in the series.
See page 163 for more information on plotting indicators. See page 203
for more information on the Wilder's Smoothing parameters.
Interpretation
The Wilder's Smoothing indicator should be used just as you would use a
moving average. Although similar to the exponential, weighted, and
triangular moving average methods in how it has a "memory" of all
historical data, the Wilder's Smoothing method seems to be the least
responsive of the three.
Williams' %R
The formula used to calculate Williams' %R is similar to the Stochastic
Oscillator:
Williams' %R is plotted on an upside down scale with 0 at the top and 100
at the bottom. To show the indicator in this upside down fashion,
MetaStock Pro places a minus symbol before the %R values. You should
ignore the minus symbol.
See page 163 for more information on plotting indicators. See page 203
for more information on the Williams' %R parameters.
Interpretation
The analysis of Williams' %R is very similar to that of the Stochastic
Oscillator (see page 521) except that %R is upside down and the
Stochastic Oscillator has internal smoothing.
Readings in the range of 80 to 100% (remember to ignore the minus
symbol) indicate that the market is oversold, while readings in the 0 to
20% range suggest that the market is overbought.
As with all overbought/oversold indicators, it is best to wait for the
security's price to change direction before placing your trades. For
example, if an overbought/oversold indicator (such as the Stochastic
Oscillator or Williams' %R) is showing an overbought condition, it is
wise to wait for the security's price to turn down before selling the
security. (The MACD is a good indicator to monitor change in a
security's price.) It is not unusual for overbought/oversold indicators to
remain in an overbought/oversold condition for a long time period as the
security's price continues to climb/fall. Selling simply because the
security appears overbought may take you out of the security long before
its price shows signs of deterioration.
An interesting phenomena of the %R indicator is its uncanny ability to
anticipate a reversal in the underlying security's price. The indicator
almost always forms a peak and turns down a few days before the
security's price peaks and turns down. Likewise, %R usually creates a
trough and turns up a few days before the security's price turns up.
Tip
An example custom indicator (see page 312) shows how to calculate
Williams' %R.
Interpretation
Williams recommends trading this indicator based on divergences.
• Distribution of the security is indicated when the security is making a
new high and the A/D indicator is failing to make a new high. Sell.
• Accumulation of the security is indicated when the security is making
a new low and the A/D indicator is failing to make a new low. Buy.
Tips
Williams' Accumulation/Distribution indicator is a price indicator. The
Accumulation/Distribution indicator is a volume indicator (see page 446).
An example custom indicator (see page 312) shows how to calculate
Williams' A/D.
Zig Zag
The Zig Zag indicator filters out changes in the data item (i.e., the
security or an indicator) that are less than x percent or points. It is used
primarily to aid in the visual inspection of a chart--punctuating the
significant moves.
See page 163 for more information on plotting indicators. See page 204
for more information on the Zig Zag parameters.
Interpretation
The Zig Zag indicator is useful to filter out "noise" in a security's price
and indicators. It is primarily intended to aid in the visual inspection of a
chart.
If you choose to type the dates rather than select them from the drop-
down calendar, you can enter the year using two or four digits. If you
enter only two digits, MetaStock Pro interprets the two digit years 26
through 99 to mean 1926 through 1999. Two digit years 00 through 25
are interpreted to mean 2000 through 2025. This means that in order to
enter a date of 1915 or 2036, you would need to type in the four digit
year, or MetaStock Pro would not interpret them as you intended.
Program Performance
There are several things you can do to speed up MetaStock Pro:
• Close other applications while running MetaStock Pro.
• Only load as much data as you need (see page 80).
• Limit the number of charts you have open.
• Use the status bar (see page 27) to view the date and pointer location
rather than the Data Window.
• Increase the amount of RAM in your computer.
• Install a faster CPU.
• Limit the number of calculation-intensive indicators and experts
attached to a chart.
Using OptionScope
OptionScope is a separate program provided with MetaStock Pro that is
patterned after a spreadsheet. It is used to analyze options on futures and
equities.
You run OptionScope from within MetaStock Pro by choosing
OptionScope from the Tools menu or by clicking the OptionScope button
OptionScope button on the standard toolbar.
With OptionScope you can:
• calculate the fair market value of put and call options.
• calculate implied volatility to see what the "actual" option's price is
implying the volatility should be.
• calculate delta, vega, gamma, and theta (see page 494) to study the
sensitivity of the option to changes in market conditions.
• calculate "what-if" scenarios.
• display graphs of option positions.
The folder where the OptionScope program is located is specified in the
Application Options dialog (see page 33).
OptionScope includes an on-line help system that explains how to use the
program's features. Choose Contents from OptionScope's Help menu.
The following books have been used by Equis for the Interpretation of
Indicators and Line Studies chapter of the manual. Equis also
recommends these books to those needing additional information on
technical analysis.
For additional information on books, videos, software and other
educational materials, check out the EQUISDirect catalog on our web site
at http://www.equis.com.
Arms, Richard W., Jr. Volume Cycles in the Stock Market. Salt Lake
City, UT: Equis International, Inc., 1994.
Thoroughly explains the Equivolume charting method, volume cycles,
and the ease of movement indicator.
Chande, Tushar S and Stanley Kroll. The New Technical Trader. New
York: Wiley, 1994.
A book describing a new statistically- based breed of price-based, and
risk control indicators.
Raff, Gilbert. Trading the Regression Channel. Salt Lake City, UT.
Equis International, 1996.
Explains how to trade the Regression Channel and objectively draw
trendlines.