PureBytes Links
Trading Reference Links
|
Hi again Tomasz,
At the risk of boring you, perhaps you or someone else can help me
finalize my solution to this problem of large numbers.
I have put the following in most of my charts where I call volume in
the titles:
if (GetDatabaseName() == "US-Stocks")
Vol = V;
else
Vol = V*10;
Then I simply call Vol where I would otherwise call V, and the
(relatively) true volume number appears in the title, rather than
volume divided by 10, which is how I have the MS plug-in configured
now. I'm sure there is a more eloquent way of doing this, but this
works, and because I'm NOT dividing US stock volumes by 10 (one
cannot configure a local database this way), I need the
differentiation to avoid seeing 10 times the correct volume for US
issues.
Now, last question on this . . . I hope: ^_- (And I'm sure this
relates to my incomplete understanding of this 32-bit business
anyway.)
TOPIX volume is reported as a number like 1,701,030,000. As you know
and as we have discussed, the Downloader sometimes stores this exact
number, but sometimes rounds slightly above or below that number.
This is the precision problem.
MY problem is, I like to see all the placeholders. I'm used to them,
and I'm too old and set in my ways to change. But of course, I do
NOT need precision down to the 100s in this case. If the last 3
digits were *always* zero for these large numbers, that would be just
fine.
Interestingly (to me, anyway) the DL stored 1,701,030,000 as
1,701,030,016 on Friday. When I use the new DLL you fixed, and
divide by 10, the number that comes up in AB is 170,103,008, which
isn't exactly right of course, but I don't really care.
So, is there a way to make the DLL, or AB, simply put 3 zeros in as
placeholders for these very large numbers. IOW, 1,701,030,000 would
be just fine for me.
If this could be done, what kind of effect, if any, would it have on
lower volume stocks?
Sorry for all the questions.
Yuki
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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/
|