I need to export only the closingprices for many stocks to a .csv where each stock has its own column.
Using http://www.amibroker.com/kb/2006/03/04/how-to-export-quotations-from-amibroker-to-csv-file/ as a template, my immediate thought is to include the AddColumn(C,"Close")-function in a for-loop that loops through the tickers, but I am uncertain about the right AFL syntax. What whould the arguments for the for-loop be (i.e. to cycle through all tickers that have passed the filter)? Thanks!
