View Single Post
  #1 (permalink)  
Old 08-12-2008, 03:10 PM
lcfxtrader lcfxtrader is offline
Senior Member
 
Join Date: Feb 2007
Posts: 176
lcfxtrader is on a distinguished road
SDS - Simple Daily System EA

Hello members,

I am posting an EA I had coded on FF with the hopes of having a coder here correct the money management part of it.

The EA would continue to trade the same lot size as long as it has consecutive wins. The EA would increase the lot size by a factor of 1 if a loss is incurred and for any consecutive losses thereafter. Once a win is reached after a loss, the EA would reduce the lot size by a factor of 1.

Here is an example of how it should work:

.1 = win
.1 = win
.1 = lose
.2 = lose
.3 = win
.2 = lose
.3 = win
.2 = win
.1 = win
.1 = loss
.2 = loss
.3 = loss
.4 = loss
.5 = loss
.6 = win
.5 = win
.4 = win
.3 = loss
.4 = win
.3 = win
.2 = win
.1 = win

The problem is after the 1st loss with .1 lot size, the next trade will open with a .4 lot size.
I appreciate any member that could fix this and post the EA here on TSD.

Thanks,
Lcfx
Attached Files
File Type: mq4 SDS_UMM_ver1.mq4 (11.6 KB, 815 views)
Reply With Quote