Terry, Thanks for the suggestions....I can get there with a lot of coding but thought there may be an easier method that perhaps I was overlooking.
Thanks again for everyone's suggestions. Tom --- In [email protected], "Terry" <[EMAIL PROTECTED]> wrote: > > You could make Watchlists of your symbols and switch watchlists with > paramList. > -- > Terry > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of trb0428 > Sent: Tuesday, August 01, 2006 15:31 > To: [email protected] > Subject: [amibroker] Re: How to create choices for a parameter > > Terry, > > Thanks...but what I have in mind is being able to select or deselect, > turn on or off, any combinaton of tickers from a selection of tickers > available via parameter window for relative strength comparison for > instance. I would like to see a list of symbols and be able to > compare any two, or more, by selecting them using the paramater > window. The exact functionality that is available from the Parameter- > >Grid->Levels-> {0,10/90,20/80,30/70,50,-100,+100} menu is what I'm > looking for. I see how to toggle between two choices and how to be > presented with more than two choices using ParamList, as you point > out, but I just haven't been able to figure out how to get multiple > choices selected at the same time via the parameters??? > > Any idea if this can be done? > > Tom > > --- In [email protected], "Terry" <MagicTH@> wrote: > > > > I assume you mean something like this: > > > > if (ParamToggle("Use Open or Close prices","Open|Close",0)) > > //0 defaults to Open, 1 will default to Close > > { > > Buyprice = Close; > > } > > else > > { > > BuyPrice = Open; > > } > > //BuyPrice just used as an example of different choices to be > executed. > > > > You can then just click the parameter and it toggles between the two > > states. > > > > There is also ParamTrigger you might look up in Help. > > Finally, there is ParamList too for more than 2 choices. > > -- > > Terry > > -----Original Message----- > > From: [email protected] [mailto:[EMAIL PROTECTED] > On > > Behalf Of trb0428 > > Sent: Tuesday, August 01, 2006 09:26 > > To: [email protected] > > Subject: [amibroker] How to create choices for a parameter > > > > Does anyone know how I can create choices for a parameter that > would > > then be selectable using a check box, similar to the choices under > > Parameter->Grid->Levels-> {0,10/90,20/80,30/70,50,-100,+100}. I > would > > like to be able to define selections in this way for some of my > custom > > indicators. > > > > Thanks. > > > > > > > > > > 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 > 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: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
