Convert2Metastock V2.2: User Manual
Convert2Metastock V2.2: User Manual
V2.2
User manual
Table of Contents
Table of Contents................................................................................................... 2
Convert2MetaStock - Overview................................................................................ 3
File menu commands........................................................................................... 3
Open File ........................................................................................................ 3
Settings .......................................................................................................... 3
Register .......................................................................................................... 3
Conversion Dialog ............................................................................................... 3
Input File: Supported Fields and Column Assignments .......................................... 4
Input File: Detail Settings.................................................................................. 5
Output File: Path to Output Files ........................................................................ 5
Output File: Detail Settings ............................................................................... 5
Command line .................................................................................................... 6
Tutorial ................................................................................................................ 7
Registration and Price Information ........................................................................... 9
Contact .............................................................................................................. 10
Disclaimer of Warranty ......................................................................................... 11
Page 2
Convert2MetaStock - Overview
Convert2MetaStock allows you to create data in the MetaStockTM format from an ASCII
historical end-of-day data source file. The ASCII file can practically be in any file format.
You can define how your ASCII source is structured, for example:
Which columns have which fields (date, time, open, close, etc.)
What is the column delimiter character
What is the date format
In addition, you can define how your output is to be created, for example:
The ticker symbol and name
Whether to add the data to an existing master file or create a new one
Simply launch the Convert2MS.exe file and select an ASCII text file using the File > Open
menu command or the toolbar button. This will load the first 100 lines of your file (as a
reminder of what it looks like) and automatically launch a Conversion Settings dialog
box. Adjust the settings and hit CONVERT - your new MetaStockTM format file-set will be
created.
Convert2Ms will also update the MetaStock chart (EOD version or Offline mode)
automatically if you have the chart opened in the MetaStock program.
Open File
Lets you select ASCII files that should be converted to a MetaStockTM format file. This
menu pick will cause Convert2MetaStock to display the first several lines of the file and
automatically launch the Conversion Settings dialog. If you have more ASCII file of the
same format you can open them at the same time by selecting the files in the open
dialog.
Settings
Launches the Conversion Settings dialog that lets you setup the details for Convert2MS
to properly convert the file. This dialog box has its own Settings Help discussion.
Register
The function lets you enter your registration information.
Conversion Dialog
The Settings dialog is automatically brought up after a File -> Open command or may be
invoked manually. There are four major sections and each is discussed.
Page 3
Page 4
Page 5
Command line
You can convert ASCII files using the command line.
Syntax: Convert2MS.exe -Configuration file name -AsciiFile1 -AsciiFile2 -AsciiFile3
Example: Convert2MS.exe -Config.cfg -msft.csv -neta.csv
You can also convert a whole directory using the command line:
Syntax: Convert2MS.exe -d -Configuration file name -Directory containing the files File
extension -Include subfolders (1 = yes, 0 = no)
Example: Convert2MS.exe -d -C:\Convert2MS\Config.cfg -C:\MSFolder -*.csv 1
Note: You can store a file containing the conversions options in the Conversions
settings dialog. (Save config button)
Page 6
Tutorial
Lets do a conversion right now with the installed sample file!
This Help file window is probably covering up the main window of Convert2MS. Resize
and move the windows so you see most of each simultaneously.
In the Convert2MS window, click on the Menu File > Open.
You should see a file called msft.csv it lives in the directory where you installed
Convert2MS. Select it. This will load the main window with some data and spawn the
Conversion Settings dialog. Position the dialog so it looks like the picture below. Now
read the text in black and do the Tutorial in blue. Scroll down now.
Notice above that the first few lines are displayed in the main window as a reminder of
the data. The Conversion Settings dialog is show below as a set up for the conversion.
Let's go through each section...
In the Initial File Supported Fields section we have identified which fields we have and in
which columns they appear. We do not have Time, Open int, Name and Symbol in this
case.
Click on the checkboxes in the actual Conversion Settings dialog (and adjust the number
if necessary) so it matches the picture above.
In the Initial File Detail settings we indicate that this file is delimited by tabs. The date
format is very important and where the majority of user mistakes are made. Our format
Page 7
is DD-MMM-YY. (JAN will automatically be converted to 01) If our file had dates like
12/24/99 then would have specified format MM/DD/YY. Again, if our file had dates like
2000.01.04 then would have specified format YYYY.MM.DD. There are some formats in
the combo box that you can choose from but you are able to enter any format you
want. Our first line in the file is textual and not a quote so the box marked Skip Rows is
checked and the value set to 1 (just one row of text in this case). The last thing to notice
is Convert2MS normally expects files where the oldest quote is first. This file is not like
that so the Reverse File Order check is made.
Click on the controls in the actual Conversion Settings dialog so it matches the picture
above.
The Output File Path section specifies the destination folder take the default
(recommended for this Tutorial), type in a value or use the Browse button to find an
existing folder.
Last you enter two strings - one for symbol and one for name. For this Tutorial we dont
select any check box. (A new record to the Master file will be added)
Adjust the actual Conversion Settings dialog so it matches the picture above.
Click Convert and you're done!
If you did everything right, a message box appears that says Conversion Completed
Successfully.
The program created 3 files: F1.DAT, MASTER and EMASTER. Use a quote reader of your
choice and validate that you have quotes for Microsoft from 29-Jan-99 to 1-May-01. No
Y2K problems either!
Now you see how powerful Convert2MS really is - it can accommodate practically any file
format.
Page 8
Page 9
Contact
We provide support via email. You can email your questions, comments or bug reports to
info@trading-tools.com. Normally all emails are answered throughout the 24-hour day.
Please keep the following tips in mind:
Software Problems: It is easier to solve a software problem if you send us details that
are as specific as possible when inquiring about software problems. Also tell us the
operating system you are using.
Web: http://www.trading-tools.com
Page 10
Disclaimer of Warranty
Users of Convert2MetaStock must accept this disclaimer of warranty. If you do not
accept this disclaimer, do not use Convert2MetaStock.
Convert2MetaStock IS SUPPLIED AS IS. THE AUTHOR DISCLAIMS ALL WARRANTIES OF
ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DAMAGES
WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF
BUSINESS PROFITS OR SPECIAL DAMAGES, WHICH MAY RESULT FROM THE USE OF
Convert2MetaStock EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
MetaStockTM is a registered trademark of EQUIS International. (http://www.equis.com)
Page 11