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.

Subscribe one instrument to two renkofeeds
 Post subject: Subscribe one instrument to two renkofeeds Post rating: 0   New post Posted: Thu 09 Aug, 2012, 14:53 
User avatar

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


 
 Post subject: Re: Subscribe one instrument to two renkofeeds Post rating: 0   New post Posted: Thu 09 Aug, 2012, 15:39 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
just call twice IContext.subscribeToRangeBarFeed with different PriceRange.


 

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