hi,
i like to write strategy which uses renko bars, so i like to know how to use onbar method(or any other method like onbar which triggers when new renko bars arrives) with renko bars,
tnx
You have to subscribe to renko feed and then use onFeedData method: https://www.dukascopy.com/wiki/#Chart_feeds/Subscribe_to_a_feed
To get renko bar you have to cast feedData parameter to IRenkoBar: https://www.dukascopy.com/client/javadoc/com/dukascopy/api/feed/IRenkoBar.html