由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - How does YAHOO calculate RSI? (转载)
相关主题
请教一个design的问题网络程序问题
请教template和factory有啥区别?revision control
map是用什么data structure来implement的?这个技术为什么没人用
再来讨论一直算法课的作业吧stl的nth_element的复杂度是不是O(N)?
Help C++ Template function link error .stl: How to implement map idea with vector in stl ?
good C++ open source project?for conversion from string to char*
sigh, 不懂就不要在这里显Opaque type in C
Question about COMhow to implement binary tree efficiently?
相关话题的讨论汇总
话题: yahoo话题: ema话题: rsi话题: calculate话题: does
进入Programming版参与讨论
1 (共1页)
s*****p
发帖数: 5342
1
【 以下文字转载自 Stock 讨论区 】
发信人: startup (startup), 信区: Stock
标 题: How does YAHOO calculate RSI?
发信站: BBS 未名空间站 (Thu Feb 15 22:10:58 2007)
I try to implement as the following EMA
http://en.wikipedia.org/wiki/Relative_Strength_Index
http://en.wikipedia.org/wiki/Moving_average_%28finance%29#Exponential_moving_average
However, it doesn't match YAHOO's. :(
HELP!
e******r
发帖数: 220
2
EMA part calculation is quite tricky.
Different people implemented EMA in different ways with tiny differences.
Check your result, as long as it is close to the YAHOO value , then it
should be acceptable.
Otherwise, if your result deviates from YAHOO result too much, then I am
sure you are wrong. :)

【在 s*****p 的大作中提到】
: 【 以下文字转载自 Stock 讨论区 】
: 发信人: startup (startup), 信区: Stock
: 标 题: How does YAHOO calculate RSI?
: 发信站: BBS 未名空间站 (Thu Feb 15 22:10:58 2007)
: I try to implement as the following EMA
: http://en.wikipedia.org/wiki/Relative_Strength_Index
: http://en.wikipedia.org/wiki/Moving_average_%28finance%29#Exponential_moving_average
: However, it doesn't match YAHOO's. :(
: HELP!

s*****p
发帖数: 5342
3
Exactly like what you said. Some are close and some are so different from
yahoo. I use N=14 and alpha=1/N. I found EMA(yesterday) has greater impact
on EMA(today) than today's price. Sounds right?

differences.
am

【在 e******r 的大作中提到】
: EMA part calculation is quite tricky.
: Different people implemented EMA in different ways with tiny differences.
: Check your result, as long as it is close to the YAHOO value , then it
: should be acceptable.
: Otherwise, if your result deviates from YAHOO result too much, then I am
: sure you are wrong. :)

1 (共1页)
进入Programming版参与讨论
相关主题
how to implement binary tree efficiently?Help C++ Template function link error .
问一个 关于地图 (GIS) 的 编程问题good C++ open source project?
内存池这个玩意...sigh, 不懂就不要在这里显
问一下这个cast在java里是怎么work的Question about COM
请教一个design的问题网络程序问题
请教template和factory有啥区别?revision control
map是用什么data structure来implement的?这个技术为什么没人用
再来讨论一直算法课的作业吧stl的nth_element的复杂度是不是O(N)?
相关话题的讨论汇总
话题: yahoo话题: ema话题: rsi话题: calculate话题: does