----- Original Message -----
Sent: Saturday, January 05, 2008 11:41
AM
Subject: [amibroker] Watch List Not
working. Is there any change in AB 5.03 Version?
Hi,
I'm using the following code for watch list. And I get both result (Buy and
sell) when I scan. But it is not added to watch list.
Buy = Cross(MACD(), Signal());
Sell = Cross(Signal(), MACD());
LVBSBuy = LastValue(BarsSince(Buy));
LVBSell =
LastValue(BarsSince(Sell));
if
(LVBSBuy
< LVBSell)
CategoryAddSymbol("", categoryWatchlist,
1);
else
CategoryRemoveSymbol("",
categoryWatchlist, 1);
Is there any change in AB version 5.03? for watch list.
All the best,
Mohammed
No virus found in this incoming message.
Checked by AVG Free
Edition.
Version: 7.5.516 / Virus Database: 269.17.13/1209 - Release Date:
1/4/2008 12:05 PM