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

[Metastockusers] Re: Question on Security function



PureBytes Links

Trading Reference Links

Freddie,

I'm sorry for such a delay in replying.  I'm moving home from the USA 
to the UK and have been a little preoccupied of late.

Unfortunately I can't claim to be an experienced and successful 
trader (yet).  But I have read alot and have been working diligently 
on a backtester.
"Intermarket Technical Analysis : Trading Strategies for the Global 
Stock, Bond, Commodity and Currency Markets" by John Murphy is a good 
book.

Sean


--- In Metastockusers@xxxxxxxxxxxxxxx, Freddie Ng <n07476@xxxx> wrote:
> Sean,
> 
> My data is downloaded from Prophet and it has 5/8/03 data in TAG . 
I 
> deleted this data(5/8/2003)and modified its preceding data(5/7/03) 
for 
> identification purpose. Then plot the Tag using security over the 
IBM. Yes 
> the missing data gets plotted and MS really "fabricated" the data 
from the 
> preceding bar. I wasn't that observant in my earliest test, in 
fact, when I 
> revisited, the 1 year range of data did replicated from the 
previous bar 
> just before the 1st missing data. As seen on the chart it is 
horizontal 
> flat line until the next valid data. It would be meaningful to see 
a break 
> in the tag data rather than a continuous plot with false data. And 
this can 
> cause a false TA decision if that happens to be a point of interest.
> 
> It is interesting that you are applying the security function to do 
> inter-market analysis, I would be interested to learn from you. How 
did you 
> choose the best indicators for your analysis work. I would be 
interested on 
> the mechanism of the analysis to arrive at a trade. I believe you 
are an 
> experienced and successful trader and care to share your expertise.
> 
> I am exploring how security function can be used to generate trade 
signal. 
> Could you enlighten me.
> 
> Best Regards
> Freddie Ng
> 
> At 03:38 PM 5/16/2003 +0000, you wrote:
> >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
> >
> >--- In Metastockusers@xxxxxxxxxxxxxxx, Freddie Ng <n07476@xxxx> 
wrote:
> > > 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
> 
><http://rd.yahoo.com/M=249982.3179269.4495679.1261774/D=egroupweb/S=1
705001779:HM/A=1524963/R=0/*http://hits.411web.com/cgi-bin/autoredir?
camp=556&lineid=3179269&prop=egroupweb&pos=HM>cc3e65.jpg 
> >
> >cc3f0f.jpg
> >
> >To unsubscribe from this group, send an email to:
> >Metastockusers-unsubscribe@xxxxxxxxxxx
> >
> >
> >
> >Your use of Yahoo! Groups is subject to the 
> ><http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.


------------------------ 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/