ProScreener and business day
Forums › ProRealTime English forum › ProScreener support › ProScreener and business day
- This topic has 8 replies, 3 voices, and was last updated 6 years ago by Nicolas.
-
-
08/06/2018 at 5:37 PM #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).
- Is there an option to force ProScreener to call my indicator on the last business day, and not today?
- 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
08/06/2018 at 9:05 PM #77666Welcome 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.
08/07/2018 at 7:08 AM #7767808/07/2018 at 2:38 PM #77721Thank you for your response, this is what I tried but it still doesn’t work:
12345678TIMEFRAME(daily)result = call "Indicator Info"if result = 1 thenresult2 = resultendifSCREENER (result2 as "Criteria")08/07/2018 at 3:04 PM #7772608/07/2018 at 8:06 PM #77736Hi,
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:
12345hl=dpo[92](high[0])i=0h2=dpo[92](high[i])return hl, h2For 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!
08/08/2018 at 8:13 AM #77744You 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.
08/08/2018 at 11:59 AM #77761Great!
Thank you, waiting for your update.
09/06/2018 at 7:40 AM #79855I 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.
-
AuthorPosts
Find exclusive trading pro-tools on