Calculating Win Rate
-
I'm trying to create an EA for back testing that exports results to an excel file once it finishes running. One of the things I want it to measure is win rate. I see that under trade statistics I can get number of trades, number of longs, number of shorts, but not number of wins, number of losses or win percentage. Does anyone know how I could have the EA get those figures?
-
@bpinon You will need to create as many variables as those required parameters and then calculate them via 'For each closed trade' block.
-
Thank you, I figured that may be the solution but wanted to check before going that route!
-
@bpinon You can create a first draft of it and share it here for review. I'll be happy to take a look at it.