PureBytes Links
Trading Reference Links
|
Hi Joe,
I think you've hit the nail on the head and also raised a couple of
important points:
1. We have an interesting observation concerning the data.
Yahoo (CSI) & RealTick (Townsend Analytics) both show NO data for TAG
on 5/8/2003.
MSN (Comstock) shows data (and you have confirmed e-Signal does).
This appears to be fabricated data. The OHLC = previous day's close
and V = 0.
2. If the Security function doesn't have data to return, it makes it
up (an intelligent guess at least). Most likely along the same lines
as Comstock and e-signal.
The reason the Security function didn't return a blank as you would
have expected it, is that it is unable to. Any function returning
data (coded with the MS Dev Kit) must provide a value for every
period within the range returned (and you can only return one range).
Hence why I asked the question in the first place. What happens when
there is no data to return? Answer: it makes up (intelligently).
I bet that's not in the manual!
Thanks very much.
Sean
--- In Metastockusers@xxxxxxxxxxxxxxx, "Joe J." <jojab@xxxx> wrote:
> Sean,
>
> I was reading the exchange you were having with Freddie and decided
to take a look at this also.
>
> I have eSignal data and it does show data for TAG on 5/8/03. Thus,
I created a new security in the downloader called "Test TAG" and
deleted the entire row of data for 5/8 and saved it. I then used the
Security function to plot the close of "Test TAG" for the last 20
days on a chart of IBM. Interestingly, it plotted the close from 5/7
again on 5/8 (I would have thought it would have been blank).
>
> Freddie seemed to be suggesting that you can not use the Security()
function to generate trading signals. That is not the case. You can
use the Security function to reference the O,H,L,C,V and even embed
it in formulas. Thus, if you wanted to get a buy signal on IBM when
the SPY crossed it's 50 period SMA, that could be done very easily.
This is true whether you reference it in an Expert, Security
Indicator, System Tester or the Explorer.
>
> Good Trading,
>
> Joe J.
>
> -----Original Message-----
> From: cloudyweather13 [mailto:sean@x...]
> Sent: Friday, May 16, 2003 8:39 AM
> To: Metastockusers@xxxxxxxxxxxxxxx
> Subject: [Metastockusers] Re: Question on Security function
>
>
> Hi Freddie,
>
> Once again, thanks for looking into this.
> I have MS 7.2 EOD which doesn't have the Security function built in
> but I do have the MS Dev Kit so I can write most things.
>
> I'm very interested in intermarket analysis and want to carry out
> some tests incorporating other markets. The Security function
makes
> this easy. E.g. if Bonds down, go long stocks (that sort of thing).
> I don't see any reason why you would not be able to incorporate the
> Security function to generate trade signals with the Metastock
system
> tester.
>
> I wrote my own version of a 'Security' function and just happened
to
> test it on TAG which showed up this issue.
>
> Any chance you could try this?
> 1. Open TAG chart (just last 20 periods).
> 2. Confirm there is no data for 5/8/2003 (YAHOO doesn't have any).
> 3. Open IBM chart (again - just 20 periods).
> 4. Add an indicator to the IBM chart which is basically a call to
the
> Security function to retrieve the closing price of TAG.
> 5. Does this indicator display something for the whole 20 periods?
> If so, what does it generate for 5/8/2003 when there is nothing for
> it to return? This is the key question.
>
> Once again, many thanks for your help.
> Sean
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/uetFAA/zMEolB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|