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

[amibroker] Re: Find RSI of a Specific Ticker ?



PureBytes Links

Trading Reference Links

Removing the the 'SetForeign' functions
eliminates the alternate RSI values
in the explorations.
Ara, thanks for considering this.


--- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@xxx> wrote:
>
> Can't say what is wrong.
> 
> I do not have ZNZ7 and ZTZ7 to test. I did test with 2 stocks and 
they wirk 
> fine ( as yours).
> 
> The structure of the exploration seems "different". I don't think 
you need 
> the SetForeign functions.
> 
> Since the explotation will look at all tickers in your watchlist 
and print 
> out those that meet your filter criteria, it seem you can simplify 
the code 
> as below:
> 
> RSI_Ticker = RSI(14);
> 
> Ticker1 = "IBM";
> 
> Ticker2 = "AA";
> 
> Filter = Name()== Ticker1 OR Name()== Ticker2;
> 
> AddColumn(RSI_Ticker,"RSI");
> 
> ----- Original Message ----- 
> From: "directaim" <directaim@xxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Friday, August 17, 2007 8:45 AM
> Subject: [amibroker] Find RSI of a Specific Ticker ?
> 
> 
> >I would like to compare the RSI of specific tickers.
> >
> > I am using:
> >
> > SetForeign("ZNZ7");
> > RSI_ZNZ7= RSI(14);
> > RestorePriceArrays();
> >
> > SetForeign("ZTZ7");
> > RSI_ZTZ7= RSI(14);
> > RestorePriceArrays();
> >
> > But when I Explore
> > results show values of RSI_ZTZ7 the same    for both tickers
> > in all cases;
> > results show values of RSI_ZNZ7 *different*  for both tickers
> > in all cases.
> > Eg.
> >
> > Ticker Date/Time        RSI_ZNZ7    RSI_ZTZ7
> > ZNZ7  10/25/06 8:20:00 AM 39.98      35.83
> > ZTZ7  10/25/06 8:20:00 AM 37.17      35.83
> >
> > What is the proper code
> > to find and hold
> > the fixed value of the first ticker ?
> >
> > Thank you,
> > directaim
> >
> >
> >
> >
> > 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 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
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>




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