|
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 |
|
Guest
|
| Post subject: multi time-frame strategy |
Post rating: 0
|
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?
|
|
|
|
|
 |
|
API Support
|
| Post subject: Re: multi time-frame strategy |
Post rating: 0
|
Posted: Mon 19 Jul, 2010, 09:02
|
|
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.
|
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|