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

[amibroker] Ranking study



PureBytes Links

Trading Reference Links

Making my first attempt at a very simple Relative Strength scan. 
Using the ROC function, I'm able to create a RS number. I'm also 
able to code a simple moving average qualifier for a buy signal, as 
well as an exit. 

What approach should I use then to rank the securities by their new 
RS number, and buy say the top 5? Would the new Percentile function 
be the way to handle this? Here is what I have so far:

Filter = GroupID() == 0;

RS = ROC(Close, 120);
Avg = EMA(Close, 28);

Exit = Close < Avg;



NumColumns = 3;
Column0Name = "RS Index";
Column0     = RS;

Any help would be appreciated!

-Eric.



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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