Discussions
 » 
Special Interest Groups
 » 
Basic Coding Techniques
 » 
How to Plot a Point only if Value Meets Condition
 
        
            
            
    
        
Rank: Member
  Groups: Registered, Registered Users Joined: 9/25/2010(UTC) Posts: 14
  
 
     | 
    
        
            
	      
                Hi,
I'm trying to plot MACD divergences as points or dots over/under the MACD, but I want to filter out any bars that do not meet the criteria.
The criteria is simple - a divergence returns a value of 1, and a non divergence returns a value of 0. So I want to ensure that only the bars that return a 1 are plotted. I'm hoping this is fairly simple - can anyone help with this?
Thanks in advance,
Will. 
            
  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
     | 
        
        
        
    
                           
    
| Users browsing this topic | 
| 
 
Guest (Hidden) 
 | 
Discussions
 » 
Special Interest Groups
 » 
Basic Coding Techniques
 » 
How to Plot a Point only if Value Meets Condition
 
    
        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.