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

[amibroker] Re: script to add to watchlists



PureBytes Links

Trading Reference Links

--- In amibroker@xxxxxxxxxxxxxxx, "murthysuresh" <money@xxx> wrote:
>
> [... removed]
> 
> Thanks for your response. It works for me now. What is the syntax to
> remove a symbol from watchlist using a script. Is there one?
> 
> Thanks in advance.
> 
> Seede
>

This should work:
if (watchlist <= 32)
        oAT.WatchListBits &= ~(1 << watchlist);
else
        oAT.WatchListBits2  &= ~(1 << ( watchlist - 32 ));



Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.20/664 - Release Date: 2/2/2007 3:42 PM