Hello, please help me. I started develop new strategy, and cant get values of indicator...
Open new chart:
this.feedDescriptor = new FeedDescriptor();
this.feedDescriptor.setDataType(DataType.TICKS);
this.feedDescriptor.setInstrument(this.instrument_current);
this.feedDescriptor.setPeriod(Period.TICK);
this.feedDescriptor.setOfferSide(OfferSide.BID);
this.feedDescriptor.setFilter(Filter.WEEKENDS);
this.chart = context.openChart(this.feedDescriptor);
Add indicator on chart:
BBANDS = indicators.getIndicator("BBANDS");
this.chart.add(
BBANDS,
new Object[]{80, 2.0, 2.0, MaType.SMMA.ordinal()},
new Color[]{Color.yellow, Color.orange, Color.yellow},
new OutputParameterInfo.DrawingStyle[]{OutputParameterInfo.DrawingStyle.LINE, OutputParameterInfo.DrawingStyle.DASH_LINE, OutputParameterInfo.DrawingStyle.LINE},
null);
And how can i get values of this indicator on TICK chart ???