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

Re: [EquisMetaStock Group] Re: ROC formula



PureBytes Links

Trading Reference Links

pumrysh yazm?s,:
>
> Yahya,
>
> Your formula would require a variable lookback period for the ROC.
> The only way to accomplish this would be to use a variable DLL of the
> ROC.
>
> There is one in our files section that you could use.
> Your formula would look like this:
>
> a:=Mov(C,9,S);
> b:=Mov(C,21,S);
> x:=If(a>=b,1,0);
> y:= BarsSince(x<1);
> ExtFml("Forum.ROC",C,y,0)
>
> Hope this helps,
>
> Preston
>
> --- In equismetastock@xxxxxxxxxxxxxxx 
> <mailto:equismetastock%40yahoogroups.com>, Yahya Kemal Beler
> <yahyakemalbeler@xxx> wrote:
> >
> > Hi,
> >
> > I want to develop a formula like this:
> >
> > a:=Mov(C,9,S);
> > b:=Mov(C,21,S);
> > x:=If(a>=b,1,0);
> > y:= BarsSince(x<1);
> >
> > ROC(c,y,%)
> >
> > But how?
> >
> > Thanks
> >
>
>  
Thank you Preston,

Your formula is perfectly working.

Thank you very much :)

------------------------------------

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/