The file input/output functions (fgets, fputs, fclose, fopen, fmkdir, etc.) in Users Guide and associated examples will help you get started.
Bill ----- Original Message ----- From: "James Quillian" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Sunday, February 17, 2008 12:09 AM Subject: [amibroker] Question? code for writing output to files > Filter=1; > > The code below creates the output below. > Is there any simple code that can be used to write the output to a > file? > I know it can be done by clicking the export button. If possible I > would like to save it without the date column and the title row. > > Thanks > > James > > AddColumn( ROC(C,200), "r200)", 1.2 ); > AddColumn(ROC(C,30), "r30", 1.2 ); > AddColumn(ROC(C,10), "r10", 1.2); > AddColumn( StochK(14,3), "Stochk", 1.2 ); > > > Ticker Date/Time r200) r30 r10 Stochk > AA 2/15/2008 2.41 -1.30 4.20 89.47 > AIG 2/15/2008 -34.52 -18.32 -17.26 11.99 > AXP 2/15/2008 -28.10 -10.51 -9.05 31.99 > BA 2/15/2008 -9.22 -2.07 2.92 92.77 > C 2/15/2008 -53.08 -11.93 -14.18 13.50 > CAT 2/15/2008 -4.70 -0.61 -2.52 74.33 > DD 2/15/2008 -9.99 3.20 -1.00 54.83 > DIS 2/15/2008 -8.99 2.27 5.97 91.12 > GE 2/15/2008 -7.88 -6.60 -4.95 35.37 > > and so on................ > > > > Please note that this group is for discussion between users only. > > To get support from AmiBroker please send an e-mail directly to > SUPPORT {at} amibroker.com > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > http://www.amibroker.com/devlog/ > > For other support material please check also: > http://www.amibroker.com/support.html > > Yahoo! Groups Links > > > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.20.4/1277 - Release Date: 2/13/2008 > 8:00 PM > >
