|
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.
Subscribe one instrument to two renkofeeds |
ABCapetown
|
Post subject: Subscribe one instrument to two renkofeeds |
Post rating: 0
|
Posted: Thu 09 Aug, 2012, 14:53
|
|
User rating: 0
Joined: Wed 01 Aug, 2012, 14:26 Posts: 10 Location: South AfricaSouth Africa
|
Hi
Is it possible to subscribe one instrument in one strategy to two different Renko bar feeds?
I.e. I want to generate a buy signal with Renko-bars of size 8 pips, and then I want to check on the Renko-bars of size 5 pips if some criteria is met before I trade.
If this is possible should an extra IContext be created?
Regards
|
|
|
|
 |
API Support
|
Post subject: Re: Subscribe one instrument to two renkofeeds |
Post rating: 0
|
Posted: Thu 09 Aug, 2012, 15:39
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
just call twice IContext.subscribeToRangeBarFeed with different PriceRange.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|