Create
a Custom Indicator Using the "csv.ByFile"
Plug-in Formula - Example 1
Using the "csv.ByFile" (3
parameters) formula builder, this section takes you through
the step by step process of creating a very specific and
static MetaStock Custom Indicator. This indicator will
retrieve one statistical data series from the included sample MasterDATA composite / breadth
datafiles, for one static symbol and one static data period.
This specific historical data series will remain unchanged in
any MetaStock function in which it is used no matter what the
base symbol of the active function or its data period.
Click on
,MetaStock's
Indicator Builder. The "Indicator Builder" dialog
window opens.
Click on the "New" button. The
"Indicator Editor" dialog window opens. Leave this
dialog window open.
Below is a working copy of the MetaStockCSV
Plug-in "csv.ByFile Formula Builder" discussed previously. Using
this formula builder, make a new formula that retrieves the
composite statistic, "Total components advancing"
for the S & P 500 Index (.SPX) for the
weekly data period.
In the section, "Select an Item in each category:", click on the drop down
box "Select Index or ETF" and click on the symbol desired,
in this case "$SPX - S&P 500 Index".
Again, in the same section, "Select an Item in each category:", click on the drop down
box "Select Composite Statistic" and click on the desired
statistic, in this case "Total components advancing".
Finally, in the same section, "Select an Item in each category:", click on the drop down
box "Select Data Period" and click on thel desired data
period, in this case "Weekly".
Then click
on the button "Click Here To Make the Formula".
Your new formula will appear in the subsequent "MetaStockCSV
Plug-in Formula"
section.
Click on the button "Click To Copy the Formula To Your
Clipboard".
Click in "Formula" field of the
MetaStock "Indicator Editor" dialog window you previously
opened in step two above. Paste your new formula in this
"Formula" field by holding down the "CTRL" key and
pressing the "v" key.
Type a "name" for your new indicator, such as
"SPX Weekly Advances".
Your finished custom indicator should appear as follows:
This custom indicator will retrieve the
"Total Advancing Issues" statistic for the "$SPX
- S&P 500 Index" for the "Weekly" data period no
matter what MetaStock function it is used in.
In the interest of keeping yourself
organized, you might consider placing an identifying
punctuation mark or letter at the beginning of your own custom
indicators. This simple addition will keep all of you
custom indicators grouped together.