Hi,  
I want create a strategy like this:  
If  ES price reach a new high, YM has increasing volume,then I want to buy NQ at limit. 
This is just a simple example to describe my question.  
Could anyone tell me if it's possible and how?  Thank you.
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Compile and execute the strategy on a chart of NQ:
CODE:
Please log in to see this code.
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Hi Eugene,
Is it possible to replace SPY, DIA and QQQQ in the above?
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Hi Eugene,
Thanks a lot for your help.
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        QUOTE:
Is it possible to replace SPY, DIA and QQQQ in the above?
Assuming that you would execute it on a chart of QQQQ, just replace "ES" and "YM" in the GetExternalSymbol calls above to "SPY" and "DIA" (or vice versa, depending on your preference.)
    
 
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Thank you very much.
    
    
        
    
    
        
    
    
        Size:  
    
        Color: