|
Haven't followed the posts but I presume you want to compare the
1200+ BBs against some trigger point. You could perform an analysis to determine
the chance of a price, given its value 5 or more minutes before the end of day,
hitting your target price and remove those unlikely to hit from you ticker
list. This might eliminate 30-50% or more of the candidates. Next you might
check how many are already past your trigger price, and perform a similar
analysis, this would further reduce you list. As you get closer to the end of
the day you would refine you criteria so that during the last few minutes you
may only have a few stocks left to scan. When doing this you should use max zoom
to minimize array calculation time. I assume you work through an indicator
formula. I have no experience using the AA for this kind of thing however the
same approach should work - if your data source allows you to access 1200
tickers in RT...
You
may also be able to reduce calculation time by splitting the BB into a separate
upper and lower formula as part of the zeroing-in EOD procedure. Looks like you
have to use the SetForeign() which is very slow.... you may want to look for and
consider other alternatives.
herman
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
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- RE: [amibroker] Re: Automatic trading based on closing... Herman
- [amibroker] Re: Automatic trading based on closin... soundscribe_studios
