I need a bit of help creating a most likely quite simple code.
I would like to make a strategy which operates on a certain renko chart and opens a new position on every new candle.
From what I figured out, if one wishes to work with renko charts, should subscribe to a renko feed as described in the Wiki section, and orders executed on every bar should be placed in the onBar method.
What I'm asking for, is the simplest implementation of IStrategy interface which places a new buy@market order on every new renko candle (for the sake of simplicity let the pair be EURUSD, and the brick size 5 pips).
Your help is very much appreciated!
Thank you in advance.
API Support
Post subject: Re: Need help with onBar method using Renko feed