Something I do is this, and it can be useful in many circumstances.
 

  Create a Watch List with all the symbols you want to filter. 

  Such as all Mutual Funds, and another list of all your indexes.

  Then assign a variable as follows to each filter

  mCEFfilter= InWatchListName( "CLOSED END" ); 

  You can then filter out all the CEF's easily .  Do the same with
Indexes .   You could also avoid assigning a var and just hard code
the filter, but this is more flexible.

Reply via email to