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

AW: how to do "buy if some function of index" is true?



PureBytes Links

Trading Reference Links


Jeff, how about the "P" data array identifier? I am not a Metastock
programmer, but P may help? (6.5 manual at page 213)

Andreas

> -----Ursprüngliche Nachricht-----
> Von: owner-metastock@xxxxxxxxxxxxx
> [mailto:owner-metastock@xxxxxxxxxxxxx]Im Auftrag von Jeff Haferman
> Gesendet: Sonntag, 4. November 2001 03:04
> An: metastock@xxxxxxxxxxxxx
> Betreff: Re: how to do "buy if some function of index" is true?
>
>
> Sorry, I neglected to write that I am using  6.52.
> I don't see the "Security Data Function" described in
> 6.52, so I guess I need to upgrade...
>
>
> Gerard Heuby wrote:
> >
> >You can do it in referencing the SPX with the "Security Data Function".
> >No need for SPX to be opened, exact syntax is depending if the datas are
> >online or local datas.
> >You can find examples in MS user manual page 241 (Pro 7.0/7.2 manual).
> >
> >Gerard
> >
> >>From: Jeff Haferman <Jeff_Haferman@xxxxxxxxx>
> >>Reply-To: metastock@xxxxxxxxxxxxx
> >>To: metastock@xxxxxxxxxxxxx
> >>Subject: how to do "buy if some function of index" is true?
> >>Date: Fri, 2 Nov 2001 18:58:16 -0800 (PST)
> >>
> >>Let's say I have security ABC open in a window, and the SPX
> >>open in another window.
> >>
> >>Is it possible to write an expert (or indicator, or system test)
> >>that will do something like (for example)
> >>
> >>buy ABC if the SPX is at a 20 day high?
> >>
> >
> >
> >_________________________________________________________________
> >Get your FREE download of MSN Explorer at
> http://explorer.msn.com/intl.asp
> >
>
>