Rank: Newbie
  Groups: Registered, Registered Users Joined: 12/30/2008(UTC) Posts: 8
  
 
     | 
    
        
            
	      
                hi everybody, 
below is an indicator that I wanna use.but when I plot it on the price chart I can not see it.how can I make it visible.it is a kind of moving average. 
Q1:=2+6* RSquared(C ,29) ; Q2:=2/(Q1+1); Q3:=1-Q2; Q4:=C*Q2 +Q3* PREVIOUS ; 
thanks in advance, 
  
   
            
  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
     | 
        
        
        
            
        
            
            
    
        
Rank: Advanced Member
  Groups: Registered, Registered Users, Unverified Users Joined: 7/12/2007(UTC) Posts: 134 Location: Perth  Western Australia
  
 
     | 
    
        
            
	      
                Hi neocon, 
If you add Q4 as the next line of code it will solve the problem. 
Cheers, 
oz  
            
  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
     | 
        
        
        
    
        
            
            
    
        
Rank: Newbie
  Groups: Registered, Registered Users Joined: 12/30/2008(UTC) Posts: 8
  
 
     | 
    
        
            
	      
                sorry oz, 
but I couldn't understand what you mean :( 
could you show it on the indicator please  
thanks,  
            
  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
     | 
        
        
        
            
        
            
            
    
        
Rank: Advanced Member
  Groups: Registered, Registered Users, Unverified Users Joined: 7/12/2007(UTC) Posts: 134 Location: Perth  Western Australia
  
 
     | 
    
        
            
	      
                Neocon, 
No problems! 
Q1:=2+6* RSquared(C ,29) ; Q2:=2/(Q1+1); Q3:=1-Q2; Q4:=C*Q2 +Q3* PREVIOUS ; Q4 
By adding the last line of code you are effectively saying "plot the value of Q4" and thus making the value of Q4 visible. 
All the best, 
oz   
            
  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
     | 
        
        
        
    
                           
    
| 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.