Help about stop trading strategy

Forums ProRealTime English forum ProOrder support Help about stop trading strategy

  • This topic has 4 replies, 3 voices, and was last updated 1 year ago by avatarAmer.
Viewing 5 posts - 1 through 5 (of 5 total)
  • #211754

    Hello!

    Is it possible to program the strategy to turn off after two losses. So if there are two losses regardless of time or if these are consecutive, the strategy is closed for that particular day.

    Or if the loss is a certain amount, let’s say 50 dollars, the strategy is turned off for that particular day.
    Thanks in advance and best regards!

    #211755

    My code will use the variable TradeON to flag periods when the strategy is freezed. Each new day trading is restored to full functionality:

     

    1 user thanked author for this post.
    #211793

    Link to above code saved as Log 359 here …

    Snippet Link Library

    1 user thanked author for this post.
    #211842

    Thank you so much!

    #211843

    Thanks guys!

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

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