I checked and set the parameters from your indicator usage checklist, but the values still doesn't match in some cases. I am sending you some cases and fragment of the code:
public void onBar(Instrument instrument, Period period, IBar askBar,
IBar bidBar) throws JFException {
if (!periods.contains(period))
return;
log.info("instr: " + instrument.name() + ", period: " + period.name()
+ ", bidBar time: " + new Date(bidBar.getTime()) + ", bid: " +
bidBar.getClose());
}
-----
instr: EURUSD, period: ONE_MIN, bidBar time: Wed Oct 12 14:10:00 CEST
2011, bid: 1.37843 displayed in the graph bid: 1.37832
instr: EURUSD, period: ONE_MIN, bidBar time: Wed Oct 12 13:45:00 CEST
2011, bid: 1.37712 displayed in the graph bid: 1.3760
instr: EURAUD, period: FIVE_MIN, bidBar time: Wed Oct 12 13:45:00 CEST
2011, bid: 1.35963 displayed in the graph bid: 1.36050
instr: EURGBP, period: ONE_MIN, bidBar time: Wed Oct 12 13:49:00 CEST
2011, bid: 0.87559 displayed in the graph bid: 0.87507
I'd like to ask you, why there are so differences and how to ensure to have the same data in the graph and application.