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

Re: [amibroker] AA Exploration & CategoryAddSymbol()



PureBytes Links

Trading Reference Links

It works ok for me
If you wanted to empty the watchlist first instead of adding more
symbols to it every time use this before the categoryadd lines

CategoryRemoveSymbol( "", categoryWatchlist, 61 );


On 4/19/05, Lesmond V <ebsn247@xxxxxxxx> wrote:
> 
> 
> Graham, thanks for your suggestions.
> 
> Here is the test code that adds all symbols from exploration list to
> Watch List #61. When I was experimenting with it at some point I got
> error messages about the need to use Boolean characters so I'm not
> sure if the formula is correct (although it works). The code is
> executed from AA window with "Explore" button.
> 
> Filter = C >= 0.25 AND C <= 0.35;
> 
> SetOption("NoDefaultColumns", True);
> AddTextColumn(Name(), "Ticker");
> AddColumn(Volume, "Volume", 1.0);
> AddColumn(Close, "Close", 1.3);
> AddTextColumn(Date(), "Date");
> 
> if( LastValue(C) >= 0.25 AND LastValue(C) <= 0.35 )
> {
>  CategoryAddSymbol( "", categoryWatchlist, 61 );
> }
> 
> Lesmond
> 
> 
> 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 other support material please check also:
> http://www.amibroker.com/support.html
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

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