Rank: Advanced Member
Groups: Registered, Registered Users Joined: 6/6/2005(UTC) Posts: 424 Location: connecticut,USA
|
I like those 14 RSI formula from Trader tips ( commodity magazie 2002 edition)
Divergence formula
[code:1:d7a1346a84]EKA:=3;
I1:=Zig(RSI(14),EKA,%)>Ref(Zig(RSI(14),EKA,%),-1) AND
Ref(Zig(RSI(14),EKA,%),-1)<Ref(Zig(RSI(14),EKA,%),-2);
V1:=ValueWhen(1,I1,Ref(Zig(RSI(14),EKA,%),-1));
V2:=ValueWhen(1,I1,Ref(C,-1));
V3:=ValueWhen(2,I1, Ref(Zig(RSI(14),EKA,%),-1));
V4:=ValueWhen(2,I1,Ref(C,-1));
C1:=V1>V3 AND V2<V4 ;
C1 AND Ref(C1,-1)=0 AND RSI(14)>Ref(RSI(14),-1)[/code:1:d7a1346a84]
Double successive divergence
[code:1:d7a1346a84]I1:=Zig(RSI(14),3,%)>Ref(Zig(RSI(14),3,%),-1) AND
Ref(Zig(RSI(14),3,%),-1)<Ref(Zig(RSI(14),3,%),-2);
V1:=ValueWhen(1,I1,Ref(Zig(RSI(14),3,%),-1));
V2:=ValueWhen(1,I1,Ref(C,-1));
V3:=ValueWhen(2,I1, Ref(Zig(RSI(14),3,%),-1));
V4:=ValueWhen(2,I1,Ref(C,-1));
V5:=ValueWhen(3,I1, Ref(Zig(RSI(14),3,%),-1));
V6:=ValueWhen(3,I1,Ref(C,-1));
C1:=V1<V3 AND V2>V4 AND V3<V5 AND V4>V6 ;
C1 AND Ref(C1,-1)=0 AND RSI(14)>Ref(RSI(14),-1)[/code:1:d7a1346a84]
|