All open charts to array
How do I get to store all the open chart symbols as an array
//+------------------------------------------------------------------+ //| Script program start function | //+------------------------------------------------------------------+ void OnStart() { //--- string Symbol[]; int size=0; long currChart=ChartFirst(); while(currChart>-1) { ArrayResize(Symbol,++size); Symbol[size-1]=ChartSymbol(currChart); //--- get next chart ID currChart=ChartNext(currChart); } for(int i=0;i<size;i++) Print(Symbol[i]); } //+------------------------------------------------------------------+