I'm trying to implement Renko bars in a visual backtest mode, using API-2.6.49. It appears that ITesterChartController.ChangePeriod() method could be used, but this only accepts time based data types and requires Period as a second parameter.
Obviously for Renko data type we need to set a PriceRange rather than Period; is there another interface or method to do this? Or does ITesterChartController need to be extended to include a changeRange method (for range bars point and figure and renko data types)?
If you're writing a strategy using one data type, it is necessary to visually backtest with the same data type.
cheers f451
API Support
Post subject: Re: JFOREX-3310 ITesterChartController - no PriceRange metho
Or does ITesterChartController need to be extended to include a changeRange method (for range bars point and figure and renko data types)?
This is the case - Renko charts currently are not supported for back-testing.
cb888trader
Post subject: Re: JFOREX-3310 ITesterChartController - no PriceRange metho
Post rating: 0
Posted: Sat 26 Nov, 2011, 07:19
User rating: 0
Joined: Tue 22 Nov, 2011, 12:47 Posts: 130 Location: United States,
hi,
Same question - different Chart Type - Does back testing in visual mode supports Range Bars? If so, would be great to see a code example of how to implement that.
Thanks!
API Support
Post subject: Re: JFOREX-3310 ITesterChartController - no PriceRange metho