PureBytes Links
Trading Reference Links
|
AL,
The original article was in "Technical Analysis of Stocks and
Commodities" October 2006. The codes are provided by William Golson
at Equis.
Basically the Rapid RSI is a non smoothed version of the RSI. The RSI
originally used Wilder's smoothing which is half of an exponential
smoothing.
The Relative Spread Strength is more like a RSI of a MACD where the
MACD is a 10 and 40 period rather than the traditional 12 and 26.
If you want just the Rapid RSI use this:
{Name: Rapid RSI
Formula:}
tp:= 14; {time periods in RSI calc}
plot:= C;
change:= ROC(plot,1,$);
Z:=Sum(If(change>0,change,0),tp);
Y:=Sum(If(change<0,Abs(change),0),tp);
Ytemp:=If(y=0,0.00001,y);
RS:=Z/Ytemp;
100-(100/(1+RS))
{end}
Preston
--- In equismetastock@xxxxxxxxxxxxxxx, Al Dina <zebra7860@xxx> wrote:
>
> Hi Preston,
>
> Did you do this or was this available on some site? It doesn't
matter. THank you very much!
>
> I see two codes. Is this correct? Where do I begin the copy and
paste from? Can you point the way, please?
>
> Thank you
> Al
>
> pumrysh <no_reply@xxxxxxxxxxxxxxx> wrote:
> AL,
>
> Here you go!
>
> Preston
>
> Rapid RSI
>
> TASC OCT 2006
> METASTOCK: Relative Spread Strength
> Ian Copsey's article in this issue, "Relative Spread Strength,"
> introduces two variations on the relative strength index (RSI). The
> formula for these indicators and the instructions for adding them
to
> MetaStock follow.
> To enter these indicators into MetaStock:
> 1. In the Tools menu, select "Indicator Builder."
> 2. Click New to open the Indicator Editor for a new indicator.
> 3. Type the name of the formula.
> 4. Click in the larger window and type in the formula.
> 5. Click OK to close the Indicator Editor.
>
> Name: Rapid RSI
> Formula:
> tp:= 14; { time periods in RSI calculation}
> plot:= C;
> change:= ROC(plot,1,$);
> Z:=Sum(If(change>0,change,0),tp);
> Y:=Sum(If(change<0,Abs(change),0),tp);
> Ytemp:=If(y=0,0.00001,y);
> RS:=Z/Ytemp;
> 100-(100/(1+RS))
>
> Name: Relative Spread Strength
> Formula:
> matp1:=10; {short MA time periods}
> matp2:=40; {long MA time periods}
> RStp:= 5; { time periods in RSI}
> RSsmoothtp:=5; { time periods in smoothing of RSI}
> plot:= Mov(C,matp1,E)-Mov(C,matp2,E);
> change:= ROC(plot,1,$);
> Z:=Sum(If(change>0,change,0),RStp);
> Y:=Sum(If(change<0,Abs(change),0),RStp);
> Ytemp:=If(y=0,0.00001,y);
> RS:=Z/Ytemp;
> Mov(100-(100/(1+RS)),RSsmoothtp,S)
>
>
> --William Golson
> MetaStock Support Representative
> Equis International (A Reuters Company)
> 801 265-9998, www.metastock.com
>
> --- In equismetastock@xxxxxxxxxxxxxxx, Al Dina <zebra7860@> wrote:
> >
> > Hello,
> >
> > I am attaching an interesting article on a twist to the RSI. It
> is called the "Rapid RSI" and I know that there are some very good
> programmers here.
> >
> > Basically, the document illustrates how the RSI can be tweaked to
> be more sensitive.
> >
> > Can anybody convert this code to Metastock language, please?
> >
> > I would truly appreciate it.
> >
> > Al
> >
> >
> > ---------------------------------
> > Looking for the perfect gift? Give the gift of Flickr!
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
>
> ---------------------------------
> Be smarter than spam. See how smart SpamGuard is at giving junk
email the boot with the All-new Yahoo! Mail
>
> [Non-text portions of this message have been removed]
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/equismetastock/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:equismetastock-digest@xxxxxxxxxxxxxxx
mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|