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.

How to do a timer running out of market hours ?
 Post subject: How to do a timer running out of market hours ? Post rating: 0   New post Posted: Mon 23 Jul, 2012, 13:57 

User rating: 0
Joined: Wed 27 Jun, 2012, 15:37
Posts: 11
During market hours, it's possible to do a timer with onTick.

But out of market hours, there are no onTick, nor onBar, onAccount events. How do to a timer there (if possible, without create another thread) ?

Thanks


 
 Post subject: Re: How to do a timer running out of market hours ? Post rating: 0   New post Posted: Mon 23 Jul, 2012, 14:07 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
There is onBar. If that does not suffice, then consider doing something like this:
https://www.dukascopy.com/wiki/#Threading/Scheduled_asynchronous_execution


 

Jump to:  

  © 1998-2025 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