Stop daily trade function

Forums ProRealTime English forum ProOrder support Stop daily trade function

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

    Please help, the back test working , but not working on demo trade.

    When doing back test, I can graph count and checked that when count = 3 then it stop trading for whole remaining day. However, I cannot graph “count” during demo trade and check it why the trade is not stopped.

    I use this function to stop whole remaining day trading if stop lost 3 times.

     

    #191935

    It’s very rare that a loss is exactly 800 currency units, I suggest that you replace line 5 with:

     

    #191940

    Any suggested code for counting number of stop loss? I just wanna to stop remaining day trading when stop loss up to 3 times.

    As I set stop loss at -800 currency unit, it is work in the back test result.

    #191950

    You can use this, without any constant value:

    #191977
    JS

    Hi @jackjour,

    Try this:

     

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