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

[amibroker] Re: CategoryGetSymbols doesn't accept a string as first parameter



PureBytes Links

Trading Reference Links

that's correct.

the folowing code is working:

Period = Param("Period", 10, 1, 500, 1);
Universe1 = Param("Universe Category", 1, 0, 6, 1);
Universe2 = Param("Universe Index", 0, 0, 255, 1);

thx

p

--- In amibroker@xxxxxxxxxxxxxxx, "Joe Landry" <jelandry@xxx> wrote:
>
> These reserved words resolve into numbers  e.g. categorywatchlist   
~ 4   categorygroup ~ 1 
> 
> So maybe param instead of parmlist? 
> 
> HTH
> Joe 
> 
> 
>   ----- Original Message ----- 
>   From: Paolo Cavatore 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Thursday, November 13, 2008 6:05 AM
>   Subject: [amibroker] CategoryGetSymbols doesn't accept a string 
as first parameter
> 
> 
>   I'd like to be able to choose my symbols universe with parameters 
but 
>   CategoryGetSymbols function doesn't accept a string as first 
parameter 
>   (see code below).
> 
>   Universe1 = ParamList("Universe 
>   
Category", "categoryMarket|categoryGroup|categorySector|categoryIndust
ry
>   |categoryWatchlist|categoryFavorite|categoryIndex", 1);
>   Universe2 = Param("Universe Index", 0, 0, 255, 1);
>   list = CategoryGetSymbols(Universe1, Universe2);
> 
>   Any suggestions?
> 
>   regards,
> 
>   paolo
>



------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL 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/