Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 2/2/2007(UTC) Posts: 367
Was thanked: 1 time(s) in 1 post(s)
|
Laguerre RSI
g:=0.5; L0:=((1-g)*C) + (g*PREV); L1:=(-g*L0) + Ref(L0,-1) + (g*PREV); L2:=(-g*L1) + Ref(L1,-1) + (g*PREV); L3:=(-g*L2) + Ref(L2,-1) + (g*PREV);
cu:= If(L0>L1, L0-L1,0) + If(L1>L2, L1-L2,0) + If(L2>L3, L2-L3,0); cd:= If(L0<L1, L1-L0,0) + If(L1<L2, L2-L1,0) + If(L2<L3, L3-L2,0);
temp:= If(cu+cd=0, -1,cu+cd); If(temp=-1,0,cu/temp)
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.