[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Re: Help on AFL to export closingprices only to .csv file


  • Date: Mon, 21 Dec 2009 15:53:00 -0500
  • From: Herman <psytek@xxxxxxxx>
  • Subject: Re: [amibroker] Re: Help on AFL to export closingprices only to .csv file

PureBytes Links

Trading Reference Links



Thanks,
herman

h3po wrote:

Ok

Use Exploration in AA (and apply to CURRENT SYMBOL). Note all quotes will be aligned to the Current symbol selected and quotes retrieved by FOREIGN function in the code will pad data to the main symbol. (Make sure there are no data-holes in the Current ticker). And add the Tickersymbols to Group 1, (or any other location in the Database that you want to extract from; or change the location to a Watchlist or in argument in line 3 of the code).

SetOption("nodefaultcolumns", True);
AddColumn( DateTime(), "date/time", formatDateTime
);

symlist =
CategoryGetSymbols( categoryGroup, 1
);

Filter = 1
;
for( i = 0; ( sym = StrExtract( symlist, i ) ) != ""
; i++ )
{
  
AddColumn( Foreign( sym, "C"
), sym);
}

(The code is not made by me but by the Support.)

best regards

 



__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___