If one wished to screen a universe of stocks based on the SQLAlchemy morningstar query method, but combine an additional filter that involved a custom computation (for example ATR) on which to screen stocks further, how might this be implemented? Is there an order of operation regarding these two different methods of filtering a universe of stocks? Thanks for any feedback