I guess you’d have to filter on the Markets / Instruments over which you run the Screener … select a few markets to get less than 50 hits, then do a screen shot of results, then deselect and select a new set of markets and so on?
Or add an extra criteria in the code (just for filtering purposes) which can be filter by value … mmm volume, value of MACD Line, Moving Average(500) value … so as not to exclude hits from your intended ‘binary criteria’?
Just a few thoughts
GraHal