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

[amibroker] Re: Percentile



PureBytes Links

Trading Reference Links

Soooooo...I take it either no one is interested in giving me any 
help, or this cannot be done?


--- In amibroker@xxxxxxxxxxxxxxx, "ericleake" <eleake@xxxx> wrote:
> Is it possible to use the Percentile function to act as the 
> PositionScore? I am calculating a list of sector indicies first by 
> four periods of ROC:
> 
> RS1 = ROC(Close, 260); 
> RS2 = ROC(Close, 130);
> RS3 = ROC(Close, 65);
> RS4 = ROC(Close, 20);
> 
> ROCIndex = RS1 + RS2 + RS3 + RS4;
> 
> After computing the ROCIndex for my list, I would like to use the 
> Percentile function to buy only the symbols listed in the top 5 
> percent. (Rotational mode won't work, as I have additional 
> conditions that may not allow any purchases at all.)
> 
> I understand from the examples of using Percentile how it can work 
> on an individual security, but what about for a list? I assume I 
> would need to first referrence an array that contained the 
ROCIndex 
> numbers? Not sure how to do that.
> 
> Anyone have any experience with Percentile ranking? 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 
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/