RoundNumberTrap

User avatar
tex
Trader
Posts: 89
Joined: Wed Nov 16, 2011 7:27 am

Re: RoundNumberTrap

Post by tex »

Hello magft, hello guys.

Thanks for this outstanding piece of code you guys created here. I am running the round numbers trap EA on a DAX future CFD Demo account with quite nice results so far. I set up a myfxbook account for this. The first demo account ended with about 21 % gains to the balance. Unfortunately my activ trades demo account was closed, so i set up a new one with similar gains so far. (link attached)

However, i recently ran into a problem with slippage. I set the martingale sequence to 2.0 so the EA is martingaling the lots in every trade up by the factor 2.
Now my problem is slippage. When the third or forth level trade is made, and i get a slippage of only one full pip the next trade isn't able the regain the previous losses and i end up with an overall loss when the martingale sequence is finished finally. Please take a look at the attached screenshot.

Now here's my solution for this : Would it be possible to add another option to the EA to add pips to the TP's of the trades in the martingale sequence to cover the losses of the slippage of the previous trades.
An example :

First Trade = TP 20 / SL 20 Lot = 0,1
Second Trade = TP 21 / SL 20 Lot = 0,2
Third Trade = TP 22 / SL 20 Lot = 0,4

And so on.

And another thought : The best variation of above would be, if the EA automatically detects the slippage of the previous trades and sets the TP accordingly to the slippage.

Example :

Trade 2 TP 20 / SL 20 - 0,2 Lot - Slippage 2 Pips
Trade 3 TP 22 / SL 20 - 0,4 Lot - Slippage 1 Pip
Trade 4 TP 23 / SL 20 - 0,8 Lot - Slippage 2 Pips
Trade 4 TP 25 / SL 20 - 1,6 Lot ....

and so on..

Would that be possible ?

Thanks for all your hard work again.

All the best,
Tex
You do not have the required permissions to view the files attached to this post.
laharjaya
Trader
Posts: 45
Joined: Wed Nov 16, 2011 4:11 am

Re: RoundNumberTrap

Post by laharjaya »

from back test

the result not awful

maybe anybody who have live this ea can share here ......
User avatar
tex
Trader
Posts: 89
Joined: Wed Nov 16, 2011 7:27 am

Re: RoundNumberTrap

Post by tex »

Mike, or someone else of you fine coders,

can u please take a look at my posting above ? It would be great if someone could do these additions to the EA.

Thanks,
tex
magft
Trader
Posts: 195
Joined: Tue Nov 15, 2011 9:59 pm
Location: East Midlands, UK

Re: RoundNumberTrap

Post by magft »

tex wrote:Mike, or someone else of you fine coders,

can u please take a look at my posting above ? It would be great if someone could do these additions to the EA.

Thanks,
tex
I'll look into it Tex.

Regards

Mike
Locked

Return to “Automated trading systems”