you would need to place it within a loop if you want to do this for range of bars, although I am not certain how it would go with a dynamiccally changing watchlist You would be better to just add this condition to your trade signals to ensure that is ignored for that symbol
-- Cheers Graham AB-Write >< Professional AFL Writing Service Yes, I write AFL code to your requirements http://www.aflwriting.com On 17/01/07, Yuki Taga <[EMAIL PROTECTED]> wrote: > Hi Graham, > > Wednesday, January 17, 2007, 10:30:14 AM, you wrote: > > G> if you are only considering the lastvalue of the chart then this > G> should work, almost straight example from help file > > G> if( lastvalue( Open < MyCond ) ) CategoryRemoveSymbol( "", > G> categoryWatchlist, 1 ); > > It would not necessarily be the last value, however. I would be > working on a 1-minute database, and looking at Opens that would > almost surely not be the "last value" by the time that I ran the > exploration. > > I'm curious as to the value of "last value" in what I want to do. Is > there some reason I need to have that in the conditional statement at > all? > > In other words, could it not be: > > if(Open < MyCond) ... > > Yuki > > > > 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 > > Yahoo! Groups Links > > > >
