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

Re: [amibroker] RSI Calculation wrong?



PureBytes Links

Trading Reference Links

YOUR calculations are wrong. If you code your system in C++ you should be capable enough to use Google to find your errors
without wasting our time on. Google is your friend.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: Chris J
Sent: Friday, July 27, 2007 8:22 AM
Subject: [amibroker] RSI Calculation wrong?

Good evening,
 I'm using Amibroker to write a system and also the C++ language.  The problem is my RSI value doesn't match up to AmiBrokers. Here is my data for a RSI of 8 periods using GBP/USD;
the values;
1.9796
1.9810
1.9796
1.9736
1.9663
1.9629
1.9531
1.9545
1.9566
differences;
+14
-14
-60
-73
-34
-98
+14
+21
plus_average = .0049 / 8 = 0.0006125
minus_average = .0279 / 8 = .0034875
(plus_average / minus_average) + 1 = 1.1756272401
100 / 1.1756272401 = 85.0609
100 - 85.0609 = 14.9391 - my result
Amibroker shows 17.9051 - AmiBrokers
 This is the RSIa indicator using the first RSI value and no smoothed RS since it's the first value for both my system and AmiBrokers.  Driving me nuts.
   Chris


Shape Yahoo! in your own image. Join our Network Research Panel today!
__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___