PureBytes Links
Trading Reference Links
|
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
|