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

[amibroker] RSI plots don't match



PureBytes Links

Trading Reference Links

I have a trading program that plots an RSI with the following 
formula in Metastock format:

rsi_r := (close - open); 
rsi_rs := Wilders(if(rsi_r>0,rsi_r,0),period) / Wilders(if
(rsi_r<0,Abs(rsi_r),0),period); 
RSI := 100-(100/(1+rsi_rs));

The problem is that I get different results when compared to AB's 
RSI (I don't know AB's RSI formula).  How can I adapt the one above 
to match that of AB?

TIA

Gernot



------------------------ 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/l.m7sD/LIdGAA/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/