Hi,
By default chart price shown as bid, you can change it by using drop down list, but period can not be ticks.
You can write and draw on chart inside the strategy, for example if you need to write ask price in the chart left corner and draw ask price line, please consider the following code:
IChart chart = context.getChart(Instrument.EURUSD);
public void onTick(Instrument instrument, ITick tick) throws JFException {
if (instrument.equals(Instrument.EURUSD)) {
chart.setCommentColor(Color.GREEN);
chart.comment(String.valueOf(tick.getAsk()));
chart.draw("hLine", IChart.Type.HLINE, tick.getTime(),tick.getAsk() );
}
}
For more details about how to draw on the chart take a look at the following JForex Wiki page
https://www.dukascopy.com/wiki/index.php/IChart