PureBytes Links
Trading Reference Links
|
Bromba,
thanks a lot.
Al
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
bromba
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Sunday, November 30, 2003 3:17
PM
Subject: Re: [amibroker] Export help --
suplement
hello,I've seen around some posts considering
errors in quotations when using export.js file. I don't know if any
solution has ever been posted.it is at least problem where one of OHLC
values is an integer. I couldn't verify other errors because this is the
only error I get.in function FormatFloat(number) just change the
following line:return str.substring( 0, str.indexOf(".") + 4
);toreturn
str.substring(0,((str.indexOf(".")==-1)?1:0)+str.indexOf(".")+4);indexOf()
function returns position of "." if there is any ".", otherwise it returns
-1. hence the problem with integers without ".": -1 + 4 = 3 and numbers
are cut by 1.here are some results before (incorrect value
655)INDU,1997-4-8,111500,655,6551.38,6546.09,6546.09,19and after
(correct value
6551)INDU,1997-4-8,111500,6551,6551.38,6546.09,6546.09,19maybe
someone will find this info useful,cheers,BMSend
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
ADVERTISEMENT
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.
|