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

Re: [amibroker] RSI



PureBytes Links

Trading Reference Links

Alan,
 
Here is what I use:
 
//Relative Comparison %
period = 250;//Period of relative Comparison
BaseMarket="^ndx";//select Base market
x = Foreign(BaseMarket,"C") - Ref(Foreign(BaseMarket,"C"),-period);
x = (x / Ref(Foreign(BaseMarket,"C"),-period)) * 100;
y = C - Ref(C,-period);
y = ( y / Ref(C,-period)) * 100;
rs = y - x;
Filter=1;
AddColumn(RS,"RS_%",1.2);
Anthony
 
-------Original Message-------
 
From: amibroker@xxxxxxxxxxxxxxx
Date: Friday, March 14, 2003 12:50:55
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] RSI
 
Has anybody developed a formula that calculates and shows the RS of a 
certain stock compare to list of stocks (such as N100). Something 
similar to RS in Investor Business Daily.
 
Alan
 
 
Yahoo! Groups Sponsor
ADVERTISEMENT
 
 
 
 
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 the Yahoo! Terms of Service. 
 
 

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/