One other variable I'll mention is that there is a little window running saying "Backfilling AAPL, 4500 bars", and "0 running backfills". I don't know what this has to do with AFL and a chart. There's no way this window or whatever backfilling its doing (which it can't possibly be doing if the network is unplugged) should have any impact on how often an AFL gets invoked in a chart window. But I thought I'd mention it here to see if means anything.
--- In [email protected], "Conrad Joach" <consolejo...@...> wrote: > > I tried your test, I got results that showed time was changing, see below. > > Also, I disconnected my network connection, and guess what, the trace kept on > printing, line after line, with a new time stamp, never stopping. I was on an > AAPL chart before I disconnected. > > So the question is why is the chart refreshing multiple times per second when > the network is unplugged, which rules out ticks, and when there is no > interaction with the chart window?? > > test215723 Formulas\Drag-drop\DebugPlot 4.afl 4 20 > 21:57:23.89 > test215724 Formulas\Drag-drop\DebugPlot 4.afl 4 20 > 21:57:24.89 > test215725 Formulas\Drag-drop\DebugPlot 4.afl 4 20 > 21:57:25.89 > test215726 Formulas\Drag-drop\DebugPlot 4.afl 4 20 > 21:57:26.89 > > > --- In [email protected], "monitorit" <monitorit@> wrote: > > > > Hi, > > Just a few thoughts from a non-pro ABer > > 1. If you have entered more than 1 ticker since the time AB session started > > and are in realtime mode, AB will try to get those quotes as well as for > > the displayed ticker (running an AA session or have tickers in an open > > realtime quote window also counts I believe). The number of tickers AB > > will try to get I think depends on your data provider - 200 sounds to be > > plausable. > > 2. Could your data provider be sending ticks for the ticker many times/sec > > (ie 200 times in 20sec)? > > > > Consider changing your afl to > > > > _SECTION_BEGIN("YOURTITLE"); > > plot(C,"Close",colorblack > > _TRACE("test"+Now(4)); > > _SECTION_END(); > > > > save it > > check to see if all times are ~the same or show a continum (could the 200 > > traces just be the last 200 but they are continuing while the window is > > open)? > > consider disconnecting from your data provider > > consider quitting and restarting AB and checking the above. > > > > Would like to see the results of above > > Dan > > > > --- In [email protected], "Conrad Joach" <consolejoker@> wrote: > > > > > > I have posted in excruciating detail exactly what I'm doing. My code is > > > one line: > > > > > > _TRACE("test"); > > > > > > That's it. One line. On one chart. The chart is minutely, on a database > > > with 5000 minutes. EURUSD. > > > > > > It prints 200 times then stops. I have no refresh on the chart. > > > > > > If I clear the trace window, it prints it 200 times again, as if that is > > > somehow causing a chart refresh, which is very weird behavior. > > > > > > What else can I tell you. You can reproduce this yourself very easily > > > with my explanation. Let me know what other info you need. > > > > > > Thanks. > > > > > > >>Re: [amibroker] Re: I'm having a very hard time doing something that I > > > >>think should be simple > > > > > > You have to take it one step at a time. If you set AB to log only 200 > > > lines than that is what you get, no more. > > > > > > > > > Anyway, I haven't seen your code yet, did you post it? Also include the > > > exact conditions you run it with. > > > > > > > > > Everybody is guessing what you are doing - you'll never learn anything > > > this way. > > > > > > > > > herman > > > > > >
