Rank: Advanced Member
Groups: Registered, Registered Users, Unverified Users Joined: 4/27/2005(UTC) Posts: 132 Location: Manchester, NH
|
Jose,
The attached indicator is the approach that I have taken thus far. It would be nice to have a loop function to simplify the formula. I started this over at Patrick’s Formula Tutorial 3. I use the Ultimate Oscillator for illustration purposes only. I am trying to add filters to eliminate some of the poor signals, but this works fine to draw my attention to potential trades which I can screen visually.
Bill
Ultimate Oscillator Divergence Buy H/L
[code:1:d3c135e066]If(( Ult(7,14,28) <50 AND Ult(7,14,28)<1.0*Mov(Ult(7,14,28),9,E) AND (Trough(1,Ult(7,14,28),15)>Trough(2,Ult(7,14,28),15) AND (Trough(2,Ult(7,14,28),15) <> Ref(Trough(2,Ult(7,14,28),15),-1)) AND ValueWhen(1,Trough(1,Ult(7,14,28),15)<>Ref(Trough(1,Ult(7,14,28),15),-1),L)<ValueWhen(2,Trough(2,Ult(7,14,28),15)<>Ref(Trough(2,Ult(7,14,28),15),-1),L)))
OR (Ult(7,14,28)<0 AND Ult(7,14,28)<1.0*Mov(Ult(7,14,28),9,E) AND (Trough(1,Ult(7,14,28),15)>Trough(3,Ult(7,14,28),15) AND (Trough(3,Ult(7,14,28),15) <> Ref(Trough(3,Ult(7,14,28),15),-1)) AND ValueWhen(1,Trough(1,Ult(7,14,28),15)<>Ref(Trough(1,Ult(7,14,28),15),-1),L)<ValueWhen(3,Trough(3,Ult(7,14,28),15)<>Ref(Trough(3,Ult(7,14,28),15),-1),L)))
OR (Ult(7,14,28)<0 AND Ult(7,14,28)<1.0*Mov(Ult(7,14,28),9,E) AND (Trough(1,Ult(7,14,28),15)>Trough(4,Ult(7,14,28),15) AND (Trough(4,Ult(7,14,28),15) <> Ref(Trough(4,Ult(7,14,28),15),-1)) AND ValueWhen(1,Trough(1,Ult(7,14,28),15)<>Ref(Trough(1,Ult(7,14,28),15),-1),L)<ValueWhen(4,Trough(4,Ult(7,14,28),15)<>Ref(Trough(4,Ult(7,14,28),15),-1),L)))
OR (Ult(7,14,28)<0 AND Ult(7,14,28)<1.0*Mov(Ult(7,14,28),9,E) AND (Trough(1,Ult(7,14,28),15)>Trough(5,Ult(7,14,28),15) AND (Trough(5,Ult(7,14,28),15) <> Ref(Trough(5,Ult(7,14,28),15),-1)) AND ValueWhen(1,Trough(1,Ult(7,14,28),15)<>Ref(Trough(1,Ult(7,14,28),15),-1),L)<ValueWhen(5,Trough(5,Ult(7,14,28),15)<>Ref(Trough(5,Ult(7,14,28),15),-1),L)))
OR (Ult(7,14,28)<0 AND Ult(7,14,28)<1.0*Mov(Ult(7,14,28),9,E) AND (Trough(1,Ult(7,14,28),15)>Trough(6,Ult(7,14,28),15) AND (Trough(6,Ult(7,14,28),15) <> Ref(Trough(6,Ult(7,14,28),15),-1)) AND ValueWhen(1,Trough(1,Ult(7,14,28),15)<>Ref(Trough(1,Ult(7,14,28),15),-1),L)<ValueWhen(6,Trough(6,Ult(7,14,28),15)<>Ref(Trough(6,Ult(7,14,28),15),-1),L)))
OR (Ult(7,14,28)<0 AND Ult(7,14,28)<1.0*Mov(Ult(7,14,28),9,E) AND (Trough(1,Ult(7,14,28),15)>Trough(7,Ult(7,14,28),15) AND (Trough(7,Ult(7,14,28),15) <> Ref(Trough(7,Ult(7,14,28),15),-1)) AND ValueWhen(1,Trough(1,Ult(7,14,28),15)<>Ref(Trough(1,Ult(7,14,28),15),-1),L)<ValueWhen(7,Trough(7,Ult(7,14,28),15)<>Ref(Trough(7,Ult(7,14,28),15),-1),L)))
OR (Ult(7,14,28)<0 AND Ult(7,14,28)<1.0*Mov(Ult(7,14,28),9,E) AND (Trough(1,Ult(7,14,28),15)>Trough(8,Ult(7,14,28),15) AND (Trough(8,Ult(7,14,28),15) <> Ref(Trough(8,Ult(7,14,28),15),-1)) AND ValueWhen(1,Trough(1,Ult(7,14,28),15)<>Ref(Trough(1,Ult(7,14,28),15),-1),L)<ValueWhen(8,Trough(8,Ult(7,14,28),15)<>Ref(Trough(8,Ult(7,14,28),15),-1),L))),-1,0)[/code:1:d3c135e066]
|