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

Re: [amibroker] Re: When AFL just stops updating the chart now and then...



PureBytes Links

Trading Reference Links

Dan,

I don't know how to help with your problem.
I am not even sure they are related.

I was in the middle of trading today, so I could not investigate  
everything this time.

BR,
Dennis

On Jul 1, 2008, at 4:38 PM, monitorit wrote:

> Hi Dennis
> My problem re delayed quotes remain - it probably is related to the
> plugin.  When I select shutdown and then reconnect by Rclicking the
> connection status button, the prices immediately come up to the
> second, but gradually fall behind again.  Notice, it remains green
> (till on select shutdown).  It does however have a blink (<0.1
> seconds-my estimate) most of the time.
>
> The plugin connects as a TCPclient (listed as most efficient) and I
> do have the option of trying to connect as a UDPclient, HTTPstream,
> or HTTPrefresh.  Does anyone have experience with these connection
> modes?  Any advice?
>
> Also, is there anyway via afl to 'flash or ping' the plugin to keep
> it awake?  Does GetRTData or GetRTDataForeign make a request of the
> plugin or just get data from within AB?
>
> Can't help you but re your last post, did the prices keep updating
> though the charts stop updating (I don't think the HLC+vol need your
> afl to be running, and T&S,RTQ wouldn't need the afl to run, would
> they)?
>
> Dan
>
> --- In amibroker@xxxxxxxxxxxxxxx, Dennis Brown <see3d@xxx> wrote:
>>
>> Tomasz,
>>
>> I can add a little more information to this problem now.
>>
>> This morning about 11:45 ET my chart stopped again.
>> I was trading ES and the market was fairly fast.
>> I have a Bar%Done graph that advances every second.
>> It takes the start time of the last bar and compares it to Now.
>> It stopped advancing.
>> I clicked to another chart tab and back again.
>> That made it advance one time, but would not continue running.
>> Clicking on the refresh chart made it go again.
>>
>> So I think that my AFL formula stopped running.
>>
>> I will verify that by other means the next time.
>>
>> Best regards,
>> Dennis
>>
>>
>> On Jun 28, 2008, at 9:08 AM, Dennis Brown wrote:
>>
>>> Tomasz,
>>>
>>> Thanks for the AFL suggestion.
>>>
>>> My Refresh Interval in Prefs is set to 1 at this time.  In the
> past I
>>> have also used 1, 2, or 3 settings.  However, I have a
>>> RequestTimesRefresh() that is set via parameter in the chart.  At
> his
>>> time it is set to zero, though this has also happened with it set
> to
>>> other numbers (usually 1).  I adjust these numbers depending on
> how
>>> much history I am using at the time in order to keep them higher
> than
>>> the actual time it takes to refresh the chart, so that the UI
> keeps
>>> working.
>>>
>>> This has happened to me for a couple of years and my charts and
> AFL
>>> have evolved to significant complexity over that time, along with
>>> changing computers and data vendors.
>>>
>>> I don't recall the problem happening when I was actively using
> the UI
>>> on the chart.  It usually happens when the chart is just quietly
>>> updating and then just stops updating.  I am usually just in the
> mode
>>> of waiting for something to happen on the charts while I am
> waiting to
>>> get into or out of a trade.  I can not recall my previous
> operations,
>>> but I do a LOT of trend line studies. I doubt this problem could
> be
>>> easily reproduced --otherwise you would have customers
> complaining all
>>> over the place.
>>>
>>> I can tell you that clicking on most UI buttons or pulldown menus
> or
>>> clicking on the chart does not fix it.  Only clicking on the
> Refresh
>>> button fixes it.
>>>
>>> I will take your AFL suggestions and some others and see if I can
> get
>>> better information about what is happening for the next time.
> Since
>>> it does not happen often, it is not so bad for me to click the
> Refresh
>>> button when it happens.  The bad part is not realizing that it is
> not
>>> refreshing for too long and missing an important price move.
>>>
>>> Hopefully the next time it happens I will not be in a trade and
> can
>>> take my time to investigate it better.
>>>
>>> Best regards,
>>> Dennis
>>>
>>> On Jun 28, 2008, at 4:29 AM, Tomasz Janeczko wrote:
>>>
>>>> Dennis,
>>>>
>>>> You can use
>>>> TextOut( ""+Now(), Status("pxwidth")-200, Status("pxheight")/2 );
>>>>
>>>> To display last refresh time - this may help detecting such
> problem.
>>>> It never happened on my end, but I would appreciate if someone
>>>> provides more
>>>> details under what circumstances it happens (what is your Prefs
>>>> "Refresh interval",
>>>> what do you do before that happens (use particular drawing tool
>>>> or ...?
>>>> does pressing F5 solves the problem ? I don't know...
>>>> just try to provide information that would make this
> reproducible).
>>>>
>>>> Best regards,
>>>> Tomasz Janeczko
>>>> amibroker.com
>>>> ----- Original Message -----
>>>> From: "Dennis Brown" <see3d@xxx>
>>>> To: <amibroker@xxxxxxxxxxxxxxx>
>>>> Sent: Saturday, June 28, 2008 3:37 AM
>>>> Subject: [amibroker] When AFL just stops updating the chart now
> and
>>>> then...
>>>>
>>>>
>>>>> Hello,
>>>>>
>>>>> I have something that happens once every few days with my RT
> charts.
>>>>>
>>>>> At some point in the day, the chart stops updating.  I also have
>>>>> getRTData() functions in my AFL that also stop.
>>>>>
>>>>> I don't know if it is the data feed that stops handing the
> quotes to
>>>>> AB, or if XP is not giving the data, or if the AFL loop stops
>>>>> running.  Everything looks normal, but I notice that my broker's
>>>>> charts have moved ahead and my AB charts have stalled (My
> broker's
>>>>> charts are prone to stalling in fast markets and my AB charts
> keep
>>>>> on
>>>>> ticking).  This can be disconcerting when you are in a fast
> trade
>>>>> and
>>>>> you go blind without realizing it.
>>>>>
>>>>> I am using DTN IQFeed, but the same thing happened with eSignal
> in
>>>>> previous years.  The data feed plug-in indicates everything is
> green
>>>>> and working.
>>>>>
>>>>> Clicking on the chart refresh button starts the chart running
> again.
>>>>>
>>>>> I am usually in a panic when this happens, so I have not been
> able
>>>>> to
>>>>> properly go through debug steps to isolate the problem area.
>>>>>
>>>>> So my questions are:
>>>>>
>>>>> 1.  Does anyone know the root cause of this?
>>>>> 2.  Is there a way to detect that the chart has stopped updating
>>>>> (other than by eye)?
>>>>> 3.  Is there a way to automatically jump start the updating
> again
>>>>> when
>>>>> it happens?
>>>>>
>>>>> Thanks for any insights.
>>>>>
>>>>> If nobody can help, I will ask support.
>>>>>
>>>>> Best regards,
>>>>> Dennis
>>>>>
>>>>>
>>>>> ------------------------------------
>>>>>
>>>>> Please note that this group is for discussion between users
> only.
>>>>>
>>>>> To get support from AmiBroker please send an e-mail directly to
>>>>> SUPPORT {at} amibroker.com
>>>>>
>>>>> For NEW RELEASE ANNOUNCEMENTS and other news always check
> DEVLOG:
>>>>> http://www.amibroker.com/devlog/
>>>>>
>>>>> For other support material please check also:
>>>>> http://www.amibroker.com/support.html
>>>>> Yahoo! Groups Links
>>>>>
>>>>>
>>>>>
>>>>
>>>> ------------------------------------
>>>>
>>>> Please note that this group is for discussion between users only.
>>>>
>>>> To get support from AmiBroker please send an e-mail directly to
>>>> SUPPORT {at} amibroker.com
>>>>
>>>> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
>>>> http://www.amibroker.com/devlog/
>>>>
>>>> For other support material please check also:
>>>> http://www.amibroker.com/support.html
>>>> Yahoo! Groups Links
>>>>
>>>>
>>>>
>>>
>>>
>>> ------------------------------------
>>>
>>> Please note that this group is for discussion between users only.
>>>
>>> To get support from AmiBroker please send an e-mail directly to
>>> SUPPORT {at} amibroker.com
>>>
>>> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
>>> http://www.amibroker.com/devlog/
>>>
>>> For other support material please check also:
>>> http://www.amibroker.com/support.html
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>
>
>
>
> ------------------------------------
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
> Yahoo! Groups Links
>
>
>


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

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
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/