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

[amibroker] Re: DBCAPI.DLL version 75 or greater.?



PureBytes Links

Trading Reference Links

Try adding 

#pragma nocache

to empty the cache, it may work.

Cheers,
Graham
http://e-wire.net.au/~eb_kavan/

-----Original Message-----
From: wecus [mailto:member@xxxxxxxx] 
Sent: Friday, May 21, 2004 8:52 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] How to control behaviour of Paramstr() ?

For relative comparison of two stocks I use this code to set up a 
default:

if (GroupID() == 6 OR GroupID() == 7 ) 
    CompareTickerDefault = "^GDAXI";
else
    CompareTickerDefault = "^IXIC";

then I set the variable to be processed later using paramstr():

CompareTicker = ParamStr( "Compare "+Name()+" 
with:",CompareTickerDefault);

This way an individual variable get's initialized for each stock (as 
can be watched by pressing CTRL-R) as I cycle through my database. To 
get around this I tried dropping the 'name()': 

CompareTicker = ParamStr( "Compare with:",CompareTickerDefault);

Unfortunately this doesn't refresh as it should, it looks like 
CompareTicker is evaluated only once and then cached from there on. 
Is there a way to tell AB to flush the cache or delete the variable 
every time I select a new stock?

TIA
Andreas




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 
Yahoo! Groups Links



 



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 
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:
     http://docs.yahoo.com/info/terms/