PureBytes Links
Trading Reference Links
|
Sounds like you are confusing the execution of your code with the AmiBroker engine that is doing the executing.
You created a local variable in your AFL and added some additional characters to the end of that string. That has no bearing on the state of your AmiBroker installation (i.e. the definition of the watchlists) which is what is being manipulated by the AmiBroker engine.
I seem to recall reading a posting by bruce1r where he dynamically added symbols to a watchlist during the execution of a script. You can try doing a search for that. Or, you can just try yourself by experimenting with the CategoryAddSymbol.
Since you don't seem to want to include the symbol in the watchlist, you would need to remove the symbol upon evaluation of the last symbol in the list.
Mike
--- In amibroker@xxxxxxxxxxxxxxx, "gmorlosky" <gmorlosky@xxx> wrote:
>
> What format is a tickerlist (watchlist, favorites, industry, whatever)in ?
> Since it is acceptable to add to strings;
> z = "x" + "y"; // correct, concatenation of strings is OK
>
> I need to add a ticker to any tickerlist selected by my exsiting code of:
> Tickerlist = CategoryGetSymbols( Tickercategory, ListNum ); // existing
> Tickerlist = Tickerlist + ",^GSPC"; // not working
>
------------------------------------
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
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/
|