PureBytes Links
Trading Reference Links
|
You
may be using an older version, OSAKA Version 1.0.4 supports an unlimited number
of columns. Quoted from the read me.
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>herman
<FONT face=Tahoma
size=2>-----Original Message-----From: Stephane Carrasset
[mailto:s.carrasset@xxxxxxxxxxx]Sent: Sunday, June 20, 2004 1:49
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker]
Osaka plugin crash loading saved table with > 128 columns (not an AB
bug)
hello, you're right ami crashes if nb colums are
> 128,
but as osaka gives the source code, it is
possible to increase the number of colum, this plugin allows until 256
colums
stephane
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Dave Merrill
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">AmiBroker list
Sent: Saturday, June 19, 2004 5:10
PM
Subject: [amibroker] Osaka plugin crash
loading saved table with > 128 columns (not an AB bug)
I'm posting this here because I don't know how to contact
Joe Osaka, theauthor of the Osaka plugin. If anyone does, please pass
this along to him.Osaka seems like a great tool, and a fix for this
would be great.Since I'm posting this publicly, I'd also like to
make sure nobody thinks ofthis as a bug in AmiBroker. It's clearly a bug
in Osaka, an *uncertified*,*third-party* *plugin* for AB, not a problem
with AB itself.-----The Osaka release notes say that version
1.0.4 added the capacity for anunlimited number of columns; previously
there was a limit of 128. However,it appears that loading a saved table
with more than 128 columns crashes.The code below should be explored
against a smallish watchlist, say 20symbols. It creates and saves a
table while the first stock is beingprocessed, and instead of recreating
it for subsequent stocks, loads it fromdisk. The idea is that if lots of
processing was required to create thetable (unlike this simple test),
it'd only have to be done once for thewhole test run.In my
testing, if NumberOfTestColumns is more than 128, it's crash city. Ifyou
comment out the osTabLoad (and the 'else' before it), there's no
crashwith higher numbers of columns, but you can see in the exploration
resultsthat the table has no columns after the first stock, since none
were added.If anyone gets different results than this, or knows of a
later Osakarelease that fixes this problem, please let me know. I'm
using Osaka 1.0.4,AB 4.57.0 beta, Windows 2000.Dave
Merrill----------------------// CONFIGListNum = 30; //
watchlist to examine; must be list under testNumberOfTestColumns = 128;
// more than 128 crashes// FUNCTIONSfunction fListLen(List)
{ i = 0;
while(StrExtract(List, i) != "") i++;
return i;}// initTickerList =
GetCategorySymbols(categoryWatchlist, ListNum);CountTickers =
fListLen(TickerList);StockNum = Status("StockNum");FirstStock =
(StockNum == 0);// init table, make col for ea bar in
testosInitialize();table = osTabCreate();if(FirstStock)
{ for(i = 1; i <= NumberOfTestColumns;
i++) {
osTabAddColumn("test" + i, 1, table);
table);}ColCount = osTabGetColumnCount(table);Filter =
Status("LastBarInTest");;AddColumn(ColCount, "ColCount",
1.0);AddColumn(StockNum, "StockNum", 1.0);AddColumn(CountTickers,
"CountTickers", 1.0);AddColumn(table, "table", 1.0);// clean
uposTabDelete(table);Check AmiBroker web page
at:<A
href="">http://www.amibroker.com/Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
__________ NOD32 1.791 (20040618) Information
__________This message was checked by NOD32 antivirus system.<A
href="">http://www.nod32.comCheck
AmiBroker web page at:<A
href="">http://www.amibroker.com/Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|