Thanks Futuresproject but I think using Metastock Downloader, the files would need to be merged one-by-one and as there are ~2000 files I would like to automate the process. [Also, I can't see on Equis web site where to obtain a free copy of Downloader.]
I have since thought that if the two sets of data were imported into two AB databases employing the Import Metastock Data tool within AB, that the files might be manipulated easier but I still don't know how to do it. Any suggestions? Regards. --- In [email protected], "Corey Saxe" <[EMAIL PROTECTED]> wrote: > > How about getting a free copy of Downloader from Equis, and use it to merge > your files? > -CS > > ----- Original Message ----- > From: "walkegra" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Friday, May 16, 2008 5:11 PM > Subject: [amibroker] Merge metastock data files > > > >I plan to use AB as my charting program and I have two sets of > > metastock data files in two different folders that I want to merge. Is > > there AB code that will loop through each file in one folder and merge > > with the appropriate data in the second folder? I don't know how to do > > it but I expect the code would need to do the following: > > > > In Folder1, retrieve stock code for File1. > > > > Loop through each file in Folder2, open and check stock code. If stock > > codes match then merge data and save. > > > > Continue for each file in Folder1. > > > > Thank you in advance for any suggestions. >
