[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Metastockusers] Re: Question on Security function



PureBytes Links

Trading Reference Links



Sean,
First of all, the security function does not have additional parameters
to specify period of interest, so it basically takes whatever data that
is available and plot it on to the base security. However, I have
simulated a gap of data range of 1 year period for easy identification
during my test, the tag security is plotted onto the base security but an
eyeball check, one can tell that there is a missing range of data. In
fact, you don't need to pad missing data at all, MS will do it all for
you.
I hope I am correct to day that you can't use TAG security to provide
trade signal, trading signals still comes from your base security. The
TAG is on a reference plot. The output of the expert advisor with any
indicator further confirmed that trading signals has nothing to do with
the tag. Hope that clears the cloud.
BTW, what are you trying to achieve with the security function 
?
Best Regards
Freddie Ng
At 02:35 AM 5/16/2003 +0000, you wrote:
Hi Freddie,
Thanks very much for trying this.
It may have helped if I had explained a bit more up front.
Here goes:
I need you to try a gap in the middle, not at the beginning.
The problem with the Metastock/MS Dev Kit is that you can only return

one range of periods with each function call.
E.g. you can return data for 02132002 - 05132003 BUT you cannot 
return data for 02132002-05132003 & 05152003 in one call (we have a

gap).  I have to populate that missing day with something if I want

to provide data either side of that date and the base security has 
data for that day.
So my question is what does the Security function do in situations 
where there is no data available in the middle.  Hence why I choose

TAG and 05092001 as it's a trading day but for some reason that date

has no data.
Did that make more sense?
Thanks very much,
Sean
--- In Metastockusers@xxxxxxxxxxxxxxx, Freddie Ng <n07476@xxxx>
wrote:
> Sean,
> I hope I understand you correctly, let me lay the scenario
here:
> Both security to be plotted on the inner window.
> Base security : 05092001 - 05132003 - longer period
> Tag security  :  02132002 - 05132003 - shorter 
period
> 
> Metastock will still load the both according to their available

periods, 
> i.e. no data plotted for tag security from 05092001 - 02122002.

There isn't 
> any problem with the security function encountered so far, :-)
> 
> Best Regards
> Freddie Ng
> 
> At 08:39 PM 5/14/2003 +0000, you wrote:
> >Hi,
> >
> >Could someone with the 'Professional' version of Metastock
try
> >something for me?
> >
> >If you open any symbol (so this is the base security) and
then
> >open 'TAG' with the security function in an inner window,
what
> >happens on 05092001?
> >
> >I'm assuming the base security you choose has data for that date

>> but TAG does not.
> >
> >I'm writing a function with the dev kit that encounters a
similar
> >situation and I don't know how to handle it.
> >
> >Thanks very much.
> >
> >Sean






Yahoo! Groups Sponsor


ADVERTISEMENT



<img
src="" width=300 height=250 border=0>











To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx





Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.