Screener to check condition only between specified times?

Forums ProRealTime English forum ProScreener support Screener to check condition only between specified times?

Viewing 10 posts - 1 through 10 (of 10 total)
  • #111156

    I’m trying to write a screener that checks DOpen(0) against another indicator but I only want it to evaluate the condition between a specified time, say the first 10 mins of the market open. At the moment it doesn’t seem to work.

    I have tried the above but it returns no results.

    Is what I’m trying to do possible please?

    Thanks

    Rob

    #111157

    A suggestion … test using conditions that you know will definitely return a value between those times then you can check out that the Screener worked between those times only?

    #111158

    In which timeframe please?

    #111164

    Hi Nicolas

    Daily timeframe which I guess is my problem?

    I’m trying to compare today’s open to an indicator value from two periods ago [2]

    Thanks

    Rob

    #111167

    Yes that’s the problem, because you check TIME that are not read in daily bar. You should split your conditions into different timeframe by using the TIMEFRAME instruction of ProScreener.

    1 user thanked author for this post.
    #111170

    I think I’m with you 🙂

    So I check the daily indicator value on the daily timeframe and DOpen(0) on a lesser timeframe, like an hour?

    #111171

    Forget what I said in my last post, Dopen(0) is a value that can test in any timeframe. So just use the same code that you did but on a timeframe that read the TIME you set on its bar close.

    e.g. 103000 is a time read only starting at timeframe 30 minutes (and below obviously).

    #111200

    Hi Nicolas

    I’m struggling and would appreciate some help please.

    I have coded a dummy ProOrder system with GRAPH statements similar to what is in the SCREENER. I can verify the conditions being met/correct but I cannot get the SCREENER to return any values.

    I am executing both the ProOrder system and the screener on a 1 minute chart.

    What am I doing wrong please?

    Thanks
    Rob

     

    #111204

    I get plenty of results by using the screener on a 1-hour timeframe.

    At the time I write this post, there is 337 elapsed 1-minute bars since 9 o’clock this morning, with a limitation of 254 bars in ProScreener, there is no way for your code to return something..

    1 user thanked author for this post.
    #111211

    Of course, I forgot about that limit!

    Thanks again.

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

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