Is it possible to help me to develop a script based on the following idea ?
Based on positions closed on the last 100 trades, I would like to be able to have a matrix of probabilities for answering these questions : 
- If my current opened position is profitable, what is the probability to add x point more of profit in the next coming bars. 
- If my current opened position is negative after x bar, what is the probability to become profitable in the next coming bars.
Thanks for your assistance
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        You can script almost anything you like with WealthLab. Quantifying probability of profit/gain in the next coming bars is open to your imagination.
Open the "WealthScript QuickRef" (F11), and search for "Positions".
    
    
        
    
    
        
    
    
        Size:  
    
        Color: