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

Re: [EquisMetaStock Group] Q&B indicator



PureBytes Links

Trading Reference Links

Alberto and Roy,
I have contacted Equis regarding this issue and they sent me the corrected
ones plus promised to amend web page. Here they are:

B Indicator:
--------------------------
m:=Input("% Scalar trend period",1,25,4);
n:=Input("% Scalar noise period",1,500,250);
cf:=Input("% Scalar correction factor",1,250,2);
p1:=Input("First moving average periods",1,200,7);
p2:=Input("Second moving average periods",1,200,15);
rev:=Mov(C,p1,E)-Mov(C,p2,E);
pds:=If(rev>0,1,-1);
dc:=ROC(C,1,$);
cpc:=If(pds<>Ref(pds,-1),0,(dc*pds)+PREV);
trend:=If(pds<>Ref(pds,-1),0,(cpc*(1/m))+(PREV*(1-(1/m))));
dt:=cpc-trend;
noise:=cf*Sqrt(Mov(dt*dt,n,S));
temp:=If(Abs(trend)+Abs(noise)=0,1,Abs(trend)+Abs(noise));
(Abs(trend)/temp)*100;
------------------------------
Q Indicator
------------------------------
m:=Input("% Scalar trend period",1,25,4);
n:=Input("% Scalar noise period",1,500,250);
cf:=Input("% Scalar correction factor",1,250,2);
p1:=Input("First moving average periods",1,200,7);
p2:=Input("Second moving average periods",1,200,15);
rev:=Mov(C,p1,E)-Mov(C,p2,E);
pds:=If(rev>0,1,-1);
dc:=ROC(C,1,$);
cpc:=If(pds<>Ref(pds,-1),0,(dc*pds)+PREV);
trend:=If(pds<>Ref(pds,-1),0,(cpc*(1/m))+(PREV*(1-(1/m))));
dt:=cpc-trend;
noise:=cf*Sqrt(Mov(dt*dt,n,S));
trend/noise
--------------------------------

Hoping to be of use.
Hani


----- Original Message -----
From: "Roy Larsen" <rlarsen@xxxxxxxxxxxxxx>
To: <equismetastock@xxxxxxxxxxxxxxx>
Sent: Wednesday, November 24, 2004 1:39 PM
Subject: Re: [EquisMetaStock Group] Q&B indicator


>
> Hi Alberto
>
>
> The Q and B indicators are public domain but have errors as published
> on the Equis website.
>
> http://www.equis.com/Support/TASCArticles/ViewArticle.aspx?Id=61
>
>
> Kind regards
>
> Roy Larsen
> www.metastocktips.co.nz
> Free formulas and MS links
>
>
>
> ----- Original Message -----
> From: "alberto_sfolcini" <no_reply@xxxxxxxxxxxxxxx>
> To: <equismetastock@xxxxxxxxxxxxxxx>
> Sent: Wednesday, November 24, 2004 10:54 PM
> Subject: [EquisMetaStock Group] Q&B indicator
>
>
> >
> >
> >
> > Hi there,
> >
> > I saw some samples in file section and read some message about them,
> > but I cant understood if the code for Q&B indicator is public.
> > If is it public could explain where I can found it?
> > I'll check public and free version of November Tip&Tricks but I did
> > not find it, maybe I had some mistakes :-)
> > Or, if it is not public, how it works, which are the basis ?
> >
> > :)
> > Thank you so much,
> > Alberto
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>




------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> 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/