Eugene, any sample on drawing yesterday's high on today's chart while the chart is streaming (15 mins) ?
I was trying to draw using 2 points, the 1st point is today's intraday bar ==0 but the 2nd point I want would be the streaming last bar's bar number... I see other post giving out code to access the last streaming bar...
Is that the way to do it or there is a much easier way ?
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        The "last streaming bar" is incomplete and therefore cannot be used for plotting onto it. But you can draw a line from the first bar of today to the last charted bar (Bars.Count-1).
In Multi-Time Frame Analysis > Intraday/Daily section of the WealthScript Programming Guide, there's a how-to: "Overlay Daily Candlesticks on an Intraday Chart". Check out the sample code which shows how to refer to the key points.
Hope this helps.
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        oh yeah bar -1...  thanks. not enough sleep recently.
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        You're welcome.
    
    
        
    
    
        
    
    
        Size:  
    
        Color: