to import ASCII data (.csv) please study:
I understand you want to import your "number of trades" for example during your trading day (EOD) in AB quote value := Aux1.
There are many ways to import ASCII data (.csv) files. AB needs two files for importing data, your "ASCII.csv" and one associated "format" file to define correct quote values and commands during the import process. The simplest way is to use AB Menu - File - "Import ASCII...". This AB task is using "C:\Program Files\AmiBroker\Formats\default.format" as format file.
In the following example the "number of trades" are stored as last value in ASCII data (.csv) for your import procedure.
Steps to do:
- Create a "New" and empty AB Database for your testing ...
- Backup your current "default.format" file
- Change file content of "default.format" and store that file:
$FORMAT TICKER, DATE_YMD, TIME, OPEN, HIGH, LOW, CLOSE, VOLUME, AUX1
- Your "ASCII.csv" to import should look like:
Select "ASCII.csv" via AB Menu - File - "Import ASCII..." and execute the AB import process
If everything is well you can check your import via AB Menu - Symbol - "Quote Editor...", in any other case of error you will find/read generated error-log