Code for Ranking found stocks

Forums ProRealTime English forum ProScreener support Code for Ranking found stocks

  • This topic has 1 reply, 2 voices, and was last updated 1 year ago by avatarJS.
Viewing 2 posts - 1 through 2 (of 2 total)
  • #222644

    Hi,

    I was wondering if there is any code for ranking stocks by a technical indicator which are found by a PRT screener.

    The default ranking is possible, but it is not possible to let a screener rank by indicator.

    I came to the idea by the Stockcharts code RANK BY[ROC(5)].

    This line of code automaticly ranked hundreds of stocks filtered on the five days ROC indicator.

    Hope there is a possibility

    Thank you

    Best regards,

    Marcel

    #222647
    JS

    Hi Marcel,

    You can use “Sorting Criteria” in PRT…

    Screener[Conditions](Sorting Criteria)

    In this case: Screener[C1](ROC[5](Close)

    You can then sort all outcomes by the “ROC[5](Close)” criterion…

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

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