Question about Betting: Custom Sequence,lot size can not be reset
-
link text
My Custom Sequence (Sequence on loss) is
1,1,2,2,3,4,5,7,9,12,16,21,28,37,49,65,86,113,149,197,260,343,452,596
for each trade (loop)
pips away from open price : -20 pips
close when unrealized profits of a series trades> 10pips (as position)
when a series of of trades were closed, the lot size can not be reset -
I want it perform like this:
open a series trades: 1,1,1,2,3,4,5,7,9(Sequence on loss) ,colse 1,1,1,2,3,4,5,7,9 (with toal profits as position ) then reset the lot
next open a series trades: 1,1,1,2,3(Sequence on loss) ......
and so onBut actually it perform like this:
open 1,1,1,2,3,4 close 1,1,1,2,3,4
open 1,5,6,7 close 1,5,6,7
open 1,9,12,16,21 close 1,9,12,16,21
open 1,28,37,49.......
the lot become larger and larger,and can not be reset!
PS:I use MT5,which is differet from MT4 -
The wrong result:


-

-
-
Blocks 3 and 10 should swap their ID numbers. The Ea is now executing them in the wrong order.
-
@l-andorrà
I swap the ID numbers,but it does not help

link text
I think there is a bug on MT5,
I test it on MT4,it can work,the lot size can be reset
but on MT5 ,it can not -
Yes, that is more than plausible. If you read some of my messages in this forum, I don't recommend to create EA on MT5. It's too much buggy, I'm afraid.

You should contact the administrator through the support page.