Hi folks,
I have been reading through Acrary's excellent thread System Development with acrary and I am trying to build a program that generates the same tables as his examples. (See end of this post).
Looking through his posts he states that he uses a Monte Carlo calculation to generate outcomes used to produce this table. He says he runs the # of trades (here 10) 10,000 times. In other posts he states he uses
Outcome = Mean + (Zscore * Std. Dev.)
to generate each outcome. In other posts he says he randomizes the Zscore so the outcome will be different each trade.
A few things that aren't clear.
1. In the example below the std dev is 0 so the outcome would always be the mean (as zscore * 0 is 0), so not sure how he generated the table below.
2. Assuming the percentages are the confidence intervals, how is he generating the outcome/profit factor and max dd for each %?
He also states the following after someone asked the question above.
I went back and looked at the program to see exactly how it works. What I'm doing is loading a table of z scores for all values from .5 to 99.5 in .5 increments. For example, the z score value at 51.0 I'm using is .025. Then the program randomizes both the % win based on the win percentage input and the size based on random from .5% to 99.5% and ranked for outcome, profit factor, and MAX DD. When I created this, I was thinking of a VaR Analysis where you can see the distributions of outcomes and DD on graphs at various levels. I think the proper name for the test is Monte Carlo VaR Analysis if you want to look it up on the net. Sorry for the confusion.
So he maps percentages onto zscores using a normal distribution. Then the part in bold which I think needs unpacking or elobrated?
Thanks to anyone who can help out.
--------------------------------------------------------------------
Model name daytrade
# of trades in series 10
% of trades that are winners 70
Mean of winning trades 500
Std. Dev. of winning trades 0
Mean of losing trades 500
Std. Dev. of losing trades 0
Outcome Profit Factor Max DD
1% level 5,000.00 10.00 0
5% level 4,000.00 9.00 -500
10% level 4,000.00 9.00 -500
20% level 3,000.00 4.00 -500
30% level 3,000.00 4.00 -500
40% level 2,000.00 2.33 -500
50% level 2,000.00 2.33 -1,000
60% level 2,000.00 2.33 -1,000
70% level 1,000.00 1.50 -1,000
80% level 1,000.00 1.50 -1,000
90% level 0.00 1.00 -1,500
95% level -1,000.00 0.67 -2,000
99% level -2,000.00 0.43 -2,500
Expected outcome 1,950.00
Expectancy 200
I have been reading through Acrary's excellent thread System Development with acrary and I am trying to build a program that generates the same tables as his examples. (See end of this post).
Looking through his posts he states that he uses a Monte Carlo calculation to generate outcomes used to produce this table. He says he runs the # of trades (here 10) 10,000 times. In other posts he states he uses
Outcome = Mean + (Zscore * Std. Dev.)
to generate each outcome. In other posts he says he randomizes the Zscore so the outcome will be different each trade.
A few things that aren't clear.
1. In the example below the std dev is 0 so the outcome would always be the mean (as zscore * 0 is 0), so not sure how he generated the table below.
2. Assuming the percentages are the confidence intervals, how is he generating the outcome/profit factor and max dd for each %?
He also states the following after someone asked the question above.
I went back and looked at the program to see exactly how it works. What I'm doing is loading a table of z scores for all values from .5 to 99.5 in .5 increments. For example, the z score value at 51.0 I'm using is .025. Then the program randomizes both the % win based on the win percentage input and the size based on random from .5% to 99.5% and ranked for outcome, profit factor, and MAX DD. When I created this, I was thinking of a VaR Analysis where you can see the distributions of outcomes and DD on graphs at various levels. I think the proper name for the test is Monte Carlo VaR Analysis if you want to look it up on the net. Sorry for the confusion.
So he maps percentages onto zscores using a normal distribution. Then the part in bold which I think needs unpacking or elobrated?
Thanks to anyone who can help out.
--------------------------------------------------------------------
Model name daytrade
# of trades in series 10
% of trades that are winners 70
Mean of winning trades 500
Std. Dev. of winning trades 0
Mean of losing trades 500
Std. Dev. of losing trades 0
Outcome Profit Factor Max DD
1% level 5,000.00 10.00 0
5% level 4,000.00 9.00 -500
10% level 4,000.00 9.00 -500
20% level 3,000.00 4.00 -500
30% level 3,000.00 4.00 -500
40% level 2,000.00 2.33 -500
50% level 2,000.00 2.33 -1,000
60% level 2,000.00 2.33 -1,000
70% level 1,000.00 1.50 -1,000
80% level 1,000.00 1.50 -1,000
90% level 0.00 1.00 -1,500
95% level -1,000.00 0.67 -2,000
99% level -2,000.00 0.43 -2,500
Expected outcome 1,950.00
Expectancy 200