|  | 
  
  
  
  
    
      Attention! Read the forum rules carefully before posting a topic.
 
 Try to find an answer in Wiki before asking a question.Submit programming questions in this forum only.
 Off topics are strictly forbidden.
 
 Any topics which do not satisfy these rules will be deleted.
 
 
  
  
    
    
      
	| onBar method for multiple periods |  
    
      | [zortag] | 
	
	  
	  | Post subject: onBar method for multiple periods | Post rating: 0 |  Posted: Wed 13 Oct, 2010, 22:02 |  |  
      | User rating: 0
 Joined: Sun 11 Jul, 2010, 20:12
 Posts: 20
 | 
	
	  | Suppose I have an EA that executes onBar for the 15 minute period AND the 1 hour period AND the 1 day period. I assume that my EA will get onBar messages for all these periods. My question is, in which order are these called? Do I get these in any specific order (like longer periods first or shorter periods first) or is there no way of knowing? 
 
 |  |  
    |  | 
         
       |  
    |  |  
    
      
    
      | API Support | 
	
	  
	  | Post subject: Re: onBar method for multiple periods | Post rating: 0 |  Posted: Fri 15 Oct, 2010, 09:15 |  |  
      | User rating: ∞
 Joined: Fri 31 Aug, 2007, 09:17
 Posts: 6139
 | 
	
	  | Hi,they come in a strict order, for example (1min 1min 1min 1min 1min 5min 1min 1min 1min 1min 1min 5min ..)
 They come in cycles, where smaller periods comes first.
 
 
 |  |  
    |  | 
      
      
      
      
      
       
         
       |  
    |  |  
  
  | 
    
      |     | Pages: [
1
] |  |  |    |  |