How to make ProOrder only trade between set times

Forums ProRealTime English forum ProOrder support How to make ProOrder only trade between set times

Viewing 3 posts - 1 through 3 (of 3 total)
  • #58955

    Hi, quick question, how can I get my code to only trade between certain hours of the day? I’d like my system to start trading at 9am then stop at 15pm. I have tried to use the ‘CurrentTime’ example listed in the ProRealTime Documentation but when I copy paste the code into my code it doesn’t work, I get a red line under ‘Return’.

    Here’s my code;

    Thanks in advance

    #58958

    You don’t need Return and you are not using WakeUp in your code?

    Try this

    https://www.prorealcode.com/documentation/flatafter/

     

    1 user thanked author for this post.
    #58959

    Hi, Thanks for the help but I figured it out.

    I’ll delete this post now to avoid any confusion.

     

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

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