How do I change the code for buying and selling to Market on Close instead of Market on Open for the following day for the T2 Trend Friend and the 3x2 ?
 So basically a signal is given and the default order is buy or sell the next morning. I want to buy or sell Market on Close the next day after the signal is given.
  Thank you
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Use BuyAtClose(bar) and/or SellAtClose(bar, LastPosition) (more details in the QuickRef) but note that you will lose Alerts.
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Thank you
    
    
        
    
    
        
    
    
        Size:  
    
        Color: