See the follow example, I use "All Ticks" mode in the strategy tester. IHistory.getBar() returns empty bars( Volume = 0 ) for the weekend. These bars will destory my strategy.
String PriceMon = "" ;
for(int i = 1; i<=60; i++)
{
PriceMon = PriceMon + "\nClose[" + i + "] = " + history.getBar(instrument, Period.FIFTEEN_MINS, OfferSide.BID, i).getClose() + ", Open[" + i + "] = " + history.getBar(instrument, Period.FIFTEEN_MINS, OfferSide.BID, i).getOpen();
}
chart.comment(PriceMon);
