| 
 PureBytes Links 
Trading Reference Links 
 | 
Try:
NYSE  = Foreign("!NYA","Close");
SPX     = Foreign("!SPX","Close");
.... same with AMEX ...
Plot(NYSE,.... )
----- Original Message ----- 
From: "b_cadvantag" <b_cadvantag@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, June 19, 2005 8:46 PM
Subject: [amibroker] Indicator Problem
> I am using Quotes Plus  for data.  I am trying to get all Indexes to
> plot on one chart (Nasdaq, NYSE, AMEX, SP 500)
> 
> I tried both these codes below
> 
> y = MarketID(1)=="NYSE";
> n = MarketID(2)=="Nasdaq";
> 
> x = MarketID(3)=="Amex";
> 
> s = MarketID(4)=="SP500";
> 
> //y = !NYA;
> //x = !XAX;
> //s = !SPX;
> //n = !COMP;
> 
> 
> 
> Plot(x,"AMEX",colorYellow,styleLine);
> Plot(s,"SP500",colorRed,styleLine);
> Plot(n,"Nasdaq",colorGreen,styleLine);
> Plot(y,"NYSE",colorBlue,styleLine);
> 
> 
> 
> What am I doing wrong??
> 
> Thanks!
> Brian
> 
> 
> 
> 
> 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:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 
 |