Screening performance since 1th day of year

Forums ProRealTime English forum ProScreener support Screening performance since 1th day of year

Viewing 13 posts - 1 through 13 (of 13 total)
  • #6591

    Hi.

    Is there a way to create a screener that ishows performance since 01.01?

    Thanks.

    Andrea

    #6602

    Hi,

    Because ProScreener has a limitation of 254 bars lookback, I coded this little indicator to compute the performance of an instrument since the first day of the year.

    You can include this one in your ProScreener with a CALL instruction or copy/paste the code in it and get the “varmax” variable to achieve what you want to do. Hope it helps.

     

    #6938

    Hi Nicholas.

    Thanks for your help.

    The indicator calculates the max year performance since start of the year.

    You code is really helpfull, i use it:

    And i have performancesincestartofyear indicator.

    Then, i try to create the screener.

    But it doesn’t work. It gives nothing.

    Can you help please?

    Thanks.

    Andrea

     

     

    #6955

    Hi Andrea,

    This code will solve your issue I believe, I haven’t test it:

     

    #6958

    Great Nicholas!

    Thank you!

    #6959

    Mhh sorry

    It give me close but i want to have perf in the screener.

     

     

    #6962

    I try this but don’t work.

     

     

    #6981

    The screener is really screening ‘perf’ variable. But the list is populated with the actual close only.

    Change the last line with this :

     

    #7005

    It doesn’t work!

    #7020

    I know why.. Because sometimes start=0 it creates a ‘division by zero’ error in ProScreener and then it stops and don’t give any results.

    Here is the fixed code:

     

    #7023

     

    Ok thanks!

    #7060

    It’s all right!

    #10347

    The right code is:

     

    Previuos code don’t calculate first day of year.

    I write it if someone need it.

    Andrea

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

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