Can this be a TRIN AFL for other exchanges (other than NYSE) ? Please Suggest

AddToComposite(C>Ref(C,-1),"~Advances","X");
AddToComposite(C<Ref(C,-1),"~Declines","X");
AddToComposite(C==Ref(C,-1),"~NoChange","X");
Buy = 0;
AA = Foreign("~Advances", "C");
AB = Foreign("~Declines", "C");
AD = AA / AB;
AddToComposite(Volume>Ref(Volume,-1),"AdvancesV","X");
AddToComposite(Volume<Ref(Volume,-1),"DeclinesV","X");
AddToComposite(Volume==Ref(Volume,-1),"NoChangeV","X");
Buy = 0;
AAV = Foreign("AdvancesV", "C");
ABV = Foreign("DeclinesV", "C");
ADVol = AAV / ABV;
NSETRIN = AD / ADVol;
Plot(NSETRIN, "TRINTRIN", colorWhite, styleLine);