Screener result – can only be a positive integer?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #122316 quote
    robdav
    Participant
    Veteran

    I think I know the answer to this question but I just wanted to confirm.

    Does a screener result/criteria have to be a positive integer or is there a way to use ASCII characters or anything like that?

    I was trying to return integers prefixed with a minus sign for a short signal and no minus sign for a buy signal but noticed I wasn’t getting any short signals, hence my question.

    Any tips on how to differentiate long v short clearly would be appreciated.

    Thanks

    Rob

    #122317 quote
    robdav
    Participant
    Veteran

    I think I know the answer to this question but I just wanted to confirm.

    Does a screener result/criteria have to be a positive integer or is there a way to use ASCII characters or anything like that?

    I was trying to return integers prefixed with a minus sign for a short signal and no minus sign for a buy signal but noticed I wasn’t getting any short signals, hence my question.

    Any tips on how to differentiate long v short clearly would be appreciated.

    Thanks

    Rob

    I think I figured out my logic problem but would still welcome any tips!

    #122325 quote
    robertogozzi
    Moderator
    Master

    ProScreener does require positive integers, you can use 1 for Long and 2 for short (or whatever else you prefer).

    PRT does not support alphanumeric data type.

    robdav thanked this post
    #122353 quote
    Nicolas
    Keymaster
    Master

    Sorting criteria doesn’t have to be a positive integer.

    For example:

    SCREENER [signal](signal AS "1=↑/-1=↓")
    robdav thanked this post
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Screener result – can only be a positive integer?


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
robdav @robdav Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by Nicolas
5 years, 11 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 03/17/2020
Status: Active
Attachments: No files
Logo Logo
Loading...