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

[amibroker] Re: Ranking stocks? possible to create filter with AFL?



PureBytes Links

Trading Reference Links

Ara,
         Yes, I see what you mean. You may need to email support for this.

         ATB
          Michael.


At 12:25 AM 13/08/2004, you wrote:
>Hi Michael,
>
>The reason I may get into conflict is because to make this work I have to
>write and read files that Ninja Tradeer also accesses every 300 ms looking
>for orders or providing feedback ...
>
>That's why I am concerned about details of handling disk operations
>
>Ara
>
>----- Original Message -----
>From: "Michael.S.G." <OzFalcon@xxxxxxxxxx>
>To: <amibroker@xxxxxxxxxxxxxxx>
>Sent: Thursday, August 12, 2004 3:16 AM
>Subject: Re: [amibroker] Disk file operations
>
>
> > Ara,
> >
> > Why would you not know if a file is currently open?
> >
> > Do you have multiple indicators writing data??? If so - May I suggest the
> > use of GLOBALS and one controll AFL to do any reading/writing.
> >
> >          ATB
> >            MSG
> >
> >
> >
> > At 10:50 AM 12/08/2004, you wrote:
> > >I am trying to write an interface routine for automated trading with
> > >NinjaTrader  front end.
> > >
> > >A question about opening files:
> > >
> > >fh = fopen("Fhtest2","w");
> > >
> > >if (fh)
> > >
> > >{
> > >
> > >fputs("FhTest"+"\n",fh);
> > >
> > >}
> > >
> > >I understand the code above... the question is if I am opening a file to
> > >append, what what is the value of fh when a file exists but it is open
> > >from another application.
> > >
> > >This situation can create a potential problem if there is a conflict.
> > >
> > >If there is a conflict due to file being open already, does Windows do
> > >anything or just return the fh value?
> > >
> > >Thanks
> > >
> > >Ara
> > >
> > >[Non-text portions of this message have been removed]




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

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/