for(int i=0; i< task.ScreenResults.Length;i++)
string symbol = task.ScreenResults[i].Symbol;
The above example allows you to get a list of symbols that meet the screen criteria. The second instruction ("while") is used to wait until the screen work is completed. Once the work is done, we loop thought screen results and extract the symbol name from each result.
You can also get symbols from a watchlist by executing the following code: