PureBytes Links
Trading Reference Links
|
it works very well BUT there's only the object model in the help file in
terms of documentation. Also, look at the files section of all the Yahoo
forums for examples plus do searches for .vbs and .js in this forum.
It'll be quicker to just use batman - its a general purpose compiled
vbscript.
d
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx
> [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of James Quillian
> Sent: Saturday, February 09, 2008 4:25 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: Question AFL Automatic Analysis Explore
>
> Dingo:
> The vbs approach sounds interesting. Do external scripts generally
> work well with Amibroker?
> Right now I am using a combination of Automatic Analysis to Excel
> and back Automatic Analysis. I am exploring possible ways to combine
> all of the steps into one program.
> Do you know of any tutorials on using external scripts with
> Amibrokier?
>
> James
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "dingo" <dingo@xxx> wrote:
> >
> > You can do it with the export button on the AA window.
> >
> > If you still want to it via code you can write an 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/
|