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

RE: [amibroker] Question AFL Automatic Analysis Explore



PureBytes Links

Trading Reference Links

Oh, one other option is to use Batman (see files section on this forum) to
run it for you and export the data.

d 

> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx 
> [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of dingo
> Sent: Saturday, February 09, 2008 3:22 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: RE: [amibroker] Question AFL Automatic Analysis Explore
> 
> You can do it with the export button on the AA window.
> 
> If you still want to it via code you can write an external 
> script in vbs,
> jscript to use the COM objects. If you want to do it in AFL inside the
> formula then you can add code using the file IO functions:
> 
> File Input/Output functions
> 
> fclose - close a file (AFL 2.5) 
> fdelete - deletes a file (AFL 2.70) 
> feof - test for end-of-file (AFL 2.5) 
> fgets - get a string from a file (AFL 2.5) 
> fgetstatus - retrieves file status/properties (AFL 2.90) 
> fmkdir - creates (makes) a directory (AFL 2.70) 
> fopen - open a file (AFL 2.5) 
> fputs - write a string to a file (AFL 2.5) 
> frmdir - removes a directory (AFL 2.70) 
> 
> What you'll need to do is open the file once at the beginning 
> of the AFL and
> then add some AFL to build a string of what you want to write 
> out to the
> file and then actually write out that file.
> 
> d
> 
> > -----Original Message-----
> > From: amibroker@xxxxxxxxxxxxxxx 
> > [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of James Quillian
> > Sent: Saturday, February 09, 2008 3:06 PM
> > To: amibroker@xxxxxxxxxxxxxxx
> > Subject: [amibroker] Question AFL Automatic Analysis Explore
> > 
> > This code produces
> > 
> > Filter=C > 0;
> > 
> > AddColumn( ROC(C,200), "r200)", 1.4 );
> >  
> > The following output on the AA screen.
> > 
> > Ticker	Date/Time	r200)	        r30)
> > AACC	2/8/2008	-49.4406	-13.4124
> > ADM	2/8/2008	4.7824	        -9.4863
> > AEO	2/8/2008	-27.6646	3.9366
> > ANN	2/8/2008	-33.4996	-3.1728
> > APSG	2/8/2008	-24.9434	-7.975
> > 
> > Is there any code that could be used to write the output to 
> an array 
> > file to be stored on the hard disk?
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 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
> > 
> > 
> > 
> > 
> 
> 
> 
> 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
> 
> 
> 
> 



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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/