Many times we like to backup Amibroker database for use in times of contingency where due to some technical reason we might lose the database in Amibroker which we had saved in a long period of time. This becomes all the more important in case of real-time intraday data.
For this very reason there is an Amibroker AFL to export data from Amibroker. Intraday Amibroker data can be exported in chosen timeframes like one minute, three-minute, five-minute, 10 minute, 15 minute and so on. Some users need the database in .csv format and some others in .txt format. For this very reason I am uploading here the Amibroker export data AFL for both kinds of formats. You may like to use any one of them as per your preference.
To make things easier I'm posting screenshots of the process to export intraday data from Amibroker through the use of this Amibroker AFL. First you will have to place the Amibroker AFL in the Formulas folder of your Amibroker directory. Then you will have to create a folder where you would like to save the exported data. In case of this AFL the folder used is C://SaveData. If you like to choose some other folder then you will have to make changes in the export intraday data Amibroker AFL.
For understanding the process of intraday data export from Amibroker please go through the images posted below. You can find the download link below the Images.
Export Intraday Data From Amibroker AFL V1.0
For this very reason there is an Amibroker AFL to export data from Amibroker. Intraday Amibroker data can be exported in chosen timeframes like one minute, three-minute, five-minute, 10 minute, 15 minute and so on. Some users need the database in .csv format and some others in .txt format. For this very reason I am uploading here the Amibroker export data AFL for both kinds of formats. You may like to use any one of them as per your preference.
To make things easier I'm posting screenshots of the process to export intraday data from Amibroker through the use of this Amibroker AFL. First you will have to place the Amibroker AFL in the Formulas folder of your Amibroker directory. Then you will have to create a folder where you would like to save the exported data. In case of this AFL the folder used is C://SaveData. If you like to choose some other folder then you will have to make changes in the export intraday data Amibroker AFL.
For understanding the process of intraday data export from Amibroker please go through the images posted below. You can find the download link below the Images.
Export Intraday Data From Amibroker AFL V1.0
The new V2.0 is for Amibroker 6.30 as many users were asking for the same.
This version also includes Export of Open Interest in the Last Column.
As i click on SCAN, I get thefollowing error: Error 61. The number of format specifier(s) (%) does not match the number of arguments passed.
ReplyDeleteKindly help
Hi Amit,
DeleteWhich version of Amibroker are you using ?
The error is in line 23. If you change it to ds = StrFormat("%02.0f-%02.0f-%02.0f,",
Deleteit should work fine
Hi ,
DeleteThanks for your input. I hope that Amit Saini get out of the trouble he is facing with your help.
I am also getting same error & using ami 6.30 version .
ReplyDeleteKindly help ...
It seems that the error is happening due to higher version of Amibroker. I am currently not using 6.30 and so not able to really make out if this is the real reason. Till version 6.00 I am sure that this AFL works flawlessly.
DeleteHello Trade Catcher,
ReplyDeleteThe script worked perfectly fine.
However it is showing only Close Data.
It is Not showing Open, High & Low data.
Any idea why this would be happening ?
Regards
Which time frame you are choosing to export ?
DeleteHOW TO addopen interest too
ReplyDeleteHi Renu,
DeleteWill look into the AFL if this could be done. Will update the afl if the open interest thing is done.
After i click scan, my file data is still EOD data, not Intradaydata
ReplyDelete