PureBytes Links
Trading Reference Links
|
Hi Preston
OK, using "OR" I can use the signal from any one of the securities in
any bar.
But imagine that I want to signal only when both securities had that
close on the same day/bar? I know that this could never give a signal
or half a dozen signals per year but is this possible?
Now another question, I have these signals, signals given by two
specific securities. How can I say that I want to buy NEM if AA
and X give these signals?
How can I say if signal1 or signal2 then buy NEM else don't buy?
Thanks
Regards
Fernando
--- In equismetastock@xxxxxxxxxxxxxxx, pumrysh <no_reply@xxx> wrote:
>
> Fernando,
>
> signal1 AND signal2 means both must give signal.
>
> Use signal1 or signal2 for signal from either one.
>
> Preston
>
>
>
>
>
> --- In equismetastock@xxxxxxxxxxxxxxx, "Fernando Santos"
> <ptc_man3@> wrote:
> >
> > Hi
> >
> > How to signal a close higher then the MM25 in the same day at 2
> > different securities?
> >
> > Why this doesn't work?
> >
> > aa:=Security("C:\Trading Data\Stocks\US\Custom Folders\S&P 500
> \AA",C);
> > x:=Security("C:\Trading Data\Stocks\US\Custom Folders\S&P 500
> \X",C);
> >
> > signal1:=aa>Mov(aa,25,S);
> > signal2:=x>Mov(x,25,S);
> >
> > x:=signal1 AND signal2;
> > x
> >
> > He shows not only the ones at the same day as the ones in different
> > days but only if signal1 already closed above MM25 he then signal
> the
> > signal2.
> >
> > "AND" shouldn't restrict the signal to be true only if both closed
> > above the MM on the same day?
> >
> > Any thoughts?
> > Thanks
> > Regards
> > Fernando
> >
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/equismetastock/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:equismetastock-digest@xxxxxxxxxxxxxxx
mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|