Exlude certain countries

How do I exclude companies based in certain countries? Like China.

Thanks
Tony

Hey Tony, you can try this:
country(“chn”)=false

by the way I exclude china in every system I am trading, the backtest is almost always better.
China ADRs are mostly not so hot :slight_smile:

Judge, what other countries do you exclude?

How would you use country codes in an RS. When I try this I get an error.

***** EDIT ****
I found the problem. You have to use double quotes, not single quotes.

Next question, is this the best way to use Country status in an RS?


Personally, I think it is.