Title: Re: [amibroker] Re: I'm having a very hard time doing something that I think should be simple
did you check preferences -> afl -> TRACE() Output -> Max. Lines?
herman
Thursday, March 26, 2009, 7:24:52 PM, you wrote:
> Yes I counted them by clicking in the trace window, holding down Ctrl+A,
> Right Click and Copy, and paste into a text editor. 200 lines exactly (once
> its done printing it takes about a minute).
> The only line of code in my AFL is: _TRACE("test");
> That's it. 200 times, on a chart with 5000 minute bars, EURUSD, coming from IQFeed.
> Btw, I used SetBarsRequired(0,0); and that didn't change anything in terms of
> the number of times "test" was printed.
> Incidentally when I changed _TRACE to printf, it was printed only once in the
> interpretation window, no matter what I did (scrolling, updating minutes, etc.).
> So at this point none of this is making sense.
> If loading a chart is a single event that should only fire off the AFL one
> time, why is TRACE printing 200 times??
> --- In amibroker@xxxxxxxxxxxxxxx, "sidhartha70" <sidhartha70@xxx> wrote:
>> As you know progster, it's hard to say unless you have the code & chart in front of you.
>> 200 times... exactly?? has Conrad counted them...? I think you'd struggle to count to 200 in the log window>trace for example while continuous new instances of the trace are coming in and the window is scrolling...
>> In a nutshell there's no point speculating specifically as to why or what is happening because there are simply too many unknown variables... hence the advice has to be a general nature.
>> --- In amibroker@xxxxxxxxxxxxxxx, "progster01" <progster@> wrote:
>> >
>> >
>> > It would be really great if someone could provide an accurate, direct answer to the two specific questions below.
>> >
>> > It's really starting to look like _nobody_ actually knows (I know I sure don't!).
>> >
>> > --- In amibroker@xxxxxxxxxxxxxxx, "Conrad Joach" <consolejoker@> wrote:
>> > >
>> > > Why is it printing 200 times for a chart with ~83 bars in it? I have even set barsrequired prior and forward to 0, and it still prints 200 times.
>> > >
>> > > And as far as chart refresh events, does clearing the trace window count? Because if I clear the trace window, it reprints everything 200 times again.
>> > >
>> >
> ------------------------------------
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
> TO GET TECHNICAL SUPPORT send an e-mail directly to
> SUPPORT {at} amibroker.com
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 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/
__._,_.___
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
__,_._,___
|