find stock who rise x % every year since last x years

Forums ProRealTime English forum ProScreener support find stock who rise x % every year since last x years

Viewing 7 posts - 1 through 7 (of 7 total)
  • #134861

    Hello,

    i’m trying to code a screener which finds stock who rise x consequent years for y % per year.

    i cannot seem to find the right way. one way could be to compare week 0 with week 52, then week 52 with week 104, then week 104 with week 156 etc. but that limits me because the max of Close is 254? How to get passed this limit? Can you do something with month or year?

    Other thing is that i could compare the first Close of a year with the last close of a year, but how to get that?

    my code for now is like this:

     

    #134863

    No, ProScreener does not support MONTHLY and YEARLY TF’s.

    So 254 weeks is the maximun lookback period you can have.

     

     

    #134866

    and is there any other possibility?

    #134867

    No.

    #134927

    Other thing is that i could compare the first Close of a year with the last close of a year, but how to get that?

    Does your code above work?

    If No, then can’t you do something with barindex using 1 52 104 156 208 254 to check for x% rise each year over a 5 year period?

    Doesn’t have to be exactly 5 years / 260 weeks?

    #134979

    can you help me how the barindex could be of any help?

    how can i calculate and show % raise on 0 52 104 156 208 260 etc?

    #135029

    Needs coding but to give x% change over 5 years …

    (Close at barindex 254 + x%*Close at barindex 0) >= (Close at barindex 0)

Viewing 7 posts - 1 through 7 (of 7 total)

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