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

Re: [amibroker] Delayed buy/sell signals in Realtime.



PureBytes Links

Trading Reference Links

Hi John --

AmiBroker is very efficient.  If you are doing ordinary calculations on a watchlist of 150 tickers, 3 minutes is a very long time to wait for them to complete.  When in Formula Editor, pull down the menu next to the "Analysis" "!" and click "Check".  One of the things you will see is a profile showing relative execution times for the components of your system.  See if anything looks suspicious.  You might also try loading fewer tickers -- just slightly more than the number you need to have all your calculations properly initialized.

Thanks,
Howard

On Thu, Feb 21, 2008 at 6:35 AM, j_john66 <j_john66@xxxxxxxxx> wrote:

Hello,

I am trying to write AFL code to trade in realtime.

The problem I am facing is this.

I have a watchlist of around 150 stocks.

Buy/sell signals for these stocks in the watchlist get generated
using common indicators MACD and stochastics in a 5 minute
timeframe on completed bars.

I run this AFL after 10-15 minutes of market opening at regular
intervals of 5 mins. ( each pass takes around 3 to 3.5 minutes )The
system lists buy sell signals in the AA window.

what happens is, buy sell signals for some stocks which actually get
generated at a earlier time gets listed late. ie., at 12:00PM I may
get a buy sell signal for a stock to be bought /sold at 10:30 AM.

What mistake I may be doing? Have any one faced such situations ? (
the current version of amibroker is 5.05 beta).

Thanks in Advance.

John.


__._,_.___

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___