Z-Score to improve strategies

Forums ProRealTime English forum ProOrder support Z-Score to improve strategies

  • This topic has 18 replies, 6 voices, and was last updated 1 month ago by avatarBrad.

Tagged: ,

Viewing 4 posts - 16 through 19 (of 19 total)
  • #226788

    You only have to run the code when the strategy is ON (I set a simple condition to set the strategy ON and OFF based on a 10-bar consecutive negative score, then resuming trading after a 10-bar pause):

     

     

    #230045

    Hi Traders

    Thanks for these codes, Roberto

     

    I was looking to create a code that misses a trade after a losing trade. Using/coping the above codes, I was able to come up with this:

    Can someone please check this code for anything I have missed? I might also have lines that are not needed that I am not aware of.

     

    Regards

    Brad

    #230291

    There you go:

    1 user thanked author for this post.
    #230311

    Thanks, Roberto

     

    That’s a significant change! Back to the drawing board for me.

     

    Regards

    Brad

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

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