You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
New article Money Management by Vince. Implementation as a module for MQL5 Wizard has been published:
The article is based on 'The Mathematics of Money Management' by Ralph Vince. It provides the description of empirical and parametric methods used for finding the optimal size of a trading lot. Also the article features implementation of trading modules for the MQL5 Wizard based on these methods.
First we find the characteristics of the distribution, i.e. the mean and the standard deviation. Then we select the "confidence interval" or the cut-off width, which is expressed in standard deviations. The 3σ interval is usually selected. Values greater than 3σ are cut off. After that the interval is divided binned and then associated values of profits/losses (PL) are found. For example, for σ=1 and m=0, the value of the associated PLs at the boundaries of the interval are m +- 3σ = +3 and -3. If we divide the interval into bins of lengths 0.1σ, then associated PLs will be -3, -2.9, -2.8 ... 0 ... 2.8, 2,9, 3. For this PL stream we find the optimal f.
Since different values of PL have different probability, then individual "associated probability" P is found for each value. After that the maximum of products is found:
HPR=(1+PL*f/maxLoss)^P, where maxLoss is the maximum loss (modulo).
Vince suggests using the cumulative probability as the associated probability. The cumulative probability is shown in orange in our graph F'(x).
Logically, the cumulative probability should be taken only for extreme values, while for other values P=F'(x)-F'(y), where x and y are values of F(x) at the boundaries of the interval.
Author: Dmitrii Troshin