PureBytes Links
Trading Reference Links
|
Hi Roy:
Thanks for this- I
will save it.
Wayne
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
----- Original Message -----
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black">From:
Roy
Larsen
To: <A title=metastock@xxxxxxxxxxxxx
href="mailto:metastock@xxxxxxxxxxxxx">metastock@xxxxxxxxxxxxx
Sent: Sunday, August 18, 2002 12:25
AM
Subject: Re: Wilder's Original RSI
Explanation?
Here is MetaStock code I found some time ago on the Guppy site.
It may be ofsome help.Roy {ADX Plus Directional
Movement}Periods:= Input("Enter time periods",1,100,14);PlusDM:=
If(HIGH>Ref(HIGH,-1) ANDLOW>=Ref(LOW,-1),
HIGH-Ref(HIGH,-1),If(HIGH>Ref(HIGH,-1) AND LOW<Ref(LOW,-1)AND
HIGH-Ref(HIGH,-1)>Ref(LOW,-1)-LOW,HIGH-Ref(HIGH,-1), 0));DIPlus:=
100 * Wilders(PlusDM,Periods) /ATR(Periods);MinusDM:=
If(LOW<Ref(LOW,-1) ANDHIGH<=Ref(HIGH,-1),
Ref(LOW,-1)-LOW,If(HIGH>Ref(HIGH,-1) AND LOW<Ref(LOW,-1)AND
HIGH-Ref(HIGH,-1)<Ref(LOW,-1)-LOW,Ref(LOW,-1)-LOW, 0));DIMinus:=
100 * Wilders(MinusDM,Periods)/ATR(Periods);DIDif:= Abs(DIPlus -
DIMinus);DISum:= DIPlus + DIMinus;100*Wilders(DIDif/DISum,
Periods); {ADX Minus Directional Movement}Periods:=
Input("Enter time periods",1,100,13);PlusDM:= If(HIGH>Ref(HIGH,-1)
ANDLOW>=Ref(LOW,-1), HIGH-Ref(HIGH,-1),If(HIGH>Ref(HIGH,-1) AND
LOW<Ref(LOW,-1)AND
HIGH-Ref(HIGH,-1)>Ref(LOW,-1)-LOW,HIGH-Ref(HIGH,-1), 0));DIPlus:=
100 * Wilders(PlusDM,Periods) /ATR(Periods);MinusDM:=
If(LOW<Ref(LOW,-1) ANDHIGH<=Ref(HIGH,-1),
Ref(LOW,-1)-LOW,If(HIGH>Ref(HIGH,-1) AND LOW<Ref(LOW,-1)AND
HIGH-Ref(HIGH,-1)<Ref(LOW,-1)-LOW,Ref(LOW,-1)-LOW, 0));DIMinus:=
100 * Wilders(MinusDM,Periods)/ATR(Periods);DIDif:= Abs(DIPlus -
DIMinus);DISum:= DIPlus + DIMinus;100*Wilders(DIDif/DISum,
Periods); {ADX}Periods:= Input("Enter time
periods",1,100,14);PlusDM:= If(HIGH>Ref(HIGH,-1)
ANDLOW>=Ref(LOW,-1), HIGH-Ref(HIGH,-1),If(HIGH>Ref(HIGH,-1) AND
LOW<Ref(LOW,-1)AND
HIGH-Ref(HIGH,-1)>Ref(LOW,-1)-LOW,HIGH-Ref(HIGH,-1), 0));DIPlus:=
100 * Wilders(PlusDM,Periods) /ATR(Periods);MinusDM:=
If(LOW<Ref(LOW,-1) ANDHIGH<=Ref(HIGH,-1),
Ref(LOW,-1)-LOW,If(HIGH>Ref(HIGH,-1) AND LOW<Ref(LOW,-1)AND
HIGH-Ref(HIGH,-1)<Ref(LOW,-1)-LOW,Ref(LOW,-1)-LOW, 0));DIMinus:=
100 * Wilders(MinusDM,Periods)/ATR(Periods);DIDif:= Abs(DIPlus -
DIMinus);DISum:= DIPlus + DIMinus;100*Wilders(DIDif/DISum,
Periods);----- Original Message -----From: "Lionel Issen"
<<A
href="mailto:lissen@xxxxxxxxxxxxxx">lissen@xxxxxxxxxxxxxx>To:
<<A
href="mailto:metastock@xxxxxxxxxxxxx">metastock@xxxxxxxxxxxxx>Sent:
Sunday, August 18, 2002 5:17 PMSubject: RE: Wilder's Original RSI
Explanation?> Wayne:> "Trading systems and Methods, 3rd
edition" by Perry Kaufman has has what> seems like a detailed
description in less than 30 pages. He alsodiscusses>
variations on the RSI. His code is written in Trade Station easy
language.>> If your library (local or academic) doesn't have a
copy they can probably> get it for you on interlibrary
loan.>> Hope this helps> Lionel>
-----Original Message-----> From: <A
href="mailto:owner-metastock@xxxxxxxxxxxxx">owner-metastock@xxxxxxxxxxxxx[mailto:owner-metastock@xxxxxxxxxxxxx]On>
Behalf Of Wayne> Sent: Saturday, August 17, 2002 4:46 PM> To: <A
href="mailto:Metastock@xxxxxxxxxxxxx">Metastock@xxxxxxxxxxxxx>
Subject: Wilder's Original RSI Explanation?>>> Hi
There:>> I am trying to study J. Wells Wilder's original RSI
formula, past thebasic> description and formula given in the
Metastock manual.>> The manual only says, "The RSI is a fairly
simple formula, but isdifficult> to explain without pages of
examples.">> Does anybody have a more detailed study, perhaps
Wilder's own explanation,> regarding this? I can't seem to find much
past the basics on the internet.>> Many thanks,>>
Wayne> Victoria, BC>
Canada>
|