int seconds = 10; while(true) { Chart[] charts = Charts.GetAllCharts(); for(int i=0;i < charts.Length;i++) { if(!charts[i].IsHistorical) { GetNewData(charts[i]); } } App.Main.Sleep(1000 * seconds); // Do not change this - It may crash your PC if you change it } #functions# void GetNewData(Chart chart) { if(chart == null) { return; } string[] symbols = new string[1]; symbols[0] = chart.SymbolName; string[] fields = new string[1]; fields[0] = "Number of past days=1"; Downloader.DownloadData("", "Intraday Data for US Stocks", true, symbols, fields, DownloadComplete, chart); } void DownloadComplete(Object obj) { Chart chart = (Chart)obj; if(chart != null) { chart.Update(); } }