Again, for those that are genuinely interested, *.afl does its calculations using single precision floating point numbers. If the orbital calculations require higher precision than that, you will need to invoke the JavaScript language which does all of its calculations in double precision.
I ran into this issue when writing the *.afl code for a least squares fit to a quadratic equation. ReefBreak --- In [email protected], "Michael.S.G." <[EMAIL PROTECTED]> wrote: > > And here we have Pi to 1 million digits. Whoooaaa. > > http://3.141592653589793238462643383279502884197169399375105820974944592.com/index1.html > > > > Fred wrote: > > > > Are you sure you have Pi defined with a sufficient number of > > signifigant digits ? > > > > --- In [email protected] <mailto:amibroker%40yahoogroups.com>, > > "Michael.S.G." <OzFalconAB@> > > wrote: > > > > > > I actually converted some code for Ara a while back. > > > > > > I've just posted it to the AFL section on the AB website for > > all to > > > ponder. > > > > > > HERE ------> http://www.amibroker.com/library/detail.php?id=681 > > <http://www.amibroker.com/library/detail.php?id=681> > > > > > > Note my comment in the comments section. > > > > > > ATB > > > Michael. > > > > > > > > > Richard Dale wrote: > > > > > > > > For anyone who is genuinely interested, Jose Silva has developed > > such > > > > an indicator for Metastock (for free) and the code is here: > > > > > > > > http://www.metastocktools.com/MetaStock/Lunar.txt > > <http://www.metastocktools.com/MetaStock/Lunar.txt> > > > > <http://www.metastocktools.com/MetaStock/Lunar.txt > > <http://www.metastocktools.com/MetaStock/Lunar.txt>> > > > > > > > > > > > > > > > > It should be pretty easily portable to AmiBroker. > > > > > > > > > > > > > > > > Best regards, > > > > Richard Dale. > > > > Norgate Investor Services > > > > - Premium quality Stock, Futures and Foreign Exchange Data for > > > > markets in Australia, Asia, Canada, Europe, UK & USA - > > > > www.premiumdata.net <http://www.premiumdata.net > > <http://www.premiumdata.net>> > > > > > > > > > > > > > > > > > > > > Messages in this topic > > > > > > <http://groups.yahoo.com/group/amibroker/message/100614;_ylc=X3oDMTM4M > > <http://groups.yahoo.com/group/amibroker/message/100614;_ylc=X3oDMTM4M> > > WE1bGVpBF9TAzk3MzU5NzE0BGdycElkAzEwMTA2OTIEZ3Jwc3BJZAMxNjAwNjMyMTk4BG1 > > zZ0lkAzEwMDY2NgRzZWMDZnRyBHNsawN2dHBjBHN0aW1lAzExNTcwODA2OTAEdHBjSWQDM > > TAwNjE0> > > > > (12) > > > > > > <http://groups.yahoo.com/group/amibroker/post;_ylc=X3oDMTJydnRlY3VsBF9 > > <http://groups.yahoo.com/group/amibroker/post;_ylc=X3oDMTJydnRlY3VsBF9> > > TAzk3MzU5NzE0BGdycElkAzEwMTA2OTIEZ3Jwc3BJZAMxNjAwNjMyMTk4BG1zZ0lkAzEwM > > DY2NgRzZWMDZnRyBHNsawNycGx5BHN0aW1lAzExNTcwODA2OTA-? > > act=reply&messageNum=100666> > > > > > > > > Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For other support material please check also: http://www.amibroker.com/support.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: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
