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

[amibroker] Re: Export to Metastock format



PureBytes Links

Trading Reference Links

Yuki,

"Rounding" in Metastock database comes from the fact that all numbers
(including volume) in Metastock format are stored in 32 bit IEEE single precision
floating point format which resultion is limited to 7 significant digits.
So this is not really a downloader problem but rather Metastock format limitation.

AB keeps volume number in 32 bit integer field and hence it can store positive
numbers upto 2,147,483,648 with full precision (it can not however
store numbers higher than that, so either way there are advantages and disadvantages)

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Yuki Taga" <yukitaga@xxxxxxxxxxxxx>
To: "Graham" <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, February 02, 2004 2:18 PM
Subject: Re: [amibroker] Re: Export to Metastock format


> Hi Graham,
> 
> Monday, February 2, 2004, 8:22:44 PM, you wrote:
> 
> G> Not directly to MS only through exporting as csv files, I would
> G> love to be able to fully control the MS database from within AB.
> 
> Another vote for that here, Tomasz.  The Downloader has a math
> problem anyway.  Fortunately, it is only for very large numbers, but
> it's not good.  For large numbers (say 8 or 9 digits) it periodically
> rounds up.  Apparently it holds some fractional value (I am not a
> programmer, remember) ^^_^^ then unloads it eventually.
> 
> So, 109,100,000 typed into the DL, gets stored as either 109,100,016
> or 109,099,084.  It's a small thing, but very annoying.  I would love
> the ability to write to the MS database so that I could correct these
> errors.
> 
> Yuki
> 
> 
> 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/ 
> 
> 
> 

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 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
---------------------------------------------------------------------~->

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/