Rank: Advanced Member
  Groups: Registered, Registered Users, Subscribers Joined: 10/29/2004(UTC) Posts: 1,394 Location: Glastonbury, CT
  Was thanked: 3 time(s) in 3 post(s)
  
 
     | 
    
        
            
	      
                here is a chart that should explain the theory behind this, look at the last bar on the chart  Code:A:=If(H<Ref(H,-1) AND Ref(H,-1)>Ref(H,-2),2,
If(L>Ref(L,-1) AND Ref(L,-1)<Ref(L,-2),-2,0));
B:=If(Ref(H,1)<H AND H>Ref(H,-1),1,
If(Ref(L,1)>L AND L<Ref(L,-1),-1,0));
A;B; 
 Code A is a non forward Ref it is plotted in red and gives a signal on the last bar Code B is a forward Ref, it is plotted in blue, it appears to give a signal 1 bar earlier than the red line, but if you look at the last bar it doesn't show up. That signal will not show up until tommorow. A day late and now a dollar short! you can also see it work in MA's  Code:A1:=Mov(C,10,S);
A2:=Mov(Ref(C,-1),10,S);
A3:=Mov(Ref(C,1),10,S);
A1;A2;A3; 
  
            
  
         
     |