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

RE: [amibroker] Writing Arrays to the Database



PureBytes Links

Trading Reference Links




<FONT face=Arial color=#0000ff 
size=2>The easiest way is to copy your custom arrays to a Composite (see 
AddToComposite() and the tutorial on the AB website). You can recall (read back) 
the contents of a Composite file with the Foreign(). Composites are saved 
on your hard disk in the Data (default) directory; they stay there until you 
delete them. 
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>Alternatively you could use the Osaka plugin and create tables with your 
custom data, these tables are also stored on your hard disk and can be 
read/written to at will.
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>Since your data is probably updated each day you will have to recalculate 
you custom arrays daily. However, you could work around this by using 
inline composite creation - but this has other 
complications.
 
<FONT face=Arial color=#0000ff 
size=2>The only drawback with composites is that you cannot do everything 
 on them like 
you can with price arrays, for example you cannot create a composite based on 
composites, you cannot run your backtester on composites, you cannot display 
standard charts on composites, etc. This is a serious limitation however I get 
around that by omitting (against the AB rules) the leading "~" of composites 
names. I have only tried this a few times so you have to experiment to see 
whether all I am saying in this paragraph is correct - experimentation is what 
makes you really get the most out of AB.
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>take care and good luck,
<FONT face=Arial color=#0000ff 
size=2>herman.

  <FONT face=Tahoma 
  size=2>-----Original Message-----From: BillBarack 
  [mailto:wbarack@xxxxxxxxxxx]Sent: November 30, 2003 8:44 
  PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
  Writing Arrays to the DatabaseAll,Let me try 
  asking again. I calculate several arrays in a custom indicator that I 
  want to makea watchlist out of so I can do Automatic Analysis on them and 
  use the results screen to display multiple variables. Can I dothis by 
  writing the arrays to the local database? Or do I have to do the time 
  consuming calculations in the AA window itself?If this isn't a good 
  approach, can anyone suggest other approaches that I might 
  take?ThanksBillSend 
  BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor












Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.