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.

multi time-frame strategy
 Post subject: multi time-frame strategy Post rating: 0   Post Posted: Fri 16 Jul, 2010, 11:55 

User rating: -
What is the simplest way to create a multi time-frame strategy? Is it necessary to have all the charts opened at all times?


 
 Post subject: Re: multi time-frame strategy Post rating: 0   Post Posted: Mon 19 Jul, 2010, 09:02 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
Strategy receives all data for all basic periods in its onBar method. So the strategies template that is created from platform pop-up menu option "New strategy" already allows you to receive all data on your subscribed instruments. Answering on your second question: no you don't have to open charts at all. You just need to subscribe for instruments.


 

Jump to:  

cron
  © 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