![]() |
|
| Discuss Export Intraday Data.afl at the AmiBroker within the Traderji.com - Discussion forum for Stocks Commodities & Forex; Dear Friends, I want to export Intraday data from AMIBROKer and using this AFL. // ... |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools |
| Sponsored Links |
|
#1
|
|||
|
|||
|
Dear Friends,
I want to export Intraday data from AMIBROKer and using this AFL. // //------------------------------------------------------------------------------ /* Export intraday and EOD data to TXT files One file for each stock In the first line insert the directory you want to save them to, make sure the directory exists Select your charts to export with the "Apply to" filter in AA window Select the timeframe period you want to save as using the AA "Settings" Press Scan button by Graham Kavanagh 05 Feb 2004 */ fh = fopen( "c:\\IntradayData\\"+Name()+".txt", "w"); if( fh ) { fputs( "Ticker,Date,Time,Open,High,Low,Close,Volume \n", fh ); y = Year(); m = Month(); d = Day(); r = Hour(); e = Minute(); n = Second(); for( i = 0; i < BarCount; i++ ) { fputs( Name() + "," , fh ); ds = StrFormat("%02.0f/%02.0f/%02.0f,", m[ i ], d[ i ], y[ i ] ); fputs( ds, fh ); ts = StrFormat("%02.0f:%02.0f:%02.0f,", r[ i ],e[ i ],n[ i ] ); fputs( ts, fh ); qs = StrFormat("%.2f,%.2f,%.2f,%.2f,%.0f\n", O[ i ],H[ i ],L[ i ],C[ i ],V[ i ] ); fputs( qs, fh ); } fclose( fh ); } Buy = 0; In the Apply to Section i am selecting all symbols and and in the range i am selecting current date. However the files generated afterscan are showning EOD data. i am enclosing one of the fle here. Kindly help me in telling what i a doing wrong Thanks Last edited by rkgoyal_98; 20th January 2008 at 02:59 PM. |
|
#2
|
|||
|
|||
|
Try changing the time frame to what ever u want(say 5 mins) and then run the exploration. Hope you are trying this on an intraday database
![]() Best Regards Coool. |
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads for: Export Intraday Data.afl
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Intraday & EOD Data | indianbullbear | Intraday | 4 | 18th July 2008 12:19 AM |
| NSE Intraday data | gadodias | Intraday | 37 | 15th November 2007 02:04 PM |
| Nidhi Data System's Intraday Data Required | soumya_b | Data Feeds | 2 | 8th August 2007 09:26 PM |
| Intraday data | geeaar | Data Feeds | 0 | 30th August 2005 09:04 PM |
Indemnity, Disclaimer & Disclosure
Notice:
• By visiting Traderji.com you indicate your acceptance of our Forum
Rules Disclaimer & Disclosure and indemnify Traderji.com, its
associates and related parties of all claims howsoever resulting from
the usage of the forum.
• Disclaimer: Trading or investing in stocks & commodities
is a high risk activity. Any action you choose to take in the markets
is totally your own responsibility. Traderji.com will not be liable for
any, direct or indirect, consequential or incidental damages or loss arising out of the use of this information.
• Disclosure: The information in this forum is neither an offer to sell nor solicitation to buy any of the securities mentioned herein.
The writers may or may not be trading in the securities mentioned.
• All names or products mentioned are trademarks or registered trademarks of their respective owners.
General Content Disclaimer Notice:
In light of our policy of encouraging candid, open exchanges of views and the rapid distribution of information originating from many sources, Traderji.com cannot determine the accuracy of information that may be uploaded to the forum. Opinions, advice and all other information expressed by participants in discussions are those of the author. You rely on such information at your own risk. You are urged to seek professional advice for specific, individual situations and not rely solely on advice or opinions given in the discussions. Since Traderji.com is an open and free discussion forum, any comments made by members of this forum in their posts reflect their own views and not of the owner or administrator of Traderji.com. Thus the owner/administrator indemnify themselves of all claims whatsoever and will not be liable or responsible for any members comments/views in this forum Traderji.com. If you find any objectionable or offensive posts made by members of this forum which you would like to bring to our notice for removal then please Contact Us.