| 
Rank: Newbie
 Groups: Registered, Registered UsersJoined: 12/30/2008(UTC)
 Posts: 8
 
 | 
            
	      
                hi, can someone help me to build a TRIX indictor formula.MS have a TRIX indicator as you know.but I want a new TRIX formula that I can change its parameter. also can you write me an EXP.ADV. for this TRIX? for instance time period 9 for the TRIX. I mean if TRIX 9 cross zero line upside BUY  if TRIX 9 cross zero line downside SELL   thanks in advance ;) | 
    | 
             | 
            
         | 
    |  | 
        
        
        
            
        
            
            
    | 
Rank: Advanced Member
 Groups: Registered, Registered Users, Unverified UsersJoined: 10/28/2004(UTC)
 Posts: 121
 
 | 
            
	      
                A custom TRIX can be written as follows:
 x:=9; {Periods in calc}
 x1:=Mov(c,x,e);
 x2:=Mov(x1,x,e);
 x3:=Mov(x2c,x,e);
 ROC(x3,1,%)
 
 You can change the periods, by changing the variable "x". You can then call this formula. for example if you named it TRIXcustom, you could write the formula as follows:
 
 {BUY}
 Cross(FML("TRIXcustom"),0)
 
 {SELL}
 Cross(0,FML("TRIXcustom"))
 
 
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
        
            
            
    | 
Rank: Newbie
 Groups: Registered, Registered UsersJoined: 12/30/2008(UTC)
 Posts: 8
 
 | 
            
	      
                many thanks joe, it is absolutely what I want :) great job! | 
    | 
             | 
            
         | 
    |  | 
        
        
        
            
        
            
            
    | 
Rank: Advanced Member
 Groups: Registered, Registered UsersJoined: 11/7/2005(UTC)
 Posts: 602
 
 | 
            
	      
                 I think you can change the parameter already. Plot TRIX and right click the indicator anda box comes up.
 
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
                           
    
| 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.