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

[EquisMetaStock Group] Re: 20 day high cross



PureBytes Links

Trading Reference Links

--- In equismetastock@xxxxxxxxxxxxxxx, "bklchu" <tatrader@xxx> wrote:
>Thanks Ron and others for providing the solution to this problem.

Bob
> 
> You can try
> Cross(C, Ref(HHV(H,20),-1))
> 
> --- In equismetastock@xxxxxxxxxxxxxxx, "perumbalam" <perumbalam@> 
> wrote:
> >
> > Dear Friends,
> > 
> > I am trying to write an exploration that shows stocks whose 
close 
> > crosses a 20 day high.
> > 
> > X:= HHV(high,20);
> > Cross (close,X);
> > 
> > This does not work as the HHV includes toadys high and  todays 
> close 
> > cannot cross it.
> > 
> > What is needed is to have close crossing the HHV of the last 20 
> days 
> > not including todays high value.
> > 
> > I would appreciate any suggestions to  code this correctly.
> > 
> > Thanks
> > 
> > Bob
> >
>




 
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/