ProScreener and business day

Forums ProRealTime English forum ProScreener support ProScreener and business day

Viewing 9 posts - 1 through 9 (of 9 total)
  • #77664

    Hi,

    I’m using the ProScreener, which calls my indicator with CALL.

    However, I need the ProScreener to CALL my indication only on business days.

    For example, if I refresh the ProScreener today, it will use the data from TODAY, but my indicator works only on business days, and because of that, my indicator returns 0 on the screener, but on the graph, it appears only on business days (as expected).

     

    1. Is there an option to force ProScreener to call my indicator on the last business day, and not today?
    2. If 1 is not possible, can I return values from my indicator that the ProScreener will ignore and proceed to the previous day? (until it reaches the last business day).

    Thanks

    #77666

    Welcome to the forums. I see that this is your first post, Please try to post in the correct forum section. Your question is ProScreener related so I have moved it to that forum. You posted in the Platform Support forum which is for PRT platform issues and is a forum monitored by PRT to help solve any platform issues.

    #77678

    In your ProScreener code, you could add a new variable that only populate if the result of your CALL is 1, that way you always have the last value stored in it.

    #77721

    Thank you for your response, this is what I tried but it still doesn’t work:

     

    #77726

    Difficult to help more without the whole code, but give a try with:

     

     

    #77736

    Hi,

    Thank you for your replies,

    It did help me a bit, but I decided to change my indicator to work differently, in order to solve this problem.

    I did encounter an unexpected behavior, which I suspect is a bug.

    Create an indicator with this code:

    For some reason, this code generates 2 totally different graphs: https://monosnap.com/file/D3Rwxxq7h5fdmjqsXGcw4OUMeXyk4O

    I need to be able to specify the index for high with a variable, but to have the exact same effect as if I wrote a literal number.

     

    Thanks!

    #77744

    You are right, something did not go well here, I suspect the DPO calculation as it is made with future datas that are obviously not present in real time (it will not give the same value in real time than if you reload the chart later).

    BTW, I’ll report this strange behavior to PRT team, using a variable for the period should not behaves differently.

    PS: Please next time embed your picture directly into the forum with the attachment tool, thank you.

    #77761

    Great!

    Thank you, waiting for your update.

    #79855

    I had news about this issue. It’s been fixed and be part of the next update of the platform.

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

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