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

Errors in RSI calculations



PureBytes Links

Trading Reference Links

hi mark,

i was wondering the same thing.
but it seems metastock uses wilders' smoothing in stead of the normal 
simple moving average:

Roy Larsen wrote:
A:=Input("RSI periods",2,50,14);
B:=C; {RSI target array}
U:=Wilders(If(B>Ref(B,-1),B-Ref(B,-1),0),A);
D:=Wilders(If(B<Ref(B,-1),Ref(B,-1)-B,0),A);
100-(100/(1+(U/D)));

regards,
onno

Return-Path: <majordom@xxxxxxxxxxxxxxxxxx>
X-Authentication-Warning: listserv.equis.com: majordom set sender to 
owner-metastock@xxxxxxxxxxxxx using -f
From: FFCorps@xxxxxxx
Date: Wed, 2 Jan 2002 08:55:18 EST
To: metastock@xxxxxxxxxxxxx
Sender: owner-metastock@xxxxxxxxxxxxx
Reply-To: metastock@xxxxxxxxxxxxx

I'm running Metastock 7.02 with end of day data.  I can't seem to get 
Metastock's RSI to calculate correctly.  Has anyone else had this 
problem?

Thanks.

Mark