Hi ,
I want to stop trading my system when the equity curve drops below its EMA but also to calculate the position size based on volatility.  Is there a way to reference the equity curve in my script and use a different pos sizer? I'm sure I've seen it somewhere but now I can't find it.
Thanks
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
    
        
    
    
        
    
    
        Size:  
    
        Color: