Rank screener based on the variables

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #148275 quote
    actionjacksonactionjackson
    Participant
    Senior

    I would like to rank a securities list according to two criteria.

    Example:

    I have the two criteria

    – Return of the last three months and
    – historical vola of the last 20 days

    The ranking should be based on the formula:

    rank = 60% of return last 3 months and 40% of historical vola last 20 days

    Is there a possibility to normalise two variables with the Screener and combine them into a ranking?

    periodReturn = 63 // 63 days approx 3 month
    returnA  = ((abs(close[periodReturn]-close)/close)*100)
    
    // historic vola period
    periodVola = 20 // 20 days
    vola = HistoricVolatility[periodVola](close)
    
    // rank = 0,6 * returnA rank + 0,4 * vola rank ???
    
    SCREENER(rank as "rank")

    Thanks for your support

    #148477 quote
    NicolasNicolas
    Keymaster
    Legend

    Problem is that we can’t get the whole values for all the stocks in order to calculate a normalization function. It can only be made on a single stock.

Viewing 2 posts - 1 through 2 (of 2 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

Rank screener based on the variables


ProScreener: Market Scanners & Detection

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by NicolasNicolas
5 years, 11 months ago.

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