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

Re: Two stocks in same formula



PureBytes Links

Trading Reference Links

Great Idea! But --- "This function only available in MetaStock Professional"
!!#$%@

Oh well ....

Is there another way?

Allan Havemose wrote:
> 
> Bruce,
> 
> The "Security" functions does this. E.g.
> 
> {--assume you run on gold}
> si:=Security("SI",c);
> go:=Security{"GC",c);
> si > go {buy if the price of silver is larger than the price of gold}
> 
> obviously, a better system is needed :)
> 
> Allan
> 
> --- ANDERSON BRUCE <bruce-anderson@xxxxxxxx> wrote:
> > It is easy to drag one stock and drop its chart onto another stock's
> > chart to
> > see how they behave relative to one another.
> >
> > Is it possible, once that is done, to create trading formulas that
> > use
> > information from BOTH stocks to trigger actions?  (e.g. Buy GOLD
> > whenever Silver
> > does "X")
> >
> > Or is this something that the MetaStock language just does not cope
> > with?
> >
> > I've look at the documentation for the "P" array, but it seems to
> > require that
> > all data be derived from a single "base stock".
> >
> > Is there a way to do this?
> 
> =====
> ---
> Allan Havemose, Ph.D.
> havemose@xxxxxxxxxx
> havemose@xxxxxxxxx
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year!  http://personal.mail.yahoo.com/