I order to code some breadth indicators I need the Advance and Decline line. But I have the doubt of which tickers (from IQFeed) I should take since I have found some of them very similar.
For instance, when I have coded the McClellan indicator, I get very different results if I take “IINA.Z” (NYSE ISSUES ADVANCES) and “IIND.Z” (NYSE ISSUES DECLINES) instead “IIAA.Z” (NYSE MKT ISSUES ADVANCES) and “IIAD.Z” (NYSE MKT ISSUES DECLINES)
//MCCLELLAN
UpNYSE = Foreign("IINA.Z", "Close"); // UpNYSE = Foreign("IIAA.Z", "Close");
DownNYSE = Foreign("IIND.Z", "Close"); // DownNYSE = Foreign("IIAD.Z", "Close");
NetNYSE = UpNYSE - DownNYSE;
Maclellan = EMA(NetNYSE, 19)-EMA(NetNYSE, 39);
Plot(Maclellan , "McClellan NYSE", colorBlue, styleLine+styleThick);
Plot(-100, "Lower band", colorGreen, styleLine+styleDashed);
Plot(100, "Upper band", colorRed, styleLine+styleDashed);
As you can check, the result is completily different depending on the ticker you chose.
Anybody knows which are the right ticker I should take?
Thank you in advance…