Dukascopy
 
 
Wiki JStore Search Login

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
 Post subject: onBar method for multiple periods Post rating: 0   New post 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?


 
 Post subject: Re: onBar method for multiple periods Post rating: 0   New post Posted: Fri 15 Oct, 2010, 09:15 
User avatar

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.


 

Jump to:  

  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com