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’.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.