How to use OnBar method to write strategy with Renko bars

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

Translate to English Show original

orto leave comments

Answers: 1

Best Answer

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

Translate to English Show original
26 June 2016 by

orto leave comments
Please log in or register to post answer.