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

Re: [amibroker] Re: 'CategoryRemoveSymbol' dosn't remove symbols.



PureBytes Links

Trading Reference Links

are the old symbols included in your scan?

-- 
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com


On 05/06/07, directaim <directaim@xxxxxxxxx> wrote:
> Dingo,
>
> Thanks for considering this question.
>
> I am finding that using:
>
> CategoryRemoveSymbol("", categoryWatchlist, 1);
>
> removes symbols from List 1,
> *providing* I started with an empty watchlist
> and added symbols using:
>
> CategoryAddSymbol( "" , categoryWatchlist, 1);
>
> If I start with an old list which had prior symbols
> the old symbols are not deleted,
> tho the new symbols from an exploration
> will be added to, and deleted from, the the old remaining list
> using the above statements.
>
> directaim
>
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "dingo" <dingo@xxx> wrote:
> >
> > The numbers are 0 based I believe so check to see if another
> watchlist is
> > getting cleared.
> >
> > d
> >
> > > -----Original Message-----
> > > From: amibroker@xxxxxxxxxxxxxxx
> > > [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of directaim
> > > Sent: Monday, June 04, 2007 1:42 PM
> > > To: amibroker@xxxxxxxxxxxxxxx
> > > Subject: [amibroker] 'CategoryRemoveSymbol' dosn't remove symbols.
> > >
> > >
> > > I want to empty a watch list.
> > > But all symbols remain in List 1,
> > > wether I use at the beginning of my scan the statement:
> > >
> > > CategoryRemoveSymbol( "", categoryWatchlist, 1 );
> > >
> > > or the statements:
> > >
> > > for(i=1;i<BarCount;i++)
> > > {
> > >    CategoryRemoveSymbol( "", categoryWatchlist, 1 );
> > > }
> > >
> > > or the statements:
> > >
> > > for(i=1;i<BarCount;i++)
> > > if( LastValue( V ) > 0 )
> > > {
> > >    CategoryRemoveSymbol( "", categoryWatchlist, 1 );
> > > }
> > > .
> > >
> > > What am I doing wrong?
> > >
> > > [Note: CategoryRemoveSymbol is AFL 2.5 which my AB version does
> > > handle]
> > >
> > >
> > >
> > > 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
> > >
> > >
> > >
> > >
> >
>
>
>
>
> 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
>
>
>
>


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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/