Thanks, but not really what I want to do.
--- In amibroker@yahoogroups.com, "tipequity" <l3...@...> wrote:
>
> if your tradeables are in watchlist 4 and ^GSPC in watchlist 5, try
> filter = inwatchlist(4) or inwatchlist(5)
>
> --- In amibroker@yahoogroups.com, "gmorlosky" <gmorlosky@> wrote:
> >
> > Here is the code I'm trying to get to work.
> >
> > Tickerlist = CategoryGetSymbols( categoryWatchlist,InWatchList(4) );
> > Tickerlist = Tickerlist + ",^GSPC"; // ^GSPC not in Explore ???
> > //tickerlist=tickerlist AND Foreign("^GSPC","C");// AND errors
> > //tickerlist=tickerlist + Foreign("^GSPC","C"); // ^GSPC not in Explore ???
> > Filter = 1;
> > AddColumn ( C, "Close",1.2,colorDefault,colorDefault,50 );
> >
> >
> >
> > --- In amibroker@yahoogroups.com, "gmorlosky" <gmorlosky@> wrote:
> > >
> > > My test is simply to set my Filter = 1; (at the bottom of the code to
> > > include all tickers in the output). I get all the watchlist tickers, but,
> > > not the additional ^GSPC ticker....
> > > Tried:
> > >
> > > Tickerlist = Tickerlist + ",^GSPC"; // no results (included comma)
> > > tickerlist=tickerlist AND Foreign("^GSPC","C"); // AND errors
> > > tickerlist=tickerlist + Foreign("^GSPC","C"); // no results
> > >
> > > Any more ideas and what is a skew ?
> > >
> > >
> > >
> > >
> > >
> > > --- In amibroker@yahoogroups.com, "Anthony Faragasso" <ajf1111@> wrote:
> > > >
> > > > TRY:
> > > >
> > > > tickerlist=tickerlist and foreign("^GSPC","C");
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: gmorlosky
> > > > To: amibroker@yahoogroups.com
> > > > Sent: Monday, June 08, 2009 3:40 PM
> > > > Subject: [amibroker] Re: Code needed to always include a certain
> > > > ticker in Explore ???
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > I have used Foreign for plotting, but I don't want to manually add it
> > > > for each column.
> > > > I like the idea of an addon to the ticker list. I tried:
> > > > Tickerlist = CategoryGetSymbols( Tickercategory, ListNum );//
> > > > existing code
> > > > Tickerlist = Tickerlist + "^GSPC"; // new code
> > > >
> > > > but still not picking up on the extra ticker of ^GSPC (S&P500).
> > > >
> > > > Any other ideas on properly concatenating a ticker to a list of
> > > > tickers ???
> > > >
> > > > --- In amibroker@yahoogroups.com, "Anthony Faragasso" <ajf1111@>
> > > > wrote:
> > > > >
> > > > > you probably do something like:
> > > > >
> > > > > InWatchList( listno ) and "your ticker here";
> > > > >
> > > > > Anthony
> > > > > ----- Original Message -----
> > > > > From: gmorlosky
> > > > > To: amibroker@yahoogroups.com
> > > > > Sent: Monday, June 08, 2009 3:08 PM
> > > > > Subject: [amibroker] Code needed to always include a certain ticker
> > > > in Explore ???
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > I would like to have a certain ticker (S&P500) always included as
> > > > one of the tickers in the Explore. For example, I choose my watchlist
> > > > that has ETFs only, BUT I want the explore to also have the S&P500
> > > > ticker info, for relevance.
> > > > > I want to have the reference in the code, not include the S&P500
> > > > ticker in the watchlist.
> > > > > Thanks.
> > > > >
> > > >
> > >
> >
>