Screening criteria

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #179574 quote
    montelamontela
    Participant
    Junior

    Hi,

    I need to use a criteria for a screening (I see on forum you can use only one criteria) but can’t make it work.

    C1 = a = 1
    C2 = b = 1
    C3 = c = 0

    SCREENER[c1 AND c2 AND c3] (a as “RSI5”)

    I need to put multiple values in my screening something like SCREENER[c1 AND c2 AND c3] (a and b and c as “RSI5”).

    If someone with experience can give me hint, it will be a big help.

    Thanks,

    Ionut

    #179575 quote
    montelamontela
    Participant
    Junior

    I don’t need it like a criteria, to sort something, I need it more like a dashboard.

    #179578 quote
    NicolasNicolas
    Keymaster
    Legend

    The value of the sorting criteria will be a unique value and not separated.

    The only way to deal with 3 boolean values would be to multiply the first 2 ones, example:

    if a is equal to 1 and b equal to 1 and c equal to 0, the sorting critera could be wrote as : 110

    so in this case, just code it this way:

    criteria = a*100 + b*10 + c
    SCREENER[c1 AND c2 AND c3] (criteria as “RSI5”).

    not tested!

    #179584 quote
    montelamontela
    Participant
    Junior

    Thank you! It’s working, the only problem is if I use more criteria I received a format like this: 1,111k. There is a solution to change this?

    Thanks,

    #179589 quote
    NicolasNicolas
    Keymaster
    Legend

    No sorry.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Screening criteria


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
montela @montela Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by NicolasNicolas
4 years, 11 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 10/13/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...