Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 10/29/2004(UTC) Posts: 1,394 Location: Glastonbury, CT
Was thanked: 2 time(s) in 2 post(s)
|
Code: Con1:=If(C>Max(Mov(C,15,S),Max(Mov(C,30,S),Max(Mov(C,60,S),Max(Mov(C,100,S),Mov(C,200,S))))),1,If(C<Min(Mov(C,15,S),Min(Mov(C,30,S),Min(Mov(C,60,S),Min(Mov(C,100,S),Mov(C,200,S))))),-1,0));Con2:=If(DMI(CLOSE)>=50,1,-1);Con1+Con2
a +2 reading will give you what you were looking for a -2 reading is the reverse of what you were looking for
|