Wednesday, January 21, 2009

1/21/2009: Ossilator Time frame

RSI, MACD, STO, all have time frame.

RSI = 100* (1-[(avg_down_closs)N/ (avg_close)N]), 也就是说,past N day, close up 越多, RSI 就越大。 反之, RSI越小。

STO是measure, 当天的close, 在过去N天的trading range的位置, 然后, 画两条MA来smooth, 在取difference。 

MACD是两条MA的difference。 

Osillator的一个大用处是看超买超卖, 一个是用diverence.

一个要注意的是, 两个price上的peak之间的距离,要大于Osillator用的Timeframe.

最后是price上的peak往前的trend的时间,大于Osillator的time frame.

否则, 会把不必要的震荡带来。

No comments: