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

Re: [amibroker] DT's RelativeSlope Additions



PureBytes Links

Trading Reference Links

Franco

Thank you very much

Regards
Guno


--- In amibroker@xxxxxxxxxxxxxxx, Franco Gornati 
<francogornati@xxxx> wrote:
> gunovanengel wrote
> 
> >How to I write an exploration to find stocks that are retracing 
back 
> >to their moving average
> 
> You may try with something like this as a starting point
> 
> th = Param("Threshold", 3, 0, 5, 0.1);  
> po = (c - ema(c,..))/ema(c,..)*100; // set your ema length
> 
> filter = po > 0 and po < th and (po - ref(po,3)) < 0; 
> 
> addcolumn(po, "po");
> 
> Franco



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

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

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/