Trading hours

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

    Hi!

    I would like to code my system for a specific time. I want my system to only trade between 09300 – 2200 so for that  i use:

    But i also want it to pause between 1400-1600 in the middle of the day and close positions if i have any open. How do i code this?

    Thanks

    #120208

    With this code the open positions will close at those hours

    And for not starting any trade at those hours you need to add “AND NOT NOTRADE” at the conditions of your entries

    1 user thanked author for this post.
    #120212

    (not tested)

    1 user thanked author for this post.
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