Thats fine. But now I am facing new problem.
Case :
I opened chart for EUR/USD by double clicking Workspace->Currency->EUR/USD.
Then I ensured that EUR/USD is selected in Combobox of opened chart.
Then I created few PriceMarker and Lines.
After that, In strategy I called following code on every Tick event.
IChart chart = context.getChart(Instrument.EURUSD);
List<IChartObject> shapes = chart.getAll();
System.out.println(shapes.size()):
System.out.println(shapes):
Surprisingly, when I executed strategy, Size was printed 0 and there were no shapes in list.
Did I done any Mistake ?
Thanking you.