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

[amibroker] AA Exploration & CategoryAddSymbol()



PureBytes Links

Trading Reference Links


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






------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/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/