Calculating win percentage

Forums ProRealTime English forum ProOrder support Calculating win percentage

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

    Hello everyone,

    This afternoon I’ve been trying to calculate the win percentage of a strategy, with the idea being that when performance is poor a smaller position size can be taken. My graph is showing 0 or 10 rather than the expected 0-100 range. Any comments or ideas greatly appreciated!

    Leo

     

     

    #239428

    You shoukd move NEXT from line 31 to line 36, to make the code in between to be part of the iteration.

    Do not use REM as it may conflict with the keyword REMark. Use double slashes (“//”), instead.

    You are not summing up the last 10 trades, but the trades in the last 10 bars. If you are using a 1-hour TF, then you will only scan what happened in the last 10 hours.

    Arrays are needed to do what you want:

    2 users thanked author for this post.
    #239433

    ALL HAIL ROBERTO

    You legend! Thank you so much, I would never have got that.

    Leo

    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