Discussions
 » 
Product and Service Development
 » 
Formula Assistance
 » 
How to write MACD lines crossing zero for the explorer?
 
        
            
            
    | 
Rank: Newbie
 Groups: Registered, Registered UsersJoined: 12/23/2010(UTC)
 Posts: 8
 
 | 
            
	      
                How to write MACD lines crossing zero while macd12,26 is higher than 9, for the explorer? Thanks!
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
            
        
            
            
    | 
Rank: Advanced Member
 Groups: Registered, Registered UsersJoined: 11/7/2005(UTC)
 Posts: 602
 
 | 
            
	      
                 Here is some code you can play around with:
 a1:=Mov(C,6,E)-Mov(C,12,E);
 a2:=Mov(Mov(C,12,E)-Mov(C,26,E),9,E);
 a3:=Cross(MACD(),0);
 a1;a2;a3
 
 a2 is what I believe is the MACD with parms and a3 is your crossover.
 
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
                           
    
| Users browsing this topic | 
| 
Guest (Hidden) | 
Discussions
 » 
Product and Service Development
 » 
Formula Assistance
 » 
How to write MACD lines crossing zero for the explorer?
 
    
        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.