TOP MOVERS BETWEEN TWO SELECTED DATES (DAILY)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #134829 quote
    BeeRadBeeRad
    Participant
    New

    Hi Guys, most stock screeeners measure weekly,monthy, YTD performances.

    is there i way i can code the performance between specific dates? i.e on close of day on feb 20, 2020 to close on may-23rd. what are the top performers in % change (if i could limit market cap as well that would a bonus).

    i want to be able to use this to find the best performing stocks in a market when a particular index might be in a consolidation period. so i can select the dates i see market is in consolidation. Or mapping performance w/ index breakouts etc.

    Any help would be appreciate. total newbie to coding and this is the one tool i want to have.

    Cheers,

    B

    #135013 quote
    NicolasNicolas
    Keymaster
    Legend

    The below code should sort the stocks with their performances since “myDate” variable.

    myDate = 20200220
    
    if mydate=date then 
    price=close
    endif 
    
    perf = close-price/price*100
    
    screener(perf as "performance %")
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

TOP MOVERS BETWEEN TWO SELECTED DATES (DAILY)


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
BeeRad @beerad Participant
Summary

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

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