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

Re: [EquisMetaStock Group] Coding RSI



PureBytes Links

Trading Reference Links

Hi Brian
 
 
Here's a formula that will allow you to use any indicator as the data array for RSI(). Put the name of the target data array in the "A" variable. As MG pointed out, this isn't necessary for MS versions 7.2 and above, but for 6.52 and 7.0 the data array defaults to "CLOSE" in the standard RSI() function.
 
  {RSI Indicator}
N:=Input("Periods",2,99,10);
A:=C; {target data array}
B:=Ref(A,-1);
U:=Wilders(If(A>B,A-B,0),N);
D:=Wilders(If(A<B,B-A,0),N);
100-(100/(1+(U/D)));
 
 

Kind regards
 
 
 

 
----- Original Message -----
Sent: Monday, August 15, 2005 3:33 AM
Subject: [EquisMetaStock Group] Coding RSI

Hi -

I'm new to the group. Linda Raschke proposed using the RSI of a one or
two period momentum indicator. In the 6.5 release, RSI can be dragged
on to the indicator but does anyone know how it can be coded?

Thanks in advance 








YAHOO! GROUPS LINKS