PureBytes Links
Trading Reference Links
|
Hi,
This was in Equis website,
Name: Q-indicator:
Formula:
m:=Input("% Scalar trend period",1,25,4);
n:=Input("% Scalar noise period",1,500,250);
cf:=Input("% Scalar correction factor",1,250,100);
p1:=Input("First moving average periods",1,200,7);
p2:=Input("Second moving average periods",1,200,15);
rev:=BarsSince(Cross(Mov(C,p1,E),Mov(C,p2,E)) OR
Cross(Mov(C,p2,E),Mov(C,p1,E)));
cpc:=Cum(LastValue(Sum(ROC(C,1,$),LastValue(rev+PREV-PREV))+PREV-PREV));
trend:=Mov(cpc,m,E);
dt:=cpc-trend;
noise:=C*Sqrt(Mov(dt*dt,n,S));
(trend/noise)*cf
Name: B-indicator
Formula:
m:=Input("% Scalar trend period",1,25,4);
n:=Input("% Scalar noise period",1,500,250);
cf:=Input("% Scalar correction factor",1,250,100);
p1:=Input("First moving average periods",1,200,7);
p2:=Input("Second moving average periods",1,200,15);
rev:=BarsSince(Cross(Mov(C,p1,E),Mov(C,p2,E)) OR
Cross(Mov(C,p2,E),Mov(C,p1,E)));
cpc:=Cum(LastValue(Sum(ROC(C,1,$),LastValue(rev+PREV-PREV))+PREV-PREV));
trend:=Mov(cpc,m,E);
dt:=cpc-trend;
noise:=C*Sqrt(Mov(dt*dt,n,S));
(Abs(trend)/Abs(trend+noise))*cf
I hope it helps.
Cheers,
Carlos
=
--- bill_saxon <vondell@xxxxxxxxxxxx> wrote:
> This indicator in Stocks and Commodities looked
> interesting and I was
> going to enter it in. In the meantime the issue was
> accidently
> trashed. Has anyone coded it? and if so could you
> send an
> attachment?
>
> Thanks for any help.
>
>
>
>
>
>
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
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/
|