It would be great if one of the more experienced coders out there lent me a helping hand.
I have finally managed to put together a screener all by myself. The only thing that I cannot figure out is how to customize the output. Say this is my last line:
I want the screener to display in the output/screener list a column with the word
– “long” when the first argument is valid, i. e. “c1 AND c2 AND c3… and c12”
– “short” when the second argument is valid, i. e. “c6 AND c7 AND c8…and c12”
Thank you so much for the quick reply! Where would I add the variable – if I put it in the code before the Screener output, the “sort” apparently creates an error message.