Screener Output Argument

Forums ProRealTime English forum ProScreener support Screener Output Argument

Viewing 4 posts - 1 through 4 (of 4 total)
  • #10451

    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”

    Could anyone tell me how I need to modify this?

    Thanks so much!

    #10453

    The best you can do is to setup a variable with your long or short conditions, like this:

    It’s not possible to make string variable, so the result of sort would “1” for long and “-1” for short.

    Now for your screener display, you should write it like this :

    Of course this is an example and you should adapt it to your screener already coded conditions. Please let us know if it’s ok for you.

     

    #10455

    Nicolas,

    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.

     

    #10458

    and what is the error message you have?

Viewing 4 posts - 1 through 4 (of 4 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login