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

[amibroker] Re: I'm having a very hard time doing something that I think should be simple



PureBytes Links

Trading Reference Links

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 amibroker@xxxxxxxxxxxxxxx, "Conrad Joach" <consolejoker@xxx> 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
>




------------------------------------

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