Viewing Datasets with “Studies”

You want to see the stock market against both its long-term trend and a short-term momentum indicator.  First let’s request the data:

In this case, we have created our values one step at a time and by assembling temporary datasets.  Line 1 selects just the last 300 days of the price dataset.  Line 2 performs a 100-day moving average of the close of the price, and Line 3 calculates a 25-day moving regression of the slope of the midrange of price.  We could have also constructed named temporary datasets as in:

In either case, the 4th line takes the price dataset, the long-term trend calculation and the short-term momentum value and assembles them together in one dataset with common dates. 

There are many quick and easy ways to plot, but we have to show you the foolproof method, just in case you have to do it yourself:

Click on the Graph Wizard icon , and you will see that FDC has given you the default plot of 1 large pane with all of the data columns plotted as lines.  Change the panes by selecting or entering  and clicking on .  In the top pane (highlighted in blue) enter the column numbers as you would like them plotted.  Here, we have entered columns 1, 2, 3 and 4 in the Bar chart box, and column 5 in the Solid line chart box:

Then move on to Pane 2 and enter column 6 in the Solid line chart box:

Then click on  and you will be presented with:

Within our manual there are instructions for saving plottypes and recalling them such that the graphing function is automatic.

-------------------------------------------------------------------------------------------

spx last 300

100 movave close temp1

25 movslope midrange temp1

temp1 common temp2 common temp3

price: spx last 300

long_trend: 100 movave close price

momentum: 25 movslope midrange price

lineup:  price common long_trend common momentum