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

Re: [amibroker] Re: Code needed to always include a certain ticker in Explore ???



PureBytes Links

Trading Reference Links



by using the filter = 1 you're only going to get the tickers that are in the watchlist - AB will only read from that list.
 
Option 1. Use the watchlist and after the last ticker use the foreign on a line by its self. I don't know if this will actually work.  You'll have to figure out a way to detect that the last ticker in the watch list had been read by using the "Status" function.
 
Option 2. Process the updated ticker list in a loop like you've done before.  When doing this don't use the filter and watchlist - just current ticker.
 
d

On Mon, Jun 8, 2009 at 5:13 PM, gmorlosky <gmorlosky@xxxxxxxxx> 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@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@xxx> wrote:
>
> TRY:
>
> tickerlist=tickerlist and foreign("^GSPC","C");
>
>
>   ----- Original Message -----
>   From: gmorlosky
>   To: amibroker@xxxxxxxxxxxxxxx
>   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@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@> wrote:
>   >
>   > you probably do something like:
>   >
>   > InWatchList( listno ) and "your ticker here";
>   >
>   > Anthony
>   > ----- Original Message -----
>   > From: gmorlosky
>   > To: amibroker@xxxxxxxxxxxxxxx
>   > 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.
>   >
>




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

**** 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/




__._,_.___


**** 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/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___