PureBytes Links
Trading Reference Links
|
Not to be a Fred Flintstone about it, but why not just try it? If you don't
see any difference (my bet), any difference there is is too small to matter.
Iterating megathousands of times will of course be more sensitive to small
efficiencies, so if that's what your planning test that.
Dave
> In Amibroker, which option below is best from the viewpoint of computation
> speed:
>
> a)
> (Close-LLV( Low, 15) ) / ( HHV( High, 15) - LLV( Low, 15) ) * 100 > 80
>
> or
> b)
> (Close-LLV( Low, 15) ) / ( HHV( High, 15) - LLV( Low, 15) ) * 10 > 8
>
> or
> c)
> (Close-LLV( Low, 15) ) / ( HHV( High, 15) - LLV( Low, 15) ) > 0.8
>
>
> Also, would it make sense for the same reason (computation efficiency) to
> round down all computed numbers to integers or at least make
> digit precision
> smaller. For example, 4-digit precision for indicators makes
> RSI(14)=52.1456, but I think very few people require that much precision.
> So does it make sense to keep using eg. RSI(14), or change it into eg.
> Prec( RSI(14), 1)
>
> Thank you. Best regards,
> Yarroll
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/
|