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

[amibroker] Negative volume from MS plug-in



PureBytes Links

Trading Reference Links

1- You're probably right...

2 - Are you writing the last value of multiple stocks?
     If so you just open the file to write for the first stock - this will
erase everything in the file - then open to append and add each line you
want... see help files for specific i/o commands.

if you're doing something else, I'm not sure I know what it is you're doing

----- Original Message ----- 
From: "mmqp" <mmqp@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, April 15, 2004 1:53 PM
Subject: [amibroker] Re: File I/O within AFL code.


> Thanks,
>
> I see two potential problem:
>
> 1. I need to close the file so the other chart program can readin;
> or maybe I do not need to close since other program only reads but
> not Writes.
>
> 2. OK, so I only want to overwrite the last quote (current EOD
> quote) and leave the previous quotes intact.  How can I do this?
>
> TIA
>
> --- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@xxxx> wrote:
> > File I/O will allow you to choose as many quotes as you want and
> write to
> > file.
> >
> > You are not using any export functions, just writing to file
> whatever you
> > want.
> >
> > Ara
> > ----- Original Message ----- 
> > From: "mmqp" <mmqp@xxxx>
> > To: <amibroker@xxxxxxxxxxxxxxx>
> > Sent: Thursday, April 15, 2004 12:17 PM
> > Subject: [amibroker] File I/O within AFL code.
> >
> >
> > > This might have been asked before.
> > >
> > > - I have AB running with QT as plugin (semi-realtime).
> > >
> > > - I'd like to update external ASCII file for current observed
> stock
> > > with the most recent quote from AB via QT. (I have another
> charting
> > > program that would only accept ASCII inputs.)
> > >
> > > - I could use AFL file I/O function and export the entire quotes
> to
> > > the ASCII file but this will waste CPU.
> > >
> > > - Has anyone done any code which only replace the last quote
> (hence
> > > today quote) with the current quote from AB.
> > >
> > > TIA
> > >
> > >
> > >
> > >
> > >
> > > Send BUG REPORTS to bugs@xxxx
> > > Send SUGGESTIONS to suggest@xxxx
> > > -----------------------------------------
> > > 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
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
>
>
>
>
> 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
> Yahoo! Groups Links
>
>
>
>
>




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 
Yahoo! Groups Links

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

<*> 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/