PureBytes Links
Trading Reference Links
|
Hi!!!
I've developed an indicator and then I put it into
the explorer (as Jose Silve teach me)
The values calculated by the explorer are VERY diferent of the
indicator and I could to see the explorer values were WRONG!!!
What's happen with the explorer ?!!
How can I use this tool if it fails so much ?!!!!!!!!!!!!!!!!!
The explorer code tried was:
ColA:
====
{ User inputs }
pds:=25; {for calculus of divergences}
p1:=20; { Divergence pds for short moving average }
p2:=200; { Divergence pds for long moving average }
s1:= Mov(C,p1,E);
s2:= Mov(C,p2,E);
{ Divergences }
divs:=If(s1<Mov(s1,pds,E) AND (s1<Ref(s1,-pds)) AND
s2>Mov(s2,pds,E) AND (s2>Ref(s2,-pds)),-1,
If(s1>Mov(s1,pds,E) AND (s1>Ref(s1,-pds)) AND
s2<Mov(s2,pds,E) AND (s2<Ref(s2,-pds)) ,1,0));
DP:=If(divs=1,divs+PREV,PREV); { acumulate of (+)divs }
DN:=If(divs=-1,divs+PREV,PREV); { acumulate of (-)divs }
Abs(DP/DN); {Ratio}
Filter:
======
colA<>0
-------
Thank U in advance.
Arrivederci!
Pablo
------------------------ Yahoo! Groups Sponsor --------------------~-->
Everything you need is one click away. Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/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/
|