Quote:
|
Originally Posted by Pcontour
2.. I have updated the Money Management code in this W version. By setting setting U_MM to true and the decrease factor to any number greater that zero here is what happens.
If in the last 3 trades you have - 0 losses you get 100% of your expected lots
- 1 losses you get 80% of your expected lots
- 2 losses you get 20% of your expected lots
- 3 losses you get .01% of your expected lots
Previously decrease factor was useless.
|
I agree, decrease factor wasn't working properly and was useless. I hadn't played with it or decided on how I wanted to fix it. I saw what the code was *intended* to do, and wasn't sure it was a good idea. Can we have a DecreaseFactor that is used as a percentage? Something like this:
DecreaseFactor=50
- 0 loss=100% lotsize
- 1 loss = 50% lotsize
- 2 loss = 25% lotsize
DecreaseFactor=10
- 0 loss = 100% lotsize
- 1 loss = 90% lotsize
- 2 loss = 81% lotsize
A value of 100 would stop trading immediately after a loss. Since there isn't a massively increasing lotsize based on wins (only balance changes) a massive DecreaseFactor may not be a good idea. Having a configurable value seems important to me.
Also keep in mind that some brokers round off decimals. A 0.9 lot becomes 0 lot I believe. We need to make the lotsizes decimal safe (I think Phoenix has a global decimal tracking system but I don't remember.)
If we can get something like this, I think that would be worthy of a new release. I was also considering email/screen alerts after 2 consecutive losses.