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

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



PureBytes Links

Trading Reference Links


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