Sorry I can't think of any way at the present time to specifically eliminate OTC stocks from a scan. However I did find this article announcing the separation of PINK sheet stocks in the scan engine and it indicates that they are also working on adding the same function for OTC and BB stocks, (coming in the future).
In the mean time you could use a price filter, say price greater than a penny, or 10 cents, that would eliminate many of them. I usually set the min at $1 or $5 and I catch very few. Depends on what you are looking for.
Another way is to set the stocks to "Optionable" under ticker properties in the advanced scan engine, that would eliminate virtually all OTC stocks, however you would also miss a few you might want to pick up which just don't have options as yet.
hope this gives you some ideas Quasi
I don't work for Stockcharts, I'm just another user always trying to learn more and willing to share what I've already learned. Stockcharts.com Support Forum
Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.