Run system part of day

Forums ProRealTime English forum ProOrder support Run system part of day

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

    Hello

    Great forum with a lot of info. New to automatic trading and coding so plenty to read and learn here. Have a short question:

    Testing the Cumulative RSI strategy intraday and want to test different times of day.

    How do I code if I want my system to take position between, lets say 09.00 – 12.00?

    Thanks

    Martin

     

    #5022

    Hi,

    You can try this

    if (time>090000 and time<123000) or (time>150000 and time<173000) and… then….

    As far as I know it works in your current time frame.

    Hope it can help you.

     

    #5044

    Hi Adolfo!

    Great. Thanks for quick response. Really apreciated:)

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