You don't have to use a loop. Just by adding AddColumn(C, "Close", 1.0);
to your formula, you will be able to use Analysis, Automatic Analysis, Explore to get a list of ticker name, dates and closing prices. You can then save the results as a CSV file (File button). To select all the tickers that you are interested in, create a watch list and then use "use filter" and the Define button (also on the Automatic Analysis dialog) to only export those tickers that are on the watch list. You can also specify the date range that you are interested in, or export all the available bars.
