Is there any way of measuring the spread between two MA periods. If the short ma is farther away from the long MA (SMA) its given a higher rank , number then the once having the two MA periods closer ?
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        The standard MACD is 
approximated by the difference between the 12 and 26 EMAs, the actual exponents used in MACD make for a slightly different calculation. 
Anyway, marchus, for the spread, just take the difference between the two moving averages -
CODE:
Please log in to see this code.
     
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        I know, I know :) But I couldn't resist since there's a known tendency to invent indicators anyway (like Williams %R which is simply an inverted Stochastic).
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        yah, I never knew how he got away with that either ;)
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Sorry did it again, Im using wld 4, will the code for fetching the data described be different ?
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Use SubtractSeries. 
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        QUOTE:
Im using wld 4
Marchus, pardon my curiosity but are you a registered customer?
    
 
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        yes 
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        but not for the WLD.NET platform just earlier version
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        The reason for my curiosity is that neither VK (in the old support portal ticket) nor me were able to find a customer with credentials similar to "Marchus Wagenberg". Nevertheless, you enjoyed our support and the support from the Wealth-Lab community with hundreds of daily questions through the years. This is where it ends.
    
    
        
    
    
        
    
    
        Size:  
    
        Color: