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

Re: RSI



PureBytes Links

Trading Reference Links

I don't believe things like Wilder's can be implemented in MSFL. For more
complicated things like that, I suggest writing them in C or C++. You need
the Metastock Developer's Kit for that, of course.

You can also use Power basic, Delphi, and a number of other languages.
Probably almost anything that can generate a dll.

----- Original Message -----
From: "Bijan Khezri" <bij3peat@xxxxxxx>
To: <metastock@xxxxxxxxxxxxx>
Sent: Tuesday, August 27, 2002 1:55 PM
Subject: RE: RSI


> Thank you Roy, but it is just the Wilders smoothing that I want to replace
> with a center weighted smoothing, as per a John Ehlers article regarding
FIR
> smoothing.  Any other thoughts would be appreciated.
>
> Bijan
>
> -----Original Message-----
> From: owner-metastock@xxxxxxxxxxxxx
> [mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of Roy Larsen
> Sent: Monday, August 26, 2002 10:15 PM
> To: metastock@xxxxxxxxxxxxx
> Subject: Re: RSI
>
>
> Bijan
>
> > Since Metastock language does not permit a For...To loop, how is RSI
> > calculated in Metastock.  I need the actual formula to play with.
Thanks.
>
>   {RSI Indicator}
> A:=Input("RSI periods",2,50,14);
> B:=CLOSE; {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)));
>
> Roy
>
>
>





  • References: