PureBytes Links
Trading Reference Links
|
Well, this day I must dedicate to being my weekly "thick headed" day.
I love what you've done with the "smoothed RSI", but I don't seem to be
able to duplicate your results.
Here is my visual result:
Smoothed RSI.jpg
And here is the code pasted directly from the indicator builder.
t=2;
Smooth = 9;
MC = Wilders(C,Smooth);
Up=IIf(MC>Ref(MC,-1),abs(MC-Ref(MC,-1)),0);
Dn=IIf(MC<Ref(MC,-1),abs(MC-Ref(MC,-1)),0);
Ut=Wilders(Up,t);
Dt=Wilders(Dn,t);
RSIt=100*(Ut/(Ut+Dt));
Graph1=RSIt;
Title = "smoothed RSI red line = smoothed RSI blue line = original
RSI";
Would you kindly inform me of what dumb trick I'm pulling to NOT get your
results?
Thanks much,
Hal
=================
At 10:13 AM 10/27/01 +0200, you wrote:
Hi,
Here's a better version.
It's interesting, when change the values for smooth with t.
Tom Supera
----- Original Message -----
From: "kailash pareek" <johnnypareek@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, October 27, 2001 8:57 AM
Subject: Re: [amibroker] smoothed RSI
> Hi TOM,
>
> It seems that something have lost in your code. When I
> tried to compare
> your smoothed RSIt with default one, there is no
> difference between them
> at all. Look below the code of yours.
>
> /*RSI 9*/
> t=9;
> C = Wilders(C,3);
> Up=IIf(C>Ref(C,-1),abs(C-Ref(C,-1)),0);
> Dn=IIf(C<Ref(C,-1),abs(C-Ref(C,-1)),0);
> Ut=Wilders(Up,t);
> Dt=Wilders(Dn,t);
> RSIt=100*(Ut/(Ut+Dt));
> Graph0=RSIt;
> Graph1=RSI(9);
>
> I have added " graph1=RSI(9); " and there is only one
> graph visible. Now change the the code as "
> graph1=RSI(14) "
> and there ARE both visible.
>
> I think you have got what I am pointing.
>
> Think about.
>
> regards
>
> Kailash K Pareek ( JOHNNY )
>
>
>
>
>
>
>
>
>
>
> --- Tom Supera <tom_supera@xxxx> wrote:
> > Hi,
> > Here I post my version of rsi. It's the same as the
> > original, but instead close, i use wilders(c,3).
> >
> > Look at the attachments.
> > If anyone of you has a better optimization of rsi,
> > please post it to the board.
> >
> > Tom Supera
> >
>
> > ATTACHMENT part 2 application/octet-stream
> name=146-1 smoothed RSI.afl
>
>
> > ATTACHMENT part 3 image/gif name=smoothed RSI
> periods 9-3.gif
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
--=====================_23994962==_.ALT
Content-Type: text/html; charset="us-ascii"
<html>
<font size=3>Hi Tom, <br>
<br>
Well, this day I must dedicate to being my weekly "thick
headed" day.<br>
I love what you've done with the "smoothed RSI", but I don't
seem to be able to duplicate your results. <br>
<br>
Here is my visual result:<br>
<img src="cid:.0" width=624 height=206 alt="Smoothed RSI.jpg"><br>
<br>
And here is the code pasted directly from the indicator builder.<br>
<br>
</font><font face="Courier New, Courier" size=1>t=</font><font face="Courier New, Courier" size=1 color="#FF00FF">2</font><font face="Courier New, Courier" size=1>;<br>
Smooth =
</font><font face="Courier New, Courier" size=1 color="#FF00FF">9</font><font face="Courier New, Courier" size=1>;<br>
MC =
</font><font face="Courier New, Courier" size=1 color="#0000FF">Wilders</font><font face="Courier New, Courier" size=1>(<b>C</b>,Smooth);<br>
Up=</font><font face="Courier New, Courier" size=1 color="#0000FF">IIf</font><font face="Courier New, Courier" size=1>(MC></font><font face="Courier New, Courier" size=1 color="#0000FF">Ref</font><font face="Courier New, Courier" size=1>(MC,-</font><font face="Courier New, Courier" size=1 color="#FF00FF">1</font><font face="Courier New, Courier" size=1>),</font><font face="Courier New, Courier" size=1 color="#0000FF">abs</font><font face="Courier New, Courier" size=1>(MC-</font><font face="Courier New, Courier" size=1 color="#0000FF">Ref</font><font face="Courier New, Courier" size=1>(MC,-</font><font face="Courier New, Courier" size=1 color="#FF00FF">1</font><font face="Courier New, Courier" size=1>)),</font><font face="Courier New, Courier" size=1 color="#FF00FF">0</font><font face="Courier New, Courier" size=1>);<br>
Dn=</font><font face="Courier New, Courier" size=1 color="#0000FF">IIf</font><font face="Courier New, Courier" size=1>(MC<</font><font face="Courier New, Courier" size=1 color="#0000FF">Ref</font><font face="Courier New, Courier" size=1>(MC,-</font><font face="Courier New, Courier" size=1 color="#FF00FF">1</font><font face="Courier New, Courier" size=1>),</font><font face="Courier New, Courier" size=1 color="#0000FF">abs</font><font face="Courier New, Courier" size=1>(MC-</font><font face="Courier New, Courier" size=1 color="#0000FF">Ref</font><font face="Courier New, Courier" size=1>(MC,-</font><font face="Courier New, Courier" size=1 color="#FF00FF">1</font><font face="Courier New, Courier" size=1>)),</font><font face="Courier New, Courier" size=1 color="#FF00FF">0</font><font face="Courier New, Courier" size=1>);<br>
Ut=</font><font face="Courier New, Courier" size=1 color="#0000FF">Wilders</font><font face="Courier New, Courier" size=1>(Up,t);<br>
Dt=</font><font face="Courier New, Courier" size=1 color="#0000FF">Wilders</font><font face="Courier New, Courier" size=1>(Dn,t);<br>
RSIt=</font><font face="Courier New, Courier" size=1 color="#FF00FF">100</font><font face="Courier New, Courier" size=1>*(Ut/(Ut+Dt));<br>
<b>Graph1</b>=RSIt;<br>
<br>
<b>Title</b> =
</font><font face="Courier New, Courier" size=1 color="#FF00FF">"smoothed
RSI red line = smoothed
RSI blue line = original
RSI"</font><font face="Courier New, Courier" size=1>;<br>
<br>
</font><font size=3>Would you kindly inform me of what dumb trick I'm
pulling to NOT get your results?<br>
<br>
Thanks much, <br>
<br>
Hal<br>
=================<br>
At 10:13 AM 10/27/01 +0200, you wrote:<br>
<blockquote type=cite cite>Hi,<br>
Here's a better version.<br>
It's interesting, when change the values for smooth with t.<br>
<br>
<br>
Tom Supera<br>
<br>
----- Original Message -----<br>
From: "kailash pareek" <johnnypareek@xxxx><br>
To: <amibroker@xxxxxxxxxxxxxxx><br>
Sent: Saturday, October 27, 2001 8:57 AM<br>
Subject: Re: [amibroker] smoothed RSI<br>
<br>
<br>
> Hi TOM,<br>
><br>
> It seems that something have lost in your code. When I<br>
> tried to compare<br>
> your smoothed RSIt with default one, there is no<br>
> difference between them<br>
> at all. Look below the code of yours.<br>
><br>
> /*RSI 9*/<br>
> t=9;<br>
> C = Wilders(C,3);<br>
> Up=IIf(C>Ref(C,-1),abs(C-Ref(C,-1)),0);<br>
> Dn=IIf(C<Ref(C,-1),abs(C-Ref(C,-1)),0);<br>
> Ut=Wilders(Up,t);<br>
> Dt=Wilders(Dn,t);<br>
> RSIt=100*(Ut/(Ut+Dt));<br>
> Graph0=RSIt;<br>
> Graph1=RSI(9);<br>
><br>
> I have added " graph1=RSI(9); " and there is only
one<br>
> graph visible. Now change the the code as "<br>
> graph1=RSI(14) "<br>
> and there ARE both visible.<br>
><br>
> I think you have got what I am pointing.<br>
><br>
> Think about.<br>
><br>
> regards<br>
><br>
> Kailash K Pareek ( JOHNNY )<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> --- Tom Supera <tom_supera@xxxx> wrote:<br>
> > Hi,<br>
> > Here I post my version of rsi. It's the same as the<br>
> > original, but instead close, i use wilders(c,3).<br>
> ><br>
> > Look at the attachments.<br>
> > If anyone of you has a better optimization of rsi,<br>
> > please post it to the board.<br>
> ><br>
> > Tom Supera<br>
> ><br>
><br>
> > ATTACHMENT part 2 application/octet-stream<br>
> name=146-1 smoothed RSI.afl<br>
><br>
><br>
> > ATTACHMENT part 3 image/gif name=smoothed RSI<br>
> periods 9-3.gif<br>
><br>
><br>
><br>
> __________________________________________________<br>
> Do You Yahoo!?<br>
> Make a great connection at Yahoo! Personals.<br>
>
http://personals.yahoo.com<br>
><br>
><br>
><br>
><br>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/<br>
><br>
><br>
<br>
------------------------ Yahoo! Groups Sponsor
---------------------~--><br>
Pinpoint the right security solution for your company- Learn how to add
128- bit encryption and to authenticate your web site with VeriSign's
FREE guide!<br>
http://us.click.yahoo.com/yQix2C/33_CAA/yigFAA/dkFolB/TM<br>
---------------------------------------------------------------------~-><br>
<br>
<br>
<br>
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
<br>
<br>
<br>
</font></blockquote></html>
--=====================_23994962==_.ALT--
Attachment:
Description: ""
|