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

[EquisMetaStock Group] Re: Looping Statement



PureBytes Links

Trading Reference Links

I think this should come close to what you want:

{ColA}BarsSince(Cross(Mov1,Mov2);

{Filter}
BarsSince(Cross(Mov1,Mov2))<=10;

Regards,
Ron

In equismetastock@xxxxxxxxxxxxxxx, "Daniel Teo" <danielteokh@xxx> 
wrote:
>
> This is what i want to do,
> I  want to check for a Cross during an exploration over the past 10 
days.
> and show it in the report.
>  
> So i actually have to use Ref(Cross(Mov,Mov),-1) and specify this 
up to
> Ref(Cross(Mov,Mov),-10) and check each one individually ?
> 
>  
>   _____  
> 
> From: equismetastock@xxxxxxxxxxxxxxx 
[mailto:equismetastock@xxxxxxxxxxxxxxx]
> On Behalf Of Ed Hoopes
> Sent: Wednesday, September 12, 2007 10:10 AM
> To: equismetastock@xxxxxxxxxxxxxxx
> Subject: Re: [EquisMetaStock Group] Looping Statement
> 
> 
> 
> In fact there is only one flow control statement in MS - the IF
> statement. And it is not even a block IF - as in 
> 
> if(condition)
> {
> condition true block
> }
> else
> {
> condition false block
> } 
> 
> --- In equismetastock@ <mailto:equismetastock%40yahoogroups.com>
> yahoogroups.com, "Lionel Issen" <lissen@> wrote:
> >
> > NO!
> > 
> > 
> > 
> > From: equismetastock@ <mailto:equismetastock%40yahoogroups.com>
> yahoogroups.com
> [mailto:equismetastock@ <mailto:equismetastock%40yahoogroups.com>
> yahoogroups.com]
> > On Behalf Of Daniel Teo
> > Sent: Tuesday, September 11, 2007 6:00 PM
> > To: equismetastock@ <mailto:equismetastock%40yahoogroups.com>
> yahoogroups.com
> > Subject: [EquisMetaStock Group] Looping Statement
> > 
> > 
> > 
> > Is there a looping function like FOR Loop or While Loop in 
metastock
> ? or
> > similar ?
> > 
> > [Non-text portions of this message have been removed]
> > 
> > 
> > 
> > 
> > 
> > [Non-text portions of this message have been removed]
> >
> 
> 
> 
>  
> 
> 
> [Non-text portions of this message have been removed]
>




 
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/