Showing posts with label AmiBroker. Show all posts
Showing posts with label AmiBroker. Show all posts

Monday, October 11

How to import DSE Data into AmiBroker?

This video tutorial shows how to import DSE daily data into Amibroker. Be remember at first you have to download daily DSEe data by Profita.




N.B: If you have any problem to download daily DSE data, please see Profita Tutorial, Part-1 which shows how to download DSE data.

Monday, September 27

How to migrate AmiBroker to a new computer

First of all it is absolutely necessary to run full setup on the new system to ensure proper configuration and appropriate access rights on the new system. Running full setup first is essential, as copying old files alone is NOT enough and will lead to problems.

The setup program can be downloaded from:
http://www.amibroker.com/download.html

Once the program has been installed – you can either activate the program (if you want to start with a fresh copy) or also restore your settings from the old computer.

If you want to start with a fresh installation, then it’s enough to run the software activation wizard. To get a copy you can use the form at:
http://www.amibroker.com/lostkey.html

If you want to transfer all data from the old computer, after running full setup on a new computer, you should copy the entire contents of AmiBroker folder from the old computer (with all the databases) into the location you have installed AmiBroker on the new machine (see the installation path above), overwriting the existing files.

If you want to copy just layouts / charts, then it is enough to copy the following:
- *.awl files from Layouts folders inside AmiBroker main folder and inside database folder (holding layouts calling certain charts recognized by their ID)
- broker.newcharts file which contains list of charts (their IDs) and their corresponding formula files
- contents of Formulas folder – to have formula referenced by certain charts

This is because layouts refer to certain charts recognised by their chart ID number. So all elements have to be present.

More information about files used by AmiBroker can be found at:
http://www.amibroker.com/guide/x_files.html

How to export quotations from AmiBroker to CSV file ?

The easiest way to export quotes to CSV file is to use the below formula from Automatic Analysis window:
(Analysis -> Automatic Analysis)


Filter=1AddColumn(O,"Open"); AddColumn(H,"High"); AddColumn(L,"Low"); AddColumn(C,"Close"); AddColumn(V,"Volume",1.0); AddColumn(OI,"Open Interest",1.0); 

  1. Open: Analysis->Formula Editor
  2. Paste the above formula into formula window
  3. Choose Tools->Send to Auto-Analysis menu in the Formula Editor
  4. In Automatic Analysis window select Apply to: All Stocks, Range: All quotations (or any other time range or filter, depending on what you need to export)
  5. Press Explore button
  6. Press Export button, specify the name and press OK

Related Posts Plugin for WordPress, Blogger...

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More