SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : Metastock 6.0 for Window

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Richard Estes who wrote (2926)3/26/1999 12:20:00 AM
From: Chip Anderson  Read Replies (1) of 4056
 
(How many times have you thought:)
I thought there was a way to do this, but I can't remember...

I have a data series for the Federal Reserve Discount Rate that I'd like to plot in MetaStock. The data series has one data point per rate change consisting of the date of the change and the new rate's value.

When I convert this table using the Downloader and then plot it as a line graph, it looks OK except the X-Axis is non-continuous. When I then drop another (continuous) data series on the chart, the Discount Rate data points are no longer connected by lines.

Of course, what I'd like to have is a horizontal line extending from each data point until the next one. I was thinking of using a custom indicator with a formula similar to this:

if(Missing(C), Previous, C)

Where "Missing()" is a function that is true if there is no value for the particular day in the series. Alas, I can't find a function like that in the MetaStock Help File. I thought I used something like this last year. Am I just overlooking it? If not, is there a workaround or will I have to write some silly script to insert all of the missing dates into my data set?

Thanks in advance,
Chip
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext