Rank: Newbie
  Groups: Registered, Registered Users, Subscribers Joined: 5/9/2010(UTC) Posts: 1
  
 
     | 
    
        
            
	      
                formular is: 
ma5 := Mov(C, 5, S); 
ma10 := Mov(C, 10, S) 
a := Black(); 
b:= cross(ma5, ma10); 
c:= a and b 
--------------------------------- 
I wish to have something like  
when ma5 cross ma10, and the black candle is sit on top above the cross point 
Is my formular looks fine? or I would be better if I do something like  
a := Black(); 
b:= alert(cross(ma5, ma10),1); 
c:= a and b 
thanks in advance  
            
  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
     | 
        
        
        
            
        
            
            
    
        
Rank: Advanced Member
  Groups: Registered, Registered Users Joined: 11/7/2005(UTC) Posts: 602
  
 
     | 
    
        
            
	      
                Plot the formula over a chart and see if the signal is where you want it. Use that  feedback to modify the formula if necessary.
  
            
  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
     | 
        
        
        
    
                           
    
| 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.