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

[amibroker] Indicator Problem



PureBytes Links

Trading Reference Links

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

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