[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Re: Export to Metastock format



PureBytes Links

Trading Reference Links

This is the only way I know of to accomplish this:

Open the AA window in Amibroker, select your watchlist of stocks and
run SCAN (The program will automatically export the stocks and date
range you select on the AA settings, create data files and deposit
them into a new folder named, in this case c:\AB Data Backup:

.............................................
/*MetaStock format data export to text file
Just make certain there is a directory waiting for it as within the 
brackets
/Data is MS compatible
/Ticker,Date,O,H,L,C,V
/ USE SCAN MODE
/Plugin Name : Export.dll
Author : Bruce Hearder (bwh@xxxxxxxxxxxx)
Date : 24-July-2002

Purpose :
This plugin was written to enable fast backing up/extarction of data 
from AmiBroker, into a METASTOCK format
How to use it..
Using Automatic Analysis:
Buy = bhExportAsMetaStock("c:\\your_destination_directory");
Select the stock(s) you want to export AND press the Scan Button.
The export file format (for those that don't use the MS file format)
Date(YYYYMMDD),Open,High,Low,Close,Volume
if anyone has any questions, please don't hesitate to contact me*/ 


Buy=bhExportAsMetaStock("c:\\AB Data Backup");

...............................................................

///////////////////////////////////////////////////////////////


Then open the Metastock Downloader (free tool on metastock site) -
tools-convert

File type: ASCII text
Location: c:\AB Data Backup
Files: browse and select all

to

File type: Metastock
Location: c:\ABMetastock

and click ok, the downloader will convert all the exported data into
Metastock data files and deposit them into your new folder
\ABMetastock

Just make sure that you create the two folders before you run these
routines c:\AB Data Backup & c:\ABMetastock

Then when you run a program requiring Metastock data, set it up to
read the c:\ABMetastock database.

It sounds complicated but it really isn't, and once set up, it's just
a few clicks to accomplish this task.

The export.dll plugin can be found here:
http://groups.yahoo.com/group/amiquote/files/

Makes Yahoo free EOD data really versitile!


Regards
Jim




Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/amibroker/

To unsubscribe from this group, send an email to:
 amibroker-unsubscribe@xxxxxxxxxxxxxxx

Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/