Quit trading Strat – on same day

Forums ProRealTime English forum ProOrder support Quit trading Strat – on same day

Viewing 2 posts - 1 through 2 (of 2 total)
  • #158153

    Hi All

    I’ve been using this code to quit trading from the forum (thank you!), but figured it would be “even better”, if it could be adjusted so it only quits for trades lost in succession on the same day/period. I’m less worried about losses over multiple days as “stuff happens”, but on the same day its usually not going to be good for my algo!

    I had a go with using Today, but couldnt figure out how to work out what the day was 🙁

     

     

    I’m hopeful one of you Pro’s can help 🙂

    Thanks!

    #158163

    Haha, im an idtiot, was pretty simple in the end 🙂

    just changed line 3, idk if this is the best way, but it did what I wanted, also open to smarter ideas, or ideas where we can define more specific periods . thanks!

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

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