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

[EquisMetaStock Group] Explorer


  • To: undisclosed-recipients:;
  • Subject: [EquisMetaStock Group] Explorer
  • From: Paolo <italoarg76@xxxxxxxx>
  • Date: Tue, 23 May 2006 20:18:22 -0300

PureBytes Links

Trading Reference Links

Ciao!!
       I've seen many times something like this:
LinRegSlope( LinRegSlope(C,20),3); {DLRS for me}

That's good to see divergences with close price so I've used a
modified (by Jose Silva) indicator to find the divergences.
I was interested to make an EXPLORER from the code but I tryied
and I failed!
Some help will be appreciated!! :)

The indicator code is:

{ DLRP-DIV:
  Attempt at finding divergences DLRS and Price }

{ User inputs }
thr:=Input("Divergence strength threshold %",0,100,1.5);
pds:=Input("Divergence periods",1,260,20);

ds:= LinRegSlope( LinRegSlope(C,20),3);

dsEma:=Mov(ds,pds,E);
PrcEma:=Mov(C,pds,E);


{ Divergences }
Bull:=If(ds>dsEma
  AND ds>Ref(ds,-pds)
  AND C<PrcEma
  AND C<Ref(C,-pds),
  Mov(ds,pds,S)/Mov(ds,100,S),0)
 >thr;
Bear:=If(ds<dsEma
  AND ds<Ref(ds,-pds)
  AND C>PrcEma
  AND C>Ref(C,-pds),
  Mov(ds,pds,S)/Mov(ds,100,S),0)
 >thr;

{ Plot signals }
If(bull=1,bull,If(bear=1,-bear,0));

{ Jose Silva's aid was used }




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