PureBytes Links
Trading Reference Links
|
<x-html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3401" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2><FONT size=2>
<DIV><FONT size=2>The formula for calculating the RSI is:
<BR>rsi=100-(100/(1+rs))</FONT></DIV>
<DIV><FONT size=2>where:</DIV></FONT>
<DIV><FONT size=2>rs = average of x day’s up closes divided by average of x
day’s down closes</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Or, as can also be read in the MS65-man (p. 488)
:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>The RSI is a fairly simple formula, but is difficult to
explain without pages of examples.</FONT> </DIV>
<DIV><FONT size=2>The basic formula is:</FONT></DIV>
<DIV><FONT size=2><BR>RSI=100-(100/(1+(U/D)))<BR></FONT></DIV>
<DIV><FONT size=2>Where:<BR>U = An average of upward price change.
<BR>D = An average of downward price change. <BR>MetaStock prompts you
to enter the number of time periods in the averages.</FONT></DIV>
<DIV> </DIV>
<DIV>
<DIV><FONT size=2>This Custom RSI-formula printed below, too can be found on
Equis' Website, but now on page</FONT></DIV>
<DIV><FONT size=2><A
href="http://www.equis.com/customer/support/formulas/cf00075.html">http://www.equis.com/customer/support/formulas/cf00075.html</A> </FONT></DIV>
<DIV>Equis' Bill Forman suggested its use, and was accompanied by a brief
explanation, in an email</DIV>
<DIV>(Dated 19981102 - Subject: RE: Relative Strength Index) and as such his
mail contained some</DIV>
<DIV>more additional info to what is already been printed on the -below-
webpage itself.</DIV>
<DIV> </DIV>
<DIV>From eye-balling couldn't notice a difference between the on the
"cf00075.html" page printed</DIV>
<DIV>formula and the on the "cf00098.html" printed formula (as suggested by
Nicholas), but noticed</DIV>
<DIV>that the 75-version was parsed a little bit better and therefore easier to
read (when working on</DIV>
<DIV>your own version, eg to do some changes).</DIV>
<DIV>Applying other indicators for underlying values, naturaly, will force you
to do some work especially</DIV>
<DIV>to the "B:" function AND the further in "Z:" + "Y:" used underlays (eg
here the O,H,L,C,V will have</DIV>
<DIV>to be replaced by f.i. a H-L range or just another indicator type like
MACD() or etc. ................).</DIV>
<DIV>Note that the (by me added) at the end used "RSIV:" is an adjustment that
is only "opticaly" required</DIV>
<DIV>here, for in the way that this formula source code is here written, it is
not a straight RSI</DIV>
<DIV>< but it is now written for an > "Relative Strength Volume
Index"-indicator.</DIV>
<DIV> </DIV></DIV>
<DIV><FONT size=2>Regards,<BR>Ton Maas<BR><A
href="mailto:ms-irb@xxxxxxxxxxxxx">ms-irb@xxxxxxxxxxxxx</A><BR>Dismiss the
".nospam" bit (including the dot) when replying.</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV></FONT></FONT></DIV>
<DIV><FONT size=2>===========================================</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2><FONT size=2>Wilder uses his own form of "exponential"
smoothing in his RSI. That is<BR>why the function "Wilders Smoothing" was
added to version 6.5 of<BR>MetaStock for Windows 95 & NT. Basically,
on day 15 and all subsequent<BR>days, Wilder takes the previous average up close
and multiplies it by<BR>13, add today's up close (if any) and divides that value
by 14. He does<BR>the same with the average Down close. You then
divide the ups by the<BR>downs, add 1.00 to it and divide that into 100 and then
subtract that<BR>result from 100. You have the RSI. Note how he uses
a value multiplied<BR>by 13 and divides by 14 for a 14 time period
RSI.<BR><BR>To match this in a custom formula, you must use the "Wilders
Smoothing"<BR>function.<BR><BR>Here is a custom formula to use other than the
close in the calculation.<BR>It is posted on our web page.<BR><BR>Equis
Support<BR>http://www.equis.com/<BR><A
href="http://www.equis.com/customer/support/">http://www.equis.com/customer/support/</A><BR>Please
include previous email answers and questions in your response.
<BR><BR></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face="Times New Roman" size=5></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face="Times New Roman" size=5>Custom Relative Strength
Index formula (for MetaStock 6.5 only)</FONT> </DIV>
<P></P>
<P>This formula will request the price data array to use when plotting. If you
plan to use this in an exploration<BR>or system test, be certain you change the
default time periods and price data array selection to the inputs<BR>you wish as
the exploration or system test will not prompt for the input, it will use the
default values.<BR>For more information, please review the sections in the
MetaStock 6.5 manual on inputs and variables.</P>
<P>Q:=Input("Time Periods",1,1000,14);<BR><BR>B:=Input("Field: 1=Close, 2=Open,
3=High, 4=Low,
5=Volume",1,5,1);<BR><BR>Z:=If(B=1,Wilders(If(ROC(C,1,$)>0,ROC(C,1,$),0),LastValue(Q)),</P>
<P>
If(B=2,Wilders(If(ROC(O,1,$)>0,ROC(O,1,$),0),LastValue(Q)),</P>
<P>
If(B=3,Wilders(If(ROC(H,1,$)>0,ROC(H,1,$),0),LastValue(Q)),</P>
<P>
If(B=4,Wilders(If(ROC(L,1,$)>0,ROC(L,1,$),0),LastValue(Q)),</P>
<P> Wilders(If(ROC(V,1,$)>0,ROC(V,1,$),0),LastValue(Q))))));<BR><BR>Y:=If(B=1,Wilders(If(ROC(C,1,$)<0,Abs(ROC(C,1,$)),0),LastValue(Q)),</P>
<P> If(B=2,Wilders(If(ROC(O,1,$)<0,Abs(ROC(O,1,$)),0),LastValue(Q)),</P>
<P>
If(B=3,Wilders(If(ROC(H,1,$)<0,Abs(ROC(H,1,$)),0),LastValue(Q)),</P>
<P>
If(B=4,Wilders(If(ROC(L,1,$)<0,Abs(ROC(L,1,$)),0),LastValue(Q)),</P>
<P>
Wilders(If(ROC(V,1,$)<0,Abs(ROC(V,1,$)),0),LastValue(Q))))));<BR><BR>RS:=Z/Y;<BR>RSIV:=100-(100/(1+RS));<BR>RSIV</P><!---END MAIN PAGE---></FONT>
<DIV><FONT size=2>===============================================</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>----- Original Message ----- </FONT></DIV>
<DIV><FONT size=2>From: Nicholas Kormanik <<A
href="mailto:nkormanik@xxxxxxxxxx">nkormanik@xxxxxxxxxx</A>></FONT></DIV>
<DIV><FONT size=2>To: <<A
href="mailto:metastock@xxxxxxxxxxxxx">metastock@xxxxxxxxxxxxx</A>></FONT></DIV>
<DIV><FONT size=2>Sent: zondag 1 augustus 1999 2:12</FONT></DIV>
<DIV><FONT size=2>Subject: RE: Welles Wilder's Relative Strength Index
(RSI)</FONT></DIV>
<DIV><BR></DIV><FONT size=2>> Glen,<BR>> <BR>> Perhaps you can extract
it from the following formulation:<BR>> <BR>> <A
href="http://www.equis.com/customer/support/formulas/cf00098.html">http://www.equis.com/customer/support/formulas/cf00098.html</A><BR>>
<BR>> Best of luck,<BR>> Nicholas<BR>> <BR>> <BR>> <BR>>
</FONT></BODY></HTML>
</x-html>From ???@??? Mon Aug 02 16:18:28 1999
Return-Path: <majordom@xxxxxxxxxxxxxxxxxx>
Received: from listserv.equis.com (listserv.equis.com [204.246.137.2])
by purebytes.com (8.8.7/8.8.7) with ESMTP id QAA30420
for <neal@xxxxxxxxxxxxx>; Mon, 2 Aug 1999 16:17:51 -0700
Received: (from majordom@xxxxxxxxx)
by listserv.equis.com (8.8.7/8.8.7) id GAA24209
for metastock-outgoing; Tue, 3 Aug 1999 06:52:19 -0600
X-Authentication-Warning: listserv.equis.com: majordom set sender to owner-metastock@xxxxxxxxxxxxx using -f
Received: from freeze.metastock.com (freeze.metastock.com [204.246.137.5])
by listserv.equis.com (8.8.7/8.8.7) with ESMTP id GAA24205
for <metastock@xxxxxxxxxxxxxxxxxx>; Tue, 3 Aug 1999 06:52:16 -0600
Received: from slkcpop1.slkc.uswest.net (slkcpop1.slkc.uswest.net [206.81.128.1])
by freeze.metastock.com (8.8.5/8.8.5) with SMTP id QAA17081
for <metastock@xxxxxxxxxxxxx>; Mon, 2 Aug 1999 16:40:38 -0600 (MDT)
Received: (qmail 17633 invoked by alias); 2 Aug 1999 22:24:08 -0000
Delivered-To: fixup-metastock@xxxxxxxxxxxxx@fixme
Received: (qmail 14425 invoked by uid 0); 2 Aug 1999 22:21:11 -0000
Received: from edsl142.slkc.uswest.net (HELO Nicholas) (209.181.81.142)
by slkcpop1.slkc.uswest.net with SMTP; 2 Aug 1999 22:21:11 -0000
From: "Nicholas Kormanik" <nkormanik@xxxxxxxxxx>
To: <metastock@xxxxxxxxxxxxx>
Subject: RE: Can I keep my 'ems'??
Date: Mon, 2 Aug 1999 16:21:22 -0600
Message-ID: <LMBBKJCLKIJIBBJLAEIJGEJGCHAA.nkormanik@xxxxxxxxxx>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Importance: Normal
In-Reply-To: <001601bedd1d$7d0ac340$7cb579c3@xxxxx>
Sender: owner-metastock@xxxxxxxxxxxxx
Precedence: bulk
Reply-To: metastock@xxxxxxxxxxxxx
Status:
Ton Maas,
"One can tell that your Config.sys line originates from a program (source)
other than that of your OS, eg Windows 98...."
Don't you just hate when they do that!!! Nasty little critters adding lines
and not telling me about it! I had no idea I could just go ahead and delete
those lines (keeping a backup, of course) in Win 98. Do you think that
having these lines in there all this time has been in any way degrading
system performance? (Though I'll probably be able to see for myself once
they are out.)
Thanks again for your help, and sorry to have been so off-topic.
Nicholas
|