z=(1-x)*(1+y*x)
x is the max % you can risk per trade
y is how many winning trades you get per loss.
z is the value of the function.
when y=3, z will see the max at 0.34. so it means, when we can can stop loss at 34% of total portfolio if for 1 loss, we can see 3 wins, assuming win and loss sizes are the same.
y=3
x z
0.1 1.17
0.12 1.1968
0.14 1.2212
0.16 1.2432
0.18 1.2628
0.2 1.28
0.22 1.2948
0.24 1.3072
0.26 1.3172
0.28 1.3248
0.3 1.33
0.32 1.3328
0.34 1.3332
0.36 1.3312
0.38 1.3268
0.4 1.32
0.42 1.3108
0.44 1.2992
0.46 1.2852
z peaks at x=34%
y=9
x z
0.1 1.71
0.12 1.8304
0.14 1.9436
0.16 2.0496
0.18 2.1484
0.2 2.24
0.22 2.3244
0.24 2.4016
0.26 2.4716
0.28 2.5344
0.3 2.59
0.32 2.6384
0.34 2.6796
0.36 2.7136
0.38 2.7404
0.4 2.76
0.42 2.7724
0.44 2.7776
0.46 2.7756
0.48 2.7664
0.5 2.75
0.52 2.7264
0.54 2.6956
0.56 2.6576
0.58 2.6124
z peaks at x=44%
how mathmatically calculate the max value of Z? without using excel to list everything and eye pick the max value?
x is the max % you can risk per trade
y is how many winning trades you get per loss.
z is the value of the function.
when y=3, z will see the max at 0.34. so it means, when we can can stop loss at 34% of total portfolio if for 1 loss, we can see 3 wins, assuming win and loss sizes are the same.
y=3
x z
0.1 1.17
0.12 1.1968
0.14 1.2212
0.16 1.2432
0.18 1.2628
0.2 1.28
0.22 1.2948
0.24 1.3072
0.26 1.3172
0.28 1.3248
0.3 1.33
0.32 1.3328
0.34 1.3332
0.36 1.3312
0.38 1.3268
0.4 1.32
0.42 1.3108
0.44 1.2992
0.46 1.2852
z peaks at x=34%
y=9
x z
0.1 1.71
0.12 1.8304
0.14 1.9436
0.16 2.0496
0.18 2.1484
0.2 2.24
0.22 2.3244
0.24 2.4016
0.26 2.4716
0.28 2.5344
0.3 2.59
0.32 2.6384
0.34 2.6796
0.36 2.7136
0.38 2.7404
0.4 2.76
0.42 2.7724
0.44 2.7776
0.46 2.7756
0.48 2.7664
0.5 2.75
0.52 2.7264
0.54 2.6956
0.56 2.6576
0.58 2.6124
z peaks at x=44%
how mathmatically calculate the max value of Z? without using excel to list everything and eye pick the max value?