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" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, October 02, 2007 9:14 AM Subject: [amibroker] Data Plugin / Preserve Database > How to make AB preserve a database for a streaming real time source > which does not support 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_UPDATE... -> 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 refresh ) 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 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 > > > > >
