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

RE: [amibroker] How do I write to an external file?



PureBytes Links

Trading Reference Links

Thanks

> -----Original Message-----
> From: Tomasz Janeczko [mailto:amibroker@xxxxxx]
> Sent: Saturday, October 18, 2003 1:52 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Re: [amibroker] How do I write to an external file?
> 
> Howard,
> 
> I belive that Salil has written freeware plugin for that.
> It is available from files area in the amibroker-dll group
> (http://www.egroups.com/messages/amibroker-dll)
> 
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "Howard Bandy" <howardbandy@xxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Cc: <howardbandy@xxxxxxxxx>
> Sent: Saturday, October 18, 2003 10:44 PM
> Subject: [amibroker] How do I write to an external file?
> 
> 
> > Greetings --
> >
> > I would like to set up some tests within afl and write selected
> information
> > from selected tests to an ASCII file.  What is the best way to do this?
> Are
> > there native afl functions or 3rd party plugin dlls?
> >
> > I've searched help files and archives but haven't found much that was
> > helpful.
> >
> > Simple pseudocode (hopefully self explanatory) example:
> >
> > // desired functionality
> >
> > Filename = "C:\AmiBrokerTests\October18Runs.csv";
> > FileOpen (Filename, Mode = append);
> >
> > Done = 0;
> > For (i=0; Done==0; i++)
> > {
> > .....
> > metric = a + b;
> > if (metric >= 100)
> > {
> > append (Filename, "test number: " + I + " metric: " +
> > metric);
> > }
> > if (sometest)
> > {
> > Done = 1;
> > FileClose (Filename);
> > }
> > }
> >
> > // end of code
> >
> > Thanks,
> > Howard
> >
> >
> >
> >
> > Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> > Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> > -----------------------------------------
> > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > --------------------------------------------
> > Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >
> > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> >
> >
> >
> 
> 
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> 




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/mk9osC/hP.FAA/3jkFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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