CSI's Unfair Advantage How-To Guide: How do I use UA to view a
study?
20040116
Trading systems in UA are all pretty much the same, but let's look at
Bollinger Bands as an example.
1. We open a chart in UA.

2. Press the "Change indicators on chart" button:
This opens the study toolbar:

3. Since Bollinger Bands is not on the list, we need to add it so press
the "Add Study" button. (If it is on the list, skip to step 8.)

4. The "Select Study" dialog supplies several older studies which can
be accessed by clicking on the down arrow to the right of the word
"None". Bollinger Bands is not one of these studies so we press
the Interpreted button to get the Code Editor.

5. Since we want to run the Bollinger Bands in the VBScript
language, lets check to be sure that we are in the VBScript
language. (You can complete the rest of this tutorial with any of
the languages available, but things will look a little
different.) To check, click the menu items File -> Choose
Language Mode -> VBScript.
6. Now to choose Bollinger Bands, right click on the big white
box. (If there are two white boxes, click on the "<< Less"
button to hide the bottom box.) A long list of available studies
should appear, select Bollinger Bands. The call sequence for the
studies should be copies to the white box.

7. This tells UA that you want to run a Bollinger Bands using a 15 day
window and that you want the bands to be spaced 1.5 standard deviations
above and below the mean. Make changes if you prefer different
settings. Press the OK button when you are done.

8. Now we add it to our chart by dragging the text "VBScript:
BollingerBands(15,1.5)" to the pane on the graph inwhich we wish it to
be. When you release, the "Studying ..." dialog should appear to
show you that it is computing the study.

9. This step may be very fast or very slow depending on the amount of
history and how complicated the study is.

10. As long as we have the Study Toolbar open, the chart panes
remain open, and the little "e" and "X" buttons exist next to the
studies name and color coding. The "e" is used to edit the study
(change it's parameters, change which study, or even edit source code
of the study). The "X" is used to delete the study from the
chart. Since we don't need to do any of these things at the
moment, close the Study Toolbar by clicking on the little red X in the
upper left of the toolbar.

11. Now if we want to check the values on a specific day. open the
cross hairs by clicking the cross hairs button: 

12. Now move the mouse over the graph, and you will see the detail of
the data displayed, with the study data at the bottom. If you
have lots of studies (currently limited to 10) you may have to scroll
the box down before selecting the day.

13. If you want to see more than one day's worth of number, switch over
to the table view by clicking the Table button in the lower left corner
of the chart: 

14. This puts the chart in Table mode. If you scroll the to
the left, you will see the study's values.

To add other studies, go back through the steps, and simply select a
different study from the menu.