3a. Re: Amibroker High CPU Utilization-anyone else seeing this?. From: Padhu3b. Re: Amibroker High CPU Utilization-anyone else seeing this?. From: Tomasz Janeczko3c. Re: Amibroker High CPU Utilization-anyone else seeing this?. From: J. Biran3d. Re: Amibroker High CPU Utilization-anyone else seeing this?. From: dingo3e. Re: Amibroker High CPU Utilization-anyone else seeing this?. From: Lal3f. Re: Amibroker High CPU Utilization-anyone else seeing this?. From: Tomasz Janeczko3g. Re: Amibroker High CPU Utilization-anyone else seeing this?. From: J. Biran3h. Re: Amibroker High CPU Utilization-anyone else seeing this?. From: J. Biran3i. Re: Amibroker High CPU Utilization-anyone else seeing this?. From: qavatina
8a. Information on BATMAN. From: Don Lindberg8b. Re: Information on BATMAN. From: MarkK8c. Re: Information on BATMAN. From: Don Lindberg
1a. Re: Data Plugin / Preserve Database Posted by: "Sachin" sachin_13@yahoo com sachin_13 go out: Tue Oct 2. 2007 4:06 am ((PDT))
What about nLastValid on startup of the plugin which is always -1. How does it know which is the last bar updated and which bar to updatenext. change surface on exiting the Preferences menu nLastValid is set to -1when GetQuotes is called.
--- In amibroker@yahoogroups com. "Tomasz Janeczko" <groups@...> wrote:>> Hello,> > It is automatically saved. You need to go to File->Database Settings> and define number of bars to be preserved there.> And make sure that "Local data storage" is set to "Enabled.> > Best regards,> Tomasz Janeczko> amibroker com> ----- Original Message ----- > From: "Sachin" <sachin_13@...>> To: <amibroker@yahoogroups com>> Sent: Tuesday. October 02. 2007 9:14 AM> affect: [amibroker] Data Plugin / Preserve Database> > > > How to alter AB preserve a database for a streaming real time obtain> > which does not give backfill/hist data from the remote server and> > depends on the current price to create the database and is updated> > using ::SendMessage(ParentWn,WM_USER_STREAMING_modify... -> GetQuotes> > Mechanism and not the Timer mechanism ?> > > > When writing a RT data plugin nLastValid always is -1 when GetQuotes> > is called for the first time so automatically on startup the previous> > quotes are deleted> > > > also> > > > when the timer event fires periodically ( Preferences -> Intraday -> > > Realtime chart call back ) again GetQuotes is called with the value of> > nLastValid as -1. > > > > > > > > > > > > > > > > > > > > > > > > > > Please note that this group is for discussion between users only.> > > > To get support from AmiBroker please send an telecommunicate directly to > > give {at} amibroker com> > > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:> > > > > > For other give material please check also:> > > > > > Yahoo! Groups Links> > > > > > > > > >>
It is not always -1. Once you cater the data it won't be -1 anymoreand if local data storage is set to enabled (IMPORTANT!) it will be > 0 between runs. Use QuoteTracker plugin source code included in the ADK.
Best regards,Tomasz Janeczkoamibroker com----- Original communicate ----- From: "Sachin" <sachin_13@yahoo com>To: <amibroker@yahoogroups com>Sent: Tuesday. October 02. 2007 1:06 PMSubject: [amibroker] Re: Data Plugin / Preserve Database
> What about nLastValid on startup of the plugin which is always -1.> How does it know which is the last bar updated and which bar to update> next. Even on exiting the Preferences menu nLastValid is set to -1> when GetQuotes is called.> > back up TJ.> > > > --- In amibroker@yahoogroups com. "Tomasz Janeczko" <groups@...> wrote:>>>> Hello,>> >> It is automatically saved. You need to go to File->Database Settings>> and define number of bars to be preserved there.>> And make sure that "Local data storage" is set to "Enabled.>> >> Best regards,>> Tomasz Janeczko>> amibroker com>> ----- Original Message ----- >> From: "Sachin" <sachin_13@...>>> To: <amibroker@yahoogroups com>>> Sent: Tuesday. October 02. 2007 9:14 AM>> affect: [amibroker] Data Plugin / Preserve Database>> >> >> > How to make AB preserve a database for a streaming real measure source>> > which does not give backfill/hist data from the remote server and>> > depends on the current price to build the database and is updated>> > using ::SendMessage(ParentWn,WM_USER_STREAMING_modify... -> GetQuotes>> > Mechanism.
Forex Groups - Tips on Trading
Related article:
http://amibrokerbusiness.blogspot.com/2007/10/amibroker-digest-number-7472.html
comments | Add comment | Report as Spam
|